WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] VT-d: remove debug prints and turn on qin

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] VT-d: remove debug prints and turn on qinval read/write drains
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Jun 2009 08:57:14 -0700
Delivery-date: Fri, 26 Jun 2009 09:10:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1245931604 -3600
# Node ID eb82fc994ab27a55adab5d42e1b5f5870d0aac09
# Parent  d9890e67d2b77b34564e1fd49fd5a8603533381d
VT-d: remove debug prints and turn on qinval read/write drains

This cleanup patch removes debug prints and turn on read and write
drains for VT-d queue invalidation if HW supports them.

Signed-off-by: Allen Kay <allen.m.kay@xxxxxxxxx>
---
 xen/arch/x86/x86_64/mmconfig_64.c    |   10 ----------
 xen/drivers/passthrough/vtd/qinval.c |    4 ++--
 2 files changed, 2 insertions(+), 12 deletions(-)

diff -r d9890e67d2b7 -r eb82fc994ab2 xen/arch/x86/x86_64/mmconfig_64.c
--- a/xen/arch/x86/x86_64/mmconfig_64.c Thu Jun 25 13:05:10 2009 +0100
+++ b/xen/arch/x86/x86_64/mmconfig_64.c Thu Jun 25 13:06:44 2009 +0100
@@ -114,24 +114,14 @@ static void __iomem * __init mcfg_iorema
     unsigned long mfn;
     unsigned long size, nr_mfn;
 
-    printk("amk_mcfg_ioremap: PCI_MCFG_VIRT_START %lx\n", 
(u64)PCI_MCFG_VIRT_START); 
-    printk("amk_mcfg_ioremap: start_bus %x end_bus %x\n",
-               cfg->start_bus_number, cfg->end_bus_number);
-
     virt = PCI_MCFG_VIRT_START + (cfg->pci_segment * (1 << 22)) +
                (cfg->start_bus_number * (1 << 20));
     mfn = cfg->address >> PAGE_SHIFT;
         size = (cfg->end_bus_number - cfg->start_bus_number) << 20;
         nr_mfn = size >> PAGE_SHIFT;
 
-    printk("amk_mcfg_ioremap: virt %lx mfn = %lx size %lx\n", virt, mfn, size);
-
     map_pages_to_xen(virt, mfn, nr_mfn, PAGE_HYPERVISOR_NOCACHE);
     addr = (void __iomem *) virt;
-
-    printk("amk_mcfg_ioremap: PCI_MCFG_VIRT_START %lx\n",
-        (u64)PCI_MCFG_VIRT_START); 
-    printk("amk_mcfg_ioremap: virt  %lx size %lx\n", virt, size);
 
     return addr;
 }
diff -r d9890e67d2b7 -r eb82fc994ab2 xen/drivers/passthrough/vtd/qinval.c
--- a/xen/drivers/passthrough/vtd/qinval.c      Thu Jun 25 13:05:10 2009 +0100
+++ b/xen/drivers/passthrough/vtd/qinval.c      Thu Jun 25 13:06:44 2009 +0100
@@ -120,8 +120,8 @@ static int gen_iotlb_inv_dsc(struct iomm
     qinval_entry = &qinval_entries[index];
     qinval_entry->q.iotlb_inv_dsc.lo.type = TYPE_INVAL_IOTLB;
     qinval_entry->q.iotlb_inv_dsc.lo.granu = granu;
-    qinval_entry->q.iotlb_inv_dsc.lo.dr = 0;
-    qinval_entry->q.iotlb_inv_dsc.lo.dw = 0;
+    qinval_entry->q.iotlb_inv_dsc.lo.dr = dr;
+    qinval_entry->q.iotlb_inv_dsc.lo.dw = dw;
     qinval_entry->q.iotlb_inv_dsc.lo.res_1 = 0;
     qinval_entry->q.iotlb_inv_dsc.lo.did = did;
     qinval_entry->q.iotlb_inv_dsc.lo.res_2 = 0;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] VT-d: remove debug prints and turn on qinval read/write drains, Xen patchbot-unstable <=