android_kernel_xiaomi_sm8350/arch/ppc/kernel
Paul Mackerras 974a76f513 [POWERPC] Distinguish POWER6 partition modes and tell userspace
This adds code to look at the properties firmware puts in the device
tree to determine what compatibility mode the partition is in on
POWER6 machines, and set the ELF aux vector AT_HWCAP and AT_PLATFORM
entries appropriately.

Specifically, we look at the cpu-version property in the cpu node(s).
If that contains a "logical" PVR value (of the form 0x0f00000x), we
call identify_cpu again with this PVR value.  A value of 0x0f000001
indicates the partition is in POWER5+ compatibility mode, and a value
of 0x0f000002 indicates "POWER6 architected" mode, with various
extensions disabled.  We also look for various other properties:
ibm,dfp, ibm,purr and ibm,spurr.

Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-12-04 20:40:16 +11:00
..
asm-offsets.c
cpu_setup_power4.S
dma-mapping.c
entry.S
head_4xx.S
head_8xx.S
head_44x.S
head_booke.h
head_fsl_booke.S
head.S
machine_kexec.c
Makefile
misc.S [POWERPC] Consolidate feature fixup code 2006-10-25 11:42:10 +10:00
pci.c
ppc_htab.c
ppc_ksyms.c
ppc-stub.c
relocate_kernel.S
rio.c
semaphore.c
setup.c [POWERPC] Distinguish POWER6 partition modes and tell userspace 2006-12-04 20:40:16 +11:00
smp-tbsync.c
smp.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
softemu8xx.c
time.c [POWERPC] ppc: Add missing calls to set_irq_regs 2006-10-16 15:52:14 +10:00
traps.c [POWERPC] Book-E reg MCSR msg misquoted 2006-12-04 20:39:22 +11:00
vmlinux.lds.S [PATCH] vmlinux.lds: consolidate initcall sections 2006-10-27 15:34:51 -07:00