Skip to content

ADSP-SC598 upstream driver changes v2 #64

ADSP-SC598 upstream driver changes v2

ADSP-SC598 upstream driver changes v2 #64

Re-run triggered August 28, 2025 08:02
Status Success
Total duration 13m 30s
Artifacts 4

top-level.yml

on: pull_request
assert_checks
3s
assert_checks
conditional_oran
0s
conditional_oran
conditional_adsp
0s
conditional_adsp
conditional_rpi
0s
conditional_rpi
conditional_xlnx
0s
conditional_xlnx
build_gcc_aarch64_adrv906x-eval_defconfig  /  build
build_gcc_aarch64_adrv906x-eval_defconfig / build
build_gcc_aarch64_sc598-som-ezkit_defconfig  /  build
build_gcc_aarch64_sc598-som-ezkit_defconfig / build
build_gcc_aarch64_sc598-som-ezlite_defconfig  /  build
build_gcc_aarch64_sc598-som-ezlite_defconfig / build
build_gcc_arm_sc573-ezkit_defconfig  /  build
build_gcc_arm_sc573-ezkit_defconfig / build
build_gcc_arm_sc589-mini_defconfig  /  build
build_gcc_arm_sc589-mini_defconfig / build
build_gcc_arm_sc594-som-ezkit_defconfig  /  build
build_gcc_arm_sc594-som-ezkit_defconfig / build
build_gcc_arm_sc594-som-ezlite_defconfig  /  build
build_gcc_arm_sc594-som-ezlite_defconfig / build
build_gcc_aarch64_adi_bcm2711_defconfig  /  build
build_gcc_aarch64_adi_bcm2711_defconfig / build
build_gcc_aarch64_adi_bcm2712_defconfig  /  build
build_gcc_aarch64_adi_bcm2712_defconfig / build
build_gcc_arm_adi_bcm2709_defconfig  /  build
build_gcc_arm_adi_bcm2709_defconfig / build
build_gcc_arm_adi_bcm2711_defconfig  /  build
build_gcc_arm_adi_bcm2711_defconfig / build
build_gcc_arm_adi_bcmrpi_defconfig  /  build
build_gcc_arm_adi_bcmrpi_defconfig / build
build_gcc_aarch64_adi_zynqmp_defconfig  /  build
build_gcc_aarch64_adi_zynqmp_defconfig / build
build_gcc_arm_adi_versal_defconfig  /  build
build_gcc_arm_adi_versal_defconfig / build
build_gcc_arm_socfpga_adi_defconfig  /  build
build_gcc_arm_socfpga_adi_defconfig / build
build_gcc_arm_zynq_m2k_defconfig  /  build
build_gcc_arm_zynq_m2k_defconfig / build
build_gcc_arm_zynq_pluto_defconfig  /  build
build_gcc_arm_zynq_pluto_defconfig / build
build_gcc_arm_zynq_xcomm_adv7511_defconfig  /  build
build_gcc_arm_zynq_xcomm_adv7511_defconfig / build
many_devicetrees  /  build
many_devicetrees / build
assert_build_oran
0s
assert_build_oran
assert_build_adsp
0s
assert_build_adsp
assert_build_rpi
0s
assert_build_rpi
assert_build_xlnx
0s
assert_build_xlnx
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 21 warnings
checks / checks
Process completed with exit code 1.
checks / checks: Documentation/devicetree/bindings/pinctrl/adi#L0
dt_binding_check contain errors
checks / checks: Documentation/devicetree/bindings/serial/adi#L44
checkpatch: trailing whitespace + description: Increase by 16 incoming bit sampling rate for better $
checks / checks: drivers/i2c/busses/Kconfig#L528
checkpatch: trailing whitespace + This driver can also be built as a module. $
checks / checks: Documentation/devicetree/bindings/pinctrl/adi#L28
checkpatch: trailing whitespace + $
checks / checks: drivers/clk/adi/clk-adi-sc598.c#L172
checkpatch: open brace '{' following function definitions go on the next line +static void sc5xx_clock_setup(struct device_node *np, + struct adi_clk_branch *branch_list, + unsigned int nr_clk) {
checks / checks: drivers/clk/adi/clk-adi-sc598.c#L172
checkpatch: trailing whitespace +static void sc5xx_clock_setup(struct device_node *np, $
checks / checks: drivers/clk/adi/clk-adi-sc598.c#L146
checkpatch: space required after that ',' (ctx:VxV) + CDU_GATE(ADSP_CLK_CDU_DDR, "cdu_ddr", "cdu_ddr_sel",CDU_CFG3, 0), ^
checks / checks: drivers/clk/adi/clk-adi-sc598.c#L61
checkpatch: trailing whitespace +^IDIVIDER(ADSP_CLK_CGU0_S1SELEXDIV, "cgu0_s1selexdiv", "cgu0_pllclk", $
checks / checks: drivers/reset/reset-sc5xx.c#L90
checkpatch: trailing whitespace +^I$
checks / checks: drivers/reset/Kconfig#L240
checkpatch: trailing whitespace +^I Support software reset. $
checks / checks: drivers/reset/Kconfig#L239
checkpatch: trailing whitespace +^I This enables simple reset controller for ADI ADSP-SC5xx family. $
checks / checks
Process completed with exit code 127.
build_gcc_x86_64 / build
Process completed with exit code 1.
build_gcc_x86_64 / build: drivers/tty/serial/adi_uart.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
build_gcc_x86_64 / build: drivers/reset/reset-sc5xx.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
build_gcc_x86_64 / build: drivers/i2c/busses/i2c-adi-sc5xx.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
build_gcc_aarch64 / build
Process completed with exit code 1.
build_gcc_aarch64 / build: drivers/tty/serial/adi_uart.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
build_gcc_aarch64 / build: drivers/reset/reset-sc5xx.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
build_gcc_aarch64 / build: drivers/i2c/busses/i2c-adi-sc5xx.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
build_llvm_x86_64 / build
Process completed with exit code 1.
build_llvm_x86_64 / build: drivers/tty/serial/adi_uart.c#L0
clang_analyzer: Failed to get compile command from compile_commands.json
build_llvm_x86_64 / build: drivers/reset/reset-sc5xx.c#L0
clang_analyzer: Failed to get compile command from compile_commands.json
build_llvm_x86_64 / build: drivers/i2c/busses/i2c-adi-sc5xx.c#L0
clang_analyzer: Failed to get compile command from compile_commands.json
build_llvm_x86_64 / build: drivers/tty/serial/adi_uart.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
build_llvm_x86_64 / build: drivers/reset/reset-sc5xx.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
build_llvm_x86_64 / build: drivers/i2c/busses/i2c-adi-sc5xx.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
build_gcc_arm / build
Process completed with exit code 1.
build_gcc_arm / build: drivers/tty/serial/adi_uart.c#L0
gcc_fanalayzer: Failed to get compile command from compile_commands.json
build_gcc_arm / build: drivers/reset/reset-sc5xx.c#L0
gcc_fanalayzer: Failed to get compile command from compile_commands.json
build_gcc_arm / build: drivers/i2c/busses/i2c-adi-sc5xx.c#L0
gcc_fanalayzer: Failed to get compile command from compile_commands.json
build_gcc_arm / build: drivers/tty/serial/adi_uart.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
build_gcc_arm / build: drivers/reset/reset-sc5xx.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
build_gcc_arm / build: drivers/i2c/busses/i2c-adi-sc5xx.c#L0
assert_compiled: Was not compiled during kernel compilation, ensure defconfig enables it
checks / checks: drivers/pinctrl/pinctrl-sc5xx.c#L767
coccicheck: 40-46 ERROR application of sizeof to pointer
checks / checks: include/linux/soc/adi/system_config.h#L21
checkpatch: Prefer kernel type 'u8' over 'uint8_t' + uint8_t shift;
checks / checks: include/linux/soc/adi/system_config.h#L20
checkpatch: Prefer kernel type 'u32' over 'uint32_t' + uint32_t mask;
checks / checks: include/linux/soc/adi/system_config.h#L19
checkpatch: Prefer kernel type 'u32' over 'uint32_t' + uint32_t offset;
checks / checks: include/linux/soc/adi/system_config.h#L18
checkpatch: Prefer kernel type 'u32' over 'uint32_t' + uint32_t id;
checks / checks: include/linux/soc/adi/sc59x.h#L95
checkpatch: Please don't use multiple blank lines + +
checks / checks: include/linux/soc/adi/sc59x.h#L89
checkpatch: Please don't use multiple blank lines + +
checks / checks: include/linux/soc/adi/rcu.h#L39
checkpatch: Please don't use multiple blank lines + +
checks / checks: include/linux/soc/adi/adsp-gpio-port.h#L46
checkpatch: spinlock_t definition without comment + spinlock_t lock;
checks / checks: include/linux/soc/adi/adsp-gpio-port.h#L45
checkpatch: Prefer kernel type 'u32' over 'uint32_t' + uint32_t open_drain;
checks / checks: include/linux/soc/adi/adsp-gpio-port.h#L44
checkpatch: Prefer kernel type 'u32' over 'uint32_t' + uint32_t irq_offset;
build_llvm_x86_64 / build: drivers/clk/adi/clk-adi-pll.c#L66
clang_analyzer: Value stored to 'm' is never read [deadcode.DeadStores] 66 | m = m2; | ^ ~~
build_gcc_arm / build: drivers/tty/serial/serial_core.c#L3021
smatch: argument 3 to %lX specifier is cast from pointer
build_gcc_arm / build: drivers/pinctrl/pinctrl-sc5xx.c#L784
gcc_fanalayzer: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] 784 | all_pins[i].name = adsp_pinctrl->group_names[i]; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 'adsp_pinctrl_init_groups': events 1-6 | | 725 | static int adsp_pinctrl_init_groups(struct adsp_pinctrl *adsp_pinctrl, | | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (1) entry to 'adsp_pinctrl_init_groups' |...... | 737 | if (num_ports < 0) | | ~ | | | | | (2) following 'false' branch... |...... | 740 | if (num_ports == 0) { | | ~ | | | | | (3) ...to here | | (4) following 'false' branch... |...... | 745 | adsp_pinctrl->num_ports = num_ports; | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (5) ...to here | 746 | | 747 | adsp_pinctrl->pin_counts = devm_kcalloc(dev, sizeof(*adsp_pinctrl->pin_counts), | | ~ | | | | | (6) inlined call to 'devm_kcalloc' from 'adsp_pinctrl_init_groups' | +--> 'devm_kcalloc': event 7 | |./include/linux/device/devres.h:65:16: | 65 | return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); | | ^ | | | | | (7) inlined call to 'devm_kmalloc_array' from 'devm_kcalloc' | +--> 'devm_kmalloc_array': events 8-9 | | 58 | if (unlikely(check_mul_overflow(n, size, &bytes))) | | ^ | | | | | (8) following 'false' branch... |...... | 61 | return devm_kmalloc(dev, bytes, flags); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (9) ...to here | <-------------+ | 'adsp_pinctrl_init_groups': events 10-12 | |drivers/pinctrl/pinctrl-sc5xx.c:749:12: | 749 | if (!adsp_pinctrl->pin_counts) | | ^ | | | | | (10) following 'false' branch... |...... | 752 | ret = of_property_read_u32_array(dev->of_node, "adi,port-sizes", | | ~~~~~~~~~~~~ | | | | | (11) ...to here | 753 | adsp_pinctrl->pin_counts, num_ports); | 754 | if (ret) | | ~ | | | | | (12) following 'false' branch (when 'ret >= 0')... | 'adsp_pinctrl_init_groups': event 13 | |cc1: | (13): ...to here | 'adsp_pinctrl_init_groups': event 14 | | 764 | all_pins = devm_kcalloc(dev, sizeof(*all_pins), adsp_pinctrl->total_pins, | | ^ | | | | | (14) inlined call to 'devm_kcalloc' from 'adsp_pinctrl_init_groups' | +--> 'devm_kcalloc': event 15 | |./include/linux/device/devres.h:65:16: | 65 | return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); | | ^ | | | | | (15) inlined call to 'devm_kmalloc_array' from 'devm_kcalloc' | +--> 'devm_kmalloc_array': event 16 | | 58 | if (unlikely(check_mul_overflow(n, size, &bytes))) | | ^ | | | | | (16) following 'true' branch... | <-------------+ | 'adsp_pinctrl_init_groups': events 17-18 | |drivers/pinctrl/pinctrl-sc5xx.c:767:30: | 767 | adsp_pinctrl->pins = devm_kcalloc(dev, sizeof(adsp_pinctrl->pins), | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (17) ...to here | | (18) inlined call to 'devm_kcalloc' from 'adsp_pinctrl_init_groups' | 768 | adsp_pinctrl->total_pins, GFP_KERNEL); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | +--> 'devm_kcalloc': event 19 | |./include/linux/device/devres.h:65:16: | 65 | return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); | | ^ | | | | | (19) inlined call to 'devm_kmalloc_array' from 'devm_kcalloc' | +--> 'devm_kmalloc_array': events 20-21 | | 58 | if (unlikely(check_mul_overflow(n, size, &bytes))) | | ^ | | | | | (20) following 'false' branch... |...... | 61 | return devm_kmalloc(dev, bytes, flags); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (21) ...to here | <-------------+ | 'adsp_pinctrl_init_groups': events 22-24 | |drivers/pinctrl/pinctrl-sc5xx.c:769:12: | 769 | if (!adsp_pinctrl->pins) | | ^ | | | | | (22) following 'false' branch... |...... | 772 | adsp_pinctrl->group_names = devm_kcalloc(dev, sizeof(*adsp_pinctrl->group_names), | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | (23) ...to here | | (24) inlined call to 'devm_kcalloc' from 'adsp_pinctrl_init_groups' | 773 | adsp_pinctrl->total_pins, GFP_KERNEL); | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | +--> 'devm_kcalloc': event 25 | |./include/linux/device/devres.h:65:16: | 65 | return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); | | ^ | | | | | (25) inlined call to 'devm_kmalloc_array' from 'devm_kcalloc' | +-->
build_gcc_arm / build: drivers/tty/serial/serial_core.c#L663
sparse: context imbalance in 'uart_chars_in_buffer' - different lock contexts for basic block
build_gcc_arm / build: drivers/tty/serial/serial_core.c#L650
sparse: context imbalance in 'uart_write_room' - different lock contexts for basic block
build_gcc_arm / build: drivers/tty/serial/serial_core.c#L637
sparse: context imbalance in 'uart_write' - different lock contexts for basic block
build_gcc_arm / build: drivers/tty/serial/serial_core.c#L604
sparse: context imbalance in 'uart_put_char' - different lock contexts for basic block
build_gcc_arm / build: drivers/tty/serial/serial_core.c#L298
sparse: context imbalance in 'uart_free_xmit_buf' - different lock contexts for basic block
build_gcc_arm / build: drivers/tty/serial/serial_core.c#L273
sparse: context imbalance in 'uart_alloc_xmit_buf' - different lock contexts for basic block
build_gcc_arm / build: drivers/tty/serial/serial_core.c#L173
sparse: context imbalance in 'uart_start' - different lock contexts for basic block

Artifacts

Produced during runtime
Name Size Digest
dist-adi_ci_defconfig-gcc_14-arm Expired
9.23 MB
sha256:9474e19976be16cb8b717eb3fa08e1f30decbcfdff83a1a25ef483b952599ee4
dist-adi_ci_defconfig-gcc_14-arm64 Expired
2.26 MB
sha256:91217620fe3164e292a649a3e36ee8b233860be183f5f586e5e5c79c959a2c33
dist-adi_ci_defconfig-gcc_14-x86 Expired
2.51 MB
sha256:ae4da31b15d169e72c104151ade70d73aacde038d62e0e46ca9beb5bfa186070
dist-adi_ci_defconfig-llvm_19-x86 Expired
2.41 MB
sha256:321251ac253f52d675e54c746045549bb38b1167df3620f1a3e38d2b0685d49d