-
Notifications
You must be signed in to change notification settings - Fork 349
Clean up all SHARED_DATA data
#5524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
CI failures:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dont mean to bikeshed - but using a _shared suffix is probably easier to understand the usage.
@lgirdwood sure, the latest version is |
Shared objects are placed into a separate section to make sure they don't share cache lines with core-local data. This must also be done in single-core configurations because those configurations perform uncached access and manage cache manually too. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
pipeline_posn is a name of a structure, a field in a structure, a static object and a local variable in several functions. Use a different name to at least avoid conflicting static and local variables. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
mn is a name of a structure, a field in a structure, a static object and a local variable in several functions. Use a different name to at least avoid conflicting static and local variables. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Access to objects, defined with a SHARED_DATA attribute should only be performed, using the platform_shared_get() function. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
notify_data is a name of a structure, a field in a structure, a static object and a local variable in several functions. Use a different name to at least avoid conflicting static and local variables. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Access to objects, defined with a SHARED_DATA attribute should only be performed, using the platform_shared_get() function. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Access to objects, defined with a SHARED_DATA attribute should only be performed, using the platform_shared_get() function. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Access to objects, defined with a SHARED_DATA attribute should only be performed, using the platform_shared_get() function. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
cache_to_uncache_init() is needed to convert addresses from cached to uncached aliases in a preprocessor-friendly way. Add it to all platforms. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Access to objects, defined with a SHARED_DATA attribute should only be performed, using the platform_shared_get() function at run-time or using cache_to_uncache_init() at initialisation time. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Access to objects, defined with a SHARED_DATA attribute should only be performed, using the platform_shared_get() function at run-time or using cache_to_uncache_init() at initialisation time. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
|
IC failures seem to be unrelated: a timeout in the IPC flood test on BYT and 2 failed suspend-resume with audio tests on an ADL platform https://sof-ci.01.org/sofpr/PR5524/build12463/devicetest/?model=TGLU_RVP_SDW&testcase=check-suspend-resume-with-playback-5 |
Objects, defined with a
SHARED_DATAattribute should go into a separate section in both single- and multi-core configurations. Access to them at run-time should only be performed via theplatform_shared_get()accessor and at initialisation time withcache_to_uncache_init()