]> err.no Git - linux-2.6/commit
[SPARC64]: Detect sun4v early in boot process.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 9 Feb 2006 10:52:44 +0000 (02:52 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:12:03 +0000 (01:12 -0800)
commitd82ace7dc4073b090a55b9740700e32b9a9ae302
treed5aa8e10664b05bbfe31eacf95e2066c03cab102
parent1d2f1f90a1e004b0c1b8a73ed4394a93f09104b3
[SPARC64]: Detect sun4v early in boot process.

We look for "SUNW,sun4v" in the 'compatible' property
of the root OBP device tree node.

Protect every %ver register access, to make sure it is
not touched on sun4v, as %ver is hyperprivileged there.

Lock kernel TLB entries using hypervisor calls instead of
calls into OBP.

Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
arch/sparc64/kernel/cpu.c
arch/sparc64/kernel/head.S
arch/sparc64/kernel/irq.c
arch/sparc64/kernel/setup.c
arch/sparc64/kernel/trampoline.S
arch/sparc64/kernel/us2e_cpufreq.c
arch/sparc64/kernel/us3_cpufreq.c
arch/sparc64/mm/init.c
arch/sparc64/prom/init.c
arch/sparc64/prom/tree.c
include/asm-sparc64/head.h
include/asm-sparc64/oplib.h