android_kernel_xiaomi_sm8350/arch/powerpc/platforms/iseries
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
..
call_hpt.h
call_pci.h
call_sm.h
dt.c [POWERPC] Move iSeries initrd logic into device tree 2006-10-24 15:01:27 +10:00
htab.c
hvcall.S
hvlog.c
hvlpconfig.c
iommu.c [POWERPC] Refactor 64 bits DMA operations 2006-12-04 20:38:40 +11:00
ipl_parms.h
irq.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
irq.h [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
it_exp_vpd_panel.h
it_lp_naca.h
Kconfig
ksyms.c [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
lpardata.c
lpevents.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
main_store.h
Makefile
mf.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
misc.S [POWERPC] Lazy interrupt disabling for 64-bit machines 2006-10-16 16:31:36 +10:00
naca.h
pci.c [POWERPC] Allow hooking of PCI MMIO & PIO accessors on 64 bits 2006-12-04 20:38:52 +11:00
pci.h
proc.c
processor_vpd.h
release_data.h
setup.c [POWERPC] Distinguish POWER6 partition modes and tell userspace 2006-12-04 20:40:16 +11:00
setup.h
smp.c [POWERPC] Fix iseries/smp.c for irq breakage 2006-10-07 10:10:30 +10:00
smp.h [POWERPC] Fix iseries/smp.c for irq breakage 2006-10-07 10:10:30 +10:00
spcomm_area.h
viopath.c [POWERPC] Fix up after irq changes 2006-10-07 22:08:26 +10:00
vpd_areas.h
vpdinfo.c