|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-ia64-devel
[Xen-ia64-devel] [patch 13/16] Kexec: Set protection key of	identity map 
| Set protection key of identity mapping of EFI in alt_itlb_miss.
This will also set the protection key for identity mapped EFI memory
handled by itlb_miss, as it branches to alt_itlb_miss
Without this HP rx3600 machines will not boot
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Cc: Alex Williamson <alex.williamson@xxxxxx>
Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
Index: 20071119-ia64/xen/arch/ia64/xen/ivt.S
===================================================================
--- 20071119-ia64.orig/xen/arch/ia64/xen/ivt.S  2007-11-25 22:56:35.000000000 
-0700
+++ 20071119-ia64/xen/arch/ia64/xen/ivt.S       2007-11-25 22:58:29.000000000 
-0700
@@ -194,7 +194,12 @@
        ;;
 late_alt_itlb_miss:
        mov r21=cr.ipsr
+       cmp.eq p6,p0=0x18,r22   // address == 0xe...
+       cmp.eq p7,p0=0x1c,r22   // address == 0xf...
        movl r17=PAGE_KERNEL
+       ;;
+(p6)   movl r17=(__DIRTY_BITS | _PAGE_AR_RWX | _PAGE_PL_PRIV | _PAGE_MA_UC)
+(p7)   movl r17=(__DIRTY_BITS | _PAGE_AR_RWX)
        movl r19=(((1 << IA64_MAX_PHYS_BITS) - 1) & ~0xfff)
        ;;
        mov r20=cr.itir
-- 
-- 
Horms
_______________________________________________
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 00/16] Kexec v20080125 - xen, Simon Horman
[Xen-ia64-devel] [patch 02/16] Kexec: Unpin the correct VHPT TR in	ia64_do_tlb_purge, Simon Horman
[Xen-ia64-devel] [patch 04/16] Kexec: Header changes in preparation	for EFI RID, Simon Horman
[Xen-ia64-devel] [patch 07/16] Kexec: Use a separate RID for EFI, Simon Horman
[Xen-ia64-devel] [patch 05/16] Kexec: Repining for EFI RID, Simon Horman
[Xen-ia64-devel] [patch 09/16] Kexec: Add identity mapping of EFI	memory to alt_dtlb_miss, Simon Horman
[Xen-ia64-devel] [patch 13/16] Kexec: Set protection key of	identity mapping of EFI in alt_itlb_miss,
Simon Horman <=
[Xen-ia64-devel] [patch 01/16] Kexec: Pass TR to be unpinned by	relocate_new_kernel as an array, Simon Horman
[Xen-ia64-devel] [patch 12/16] Kexec: Set protection key of	identity mapping of EFI in alt_dtlb_miss, Simon Horman
[Xen-ia64-devel] [patch 11/16] ia64: Add identity mapping of EFI	memory to itlb_miss, Simon Horman
[Xen-ia64-devel] [patch 06/16] Kexec: Define macros for EFI RID, Simon Horman
[Xen-ia64-devel] [patch 08/16] Kexec: Allow EFI_RID to be used in	ivt.S, Simon Horman
[Xen-ia64-devel] [patch 14/16] Kexec: Set page size identity	mapping of EFI in alt_itlb_miss, Simon Horman
[Xen-ia64-devel] [patch 10/16] Kexec: Add identity mapping of EFI	memory to dtlb_miss, Simon Horman
[Xen-ia64-devel] [patch 03/16] Kexec: Unpin shared_info and	mapped_regs TR in ia64_do_tlb_purge, Simon Horman
[Xen-ia64-devel] [patch 15/16] Kexec: define EFI offsets for	identity mapping, Simon Horman
[Xen-ia64-devel] [patch 1/1] Kexec: Accept TR to be unpinned by	relocate_new_kernel as an array, Simon Horman
 |  |  | 
  
    |  |  |