ppc: Fix fault PC reporting for lve*/stve* VMX instructions
commitbcd510b141eee18b7fcd445f8c9ea3be347d16fc
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 26 Jul 2016 22:20:55 +0000 (27 08:20 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 29 Jul 2016 02:02:31 +0000 (29 12:02 +1000)
tree13976e95175ad14792d0a456b47481a3d0550f3e
parentaaf89c8a49a8c1259b6b181d701070c6df83f3d7
ppc: Fix fault PC reporting for lve*/stve* VMX instructions

We forgot to do gen_update_nip() for these like we do with other
helpers. Fix this, but in a more efficient way by passing the RA
to the accessors instead so the overhead is only taken on faults.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/mem_helper.c