[PATCH v6 1/1] KVM: PPC: Book3S: Add MMIO emulation for VMX instructions

2018-02-03 Thread Jose Ricardo Ziviani
t of EA & 0x___fff0. Reported-by: Gopesh Kumar Chaudhary Reported-by: Balamuruhan S Signed-off-by: Paul Mackerras Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc-

[PATCH v6 0/1] Implements MMIO emulation for lvx/stvx instructions

2018-02-03 Thread Jose Ricardo Ziviani
bb87654321 io_address: 0x3fff7fcb 0x1234567887654321 This patch implements MMIO emulation for two instructions: lvx and stvx. Jose Ricardo Ziviani (1): KVM: PPC: Book3S: Add MMIO emulation for VMX instructions arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm

[PATCH v5 1/1] KVM: PPC: Book3S: Add MMIO emulation for VMX instructions

2018-02-01 Thread Jose Ricardo Ziviani
t of EA & 0x___fff0. Reported-by: Gopesh Kumar Chaudhary Reported-by: Balamuruhan S Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc-opcode.h | 6 ++ arch/pow

[PATCH v5 0/1] Implements MMIO emulation for lvx/stvx instructions

2018-02-01 Thread Jose Ricardo Ziviani
x and stvx. Jose Ricardo Ziviani (1): KVM: PPC: Book3S: Add MMIO emulation for VMX instructions arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc-opcode.h | 6 ++ arch/powerpc/kvm/emulate_loadstore.c | 34 arch/po

[PATCH v4 1/1] KVM: PPC: Book3S: Add MMIO emulation for VMX instructions

2018-02-01 Thread Jose Ricardo Ziviani
t of EA & 0x___fff0. Reported-by: Gopesh Kumar Chaudhary Reported-by: Balamuruhan S Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc-opcode.h | 6 ++ arch/pow

[PATCH v4 0/1] Implements MMIO emulation for lvx/stvx instructions

2018-02-01 Thread Jose Ricardo Ziviani
dress: 0x3ffface4 0x2143658778563412 HOST BR - GUEST LE address: 0x100225e0010 0x1234567887654321 io_address: 0x3fff7fcb 0x1234567887654321 This patch implements MMIO emulation for two instructions: lvx and stvx. Jose Ricardo Ziviani (1): KVM: PPC: B

[PATCH v3 1/1] KVM: PPC: Book3S: Add MMIO emulation for VMX instructions

2018-01-31 Thread Jose Ricardo Ziviani
t of EA & 0x___fff0. Reported-by: Gopesh Kumar Chaudhary Reported-by: Balamuruhan S Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc-opcode.h | 6 ++ arch/pow

[PATCH v3 0/1] Implements MMIO emulation for lvx/stvx instructions

2018-01-31 Thread Jose Ricardo Ziviani
dress: 0x100225e0010 0x1234567887654321 io_address: 0x3fff7fcb 0x1234567887654321 This patch implements MMIO emulation for two instructions: lvx and stvx. Jose Ricardo Ziviani (1): KVM: PPC: Book3S: Add MMIO emulation for VMX instructions arch/powerpc/include/asm/kvm_h

[PATCH v2 1/1] KVM: PPC: Book3S: Add MMIO emulation for VMX instructions

2018-01-29 Thread Jose Ricardo Ziviani
t of EA & 0x___fff0. Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc-opcode.h | 6 ++ arch/powerpc/kvm/emulate_loadstore.c | 34 arch/powerpc/kvm/p

[PATCH v2 0/1] Implements MMIO emulation for lvx/stvx instructions

2018-01-29 Thread Jose Ricardo Ziviani
dress: 0x3fff7fcb 0x1234567887654321 This patch implements MMIO emulation for two instructions: lvx and stvx. Jose Ricardo Ziviani (1): KVM: PPC: Book3S: Add MMIO emulation for VMX instructions arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_

[PATCH RESEND 1/1] KVM: PPC: Book3S: Add MMIO emulation for VMX instructions

2018-01-08 Thread Jose Ricardo Ziviani
This patch provides the MMIO load/store vector indexed X-Form emulation. Instructions implemented: lvx, stvx Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc-opcode.h | 6

[PATCH RESEND 0/1] Implements MMIO emulation for lvx/stvx instructions

2018-01-08 Thread Jose Ricardo Ziviani
This patch implements MMIO emulation for two instructions: lvx and stvx. NOTE: I'm resending copying now kvm-...@vger.kernel.org. Thanks. Jose Ricardo Ziviani (1): KVM: PPC: Book3S: Add MMIO emulation for VMX instructions arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/in

[PATCH v3 1/1] powerpc/pseries: Make RAS IRQ explicitly dependent on DLPAR WQ

