ppc/spapr: Add "ibm,pa-features" property to the device-tree
commit90da0d5a703839c8db9f37355107955df043b654
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 22 Oct 2015 07:30:59 +0000 (22 18:30 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 23 Oct 2015 01:22:40 +0000 (23 12:22 +1100)
treed452e0a5e18a1b1d5536ffae695c1348ab618418
parentaa4bb58752310e7906683a2ac99566222c1e7228
ppc/spapr: Add "ibm,pa-features" property to the device-tree

LoPAPR defines a "ibm,pa-features" per-CPU device tree property which
describes extended features of the Processor Architecture.

This adds the property to the device tree. At the moment this is the
copy of what pHyp advertises except "I=1 (cache inhibited) Large Pages"
which is enabled for TCG and disabled when running under HV KVM host
with 4K system page size.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
[aik: rebased, changed commit log, moved ci_large_pages initialization,
renamed pa_features arrays]
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
target-ppc/cpu.h
target-ppc/kvm.c
target-ppc/translate_init.c