All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6] cannot convert region 5 address to physical by clearing bits 63:61
@ 2003-10-13 20:28 Luck, Tony
  0 siblings, 0 replies; only message in thread
From: Luck, Tony @ 2003-10-13 20:28 UTC (permalink / raw)
  To: linux-ia64

Another no-brainer bug fix snipped out of the quagmire of
the MCA/TLB patch.  This one is for 2.6 only, we must use
the new LOAD_PHYSICAL() macro to get the physical address of
the code label that we want to jump to, the INST_VA_TO_PA()
macro just clears the region bits, which only works for region
7 addresses.

-Tony


--- old/include/asm-ia64/mca_asm.h	2003-10-13 13:08:34.474305508 -0700
+++ new/include/asm-ia64/mca_asm.h	2003-10-13 13:09:57.289734181 -0700
@@ -110,10 +110,9 @@
 	;;										\
 	dep	temp1 = -1, temp1, PSR_MC, 1;						\
 	;;										\
-	movl	temp2 = start_addr;							\
 	mov	cr.ipsr = temp1;							\
 	;;										\
-	INST_VA_TO_PA(temp2);								\
+	LOAD_PHYSICAL(p0, temp2, start_addr);						\
 	;;										\
 	mov	cr.iip = temp2;								\
 	mov	cr.ifs = r0;								\

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-13 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-13 20:28 [PATCH 2.6] cannot convert region 5 address to physical by clearing bits 63:61 Luck, Tony

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.