summaryrefslogtreecommitdiffstats
path: root/tools/arch
diff options
context:
space:
mode:
authorEnze Li <lienze@kylinos.cn>2023-04-19 06:07:27 +0200
committerHuacai Chen <chenhuacai@loongson.cn>2023-04-19 06:07:27 +0200
commit213ef669d1e536e57cdff8ddc2d3b9347b98e35f (patch)
tree262b00103a9b5d538852c2c6825416dd54f8d4cf /tools/arch
parentLoongArch: Clean up plat_swiotlb_setup() related code (diff)
downloadlinux-213ef669d1e536e57cdff8ddc2d3b9347b98e35f.tar.xz
linux-213ef669d1e536e57cdff8ddc2d3b9347b98e35f.zip
LoongArch: Replace hard-coded values in comments with VALEN
According to LoongArch documentation [1], CSR.PGDL and CSR.PGDH are concerned with the VA's MSB which is VALEN-1 instead of always being 47. Fix comments to avoid misleading others. [1] https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#page-global-directory-base-address-for-lower-half-address-space Reviewed-by: WANG Xuerui <git@xen0n.name> Signed-off-by: Enze Li <lienze@kylinos.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions