|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel][PATCH]a virt_to_maddr fix
virt_to_maddr fix
The significant 8 bits of va are used by Xen,
such as 0xf2 is used as uncache mapping.
In function ioports_permit_access,
mach_start = mmio_start | __pa(space->mmio_base);
Mach_start gets wrong physical address.
Signed-off-by; Anthony Xu < anthony.xu@xxxxxxxxx >
Anthony
diff -r c2fc4d26ef18 xen/include/asm-ia64/xenpage.h
--- a/xen/include/asm-ia64/xenpage.h Fri Oct 10 12:06:46 2008 +0900
+++ b/xen/include/asm-ia64/xenpage.h Mon Oct 13 13:44:05 2008 +0800
@@ -23,7 +23,7 @@
if (va - KERNEL_START < xenheap_size)
return xen_pstart + (va - KERNEL_START);
else
- return (va & ((1UL << 60) - 1));
+ return (va & ((1UL << 56) - 1));
}
#define virt_to_maddr(va) (__virt_to_maddr((unsigned long)va))
virt_to_maddr_fix.patch
Description: virt_to_maddr_fix.patch
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel][PATCH]a virt_to_maddr fix,
Xu, Anthony <=
|
Previous by Date: |
[Xen-ia64-devel] Xen/IPF Unstable CS#18605, Linux#697, ioemu#5d9302d3... Status --- no new issue, Zhang, Jingke |
Next by Date: |
[Xen-ia64-devel][PATCH] change pci_dev structure name, Xu, Anthony |
Previous by Thread: |
[Xen-ia64-devel] Xen/IPF Unstable CS#18605, Linux#697, ioemu#5d9302d3... Status --- no new issue, Zhang, Jingke |
Next by Thread: |
Re: [Xen-ia64-devel][PATCH]a virt_to_maddr fix, Isaku Yamahata |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|
|
|