On Tue, Aug 29, 2017 at 07:18:02PM -0300, Jose Ricardo Ziviani wrote: > This patch provides the MMIO load/store vector indexed > X-Form emulation. > > Instructions implemented: lvx, stvx > > Signed-off-by: Jose Ricardo Ziviani <jos...@linux.vnet.ibm.com>
Thanks for the patch. The basic outline of it looks fine. The parts where you are accessing the VMX register image in memory are a bit hard to follow, and I'll have to check them in detail. Longer term, I want to switch over to using the instruction emulation infrastructure in arch/powerpc/lib/sstep.c that I have recently expanded to handle almost all load and store instructions. That will reduce duplication and should simplify all of this code enormously. Regards, Paul.