diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-12 06:43:05 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-12 06:43:05 -0500 |
commit | 81444a799550214f549caf579cf65a0ca55e70b7 (patch) | |
tree | 3288dac0740be2e1e7d1af4ee51d792a6e91edf3 /arch/ia64 | |
parent | a64d31baed104be25305e9c71585d3ea4ee9a418 (diff) | |
parent | da485e0cb16726797e99a595a399b9fc721b91bc (diff) |
Merge branch 'tracing/fastboot' into cpus4096
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kvm/Makefile | 2 | ||||
-rw-r--r-- | arch/ia64/kvm/optvfault.S | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/arch/ia64/kvm/Makefile b/arch/ia64/kvm/Makefile index 3ab4d6d50704..92cef66ca268 100644 --- a/arch/ia64/kvm/Makefile +++ b/arch/ia64/kvm/Makefile | |||
@@ -58,7 +58,7 @@ endif | |||
58 | kvm-objs := $(common-objs) kvm-ia64.o kvm_fw.o | 58 | kvm-objs := $(common-objs) kvm-ia64.o kvm_fw.o |
59 | obj-$(CONFIG_KVM) += kvm.o | 59 | obj-$(CONFIG_KVM) += kvm.o |
60 | 60 | ||
61 | EXTRA_CFLAGS_vcpu.o += -mfixed-range=f2-f5,f12-f127 | 61 | CFLAGS_vcpu.o += -mfixed-range=f2-f5,f12-f127 |
62 | kvm-intel-objs = vmm.o vmm_ivt.o trampoline.o vcpu.o optvfault.o mmio.o \ | 62 | kvm-intel-objs = vmm.o vmm_ivt.o trampoline.o vcpu.o optvfault.o mmio.o \ |
63 | vtlb.o process.o | 63 | vtlb.o process.o |
64 | #Add link memcpy and memset to avoid possible structure assignment error | 64 | #Add link memcpy and memset to avoid possible structure assignment error |
diff --git a/arch/ia64/kvm/optvfault.S b/arch/ia64/kvm/optvfault.S index 634abad979b5..32254ce9a1bd 100644 --- a/arch/ia64/kvm/optvfault.S +++ b/arch/ia64/kvm/optvfault.S | |||
@@ -107,10 +107,10 @@ END(kvm_vps_resume_normal) | |||
107 | GLOBAL_ENTRY(kvm_vps_resume_handler) | 107 | GLOBAL_ENTRY(kvm_vps_resume_handler) |
108 | movl r30 = PAL_VPS_RESUME_HANDLER | 108 | movl r30 = PAL_VPS_RESUME_HANDLER |
109 | ;; | 109 | ;; |
110 | ld8 r27=[r25] | 110 | ld8 r26=[r25] |
111 | shr r17=r17,IA64_ISR_IR_BIT | 111 | shr r17=r17,IA64_ISR_IR_BIT |
112 | ;; | 112 | ;; |
113 | dep r27=r17,r27,63,1 // bit 63 of r27 indicate whether enable CFLE | 113 | dep r26=r17,r26,63,1 // bit 63 of r26 indicate whether enable CFLE |
114 | mov pr=r23,-2 | 114 | mov pr=r23,-2 |
115 | br.sptk.many kvm_vps_entry | 115 | br.sptk.many kvm_vps_entry |
116 | END(kvm_vps_resume_handler) | 116 | END(kvm_vps_resume_handler) |
@@ -894,12 +894,15 @@ ENTRY(kvm_resume_to_guest) | |||
894 | ;; | 894 | ;; |
895 | ld8 r19=[r19] | 895 | ld8 r19=[r19] |
896 | mov b0=r29 | 896 | mov b0=r29 |
897 | cmp.ne p6,p7 = r0,r0 | 897 | mov r27=cr.isr |
898 | ;; | 898 | ;; |
899 | tbit.z p6,p7 = r19,IA64_PSR_IC_BIT // p1=vpsr.ic | 899 | tbit.z p6,p7 = r19,IA64_PSR_IC_BIT // p7=vpsr.ic |
900 | shr r27=r27,IA64_ISR_IR_BIT | ||
900 | ;; | 901 | ;; |
901 | (p6) ld8 r26=[r25] | 902 | (p6) ld8 r26=[r25] |
902 | (p7) mov b0=r28 | 903 | (p7) mov b0=r28 |
904 | ;; | ||
905 | (p6) dep r26=r27,r26,63,1 | ||
903 | mov pr=r31,-2 | 906 | mov pr=r31,-2 |
904 | br.sptk.many b0 // call pal service | 907 | br.sptk.many b0 // call pal service |
905 | ;; | 908 | ;; |