Make PAGE_OFFSET variable.
cover Make PAGE_OFFSET variable.
Basically the first 5 patches deconstruct the whole situation, then the final patch throws the switch and makes PAGE_OFFSET variable based upon cpu type.
I tested this patch series lightly on a T4. This obviously isn't enough to fully support 47-bit physical addresses yet, and I'll be looking into the page table issues next to take care of that.
21.09.2013, 09:16, "David Miller" <[email protected]>:
Quoted 11 lines
Basically the first 5 patches deconstruct the whole situation, then the final patch throws the switch and makes
PAGE_OFFSETvariable based upon cpu type.I tested this patch series lightly on a T4. šThis obviously isn't enough to fully support 47-bit physical addresses yet, and I'll be looking into the page table issues next to take care of that.
Signed-off-by David S. Miller <[email protected]>--
Boot tested on Sun Ultra 60 UPA/PCI (2 X UltraSPARC-II 296MHz)
From: Kirill Tkhai <[email protected]>
Date: Sat, 21 Sep 2013 19:34:49 +0400
Quoted 1 line
Boot tested on Sun Ultra 60 UPA/PCI (2 X UltraSPARC-II 296MHz)
Thanks a lot, can you tell me what it said early in bootup?
Specifically this part:
[ 0.000000] PAGE_OFFSET is 0xffff800000000000 (max_phys_bits = 47)
Thanks again!
Hi,
David Miller wrote: [Sat Sep 21 2013, 01:58:35PM EDT]
Quoted 5 lines
From: Kirill Tkhai <[email protected]>
Date: Sat, 21 Sep 2013 19:34:49 +0400Quoted 1 line
Boot tested on Sun Ultra 60 UPA/PCI (2 X UltraSPARC-II 296MHz)
Quoted 7 lines
Thanks a lot, can you tell me what it said early in bootup?
Specifically this part:
[ 0.000000] PAGE_OFFSET is 0xffff800000000000 (max_phys_bits = 47)Thanks again!
This is a T4-1 in CA. I'll push it hard.
[ 0.000000] PAGE_OFFSET is 0xffff800000000000 (max_phys_bits = 47)
Locally I try not to wear noise suppressing head phones on Saturdays for my T4-2 :) I will review the patches again by tomorrow. They look good so far!
thanx,
bob
21.09.2013, 21:58, "David Miller" <[email protected]>:
Quoted 5 lines
From: Kirill Tkhai <[email protected]>
Date: Sat, 21 Sep 2013 19:34:49 +0400Quoted 1 line
šBoot tested on Sun Ultra 60 UPA/PCI (2 X UltraSPARC-II 296MHz)
Quoted 7 lines
Thanks a lot, can you tell me what it said early in bootup?
Specifically this part:
[ ššš0.000000]
PAGE_OFFSETis0xffff800000000000(max_phys_bits= 47)Thanks again!
I sent you email and ran away from my sparc right after that.
I'll send everything tomorrow!
21.09.2013, 22:45, "Kirill Tkhai" <[email protected]>:
Quoted 9 lines
21.09.2013, 21:58, "David Miller" <[email protected]>:
Quoted 7 lines
šFrom: Kirill Tkhai <[email protected]>
šDate: Sat, 21 Sep 2013 19:34:49 +0400Quoted 1 line
ššBoot tested on Sun Ultra 60 UPA/PCI (2 X UltraSPARC-II 296MHz)
šThanks a lot, can you tell me what it said early in bootup?
šSpecifically this part:
Quoted 7 lines
Quoted 3 lines
š[ ššš0.000000]
PAGE_OFFSETis0xffff800000000000(max_phys_bits= 47)šThanks again!
I sent you email and ran away from my sparc right after that.
I'll send everything tomorrow!
$ dmesg | grep PAGE [ 0.000000] PAGE_OFFSET is 0xffffff0000000000 (max_phys_bits = 40)
$cat /proc/cpuinfo
cpu : TI UltraSparc II (BlackBird)
fpu : UltraSparc II integrated FPU
pmu : ultra12
prom : OBP 3.11.25 1998/01/16 12:22
type : sun4u
ncpus probed : 2
ncpus active : 2
D$ parity tl1 : 0 I$ parity tl1 : 0 cpucaps : flush,stbar,swap,muldiv,v9,mul32,div32,v8plus,vis Cpu0ClkTck : 0000000011a4663e Cpu2ClkTck : 0000000011a4663e MMU Type : Spitfire MMU PGSZs : 8K,64K,512K,4MB State: CPU0: online CPU2: online