summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2024-07-20 17:40:59 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2024-07-20 17:40:59 +0300
commit8e02c3b782ec64343f3cccc8dc5a8be2b379e80b (patch)
treeb3dea31c724b20becad2cd2a892b304234573457 /tools/perf/scripts/python
parent614d7e99752e02ff6f6d447a83d2929b9649b6cb (diff)
downloadlinux-8e02c3b782ec64343f3cccc8dc5a8be2b379e80b.tar.xz
LoongArch: Add writecombine support for DMW-based ioremap()
Currently, only TLB-based ioremap() support writecombine, so add the counterpart for DMW-based ioremap() with help of DMW2. The base address (WRITECOMBINE_BASE) is configured as 0xa000000000000000. DMW3 is unused by kernel now, however firmware may leave garbage in them and interfere kernel's address mapping. So clear it as necessary. BTW, centralize the DMW configuration to macro SETUP_DMWINS. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions