aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/traps.c
diff options
context:
space:
mode:
authorPierre Morel <pmorel@linux.ibm.com>2020-01-31 05:02:05 -0500
committerChristian Borntraeger <borntraeger@de.ibm.com>2020-01-31 13:17:21 +0100
commitb2ff728bae9b04b533fbc8de66f1719c4dc889de (patch)
treee8b4283332b15f8d3b4b22234d193b03b3f9ed9e /arch/s390/kernel/traps.c
parentselftests: KVM: s390x: Add reset tests (diff)
downloadlinux-dev-b2ff728bae9b04b533fbc8de66f1719c4dc889de.tar.xz
linux-dev-b2ff728bae9b04b533fbc8de66f1719c4dc889de.zip
selftests: KVM: testing the local IRQs resets
Local IRQs are reset by a normal cpu reset. The initial cpu reset and the clear cpu reset, as superset of the normal reset, both clear the IRQs too. Let's inject an interrupt to a vCPU before calling a reset and see if it is gone after the reset. We choose to inject only an emergency interrupt at this point and can extend the test to other types of IRQs later. Signed-off-by: Pierre Morel <pmorel@linux.ibm.com> Signed-off-by: Janosch Frank <frankja@linux.ibm.com> [minor fixups] Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Link: https://lore.kernel.org/r/20200131100205.74720-7-frankja@linux.ibm.com Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions