diff options
author | Jonathan (Zhixiong) Zhang <[email protected]> | 2015-08-07 09:36:58 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-08-08 10:37:39 +0200 |
commit | b40227fbfb1f98614e6f9bdc4cb3a54ab31d48a5 (patch) | |
tree | ff0edd005f46348ce03e0019c96c74650f000c29 /tools/perf/scripts/python/stackcollapse.py | |
parent | 7bf793115dd96ce9bd8ed1665fc187d961a95dba (diff) |
acpi, x86: Implement arch_apei_get_mem_attributes()
... to allow an arch specific implementation of getting page
protection type associated with a physical address.
On x86, we currently have no way to look up the EFI memory map
attributes for a region in a consistent way, because the
memmap is discarded after efi_free_boot_services(). So if
you call efi_mem_attributes() during boot and at runtime,
you could theoretically see different attributes.
Since we are yet to see any x86 platforms that require
anything other than PAGE_KERNEL (some arm64 platforms
require the equivalent of PAGE_KERNEL_NOCACHE), return that
until we know differently.
Signed-off-by: Jonathan (Zhixiong) Zhang <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Small fixes to spelling. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions