Re: [kvm-unit-tests PATCH v2 3/3] s390x: Load reset psw on diag308 reset

Thomas Huth
2019-11-12T09:54:00Z

On 11/11/2019 16.33, Janosch Frank wrote:
> On a diag308 subcode 0 CRs will be reset, so we need a PSW mask
> without DAT. Also we need to set the short psw indication to be
> compliant with the architecture.
>
> Let's therefore define a reset PSW mask with 64 bit addressing and
> short PSW indication that is compliant with architecture and use it.
>
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
> ---
> lib/s390x/asm-offsets.c | 1 +
> lib/s390x/asm/arch_def.h | 3 ++-
> s390x/cstart64.S | 24 +++++++++++++++++-------
> 3 files changed, 20 insertions(+), 8 deletions(-)

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