Re: [PATCH v2 02/14] target/arm: Add mmu_idx for EL1 and EL2 w/ PAN enabled

2020-02-03 Thread Alex Bennée
Richard Henderson writes: > To implement PAN, we will want to swap, for short periods > of time, to a different privileged mmu_idx. In addition, > we cannot do this with flushing alone, because the AT* > instructions have both PAN and PAN-less versions. > > Add the ARMMMUIdx*_PAN constants whe

[PATCH v2 02/14] target/arm: Add mmu_idx for EL1 and EL2 w/ PAN enabled

2020-02-01 Thread Richard Henderson
To implement PAN, we will want to swap, for short periods of time, to a different privileged mmu_idx. In addition, we cannot do this with flushing alone, because the AT* instructions have both PAN and PAN-less versions. Add the ARMMMUIdx*_PAN constants where necessary next to the corresponding AR