summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2026-04-01 11:36:03 +0100
committerMarc Zyngier <maz@kernel.org>2026-04-01 15:42:26 +0100
commit42d7eac8291d2724b3897141ab2f226c69b7923e (patch)
tree9d0d88218d2d8462b6cdf8ba321f5dca6645a706 /tools/perf/scripts/python/bin
parent170a77b4185a87cc7e02e404d22b9bf3f9923884 (diff)
KVM: arm64: vgic-v5: Cast vgic_apr to u32 to avoid undefined behaviours
Passing a u64 to __builtin_ctz() is odd, and requires some digging to figure out why this construct is indeed safe as long as the HW is correct. But it is much easier to make it clear to the compiler by casting the u64 into an intermediate u32, and be done with the UD. Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com> Fixes: 933e5288fa971 ("KVM: arm64: gic-v5: Check for pending PPIs") Link: https://sashiko.dev/#/patchset/20260319154937.3619520-1-sascha.bischoff%40arm.com Link: https://patch.msgid.link/20260401103611.357092-9-maz@kernel.org Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions