ppc: fix exception model for HV mode
commit6d49d6d4edb8106f1a83375d91fa518c631ba00f
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 21 Jun 2016 21:48:48 +0000 (21 23:48 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 23 Jun 2016 02:43:25 +0000 (23 12:43 +1000)
treed852568df2eb0e4f3655273979e61b7e8bf3d1fa
parent61687db252da0df7e584668ed665f1075dd179fa
ppc: fix exception model for HV mode

This properly implements LPES0 handling for HV vs. !HV mode and
removes the unsupported LPES1. This has been removed from the specs
since ISA v2.07.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[clg: AIL implementation was fixed in commit 5c94b2a5e5ef. This patch
      only contains the bits of the original patch related to LPES0
      handling, adapted commit log.
      fixed checkpatch.pl errors. ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/excp_helper.c