qemu/target
Suraj Jitindar Singh 289af4ac99 powerpc/spapr: Add host threads parameter to ibm,get_system_parameter
The ibm,get_system_parameter rtas call is used by the guest to retrieve
data relating to certain parameters of the system. The SPLPAR
characteristics option (token 20) is used to determine characteristics of
the environment in which the lpar will run.

It may be useful for a guest to know the number of physical host threads
present on the underlying system where it is being run. Add the
characteristic "HostThrs" to the SPLPAR Characteristics
ibm,get_system_parameter rtas call to expose this information to a
guest. Add a n_host_threads property to the processor class which is
then used to retrieve this information and define it for POWER8 and
POWER9. Other processors will default to 0 and the charateristic won't
be added.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>

Message-Id: <20190827045751.22123-1-sjitindarsingh@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-08-29 09:46:07 +10:00
..
alpha target/alpha: fix tlb_fill trap_arg2 value for instruction fetch 2019-08-25 12:30:48 -07:00
arm Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
cris Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
hppa Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
i386 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
lm32 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
m68k hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
microblaze Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
mips Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
moxie hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
nios2 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
openrisc hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
ppc powerpc/spapr: Add host threads parameter to ibm,get_system_parameter 2019-08-29 09:46:07 +10:00
riscv Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
s390x s390x/mmu: Factor out storage key handling 2019-08-22 14:53:49 +02:00
sh4 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
sparc Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
tilegx hw/core: Move cpu.c, cpu.h from qom/ to hw/core/ 2019-08-21 13:24:01 +02:00
tricore Converted target/tricore to translate_loop 2019-08-22 17:01:30 +01:00
unicore32 Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00
xtensa Monitor patches for 2019-08-21 2019-08-22 10:31:21 +01:00