Alexey Kardashevskiy 3794d5482d spapr: Implement processor compatibility in ibm, client-architecture-support
Modern Linux kernels support last POWERPC CPUs so when a kernel boots,
in most cases it can find a matching cpu_spec in the kernel's cpu_specs
list. However if the kernel is quite old, it may be missing a definition
of the actual CPU. To provide an ability for old kernels to work on modern
hardware, a Processor Compatibility Mode has been introduced
by the PowerISA specification.

>From the hardware prospective, it is supported by the Processor
Compatibility Register (PCR) which is defined in PowerISA. The register
enables one of the compatibility modes (2.05/2.06/2.07).
Since PCR is a hypervisor privileged register and cannot be
directly accessed from the guest, the mode selection is done via
ibm,client-architecture-support (CAS) RTAS call using which the guest
specifies what "raw" and "architected" CPU versions it supports.
QEMU works out the best match, changes a "cpu-version" property of
every CPU and notifies the guest about the change by setting these
properties in the buffer passed as a response on a custom H_CAS hypercall.

This implements ibm,client-architecture-support parameters parsing
(now only for PVRs) and cooks the device tree diff with new values for
"cpu-version", "ibm,ppc-interrupt-server#s" and
"ibm,ppc-interrupt-server#s" properties.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-06-16 13:24:38 +02:00
2014-06-10 19:39:34 +04:00
2014-06-10 07:44:01 +02:00
2013-04-18 13:50:53 +02:00
2014-05-20 13:05:58 +02:00
2014-06-16 13:24:35 +02:00
2014-06-16 13:24:35 +02:00
2014-06-09 15:43:40 +02:00
2014-06-05 16:10:33 +02:00
2014-06-05 16:10:33 +02:00
2014-06-05 16:10:33 +02:00
2014-06-10 09:50:27 +02:00
2014-06-05 16:10:33 +02:00
2014-06-16 04:55:27 +02:00
2014-06-13 12:34:57 +02:00
2014-06-16 13:24:33 +02:00
2012-09-07 09:02:44 +03:00
2014-06-16 13:24:35 +02:00
2013-09-05 09:40:31 -05:00
2014-06-09 15:43:40 +02:00
2013-10-11 09:34:56 -07:00
2014-06-16 13:24:35 +02:00
2014-06-05 16:10:33 +02:00
2013-07-23 02:41:31 +02:00
2014-05-20 11:57:52 +01:00
2013-08-12 09:15:12 -05:00
2014-06-09 15:43:40 +02:00
2013-09-03 12:25:55 +02:00
2014-05-24 00:07:29 +04:00
2014-03-13 14:34:16 +00:00
2014-05-28 17:36:21 +02:00
2014-04-18 10:33:36 +04:00
2014-06-04 11:30:32 +02:00
2014-06-09 15:43:40 +02:00
2014-05-28 14:28:46 +02:00
2014-05-24 00:07:29 +04:00
2013-10-11 09:34:56 -07:00
2014-06-10 13:59:02 +02:00
2014-02-17 11:57:23 -05:00
2014-06-05 16:10:33 +02:00
2014-04-17 20:39:32 +01:00
2013-10-11 09:34:56 -07:00
2014-06-09 15:43:40 +02:00
2014-05-07 16:16:43 +00:00
2014-06-11 00:25:06 +01:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
QEMU With E2K User Support
Readme 459 MiB
Languages
C 83.1%
C++ 6.3%
Python 3.2%
Dylan 2.8%
Shell 1.6%
Other 2.8%