|
From: | Alexander Graf |
Subject: | Re: [Qemu-ppc] [RFC PATCH 03/10] spapr_pci: Make find_phb()/find_dev() public |
Date: | Mon, 11 Aug 2014 13:39:38 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
On 31.07.14 11:34, Alexey Kardashevskiy wrote:
This makes find_phb()/find_dev() public and changed its names to spapr_pci_find_phb()/spapr_pci_find_dev() as they are going to be used from other parts of QEMU such as VFIO DDW (dynamic DMA window) or VFIO PCI error injection or VFIO EEH handling - in all these cases there are RTAS calls which are addressed to BUID+config_addr in IEEE1275 format. Signed-off-by: Alexey Kardashevskiy <address@hidden>
Is there any particular reason these RTAS calls can't get handled inside of spapr_pci.c? After all, if they work on PCI granularity, they are semantically bound to the PCI PHB emulation.
Alex
[Prev in Thread] | Current Thread | [Next in Thread] |