qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Aravinda Prasad <aravinda@linux.vnet.ibm.com>
Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, aik@ozlabs.ru,
	mahesh@linux.vnet.ibm.com, benh@au1.ibm.com, paulus@samba.org,
	sam.bobroff@au1.ibm.com
Subject: Re: [Qemu-devel] [PATCH v4 0/5] target-ppc/spapr: Add FWNMI support in QEMU for PowerKVM guests
Date: Fri, 18 Aug 2017 20:33:18 +1000	[thread overview]
Message-ID: <20170818103318.GB3658@umbus.fritz.box> (raw)
In-Reply-To: <150305073858.13788.4068645609072927349.stgit@aravinda>

[-- Attachment #1: Type: text/plain, Size: 2185 bytes --]

On Fri, Aug 18, 2017 at 03:36:44PM +0530, Aravinda Prasad wrote:
> This series of patches adds support for FWNMI in PowerKVM guests.
> 
> Memory error such as bit flips that cannot be corrected
> by hardware is passed on to the kernel for handling
> by raising machine check exception (an NMI). Upon such
> machine check exception, if the address in error belongs
> to guest then KVM causes a guest exit with KVM_EXIT_NMI
> exit reason.
> 
> This patch series adds functionality to pass on such
> machine check exception to the guest kernel by suitably
> handling KVM_EXIT_NMI exit and building the error log.
> 
> The KVM changes are now part of the upstream kernel
> (commit e20bbd3d). This series containe QEMU changes.
> 
> Change Log v4:
>     - Included the RTAS_DISP_FULLY_RECOVERED scenario in
>       patch 4/5.

You don't seem to have addressed any of the other comments from the
last round, however.

> 
> Change Log v3:
>     - Rebased to v2.10.0-rc0 (git://github.com/dgibson/qemu)
> 
> Change Log v2:
>     - Added KVM capability
>     - Serialized multiple NMIs with a conditional wait
> 
> ---
> 
> Aravinda Prasad (5):
>       ppc: spapr: Register and handle HCALL to receive updated RTAS region
>       ppc: spapr: Handle "ibm,nmi-register" and "ibm,nmi-interlock" RTAS calls
>       Wrapper function to wait on condition for the main loop mutex
>       target/ppc: Handle NMI guest exit
>       ppc: spapr: Enable FWNMI capability
> 
> 
>  cpus.c                   |    5 ++
>  hw/ppc/spapr.c           |   12 ++++++
>  hw/ppc/spapr_hcall.c     |    8 ++++
>  hw/ppc/spapr_rtas.c      |   52 ++++++++++++++++++++++++++
>  include/hw/ppc/spapr.h   |   14 ++++++-
>  include/qemu/main-loop.h |    8 ++++
>  target/ppc/kvm.c         |   93 ++++++++++++++++++++++++++++++++++++++++++++++
>  target/ppc/kvm_ppc.h     |   82 +++++++++++++++++++++++++++++++++++++++++
>  8 files changed, 272 insertions(+), 2 deletions(-)
> 

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-08-18 10:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-18 10:06 [Qemu-devel] [PATCH v4 0/5] target-ppc/spapr: Add FWNMI support in QEMU for PowerKVM guests Aravinda Prasad
2017-08-18 10:06 ` [Qemu-devel] [PATCH v4 1/5] ppc: spapr: Register and handle HCALL to receive updated RTAS region Aravinda Prasad
2017-08-18 10:07 ` [Qemu-devel] [PATCH v4 2/5] ppc: spapr: Handle "ibm, nmi-register" and "ibm, nmi-interlock" RTAS calls Aravinda Prasad
2017-08-18 10:07 ` [Qemu-devel] [PATCH v4 3/5] Wrapper function to wait on condition for the main loop mutex Aravinda Prasad
2017-08-18 10:07 ` [Qemu-devel] [PATCH v4 4/5] target/ppc: Handle NMI guest exit Aravinda Prasad
2017-08-18 10:07 ` [Qemu-devel] [PATCH v4 5/5] ppc: spapr: Enable FWNMI capability Aravinda Prasad
2017-08-18 10:23 ` [Qemu-devel] [PATCH v4 0/5] target-ppc/spapr: Add FWNMI support in QEMU for PowerKVM guests no-reply
2017-08-18 10:30 ` no-reply
2017-08-18 10:33 ` David Gibson [this message]
2017-08-18 14:55   ` Aravinda Prasad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170818103318.GB3658@umbus.fritz.box \
    --to=david@gibson.dropbear.id.au \
    --cc=aik@ozlabs.ru \
    --cc=aravinda@linux.vnet.ibm.com \
    --cc=benh@au1.ibm.com \
    --cc=mahesh@linux.vnet.ibm.com \
    --cc=paulus@samba.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=sam.bobroff@au1.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).