[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] x2apic mode vs. interrupt remapping



When iommu_supports_eim is called in enable_x2apic, drhd is already parsed in 
acpi_boot_init, so iommu_supports_eim should return hardware's real capability. 
That is to say, if eim is no supported on platform, x2apic shouldn't be enabled 
at all. 
Xiantao


Jan Beulich wrote:
>>>> "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx> 03.03.10 14:32 >>>
>> According to the #Cset20168, x2apic is only enabled when all VT-d
>> engines support IR and EIM support, so the policy should be same
>> with Linux's.
> 
> I would say that c/s has the intended behavior you describe, but since
> iommu_setup() runs after enable_x2apic(), the call to
> iommu_supports_eim() still returns true (iommu_enabled, iommu_qinval,
> and iommu_inremap all have an initial value of 1, and with no drhd
> present the function returns 1.
> 
> Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.