HPTWFaultM in L2_ADR state ccov hole covered

This commit is contained in:
Corey Hickson 2025-05-08 17:31:14 -07:00
parent a09346b8d2
commit 00bd474b04

View file

@ -145,6 +145,13 @@ ConcurrentICacheMissDTLBMiss:
sw t1, 0(t0) # write to page sw t1, 0(t0) # write to page
jalr ra, t0 # jump to page jalr ra, t0 # jump to page
sfence.vma
li t0, 0x18000000000
lw t1, 0(t0) # read from page
sw t1, 0(t0) # write to page
jalr ra, t0 # jump to page
# jump to address for TLB miss to trigger HPTW to make access with DisableTranslation = 1, Translate = 0 # jump to address for TLB miss to trigger HPTW to make access with DisableTranslation = 1, Translate = 0
li t0, 0x80805000 li t0, 0x80805000
jalr ra, t0 jalr ra, t0
@ -344,7 +351,7 @@ pagetable:
.8byte 0x20004401 # VA 0x00000000-0x7F_FFFFFFFF: PTE at 0x80011000 01 valid .8byte 0x20004401 # VA 0x00000000-0x7F_FFFFFFFF: PTE at 0x80011000 01 valid
.8byte 0x00000000000010CF # misaligned terapage at 0x80_00000000 .8byte 0x00000000000010CF # misaligned terapage at 0x80_00000000
.8byte 0x00000000000000CF # access fault terapage at 0x100_00000000 .8byte 0x00000000000000CF # access fault terapage at 0x100_00000000
.8byte 0x4000000020004401 # Bad PBMT at VA 0x180_0000000 .8byte 0x4000000020004401 # Bad PBMT at VA 0x180_00000000
# next page table at 0x80011000 # next page table at 0x80011000
.align 12 .align 12