summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorKanglong Wang <wangkanglong@loongson.cn>2024-11-12 11:35:39 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2024-11-12 11:35:39 +0300
commit139d42ca51018c1d43ab5f35829179f060d1ab31 (patch)
treef11989201d08cd2915c382ccdbfac9bb583ba643 /tools/perf/scripts/python/gecko.py
parent227ca9f6f6aeb8aa8f0c10430b955f1fe2aeab91 (diff)
downloadlinux-139d42ca51018c1d43ab5f35829179f060d1ab31.tar.xz
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: stable@vger.kernel.org Fixes: 8e02c3b782ec ("LoongArch: Add writecombine support for DMW-based ioremap()") Signed-off-by: Kanglong Wang <wangkanglong@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions