Skip to content

Commit

Permalink
[IA64] Fix conversion of pal_min_state physical address
Browse files Browse the repository at this point in the history
On return from INIT handler we must convert the address of the
minstate area from a kernel virtual uncached address (0xC...)
to physical uncached (0x8...).  A typo (or thinko?) in the code
converted to physical cached.

Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Francois Wellenrieter authored and Tony Luck committed Jan 13, 2006
1 parent 9335d48 commit 8a4b7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/mca_asm.S
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ ia64_state_restore:
;;
mov cr.iim=temp3
mov cr.iha=temp4
dep r22=0,r22,62,2 // pal_min_state, physical, uncached
dep r22=0,r22,62,1 // pal_min_state, physical, uncached
mov IA64_KR(CURRENT)=r21
ld8 r8=[temp1] // os_status
ld8 r10=[temp2] // context
Expand Down

0 comments on commit 8a4b7b6

Please sign in to comment.