When I bumped into Jason on Linuxcon, we tried out to run the e500 target on his Windriver build that used SPE and immediately ran into emulation issues. Fortunately there weren't too many, so here are the patches to get a guest using SPE instructions working just fine.
Thanks a lot for the debugging session Jason! It really helps when 2 pairs of eyes look at code :) Alex Alexander Graf (3): PPC: E500: Add ESR bit definitions PPC: E500: Inject SPE exception on invalid SPE access PPC: E500: Set ESR values target-ppc/cpu.h | 17 ++++++++++- target-ppc/helper.c | 10 +++++- target-ppc/translate.c | 78 ++++++++++++++++++++++++------------------------ 3 files changed, 63 insertions(+), 42 deletions(-)