Re: [kvm-unit-tests PATCH v6 2/8] s390x: add function to set DAT mode for all interrupts

Thomas Huth
2023-09-04T09:55:26Z

On 04/09/2023 10.22, Nico Boehr wrote:
> When toggling DAT or switch address space modes, it is likely that
> interrupts should be handled in the same DAT or address space mode.
>
> Add a function which toggles DAT and address space mode for all
> interruptions, except restart interrupts.
>
> Signed-off-by: Nico Boehr <nrb@linux.ibm.com>
> ---
> lib/s390x/asm/arch_def.h | 10 ++++++----
> lib/s390x/asm/interrupt.h | 2 ++
> lib/s390x/interrupt.c | 35 +++++++++++++++++++++++++++++++++++
> lib/s390x/mmu.c | 5 +++--
> 4 files changed, 46 insertions(+), 6 deletions(-)

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