spapr: Add ibm, purr property on power7 and newer
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 27 Sep 2013 08:11:51 +0000 (18:11 +1000)
committerAlexander Graf <agraf@suse.de>
Fri, 25 Oct 2013 21:25:46 +0000 (23:25 +0200)
commitdcb861cb883e9e6d236514a4d0b4def4db736d13
treebdaacee26a6231ac9fc7544cc66c7b111f133cb3
parent3bf6eedd4b6ee5cb7be53aa962583a24293d3441
spapr: Add ibm, purr property on power7 and newer

PAPR+ says that no "ibm,purr" tells the guest that H_PURR is not
supported. However some guests still try calling H_PURR on POWER7 unless
the property is present and equal to 0. This adds the property for CPUs
supporting the PURR special register.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr.c