974a76f513
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> |
||
---|---|---|
.. | ||
call_hpt.h | ||
call_pci.h | ||
call_sm.h | ||
dt.c | ||
htab.c | ||
hvcall.S | ||
hvlog.c | ||
hvlpconfig.c | ||
iommu.c | ||
ipl_parms.h | ||
irq.c | ||
irq.h | ||
it_exp_vpd_panel.h | ||
it_lp_naca.h | ||
Kconfig | ||
ksyms.c | ||
lpardata.c | ||
lpevents.c | ||
main_store.h | ||
Makefile | ||
mf.c | ||
misc.S | ||
naca.h | ||
pci.c | ||
pci.h | ||
proc.c | ||
processor_vpd.h | ||
release_data.h | ||
setup.c | ||
setup.h | ||
smp.c | ||
smp.h | ||
spcomm_area.h | ||
viopath.c | ||
vpd_areas.h | ||
vpdinfo.c |