target/arm: Move ARMMMUIdx_Stage2 to a real tlb mmu_idx
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 11 Oct 2022 03:18:52 +0000 (20:18 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Oct 2022 10:27:49 +0000 (11:27 +0100)
commit575a94af3c113157cf749364a921336ddd346e9a
tree1a455c592bc1f94aacda3cc517ae37e5e2daa1f2
parenta1ce3084c572e39d588a7978002d83fee01edd60
target/arm: Move ARMMMUIdx_Stage2 to a real tlb mmu_idx

We had been marking this ARM_MMU_IDX_NOTLB, move it to a real tlb.
Flush the tlb when invalidating stage 1+2 translations.  Re-use
alle1_tlbmask() for other instances of EL1&0 + Stage2.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20221011031911.2408754-6-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu-param.h
target/arm/cpu.h
target/arm/helper.c