Re: [Qemu-devel] [PATCH v3 3/8] intel_iommu: pass whole remapped addresses to apic

2016-10-09 Thread Peter Xu
On Sun, Oct 09, 2016 at 11:47:57PM +0300, Michael S. Tsirkin wrote: > On Sat, Oct 08, 2016 at 01:24:55PM +0800, Peter Xu wrote: > > On Tue, Oct 04, 2016 at 01:17:28PM +0200, Igor Mammedov wrote: > > > On Fri, 30 Sep 2016 18:10:08 +0200 > > > Radim Krčmář wrote: > > > > > > >

Re: [Qemu-devel] [PATCH v3 3/8] intel_iommu: pass whole remapped addresses to apic

2016-10-09 Thread Michael S. Tsirkin
On Sat, Oct 08, 2016 at 01:24:55PM +0800, Peter Xu wrote: > On Tue, Oct 04, 2016 at 01:17:28PM +0200, Igor Mammedov wrote: > > On Fri, 30 Sep 2016 18:10:08 +0200 > > Radim Krčmář wrote: > > > > > The MMIO interface to APIC only allowed 8 bit addresses, which is not > > >

Re: [Qemu-devel] [PATCH v3 3/8] intel_iommu: pass whole remapped addresses to apic

2016-10-07 Thread Peter Xu
On Tue, Oct 04, 2016 at 01:17:28PM +0200, Igor Mammedov wrote: > On Fri, 30 Sep 2016 18:10:08 +0200 > Radim Krčmář wrote: > > > The MMIO interface to APIC only allowed 8 bit addresses, which is not > > enough for 32 bit addresses from EIM remapping. > > Intel stored upper 24

Re: [Qemu-devel] [PATCH v3 3/8] intel_iommu: pass whole remapped addresses to apic

2016-10-04 Thread Igor Mammedov
On Fri, 30 Sep 2016 18:10:08 +0200 Radim Krčmář wrote: > The MMIO interface to APIC only allowed 8 bit addresses, which is not > enough for 32 bit addresses from EIM remapping. > Intel stored upper 24 bits in the high MSI address, so use the same > technique. The technique is

[Qemu-devel] [PATCH v3 3/8] intel_iommu: pass whole remapped addresses to apic

2016-09-30 Thread Radim Krčmář
The MMIO interface to APIC only allowed 8 bit addresses, which is not enough for 32 bit addresses from EIM remapping. Intel stored upper 24 bits in the high MSI address, so use the same technique. The technique is also used in KVM MSI interface. Other APICs are unlikely to handle those upper bits.