Skip to contentSkip to conversation

=?ISO-8859-1?Q?2=2E6=2E8=2Drc2=20Fix=5Bwas=3A=20=5Bparisc=2Dlinux=5D=20k=2D2=2E6=2E8=2Drc2=2Dpa0=20failled=20to=20boot=20in=09muRO

parisc-linux John David Anglin 1 participant 1 message Jul 29, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 15 lines

Well here is my fix:
--- linux-2.6.8-rc2-pa2+/arch/parisc/kernel/entry.S.Orig 2004-07-29 10:59:50.000000000
+0200
+++ linux-2.6.8-rc2-pa2+/arch/parisc/kernel/entry.S 2004-07-29 11:04:32.000000000
+0200

(quoted diff) +1 -0
@@ -494,6 +494,7 @@
 	 * under 4GB of memory) */
 	.macro		L3_ptep pgd,pte,index,va,fault
 	extrd,u		\va,63-ASM_PGDIR_SHIFT,ASM_BITS_PER_PGD,\index
+	copy		%r0,\pte
 	extrd,u,*=	\va,31,32,%r0
 	ldw,s		\index(\pgd),\pgd
 	extrd,u,*=	\va,31,32,%r0

======><======

Quoted 1 line

Well I couldn't yet explain why that's required :( !

Just after the last insn above is the insn:

bb,>=,n \pgd,_PxD_PRESENT_BIT,\fault

You are setting pte to 0 for the case when the branch is taken. The L2_ptep macro does this, so it makes some sense. It's somewhat tricky to track the uses of the register when a fault occurs.

Dave

Signature · 6 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux