diff options
| author | Joey Gouly <[email protected]> | 2022-02-09 15:22:35 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2022-02-15 16:57:50 +0000 |
| commit | d53f8f8dbe97e4ed7d52e57581d1a8f6e62a7643 (patch) | |
| tree | 7958bc45e1ef8dfc1200de051247629dc488198e /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 396520759bd3bf4a557e4edba9a63afc13cc5773 (diff) | |
kselftest/arm64: mte: user_mem: introduce tag_offset and tag_len
These can be used to place an MTE tag at an address that is not at a
page size boundary.
The kernel prior to 295cf156231c ("arm64: Avoid premature usercopy failure"),
would infinite loop if an MTE tag was placed not at a PAGE_SIZE boundary.
This is because the kernel checked if the pages were readable by checking the
first byte of each page, but would then fault in the middle of the page due
to the MTE tag.
Signed-off-by: Joey Gouly <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Shuah Khan <[email protected]>
Reviewed-by: Mark Brown <[email protected]>
Tested-by: Mark Brown <[email protected]>
Reviewed-by: Shuah Khan <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions