diff options
author | Kanglong Wang <[email protected]> | 2024-11-12 16:35:39 +0800 |
---|---|---|
committer | Huacai Chen <[email protected]> | 2024-11-12 16:35:39 +0800 |
commit | 139d42ca51018c1d43ab5f35829179f060d1ab31 (patch) | |
tree | f11989201d08cd2915c382ccdbfac9bb583ba643 /tools/perf/scripts/python/libxed.py | |
parent | 227ca9f6f6aeb8aa8f0c10430b955f1fe2aeab91 (diff) |
LoongArch: Add WriteCombine shadow mapping in KASAN
Currently, the kernel couldn't boot when ARCH_IOREMAP, ARCH_WRITECOMBINE
and KASAN are enabled together. Because DMW2 is used by kernel now which
is configured as 0xa000000000000000 for WriteCombine, but KASAN has no
segment mapping for it. This patch fix this issue.
Solution: Add the relevant definitions for WriteCombine (DMW2) in KASAN.
Cc: [email protected]
Fixes: 8e02c3b782ec ("LoongArch: Add writecombine support for DMW-based ioremap()")
Signed-off-by: Kanglong Wang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions