On Wed, Oct 05, 2016 at 03:06:52PM +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 also used in KVM MSI interface. > Other APICs are unlikely to handle those upper bits. > > Reviewed-by: Igor Mammedov <imamm...@redhat.com> > Signed-off-by: Radim Krčmář <rkrc...@redhat.com>
Again we are assuming MSIMessage as host endianess here. If there is more spin for this one, maybe we can consider providing a common function for: apic_get_class()->send_msi(&msi); And call it in the two places. But this one is good enough for me, so: Reviewed-by: Peter Xu <pet...@redhat.com> Thanks, -- peterx