Commit 9b3cbf72 authored by Isaku Yamahata's avatar Isaku Yamahata Committed by Tony Luck

[IA64] pv_ops: fix ivt.S paravirtualization

Recent kernels are not booting on some HP systems (though
it does boot on others). James and Willy reported the
problem.  James did the bisection to find the commit
that caused the problem:
	498c5170.
	[IA64] pvops: paravirtualize ivt.S

Two instructions were wrongly paravirtualized such that
_FROM_ macro had been used where _TO_ was intended

Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: "Wilcox, Matthew  R" <matthew.r.wilcox@intel.com>
Signed-off-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 8f616cd5
...@@ -1243,11 +1243,11 @@ ENTRY(speculation_vector) ...@@ -1243,11 +1243,11 @@ ENTRY(speculation_vector)
add r17=r17,r18 // now add the offset add r17=r17,r18 // now add the offset
;; ;;
MOV_FROM_IIP(r17) MOV_TO_IIP(r17, r19)
dep r16=0,r16,41,2 // clear EI dep r16=0,r16,41,2 // clear EI
;; ;;
MOV_FROM_IPSR(p0, r16) MOV_TO_IPSR(p0, r16, r19)
;; ;;
RFI RFI
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment