aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSuraj Jitindar Singh <[email protected]>2017-08-03 14:15:51 +1000
committerMichael Ellerman <[email protected]>2017-08-10 22:30:03 +1000
commit7cd2a8695ef9c31e8f51773f0de9e6007d6dc083 (patch)
treebb70579452a61bd8e771b50e7e7be704a3032979 /tools/perf/scripts/python
parentcffb717ceb8e2ca0316e89d908db54af454f1fbb (diff)
powerpc/mm: Properly invalidate when setting process table base
The host process table base is stored in the partition table by calling the function native_register_process_table(). Currently this just sets the entry in memory and is missing a subsequent cache invalidation instruction. Any update to the partition table should be followed by a cache invalidation instruction specifying invalidation of the caching of any partition table entries (RIC = 2, PRS = 0). We already have a function to update the partition table with the required cache invalidation instructions - mmu_partition_table_set_entry(). Update the native_register_process_table() function to call mmu_partition_table_set_entry(), this ensures all appropriate invalidation will be performed. Signed-off-by: Suraj Jitindar Singh <[email protected]> Reviewed-by: Aneesh Kumar K.V <[email protected]> [mpe: Use a local for patb0 to clean it up slightly] Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions