diff options
author | Raghavendra Rao Ananta <[email protected]> | 2021-10-07 23:34:39 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-10-17 11:17:22 +0100 |
commit | 61f6fadbf9bd6694c72e40d9fa186ceff730ef33 (patch) | |
tree | 72005ee287b330ef66b56b6326693697ff602b74 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
parent | 4959d8650e9f4095a5df6e578377d850f1b94d2f (diff) |
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 <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions