Re: [PATCH] powerpc: Fix kernel crash in emulation of vector loads and stores

2017-09-03 Thread Anton Blanchard
Hi Paul, > Commit 350779a29f11 ("powerpc: Handle most loads and stores in > instruction emulation code", 2017-08-30) changed the register usage > in get_vr and put_vr with the aim of leaving the register number in > r3 untouched on return. Unfortunately, r6 was not a good choice, as > the

[PATCH] powerpc: Fix kernel crash in emulation of vector loads and stores

2017-09-03 Thread Paul Mackerras
Commit 350779a29f11 ("powerpc: Handle most loads and stores in instruction emulation code", 2017-08-30) changed the register usage in get_vr and put_vr with the aim of leaving the register number in r3 untouched on return. Unfortunately, r6 was not a good choice, as the callers as of 350779a29f11