Re: [Qemu-devel] [PATCH qemu v10 10/14] spapr_pci: Enable vfio-pci hotplug

2015-07-13 Thread Alexey Kardashevskiy
On 07/13/2015 12:41 AM, Michael Roth wrote: Quoting Alexey Kardashevskiy (2015-07-11 23:59:45) On 07/11/2015 07:33 AM, Michael Roth wrote: Quoting Alexey Kardashevskiy (2015-07-05 21:11:06) sPAPR IOMMU is managing two copies of an TCE table: 1) a guest view of the table - this is what emulated

Re: [Qemu-devel] [PATCH qemu v10 10/14] spapr_pci: Enable vfio-pci hotplug

2015-07-12 Thread David Gibson
On Sun, Jul 12, 2015 at 09:41:27AM -0500, Michael Roth wrote: > Quoting Alexey Kardashevskiy (2015-07-11 23:59:45) > > On 07/11/2015 07:33 AM, Michael Roth wrote: > > > Quoting Alexey Kardashevskiy (2015-07-05 21:11:06) > > >> sPAPR IOMMU is managing two copies of an TCE table: > > >> 1) a guest vi

Re: [Qemu-devel] [PATCH qemu v10 10/14] spapr_pci: Enable vfio-pci hotplug

2015-07-12 Thread Michael Roth
Quoting Alexey Kardashevskiy (2015-07-11 23:59:45) > On 07/11/2015 07:33 AM, Michael Roth wrote: > > Quoting Alexey Kardashevskiy (2015-07-05 21:11:06) > >> sPAPR IOMMU is managing two copies of an TCE table: > >> 1) a guest view of the table - this is what emulated devices use and > >> this is whe

Re: [Qemu-devel] [PATCH qemu v10 10/14] spapr_pci: Enable vfio-pci hotplug

2015-07-11 Thread Alexey Kardashevskiy
On 07/11/2015 07:33 AM, Michael Roth wrote: Quoting Alexey Kardashevskiy (2015-07-05 21:11:06) sPAPR IOMMU is managing two copies of an TCE table: 1) a guest view of the table - this is what emulated devices use and this is where H_GET_TCE reads from; 2) a hardware TCE table - only present if th

Re: [Qemu-devel] [PATCH qemu v10 10/14] spapr_pci: Enable vfio-pci hotplug

2015-07-10 Thread Michael Roth
Quoting Alexey Kardashevskiy (2015-07-05 21:11:06) > sPAPR IOMMU is managing two copies of an TCE table: > 1) a guest view of the table - this is what emulated devices use and > this is where H_GET_TCE reads from; > 2) a hardware TCE table - only present if there is at least one vfio-pci > device o

Re: [Qemu-devel] [PATCH qemu v10 10/14] spapr_pci: Enable vfio-pci hotplug

2015-07-07 Thread Alexey Kardashevskiy
On 07/07/2015 07:31 AM, Thomas Huth wrote: On Mon, 6 Jul 2015 12:11:06 +1000 Alexey Kardashevskiy wrote: sPAPR IOMMU is managing two copies of an TCE table: 1) a guest view of the table - this is what emulated devices use and this is where H_GET_TCE reads from; 2) a hardware TCE table - only

Re: [Qemu-devel] [PATCH qemu v10 10/14] spapr_pci: Enable vfio-pci hotplug

2015-07-06 Thread Thomas Huth
On Mon, 6 Jul 2015 12:11:06 +1000 Alexey Kardashevskiy wrote: > sPAPR IOMMU is managing two copies of an TCE table: > 1) a guest view of the table - this is what emulated devices use and > this is where H_GET_TCE reads from; > 2) a hardware TCE table - only present if there is at least one vfio-

Re: [Qemu-devel] [PATCH qemu v10 10/14] spapr_pci: Enable vfio-pci hotplug

2015-07-06 Thread David Gibson
On Mon, Jul 06, 2015 at 12:11:06PM +1000, Alexey Kardashevskiy wrote: > sPAPR IOMMU is managing two copies of an TCE table: > 1) a guest view of the table - this is what emulated devices use and > this is where H_GET_TCE reads from; > 2) a hardware TCE table - only present if there is at least one

[Qemu-devel] [PATCH qemu v10 10/14] spapr_pci: Enable vfio-pci hotplug

2015-07-05 Thread Alexey Kardashevskiy
sPAPR IOMMU is managing two copies of an TCE table: 1) a guest view of the table - this is what emulated devices use and this is where H_GET_TCE reads from; 2) a hardware TCE table - only present if there is at least one vfio-pci device on a PHB; it is updated via a memory listener on a PHB address