diff options
author | 2021-10-07 23:34:39 +0000 | |
---|---|---|
committer | 2021-10-17 11:17:22 +0100 | |
commit | 61f6fadbf9bd6694c72e40d9fa186ceff730ef33 (patch) | |
tree | 72005ee287b330ef66b56b6326693697ff602b74 /drivers/fpga/fpga-mgr.c | |
parent | KVM: arm64: selftests: Add arch_timer test (diff) | |
download | linux-dev-61f6fadbf9bd6694c72e40d9fa186ceff730ef33.tar.xz linux-dev-61f6fadbf9bd6694c72e40d9fa186ceff730ef33.zip |
KVM: arm64: selftests: arch_timer: Support vCPU migration
Since the timer stack (hardware and KVM) is per-CPU, there
are potential chances for races to occur when the scheduler
decides to migrate a vCPU thread to a different physical CPU.
Hence, include an option to stress-test this part as well by
forcing the vCPUs to migrate across physical CPUs in the
system at a particular rate.
Originally, the bug for the fix with commit 3134cc8beb69d0d
("KVM: arm64: vgic: Resample HW pending state on deactivation")
was discovered using arch_timer test with vCPU migrations and
can be easily reproduced.
Signed-off-by: Raghavendra Rao Ananta <rananta@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211007233439.1826892-16-rananta@google.com
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions