target/ppc: 4xx optimise tlbwe_lo TLB flushing
authorNicholas Piggin <npiggin@gmail.com>
Mon, 13 Nov 2023 12:49:53 +0000 (22:49 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Fri, 23 Feb 2024 13:24:43 +0000 (23:24 +1000)
commit2ab03484819d529184927314f3b541d7c2221b4a
tree70b17ae7b931d581458ae54170dc4cdf4d009580
parent372dbdb90c2cbe391d98649ca1f91a57b268b613
target/ppc: 4xx optimise tlbwe_lo TLB flushing

Rather than tlbwe_lo always flushing all TCG TLBs, have it flush just
those corresponding to the old software TLB, and only if it was valid.

Tested-by: BALATON Zoltan <balaton@eik.bme.hu>
Acked-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/mmu_helper.c