From d9f2ec86ed90cb04cc9270f55927d899f79af6b4 Mon Sep 17 00:00:00 2001 From: Tony Luck Date: Mon, 13 Oct 2003 00:07:56 -0700 Subject: [PATCH] [PATCH] ia64: cannot convert region 5 address to physical by clearing bits 63:61 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. --- include/asm-ia64/mca_asm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/asm-ia64/mca_asm.h b/include/asm-ia64/mca_asm.h index bcca098828ed7..2aa8437dcf752 100644 --- a/include/asm-ia64/mca_asm.h +++ b/include/asm-ia64/mca_asm.h @@ -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; \ -- 2.53.0