ppc: define a default LPCR value
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 21 Jun 2016 21:48:47 +0000 (23:48 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 23 Jun 2016 02:43:25 +0000 (12:43 +1000)
commit61687db252da0df7e584668ed665f1075dd179fa
tree88ecc2dad84ed722cc0e9bfe8d5c380d3c1a8cb2
parenta2e71b28e832346409efc795ecd1f0a2bcb705a3
ppc: define a default LPCR value

This allows us to set the appropriate LPCR bits which will be used
when fixing the exception model for the HV mode.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
[clg: previous commit 26a7f1291bb5 did not include the LPCR setting as
      it was not needed at the time, adapted commit log ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/translate_init.c