2018-01-03 Thread Jose Ricardo Ziviani
workqueue and adds a check to make sure that the workqueue is not initialized more than once. Reported-by: Min Deng Reported-by: Daniel Henrique Barboza Tested-by: Jose Ricardo Ziviani Signed-off-by: Michael Ellerman --- arch/powerpc/platforms/pseries/dlpar.c | 21

[PATCH v3 0/1] Make RAS IRQ explicitly dependent on DLPAR workqueue

2018-01-03 Thread Jose Ricardo Ziviani
m]: "dimm1" addr: 0x1 slot: 0 node: 0 size: 10737418240 memdev: /objects/mem1 hotplugged: true hotpluggable: true Jose Ricardo Ziviani (1): powerpc/pseries: Make RAS IRQ explicitly dependent on DLPAR WQ arch/powerpc/platforms/pseries/dlpar.c | 21 +++

[PATCH RESEND 1/1] KVM: PPC: Book3S: Add MMIO emulation for VMX instructions

2017-12-26 Thread Jose Ricardo Ziviani
This patch provides the MMIO load/store vector indexed X-Form emulation. Instructions implemented: lvx, stvx Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc-opcode.h | 6

[PATCH RESEND 0/1] Implements MMIO emulation for lvx/stvx instructions

2017-12-26 Thread Jose Ricardo Ziviani
This patch implements MMIO emulation for two instructions: lvx and stvx. Thanks. Jose Ricardo Ziviani (1): KVM: PPC: Book3S: Add MMIO emulation for VMX instructions arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc

[PATCH v2 1/1] powerpc/pseries: increase pseries_dlpar_init initcall priority

2017-12-26 Thread Jose Ricardo Ziviani
will be initialized before init_ras_IRQ. Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/platforms/pseries/dlpar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/pseries/dlpar.c b/arch/powerpc/platforms/pseries/dlpar.c index 6e35780c5962

[PATCH v2 0/1] Increase dlpar initcall priority

2017-12-26 Thread Jose Ricardo Ziviani
This patch replaces the "powerpc/pseries: Use the system workqueue as fallback to hotplug workqueue". Jose Ricardo Ziviani (1): powerpc/pseries: increase pseries_dlpar_init initcall priority arch/powerpc/platforms/pseries/dlpar.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 0/1] Uses the system workqueue as fallback

2017-12-21 Thread Jose Ricardo Ziviani
10 [0.407749] radix-mmu: Mapped 0xc001-0xc0011000 with 2.00 MiB pages ... 0.627554] rtas_flash: no firmware flash support [0.627674] >>>>>>>>>>>>>>>> [devlog pseries_hp_wq] ALLOCed [0.628451] Initialise system trusted keyri

[PATCH 1/1] powerpc/pseries: Use the system workqueue as fallback to hotplug workqueue

2017-12-21 Thread Jose Ricardo Ziviani
andle such IRQs. Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/platforms/pseries/dlpar.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/pseries/dlpar.c b/arch/powerpc/platforms/pseries/dlpar.c index 6e35780c5962..0474aa14b5f6 100644 --- a

[PATCH 1/1] KVM: PPC: Book3S: Add MMIO emulation for VMX instructions

2017-10-13 Thread Jose Ricardo Ziviani
This patch provides the MMIO load/store vector indexed X-Form emulation. Instructions implemented: lvx, stvx Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc-opcode.h | 6

[PATCH 0/1] powerpc: Implements MMIO emulation for lvx/stvx instructions

2017-10-13 Thread Jose Ricardo Ziviani
Hello! This patch implements MMIO emulation for two instructions: lvx and stvx. Thank you! Jose Ricardo Ziviani (1): KVM: PPC: Book3S: Add MMIO emulation for VMX instructions arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include

[PATCH] powerpc/eeh: Disable EEH stack dump by default

2017-09-19 Thread Jose Ricardo Ziviani
e has failed 2 times in the last hour ... Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/kernel/eeh.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kernel/eeh.c b/arch/powerpc/kernel/eeh.c index 9e81678..4336c3b1 100644 --- a/arch/po

[PATCH RFC] KVM: PPC: Book3S: Add MMIO emulation for VMX instructions

2017-08-29 Thread Jose Ricardo Ziviani
This patch provides the MMIO load/store vector indexed X-Form emulation. Instructions implemented: lvx, stvx Signed-off-by: Jose Ricardo Ziviani --- arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc-opcode.h | 6

[PATCH RFC] powerpc: Implements MMIO emulation for lvx/stvx instructions

2017-08-29 Thread Jose Ricardo Ziviani
ed. Thank you very much, Jose Ricardo Ziviani (1): KVM: PPC: Book3S: Add MMIO emulation for VMX instructions arch/powerpc/include/asm/kvm_host.h | 2 + arch/powerpc/include/asm/kvm_ppc.h| 4 + arch/powerpc/include/asm/ppc-opcode.h | 6 ++ arch/powerpc/kvm/emulate_loadstore.c