Re: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-02-03 Thread Christoffer Dall
On Wed, Feb 03, 2016 at 01:10:58PM +, Will Deacon wrote: > On Wed, Feb 03, 2016 at 01:50:47PM +0100, Christoffer Dall wrote: > > On Mon, Feb 01, 2016 at 02:03:51PM +, Will Deacon wrote: > > > On Fri, Jan 29, 2016 at 10:25:52PM +0100, Eric Auger wrote: > > > > On 01/29/2016 08:33 PM, Alex Wi

Re: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-02-03 Thread Will Deacon
On Wed, Feb 03, 2016 at 01:50:47PM +0100, Christoffer Dall wrote: > On Mon, Feb 01, 2016 at 02:03:51PM +, Will Deacon wrote: > > On Fri, Jan 29, 2016 at 10:25:52PM +0100, Eric Auger wrote: > > > On 01/29/2016 08:33 PM, Alex Williamson wrote: > > > >>> We know that x86 handles MSI vectors specia

Re: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-02-03 Thread Christoffer Dall
On Mon, Feb 01, 2016 at 02:03:51PM +, Will Deacon wrote: > On Fri, Jan 29, 2016 at 10:25:52PM +0100, Eric Auger wrote: > > On 01/29/2016 08:33 PM, Alex Williamson wrote: > > >>> We know that x86 handles MSI vectors specially, so there is some > > >>> hardware that helps the situation. It's not

Re: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-02-01 Thread Will Deacon
On Fri, Jan 29, 2016 at 10:25:52PM +0100, Eric Auger wrote: > On 01/29/2016 08:33 PM, Alex Williamson wrote: > >>> We know that x86 handles MSI vectors specially, so there is some > >>> hardware that helps the situation. It's not just that x86 has a fixed > >>> range for MSI, it's how it manages t

Re: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-01-29 Thread Eric Auger
Hi Alex, On 01/29/2016 08:33 PM, Alex Williamson wrote: > On Fri, 2016-01-29 at 15:35 +0100, Eric Auger wrote: >> Hi Alex, >> On 01/28/2016 10:51 PM, Alex Williamson wrote: >>> On Tue, 2016-01-26 at 13:12 +, Eric Auger wrote: This series addresses KVM PCIe passthrough with MSI enabled on A

Re: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-01-29 Thread Alex Williamson
On Fri, 2016-01-29 at 15:35 +0100, Eric Auger wrote: > Hi Alex, > On 01/28/2016 10:51 PM, Alex Williamson wrote: > > On Tue, 2016-01-26 at 13:12 +, Eric Auger wrote: > > > This series addresses KVM PCIe passthrough with MSI enabled on ARM/ARM64. > > > It pursues the efforts done on [1], [2], [3

Re: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-01-29 Thread Eric Auger
Hi Alex, On 01/28/2016 10:51 PM, Alex Williamson wrote: > On Tue, 2016-01-26 at 13:12 +, Eric Auger wrote: >> This series addresses KVM PCIe passthrough with MSI enabled on ARM/ARM64. >> It pursues the efforts done on [1], [2], [3]. It also aims at covering the >> same need on some PowerPC plat

Re: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-01-28 Thread Alex Williamson
On Tue, 2016-01-26 at 13:12 +, Eric Auger wrote: > This series addresses KVM PCIe passthrough with MSI enabled on ARM/ARM64. > It pursues the efforts done on [1], [2], [3]. It also aims at covering the > same need on some PowerPC platforms. >  > On x86 all accesses to the 1MB PA region [FEE0_00

Re: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-01-28 Thread Eric Auger
Hi Pavel, On 01/28/2016 08:13 AM, Pavel Fedin wrote: > Hello! > >> x86 isn't problem-free in this space. An x86 VM is going to know that >> the 0xfee0 address range is special, it won't be backed by RAM and >> won't be a DMA target, thus we'll never attempt to map it for an iova >> address.

RE: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-01-27 Thread Pavel Fedin
Hello! > x86 isn't problem-free in this space. An x86 VM is going to know that > the 0xfee0 address range is special, it won't be backed by RAM and > won't be a DMA target, thus we'll never attempt to map it for an iova > address. However, if we run a non-x86 VM or a userspace driver, it >

Re: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-01-27 Thread Eric Auger
Hi Pavel, On 01/26/2016 06:25 PM, Pavel Fedin wrote: > Hello! > I'd like just to clarify some things for myself and better wrap my head > around it... > >> On x86 all accesses to the 1MB PA region [FEE0_h - FEF0_000h] are >> directed >> as interrupt messages: accesses to this special PA wi

RE: [PATCH 00/10] KVM PCIe/MSI passthrough on ARM/ARM64

2016-01-26 Thread Pavel Fedin
Hello! I'd like just to clarify some things for myself and better wrap my head around it... > On x86 all accesses to the 1MB PA region [FEE0_h - FEF0_000h] are directed > as interrupt messages: accesses to this special PA window directly target the > APIC configuration space and not DRAM, m