aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorSebastian Ott <[email protected]>2025-06-05 10:36:12 +0000
committerMarc Zyngier <[email protected]>2025-06-05 13:28:01 +0000
commit05ce38d489dbc96eb1dd700b287f949cb8cc0610 (patch)
tree67fa70117d7323447d2793c0833be72170a84c77 /lib/crypto/mpi/mpi-mul.c
parentKVM: arm64: selftests: Fix thread migration in arch_timer_edge_cases (diff)
downloadkernel-05ce38d489dbc96eb1dd700b287f949cb8cc0610.tar.gz
kernel-05ce38d489dbc96eb1dd700b287f949cb8cc0610.zip
KVM: arm64: selftests: Fix xVAL init in arch_timer_edge_cases
arch_timer_edge_cases hits the following assertion in < 10% of the test runs: ==== Test Assertion Failure ==== arm64/arch_timer_edge_cases.c:490: timer_get_cntct(timer) >= DEF_CNT + (timer_get_cntfrq() * (uint64_t)(delta_2_ms) / 1000) pid=17110 tid=17110 errno=4 - Interrupted system call 1 0x0000000000404ec7: test_run at arch_timer_edge_cases.c:945 2 0x0000000000401fa3: main at arch_timer_edge_cases.c:1074 3 0x0000ffffa774b587: ?? ??:0 4 0x0000ffffa774b65f: ?? ??:0 5 0x000000000040206f: _start at ??:? timer_get_cntct(timer) >= DEF_CNT + msec_to_cycles(delta_2_ms) Enabling the timer without proper xval initialization in set_tval_irq() resulted in an early interrupt during timer reprogramming. Make sure to set the xval before setting the enable bit. 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