diff options
| author | Catalin Marinas <[email protected]> | 2021-02-01 19:06:33 +0000 |
|---|---|---|
| committer | Catalin Marinas <[email protected]> | 2021-02-02 17:44:47 +0000 |
| commit | 91cb2c8b072e00632adf463b78b44f123d46a0fa (patch) | |
| tree | 4d546dc0bd7591ba1688ec72d9974a029608d1c9 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | a1df829ead5877d4a1061e976a50e2e665a16f24 (diff) | |
arm64: Do not pass tagged addresses to __is_lm_address()
Commit 519ea6f1c82f ("arm64: Fix kernel address detection of
__is_lm_address()") fixed the incorrect validation of addresses below
PAGE_OFFSET. However, it no longer allowed tagged addresses to be passed
to virt_addr_valid().
Fix this by explicitly resetting the pointer tag prior to invoking
__is_lm_address(). This is consistent with the __lm_to_phys() macro.
Fixes: 519ea6f1c82f ("arm64: Fix kernel address detection of __is_lm_address()")
Signed-off-by: Catalin Marinas <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Cc: <[email protected]> # 5.4.x
Cc: Will Deacon <[email protected]>
Cc: Vincenzo Frascino <[email protected]>
Cc: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions