Skip to content

[PW_SID:1129942] irqchip/riscv-rpmi-sysmsi: Validate system MSI indices#2313

Open
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1129942
Open

[PW_SID:1129942] irqchip/riscv-rpmi-sysmsi: Validate system MSI indices#2313
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1129942

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1129942 applied to workflow__riscv__fixes

Name: irqchip/riscv-rpmi-sysmsi: Validate system MSI indices
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1129942
Version: 1

Linux RISC-V bot and others added 2 commits July 15, 2026 17:25
SYS_NUM_MSI is the number of available system MSIs. OpenSBI and the Linux
wired-MSI domain therefore treat valid system MSI indices as the half-open
range [0, SYS_NUM_MSI). The driver stores this count in nr_irqs, but its
translation callback only subtracts gsi_base.

For DT, gsi_base is zero, so an interrupt specifier at or above
SYS_NUM_MSI can be retained as the hardware interrupt number. The wired
MSI allocation path uses a separate descriptor index and preserves the
hardware number in the MSI cookie, so the domain size does not reject it.

Reject a raw value below gsi_base and a translated value outside that
half-open range.

Fixes: aa43953 ("irqchip: Add driver for the RPMI system MSI service group")
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 118.91 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1388.42 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1714.04 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.82 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.72 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 83.36 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
kdoc
Desc: Detects for kdoc errors
Duration: 0.73 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
module-param
Desc: Detect module_param changes
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-rpmi-sysmsi: Validate system MSI indices"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot force-pushed the workflow__riscv__fixes branch from 8ca72ef to 60e0882 Compare July 19, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants