diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2016-01-15 16:12:09 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-01-30 23:49:27 +1100 |
commit | 61a36c9b5a12889994e6c45f4a175efcd63936db (patch) | |
tree | fd7f7c170caf817749400c3ba80bb68b7320941e /qemu-io.c | |
parent | 4693364f31016cc08d79d1673c3f735a4f95fd89 (diff) |
target-ppc: Add new TLB invalidate by HPTE call for hash64 MMUs
When HPTEs are removed or modified by hypercalls on spapr, we need to
invalidate the relevant pages in the qemu TLB.
Currently we do that by doing some complicated calculations to work out the
right encoding for the tlbie instruction, then passing that to
ppc_tlb_invalidate_one()... which totally ignores the argument and flushes
the whole tlb.
Avoid that by adding a new flush-by-hpte helper in mmu-hash64.c.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions