From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: Alexander Graf <agraf@suse.de>,
Gavin Shan <gwshan@linux.vnet.ibm.com>,
qemu-ppc@nongnu.org
Cc: alex.williamson@redhat.com, qiudayu@linux.vnet.ibm.com,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v8 4/4] sPAPR: Implement sPAPRPHBClass::eeh_handler
Date: Thu, 05 Jun 2014 23:13:15 +1000 [thread overview]
Message-ID: <53906CEB.9060309@ozlabs.ru> (raw)
In-Reply-To: <539069E1.8040309@suse.de>
On 06/05/2014 11:00 PM, Alexander Graf wrote:
>
> On 05.06.14 08:53, Gavin Shan wrote:
>> The patch implements sPAPRPHBClass::eeh_handler so that the
>> EEH RTAS requests can be routed to VFIO for further handling.
>>
>> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
>
> Just to make sure I grasp this correctly.
>
> We have PHBs that are VFIO PHBs and PHBs that are emulation PHBs. Emulation
> PHBs can only have emulated devices attached. VFIO PHBs can only have a
> single IOMMU group's devices attached each. A container can not span 2
> different VFIO PHBs.
>
> Is this correct?
Yes, this is correct. PHBs are too cheap on SPAPR to think of any
additional complication here :)
> If not the code below needs to take care of any
> abstraction we have in between and maybe limit scope a bit to make sure the
> guest doesn't kill devices on other PHBs :).
--
Alexey
next prev parent reply other threads:[~2014-06-05 13:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-05 6:53 [Qemu-devel] [PATCH v8 0/4] EEH Support for VFIO PCI Device Gavin Shan
2014-06-05 6:53 ` [Qemu-devel] [PATCH v8 1/4] sPAPR: Implement EEH RTAS calls Gavin Shan
2014-06-05 12:09 ` Alexander Graf
2014-06-06 0:59 ` Gavin Shan
2014-06-05 6:53 ` [Qemu-devel] [PATCH v8 2/4] headers: Update kernel header Gavin Shan
2014-06-05 6:53 ` [Qemu-devel] [PATCH v8 3/4] VFIO: Introduce helper vfio_pci_container_ioctl() Gavin Shan
2014-06-05 12:11 ` Alexander Graf
2014-06-06 1:00 ` Gavin Shan
2014-06-05 18:27 ` Alex Williamson
2014-06-06 1:05 ` Gavin Shan
2014-06-05 6:53 ` [Qemu-devel] [PATCH v8 4/4] sPAPR: Implement sPAPRPHBClass::eeh_handler Gavin Shan
2014-06-05 13:00 ` Alexander Graf
2014-06-05 13:13 ` Alexey Kardashevskiy [this message]
2014-06-05 12:12 ` [Qemu-devel] [PATCH v8 0/4] EEH Support for VFIO PCI Device Alexander Graf
2014-06-05 18:31 ` Alex Williamson
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=53906CEB.9060309@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=agraf@suse.de \
--cc=alex.williamson@redhat.com \
--cc=gwshan@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qiudayu@linux.vnet.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).