summaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorIcenowy Zheng <uwu@icenowy.me>2023-10-18 03:42:52 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2023-10-18 03:42:52 +0300
commit278be83601dd1725d4732241f066d528e160a39d (patch)
tree0027aaff07b4329c0186f6bbacc429fd636499e3 /net/ipv6
parent477a0ebec101359f49d92796e3b609857d564b52 (diff)
downloadlinux-278be83601dd1725d4732241f066d528e160a39d.tar.xz
LoongArch: Disable WUC for pgprot_writecombine() like ioremap_wc()
Currently the code disables WUC only disables it for ioremap_wc(), which is only used when mapping writecombine pages like ioremap() (mapped to the kernel space). But for VRAM mapped in TTM/GEM, it is mapped with a crafted pgprot by the pgprot_writecombine() function, in which case WUC isn't disabled now. Disable WUC for pgprot_writecombine() (fallback to SUC) if needed, like ioremap_wc(). This improves the AMDGPU driver's stability (solves some misrendering) on Loongson-3A5000/3A6000 machines. Signed-off-by: Icenowy Zheng <uwu@icenowy.me> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions