Nina Schoetterl-Glausch <[email protected]> writes:
> From: Pierre Morel <[email protected]>
>
> On interception of STSI(15.1.x) the System Information Block
> (SYSIB) is built from the list of pre-ordered topology entries.
>
> Signed-off-by: Pierre Morel <[email protected]>
> Reviewed-by: Nina Schoetterl-Glausch <[email protected]>
> Co-developed-by: Nina Schoetterl-Glausch <[email protected]>
> Signed-off-by: Nina Schoetterl-Glausch <[email protected]>
> ---
> MAINTAINERS | 1 +
> qapi/machine-target.json | 14 ++
> include/hw/s390x/cpu-topology.h | 23 +++
> include/hw/s390x/sclp.h | 1 +
> target/s390x/cpu.h | 75 +++++++
> hw/s390x/cpu-topology.c | 2 +
> target/s390x/kvm/kvm.c | 5 +-
> target/s390x/kvm/stsi-topology.c | 338 +++++++++++++++++++++++++++++++
> target/s390x/kvm/meson.build | 3 +-
> 9 files changed, 460 insertions(+), 2 deletions(-)
> create mode 100644 target/s390x/kvm/stsi-topology.c
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 9c6599a55b..17b92fe3ce 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -1702,6 +1702,7 @@ M: Nina Schoetterl-Glausch <[email protected]>
> S: Supported
> F: include/hw/s390x/cpu-topology.h
> F: hw/s390x/cpu-topology.c
> +F: target/s390x/kvm/stsi-topology.c
>
> X86 Machines
> ------------
> diff --git a/qapi/machine-target.json b/qapi/machine-target.json
> index f0a6b72414..0d45a590ce 100644
> --- a/qapi/machine-target.json
> +++ b/qapi/machine-target.json
> @@ -361,3 +361,17 @@
> 'TARGET_MIPS',
> 'TARGET_LOONGARCH64',
> 'TARGET_RISCV' ] } }
> +
> +##
> +# @CpuS390Polarization:
> +#
> +# An enumeration of cpu polarization that can be assumed by a virtual
> +# S390 CPU
CPU polarization
Would someone reasonably familiar with S390 understand this? Because
I'm not and I don't; I wonder what "a virtual CPU assuming a
polarization" means.
> +#
> +# Since: 8.2
> +##
> +{ 'enum': 'CpuS390Polarization',
> + 'prefix': 'S390_CPU_POLARIZATION',
> + 'data': [ 'horizontal', 'vertical' ],
> + 'if': 'TARGET_S390X'
Indentation is off.
> +}