linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ACS PATCH v5 2/2] adding xen dom0 checking
@ 2009-10-07 17:27 Allen Kay
  2009-10-07 18:07 ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 3+ messages in thread
From: Allen Kay @ 2009-10-07 17:27 UTC (permalink / raw)
  To: linux-kernel, linux-pci
  Cc: jbarnes, matthew, chris, jeremy, don.dugger, Allen Kay

This patch is predicated on Jeremy's patch in include/xen/xen.h.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
---
 drivers/pci/probe.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index aa98258..e9b347e 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -11,6 +11,7 @@
 #include <linux/cpumask.h>
 #include <linux/pci-aspm.h>
 #include <linux/iommu.h>
+#include <xen/xen.h>
 #include "pci.h"
 
 #define CARDBUS_LATENCY_TIMER	176	/* secondary latency timer */
@@ -1017,7 +1018,7 @@ static void pci_init_capabilities(struct pci_dev *dev)
 	pci_iov_init(dev);
 
 	/* Enable ACS P2P upstream forwarding */
-	if (iommu_found())
+	if (iommu_found() || xen_initial_domain())
 		pci_enable_acs(dev);
 }
 
-- 
1.6.0.6


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [ACS PATCH v5 2/2] adding xen dom0 checking
  2009-10-07 17:27 [ACS PATCH v5 2/2] adding xen dom0 checking Allen Kay
@ 2009-10-07 18:07 ` Jeremy Fitzhardinge
  2009-10-26 21:12   ` Jesse Barnes
  0 siblings, 1 reply; 3+ messages in thread
From: Jeremy Fitzhardinge @ 2009-10-07 18:07 UTC (permalink / raw)
  To: Allen Kay; +Cc: linux-kernel, linux-pci, jbarnes, matthew, chris, don.dugger

On 10/07/09 10:27, Allen Kay wrote:
> This patch is predicated on Jeremy's patch in include/xen/xen.h.
>   

Feel free to include that patch in your series if you depend on it. 
Otherwise it will get too awkward keeping track of everything.

    J

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ACS PATCH v5 2/2] adding xen dom0 checking
  2009-10-07 18:07 ` Jeremy Fitzhardinge
@ 2009-10-26 21:12   ` Jesse Barnes
  0 siblings, 0 replies; 3+ messages in thread
From: Jesse Barnes @ 2009-10-26 21:12 UTC (permalink / raw)
  To: Jeremy Fitzhardinge
  Cc: Allen Kay, linux-kernel, linux-pci, matthew, chris, don.dugger

On Wed, 07 Oct 2009 11:07:22 -0700
Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> On 10/07/09 10:27, Allen Kay wrote:
> > This patch is predicated on Jeremy's patch in include/xen/xen.h.
> >   
> 
> Feel free to include that patch in your series if you depend on it. 
> Otherwise it will get too awkward keeping track of everything.

Ok, I applied Allen's patchset along with your xen.h patch to my
linux-next tree.

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-26 21:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07 17:27 [ACS PATCH v5 2/2] adding xen dom0 checking Allen Kay
2009-10-07 18:07 ` Jeremy Fitzhardinge
2009-10-26 21:12   ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).