On 10/12/18 7:42 AM, Peter Maydell wrote: > The HCR.FB virtualization configuration register bit requests that > TLB maintenance, branch predictor invalidate-all and icache > invalidate-all operations performed in NS EL1 should be upgraded > from "local CPU only to "broadcast within Inner Shareable domain". > For QEMU we NOP the branch predictor and icache operations, so > we only need to upgrade the TLB invalidates: > AArch32 TLBIALL, TLBIMVA, TLBIASID, DTLBIALL, DTLBIMVA, DTLBIASID, > ITLBIALL, ITLBIMVA, ITLBIASID, TLBIMVAA, TLBIMVAL, TLBIMVAAL > AArch64 TLBI VMALLE1, TLBI VAE1, TLBI ASIDE1, TLBI VAAE1, > TLBI VALE1, TLBI VAALE1 > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > target/arm/helper.c | 191 +++++++++++++++++++++++++++----------------- > 1 file changed, 116 insertions(+), 75 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~