We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afca6e0 commit 213ef66Copy full SHA for 213ef66
arch/loongarch/include/asm/loongarch.h
@@ -423,9 +423,9 @@ static __always_inline void iocsr_write64(u64 val, u32 reg)
423
#define CSR_ASID_ASID_WIDTH 10
424
#define CSR_ASID_ASID (_ULCAST_(0x3ff) << CSR_ASID_ASID_SHIFT)
425
426
-#define LOONGARCH_CSR_PGDL 0x19 /* Page table base address when VA[47] = 0 */
+#define LOONGARCH_CSR_PGDL 0x19 /* Page table base address when VA[VALEN-1] = 0 */
427
428
-#define LOONGARCH_CSR_PGDH 0x1a /* Page table base address when VA[47] = 1 */
+#define LOONGARCH_CSR_PGDH 0x1a /* Page table base address when VA[VALEN-1] = 1 */
429
430
#define LOONGARCH_CSR_PGD 0x1b /* Page table base */
431
0 commit comments