Re: [PATCH 6.1 000/107] 6.1.66-rc1 review

From: Pavel Machek
Date: Tue Dec 05 2023 - 05:35:37 EST


Hi!

> This is the start of the stable review cycle for the 6.1.66 release.
> There are 107 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.

We see build failure on risc-v:

https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/jobs/5680050135

AR drivers/nvmem/built-in.a
2686In file included from ./arch/riscv/include/asm/ptrace.h:10,
2687 from ./arch/riscv/include/uapi/asm/bpf_perf_event.h:5,
2688 from ./include/uapi/linux/bpf_perf_event.h:11,
2689 from ./include/linux/perf_event.h:18,
2690 from ./include/linux/perf/riscv_pmu.h:12,
2691 from drivers/perf/riscv_pmu_sbi.c:14:
2692drivers/perf/riscv_pmu_sbi.c: In function 'pmu_sbi_ovf_handler':
2693drivers/perf/riscv_pmu_sbi.c:582:40: error: 'riscv_pmu_irq_num' undeclared (first use in this function); did you mean 'riscv_pmu_irq'?
2694 582 | csr_clear(CSR_SIP, BIT(riscv_pmu_irq_num));
2695 | ^~~~~~~~~~~~~~~~~
2696./arch/riscv/include/asm/csr.h:400:45: note: in definition of macro 'csr_clear'
2697 400 | unsigned long __v = (unsigned long)(val); \
2698 | ^~~
2699drivers/perf/riscv_pmu_sbi.c:582:36: note: in expansion of macro 'BIT'
2700 582 | csr_clear(CSR_SIP, BIT(riscv_pmu_irq_num));
2701 | ^~~
2702drivers/perf/riscv_pmu_sbi.c:582:40: note: each undeclared identifier is reported only once for each function it appears in
2703 582 | csr_clear(CSR_SIP, BIT(riscv_pmu_irq_num));
2704 | ^~~~~~~~~~~~~~~~~
2705./arch/riscv/include/asm/csr.h:400:45: note: in definition of macro 'csr_clear'
2706 400 | unsigned long __v = (unsigned long)(val); \
2707 | ^~~
2708drivers/perf/riscv_pmu_sbi.c:582:36: note: in expansion of macro 'BIT'
2709 582 | csr_clear(CSR_SIP, BIT(riscv_pmu_irq_num));
2710 | ^~~
2711make[3]: *** [scripts/Makefile.build:250: drivers/perf/riscv_pmu_sbi.o] Error 1
2712make[2]: *** [scripts/Makefile.build:500: drivers/perf] Error 2
2713make[2]: *** Waiting for unfinished jobs....
2714 CC drivers/firmware/efi/earlycon.o
2715

Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Attachment: signature.asc
Description: PGP signature