Re: [kvm-unit-tests PATCH] s390x: Add initial smp code

Thomas Huth
2019-09-24T16:06:43Z

On 23/09/2019 16.15, Janosch Frank wrote:
> Let's add a rudimentary SMP library, which will scan for cpus and has
> helper functions that manage the cpu state.
>
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
> ---
>
> I left the setup code untouched, as I didn't want to indent too many
> lines.
>
> ---
> lib/s390x/asm/arch_def.h | 8 ++
> lib/s390x/asm/sigp.h | 28 ++++-
> lib/s390x/io.c | 5 +-
> lib/s390x/sclp.h | 1 +
> lib/s390x/smp.c | 252 +++++++++++++++++++++++++++++++++++++++
> lib/s390x/smp.h | 51 ++++++++
> s390x/Makefile | 1 +
> s390x/cstart64.S | 7 ++
> 8 files changed, 347 insertions(+), 6 deletions(-)
> create mode 100644 lib/s390x/smp.c
> create mode 100644 lib/s390x/smp.h

Reviewed-by: Thomas Huth <thuth@redhat.com>