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] [linux-2.6.18-xen] [IA64] Revert paravirtualization to i

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [IA64] Revert paravirtualization to ioremap /proc/pci
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 07 Sep 2007 09:10:19 -0700
Delivery-date: Fri, 07 Sep 2007 09:11:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 Alex Williamson <alex.williamson@xxxxxx>
# Date 1185814315 21600
# Node ID 6d84769b52563c8ecdbe3ee001befcbfbbf6bfcd
# Parent  b0bf9ba32bfe341af07da97d57572659c920fd30
[IA64] Revert paravirtualization to ioremap /proc/pci

Signed-off-by: Jun Kamada <kama@xxxxxxxxxxxxxx>
---
 arch/ia64/pci/pci.c |   16 ----------------
 1 files changed, 16 deletions(-)

diff -r b0bf9ba32bfe -r 6d84769b5256 arch/ia64/pci/pci.c
--- a/arch/ia64/pci/pci.c       Fri Jul 27 08:15:50 2007 -0600
+++ b/arch/ia64/pci/pci.c       Mon Jul 30 10:51:55 2007 -0600
@@ -612,14 +612,6 @@ pci_mmap_page_range (struct pci_dev *dev
        else
                vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
 
-       if (is_initial_xendomain()) {
-               unsigned long addr = vma->vm_pgoff << PAGE_SHIFT;
-               size_t size = vma->vm_end - vma->vm_start;
-               unsigned long offset = HYPERVISOR_ioremap(addr, size);
-               if (IS_ERR_VALUE(offset))
-                       return offset;
-       }
-
        if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff,
                             vma->vm_end - vma->vm_start, vma->vm_page_prot))
                return -EAGAIN;
@@ -676,14 +668,6 @@ pci_mmap_legacy_page_range(struct pci_bu
 
        vma->vm_pgoff += (unsigned long)addr >> PAGE_SHIFT;
        vma->vm_page_prot = prot;
-
-       if (is_initial_xendomain()) {
-               unsigned long addr = vma->vm_pgoff << PAGE_SHIFT;
-               size_t size = vma->vm_end - vma->vm_start;
-               unsigned long offset = HYPERVISOR_ioremap(addr, size);
-               if (IS_ERR_VALUE(offset))
-                       return offset;
-       }
 
        if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff,
                            size, vma->vm_page_prot))

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] [IA64] Revert paravirtualization to ioremap /proc/pci, Xen patchbot-linux-2.6.18-xen <=