Commit 92455d89 authored by danh-arm's avatar danh-arm Committed by GitHub
Browse files

Merge pull request #706 from dp-arm/dp/pmf-aligned-svc

Ensure PMF service timestamps are properly aligned on a cache line bo…
parents 0980b8ae 2d84b46e
...@@ -71,7 +71,9 @@ typedef struct pmf_svc_desc { ...@@ -71,7 +71,9 @@ typedef struct pmf_svc_desc {
*/ */
#define PMF_ALLOCATE_TIMESTAMP_MEMORY(_name, _total_id) \ #define PMF_ALLOCATE_TIMESTAMP_MEMORY(_name, _total_id) \
unsigned long long pmf_ts_mem_ ## _name[_total_id] \ unsigned long long pmf_ts_mem_ ## _name[_total_id] \
__section("pmf_timestamp_array") __used; __aligned(CACHE_WRITEBACK_GRANULE) \
__section("pmf_timestamp_array") \
__used;
/* /*
* Convenience macro to validate tid index for the given TS array. * Convenience macro to validate tid index for the given TS array.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment