target-ppc: Split 44x tlbiva from ppc_tlb_invalidate_one()
commit4693364f31016cc08d79d1673c3f735a4f95fd89
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 27 Jan 2016 23:31:04 +0000 (28 10:31 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 30 Jan 2016 12:49:26 +0000 (30 23:49 +1100)
tree5dcb7a1f0c048270470d5985654808d3bc16bc8e
parent041d95f42e39ed1d3a029332cab9966889f0aeb3
target-ppc: Split 44x tlbiva from ppc_tlb_invalidate_one()

Currently both the tlbiva instruction (used on 44x chips) and the tlbie
instruction (used on hash MMU chips) are both handled via
ppc_tlb_invalidate_one().  This is silly, because they're invoked from
different places, and do different things.

Clean this up by separating out the tlbiva instruction into its own
handling.  In fact the implementation is only a stub anyway.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Alexander Graf <agraf@suse.de>
target-ppc/helper.h
target-ppc/mmu_helper.c
target-ppc/translate.c