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

Re: [Xen-devel] [PATCH 0/3] x2APIC improvement



On Wed, Jul 07, 2010 at 01:09:08PM +0800, Weidong Han wrote:
> Konrad Rzeszutek Wilk wrote:
> >On Mon, Jul 05, 2010 at 03:07:58PM +0800, Han, Weidong wrote:
> >>The patchset improves Xen x2APIC support.
> >>
> >>Patch 1/3: allocate iommu when create a drhd
> >>    A drhd is created when parse ACPI DMAR table, but drhd->iommu is not 
> >> allocated until iommu setup. But iommu is needed by x2APIC which will 
> >> enable interrupt remapping before iommu setup. This patch allocates iommu 
> >> when create drhd. And then drhd->ecap can be removed because it's the same 
> >> as iommu->ecap.
> >>
> >
> >Have these patches been tested on a machine where the number of DRHD !=
> >number of IOAPICs?
> >
> Why need to care about number of DRHD != number of IOAPICs? One DRHD
> may cover more than one IOAPICs. And there is already check if all

And the inverse might be true as well - in which case we should disable
x2APIC.

> IOAPICs have corresponding DRHD.

I understand. I am asking whether these patches have not changed that
behavior and whether you have tested for that.

_______________________________________________
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®.