target-ppc: fix Book-E TLB matching
commit0a4c774086d2246ca14abc5471bf2173d63a3d65
authorAlex Zuepke <azu@sysgo.de>
Tue, 14 Feb 2017 11:54:29 +0000 (14 12:54 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 22 Feb 2017 03:28:53 +0000 (22 14:28 +1100)
tree206c248dca76427526816f3140b8be10babf7ff7
parent87684b4c4039fcf29ac9a95d46fed166e57d7ed9
target-ppc: fix Book-E TLB matching

The Book-E TLB matching process should bail out early when a TLB
entry matches, but the access permissions are wrong. The CPU
will then raise a DSI error instead of a Data TLB error, as
described for TLB matching in Freescale and IBM documents.

Signed-off-by: Alex Zuepke <azu@sysgo.de>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/mmu_helper.c