summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorXixin Liu <liuxixin@kylinos.cn>2026-08-18 17:10:00 +0800
committerPaul Walmsley <pjw@kernel.org>2026-08-31 19:12:36 -0600
commit6693171c8c540b3a54e671992f0561613076fc3b (patch)
tree61603a77d45c7701b76875a54f2d831a6542b73c /scripts/Makefile.thinlto
parentddeaa39406c4cf680643412cd1f75bb98a641f6c (diff)
downloadlinux-6693171c8c540b3a54e671992f0561613076fc3b.tar.gz
linux-6693171c8c540b3a54e671992f0561613076fc3b.zip
perf: RISC-V: use BIT_ULL for u64 overflow masks
Overflow status and restart masks are u64, but bits were built with BIT(). On RV32 that is an unsigned long shift, so indices >= 32 truncate or wrap and corrupt the mask. Use BIT_ULL() for those u64 bitops. Fixes: a8625217a054 ("drivers/perf: riscv: Implement SBI PMU snapshot function") Assisted-by: DeepSeek:deepseek-v3 Signed-off-by: Xixin Liu <liuxixin@kylinos.cn> Link: https://patch.msgid.link/prpmask01bitul.v2.1786434000.git.liuxixin@kylinos.cn Cc: stable@vger.kernel.org [pjw@kernel.org: updated to apply] Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions