diff options
author | Pierre Morel <[email protected]> | 2020-01-31 05:02:05 -0500 |
---|---|---|
committer | Christian Borntraeger <[email protected]> | 2020-01-31 13:17:21 +0100 |
commit | b2ff728bae9b04b533fbc8de66f1719c4dc889de (patch) | |
tree | e8b4283332b15f8d3b4b22234d193b03b3f9ed9e /drivers/usb/cdns3 | |
parent | b25d4cb43f31e31c176eb862db2ad3072b496d44 (diff) |
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 <[email protected]>
Signed-off-by: Janosch Frank <[email protected]>
[minor fixups]
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Borntraeger <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions