Re: [PATCH] pci: add pci_request_acs

From: Jesse Barnes
Date: Fri Dec 04 2009 - 19:20:42 EST


On Fri, 4 Dec 2009 12:15:21 -0800
Chris Wright <chrisw@xxxxxxxxxxxx> wrote:

> Commit ae21ee65e8bc228416bbcc8a1da01c56a847a60c "PCI: acs p2p upsteram
> forwarding enabling" doesn't actually enable ACS.
>
> Add a function to pci core to allow an IOMMU to request that ACS
> be enabled. The existing mechanism of using iommu_found() in the pci
> core to know when ACS should be enabled doesn't actually work due to
> initialization order; iommu has only been detected not initialized.
>
> Have Intel and AMD IOMMUs request ACS, and Xen does as well during
> early init of dom0.
>
> Cc: Allen Kay <allen.m.kay@xxxxxxxxx>
> Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
> Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
> Cc: Joerg Roedel <joerg.roedel@xxxxxxx>
> Signed-off-by: Chris Wright <chrisw@xxxxxxxxxxxx>

Applied this one, thanks.

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/