[Qemu-devel] [PULL 30/66] ppc: Rework NIP updates vs. exception generation

2016-09-05 Thread David Gibson
From: Benjamin Herrenschmidt We make env->nip almost always point to the faulting instruction, thus avoiding a mess of "store_current" vs "store_next" in the exception handling. The syscall exception knows to move the PC by 4 and that's really about it. This actually fixes a number of cases wher

[Qemu-devel] [PULL 30/66] ppc: Rework NIP updates vs. exception generation

2016-09-05 Thread David Gibson
From: Benjamin Herrenschmidt We make env->nip almost always point to the faulting instruction, thus avoiding a mess of "store_current" vs "store_next" in the exception handling. The syscall exception knows to move the PC by 4 and that's really about it. This actually fixes a number of cases wher