[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 09/16] spapr_events: event-scan RTAS interfac
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH v5 09/16] spapr_events: event-scan RTAS interface |
Date: |
Tue, 24 Feb 2015 20:11:01 +1100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Feb 16, 2015 at 08:27:45AM -0600, Michael Roth wrote:
> From: Tyrel Datwyler <address@hidden>
>
> We don't actually rely on this interface to surface hotplug events, and
> instead rely on the similar-but-interrupt-driven check-exception RTAS
> interface used for EPOW events. However, the existence of this interface
> is needed to ensure guest kernels initialize the event-reporting
> interfaces which will in turn be used by userspace tools to handle these
> events, so we implement this interface here.
>
> Since events surfaced by this call are mutually exclusive to those
> surfaced via check-exception, we also update the RTAS event queue code
> to accept a boolean to mark/filter for events accordingly.
>
> Events of this sort are not currently generated by QEMU, but the interface
> has been tested by surfacing hotplug events via event-scan in place
> of check-exception.
>
> Signed-off-by: Tyrel Datwyler <address@hidden>
> Signed-off-by: Michael Roth <address@hidden>
Hrm, seems a little odd to implement a queue which nothing will put
events into, but it looks correct.
Reviewed-by: David Gibson <address@hidden>
--
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
pgpjJxftgw1Ly.pgp
Description: PGP signature
- [Qemu-devel] [PATCH resend v5 00/16] spapr: add support for pci hotplug, Michael Roth, 2015/02/16
- [Qemu-devel] [PATCH v5 10/16] spapr_drc: add spapr_drc_populate_dt(), Michael Roth, 2015/02/16
- [Qemu-devel] [PATCH v5 09/16] spapr_events: event-scan RTAS interface, Michael Roth, 2015/02/16
- Re: [Qemu-devel] [PATCH v5 09/16] spapr_events: event-scan RTAS interface,
David Gibson <=
- [Qemu-devel] [PATCH v5 14/16] pci: make pci_bar useable outside pci.c, Michael Roth, 2015/02/16
- [Qemu-devel] [PATCH v5 15/16] spapr_pci: enable basic hotplug operations, Michael Roth, 2015/02/16
- Re: [Qemu-devel] [PATCH v5 15/16] spapr_pci: enable basic hotplug operations, David Gibson, 2015/02/25
[Qemu-devel] [PATCH v5 01/16] docs: add sPAPR hotplug/dynamic-reconfiguration documentation, Michael Roth, 2015/02/16