[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 0/4] target-ppc: Add FWNMI support in qemu for po
From: |
Aravinda Prasad |
Subject: |
[Qemu-devel] [PATCH v3 0/4] target-ppc: Add FWNMI support in qemu for powerKVM guests |
Date: |
Wed, 05 Nov 2014 12:42:03 +0530 |
User-agent: |
StGit/0.15 |
This series of patches add support for fwnmi in powerKVM guests.
Currently upon machine check exception, if the address in
error belongs to guest then KVM invokes guest's NMI interrupt
vector 0x200.
This patch series adds functionality where the guest's 0x200
interrupt vector is patched such that QEMU gets control. QEMU
then builds error log and reports the error to OS registered
machine check handlers through RTAS space.
Apart from this, the patch series also takes care of synchronization
when multiple processors encounter machine check at or about the
same time.
The patch set was tested by simulating a machine check error in
the guest.
Changes in v3:
- Incorporated review comments
- Byte codes in patch 4/4 are now moved to
pc-bios/spapr-rtas/spapr-rtas.S as instructions.
- Defined the RTAS blob in-memory layout.
- FIX: save and restore cr register in the trampoline
Changes in v2:
- Re-based to github.com/agraf/qemu.git branch: ppc-next
- Merged patches 4 and 5.
- Incorporated other review comments
---
Aravinda Prasad (4):
target-ppc: Extend rtas-blob
target-ppc: Register and handle HCALL to receive updated RTAS region
target-ppc: Build error log
target-ppc: Handle ibm,nmi-register RTAS call
hw/ppc/spapr.c | 7 +
hw/ppc/spapr_hcall.c | 183 +++++++++++++++++++++++++++++++++++++++
hw/ppc/spapr_rtas.c | 93 ++++++++++++++++++++
include/hw/ppc/spapr.h | 27 +++++-
pc-bios/spapr-rtas/spapr-rtas.S | 38 ++++++++
5 files changed, 346 insertions(+), 2 deletions(-)
--
Aravinda Prasad
- [Qemu-devel] [PATCH v3 0/4] target-ppc: Add FWNMI support in qemu for powerKVM guests,
Aravinda Prasad <=
[Qemu-devel] [PATCH v3 2/4] target-ppc: Register and handle HCALL to receive updated RTAS region, Aravinda Prasad, 2014/11/05
[Qemu-devel] [PATCH v3 3/4] target-ppc: Build error log, Aravinda Prasad, 2014/11/05
[Qemu-devel] [PATCH v3 4/4] target-ppc: Handle ibm, nmi-register RTAS call, Aravinda Prasad, 2014/11/05