Skip to content

[PW_SID:1079648] Add interrupt controller for JHB100 SoC#1750

Closed
linux-riscv-bot wants to merge 5 commits into
workflow__riscv__fixesfrom
pw1079648
Closed

[PW_SID:1079648] Add interrupt controller for JHB100 SoC#1750
linux-riscv-bot wants to merge 5 commits into
workflow__riscv__fixesfrom
pw1079648

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1079648 applied to workflow__riscv__fixes

Name: Add interrupt controller for JHB100 SoC
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1079648
Version: 1

changhuangliang and others added 5 commits April 10, 2026 09:52
The StarFive JH8100 SoC was discontinued before production. The
newly taped-out JHB100 SoC uses the same interrupt controller IP.

Rename the binding file, compatible string, and MAINTAINERS entry
from "jh8100" to "jhb100". In JHB100 SoC, The clocks and resets are
not operated by users, but they exist in the hardware. Mark them as
optional.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The StarFive JH8100 SoC was discontinued before production. The
newly taped-out JHB100 SoC uses the same interrupt controller IP.
Rename the driver file, Kconfig symbol, and internal references
from "jh8100" to "jhb100" to accurately reflect the supported
hardware.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Use devm_ interfaces to simplify resource release. Make clock and reset
get optional as they are not used on the JHB100 SoC. Replace pr_ logging
with dev_* logging.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
StarFive JHB100 SoC interrupt controller actually supports 64 interrupt
sources, the original code only supported up to 32. now it is extended
to 64.

Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add irq_set_type hook to support configuring interrupt trigger types
(level high/low, edge rising/falling) for the JHB100 interrupt controller.
Also add irq_ack hook as required by handle_edge_irq.

Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 136.51 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 991.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1338.79 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.37 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.12 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.98 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 84.46 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
kdoc
Desc: Detects for kdoc errors
Duration: 0.95 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
module-param
Desc: Detect module_param changes
Duration: 0.33 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v1,1/5] dt-bindings: interrupt-controller: Convert the word "jh8100" to "jhb100""
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 135.09 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1119.71 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1622.16 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.40 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.75 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 2.43 seconds
Result: WARNING
Output:

WARNING: please write a help paragraph that fully describes the config symbol with at least 4 lines
#50: FILE: drivers/irqchip/Kconfig:654:
+config STARFIVE_JHB100_INTC
+	bool "StarFive JHB100 External Interrupt Controller"
 	depends on ARCH_STARFIVE || COMPILE_TEST
 	default ARCH_STARFIVE
 	select IRQ_DOMAIN_HIERARCHY
 	help
+	  This enables support for the INTC chip found in StarFive JHB100
+	  This enables support for the INTC chip found in StarFive JHB100
 	  SoC.
 
 	  If you don't know what to do here, say Y.

total: 0 errors, 1 warnings, 0 checks, 71 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

Commit c4a1f71e2ec2 ("irqchip: starfive: Convert the word "jh8100" to "jhb100"") has style problems, please review.

NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.
total: 0 errors, 1 warnings, 0 checks, 71 lines checked
WARNING: please write a help paragraph that fully describes the config symbol with at least 4 lines


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 83.72 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
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 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
kdoc
Desc: Detects for kdoc errors
Duration: 0.96 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
module-param
Desc: Detect module_param changes
Duration: 0.33 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v1,2/5] irqchip: starfive: Convert the word "jh8100" to "jhb100""
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.34 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v1,3/5] irqchip: starfive: Use devm_ interfaces to simplify resource release"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 136.32 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v1,3/5] irqchip: starfive: Use devm_ interfaces to simplify resource release"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v1,3/5] irqchip: starfive: Use devm_ interfaces to simplify resource release"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v1,3/5] irqchip: starfive: Use devm_ interfaces to simplify resource release"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v1,3/5] irqchip: starfive: Use devm_ interfaces to simplify resource release"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 135.50 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1104.84 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1612.92 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.19 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.09 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.79 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 84.94 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
kdoc
Desc: Detects for kdoc errors
Duration: 0.89 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 4: "[v1,4/5] irqchip: starfive: Increase the interrupt source number up to 64"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 136.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1113.64 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1616.06 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 24.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.80 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 84.30 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
kdoc
Desc: Detects for kdoc errors
Duration: 0.82 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 5: "[v1,5/5] irqchip: starfive: Implement irq_set_type and irq_ack hooks"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 2.69 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1079648 branch April 16, 2026 08:21
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.

3 participants