diff options
| author | Sebastian Ott <[email protected]> | 2025-06-05 10:36:11 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2025-06-05 13:27:21 +0000 |
| commit | 050632ae6571d0f148fa0d4b90b6409a12645461 (patch) | |
| tree | 90ead3bede0de1ab2f41958b8d20dddf3c622eff /lib/crypto/mpi/mpi-mul.c | |
| parent | KVM: arm64: selftests: Fix help text for arch_timer_edge_cases (diff) | |
| download | kernel-050632ae6571d0f148fa0d4b90b6409a12645461.tar.gz kernel-050632ae6571d0f148fa0d4b90b6409a12645461.zip | |
KVM: arm64: selftests: Fix thread migration in arch_timer_edge_cases
arch_timer_edge_cases tries to migrate itself across host cpus. Before
the first test, it migrates to cpu 0 by setting up an affinity mask with
only bit 0 set. After that it looks for the next possible cpu in the
current affinity mask which still has only bit 0 set. So there is no
migration at all.
Fix this by reading the default mask at start and use this to find
the next cpu in each iteration.
Signed-off-by: Sebastian Ott <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
