Skip to content

[PW_SID:970282] RISC-V: Add ACPI support for IOMMU#496

Closed
linux-riscv-bot wants to merge 4 commits into
workflow__riscv__fixesfrom
pw970282
Closed

[PW_SID:970282] RISC-V: Add ACPI support for IOMMU#496
linux-riscv-bot wants to merge 4 commits into
workflow__riscv__fixesfrom
pw970282

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 970282 applied to workflow__riscv__fixes

Name: RISC-V: Add ACPI support for IOMMU
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=970282
Version: 2

Linux RISC-V bot and others added 4 commits May 14, 2025 13:11
RISC-V IO Mapping Table (RIMT) is a static ACPI table to communicate
IOMMU information to the OS. The spec is available at [1].

The changes at high level are,
	a) Initialize data structures required for IOMMU/device
	   configuration using the data from RIMT. Provide APIs required
	   for device configuration.
	b) Provide an API for IOMMU drivers to register the
	   fwnode with RIMT data structures. This API will create a
	   fwnode for PCIe IOMMU.

[1] - https://github.com/riscv-non-isa/riscv-acpi-rimt

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Link: https://lore.kernel.org/r/20250514055723.1328557-3-sunilvl@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
acpi_iommu_configure_id() currently supports only IORT (ARM) and VIOT.
Add support for RISC-V as well.

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Link: https://lore.kernel.org/r/20250514055723.1328557-4-sunilvl@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
RISC-V IO Mapping Table (RIMT) provides the information about the IOMMU
to the OS in ACPI. Add support for ACPI in RISC-V IOMMU drivers by using
RIMT data.

The changes at high level are,

a) Register the IOMMU with RIMT data structures.
b) Enable probing of platform IOMMU in ACPI way using the ACPIID defined
   for the RISC-V IOMMU in the BRS spec [1]. Configure the MSI domain if
   the platform IOMMU uses MSIs.

[1] - https://github.com/riscv-non-isa/riscv-brs/blob/main/acpi-id.adoc

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Link: https://lore.kernel.org/r/20250514055723.1328557-5-sunilvl@ventanamicro.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 110.03 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 636.90 seconds
Result: ERROR
Output:

Redirect to /build/tmp.Rqes0fVBWg and /build/tmp.UA85NJeG4V
Tree base:
400e3f8e57626 ("Adding CI files")
Building the whole tree with the patch
error:
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:92:10: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:92:20: error: use of undeclared identifier 'ACPI_RIMT_NODE_TYPE_IOMMU'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:93:71: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:101:47: error: incomplete definition of type 'struct acpi_rimt_iommu'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:102:25: error: incomplete definition of type 'struct acpi_rimt_iommu'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:112:39: error: incomplete definition of type 'struct acpi_rimt_iommu'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:117:17: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:117:27: error: use of undeclared identifier 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX'; did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:122:44: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:129:18: error: incomplete definition of type 'struct acpi_rimt_pcie_rc'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:131:17: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:131:27: error: use of undeclared identifier 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE'; did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:161:51: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:162:25: error: incomplete definition of type 'struct acpi_rimt_platform_device'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:170:71: error: variable has incomplete type 'enum acpi_rimt_node_type'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:183:10: error: incomplete definition of type 'struct acpi_table_rimt'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:187:22: error: incomplete definition of type 'struct acpi_table_rimt'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:192:16: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:197:16: error: incomplete definition of type 'struct acpi_rimt_node'
fatal error: too many errors emitted, stopping now [-ferror-limit=]



real	10m30.657s
user	404m51.897s
sys	75m25.359s

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 891.81 seconds
Result: ERROR
Output:

Redirect to /build/tmp.oKnm7TZtCG and /build/tmp.6hGNSSDira
Tree base:
400e3f8e57626 ("Adding CI files")
Building the whole tree with the patch
error:
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:92:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:92:27: error: 'ACPI_RIMT_NODE_TYPE_IOMMU' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_MMU'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:93:85: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:101:68: error: invalid use of undefined type 'struct acpi_rimt_iommu'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:102:46: error: invalid use of undefined type 'struct acpi_rimt_iommu'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:112:60: error: invalid use of undefined type 'struct acpi_rimt_iommu'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:117:24: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:117:34: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:122:58: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:129:32: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:131:24: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:131:34: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:161:65: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:162:39: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:170:71: error: parameter 1 ('type') has incomplete type
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:170:31: error: function declaration isn't a prototype [-Werror=strict-prototypes]
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:183:38: error: invalid use of undefined type 'struct acpi_table_rimt'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:187:29: error: invalid use of undefined type 'struct acpi_table_rimt'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:192:30: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:197:51: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:207:50: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:208:22: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:208:32: error: 'ACPI_RIMT_PCIE_ATS_SUPPORTED' undeclared (first use in this function); did you mean 'ACPI_IORT_ATS_SUPPORTED'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:238:25: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:239:26: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:239:48: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:242:23: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:242:53: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:255:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:255:27: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:256:61: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:257:45: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:258:42: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:259:24: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:259:34: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:260:70: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:261:46: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:262:43: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:271:62: error: invalid application of 'sizeof' to incomplete type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:274:17: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:276:34: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:280:69: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:282:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:283:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:284:30: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:306:40: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:312:25: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:312:35: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:313:69: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:314:53: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:315:50: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:316:32: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:316:42: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:317:78: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:318:54: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:319:51: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:331:25: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:333:42: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:338:57: error: increment of pointer to an incomplete type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:339:51: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:339:42: error: passing argument 1 of 'rimt_id_map' from incompatible pointer type [-Wincompatible-pointer-types]
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:348:49: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:369:36: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:400:31: error: 'ACPI_RIMT_NODE_TYPE_IOMMU' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_MMU'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:475:39: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:487:39: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:513:33: error: 'ACPI_SIG_RIMT' undeclared (first use in this function); did you mean 'ACPI_SIG_WSMT'?
/build/tmppv9xc07i/drivers/acpi/riscv/rimt.c:209:1: error: control reaches end of non-void function [-Werror=return-type]



real	14m45.333s
user	576m4.367s
sys	91m2.153s

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 21.68 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.81 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 3.87 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 68.96 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
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: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
module-param
Desc: Detect module_param changes
Duration: 0.33 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2,1/3] ACPI: RISC-V: Add support for RIMT"
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: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 104.93 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 637.50 seconds
Result: ERROR
Output:

Redirect to /build/tmp.0iMVLPonGS and /build/tmp.yEhOsUAQ6d
Tree base:
1ef39bb8827eb ("ACPI: RISC-V: Add support for RIMT")
Building the whole tree with the patch
error:
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:92:10: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:92:20: error: use of undeclared identifier 'ACPI_RIMT_NODE_TYPE_IOMMU'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:93:71: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:101:47: error: incomplete definition of type 'struct acpi_rimt_iommu'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:102:25: error: incomplete definition of type 'struct acpi_rimt_iommu'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:112:39: error: incomplete definition of type 'struct acpi_rimt_iommu'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:117:17: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:117:27: error: use of undeclared identifier 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX'; did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:122:44: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:129:18: error: incomplete definition of type 'struct acpi_rimt_pcie_rc'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:131:17: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:131:27: error: use of undeclared identifier 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE'; did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:161:51: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:162:25: error: incomplete definition of type 'struct acpi_rimt_platform_device'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:170:71: error: variable has incomplete type 'enum acpi_rimt_node_type'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:183:10: error: incomplete definition of type 'struct acpi_table_rimt'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:187:22: error: incomplete definition of type 'struct acpi_table_rimt'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:192:16: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:197:16: error: incomplete definition of type 'struct acpi_rimt_node'
fatal error: too many errors emitted, stopping now [-ferror-limit=]



real	10m30.945s
user	405m13.145s
sys	75m38.828s

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 890.74 seconds
Result: ERROR
Output:

Redirect to /build/tmp.GoRvCSy07O and /build/tmp.8iPsRDmk42
Tree base:
1ef39bb8827eb ("ACPI: RISC-V: Add support for RIMT")
Building the whole tree with the patch
error:
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:92:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:92:27: error: 'ACPI_RIMT_NODE_TYPE_IOMMU' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_MMU'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:93:85: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:101:68: error: invalid use of undefined type 'struct acpi_rimt_iommu'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:102:46: error: invalid use of undefined type 'struct acpi_rimt_iommu'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:112:60: error: invalid use of undefined type 'struct acpi_rimt_iommu'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:117:24: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:117:34: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:122:58: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:129:32: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:131:24: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:131:34: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:161:65: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:162:39: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:170:71: error: parameter 1 ('type') has incomplete type
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:170:31: error: function declaration isn't a prototype [-Werror=strict-prototypes]
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:183:38: error: invalid use of undefined type 'struct acpi_table_rimt'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:187:29: error: invalid use of undefined type 'struct acpi_table_rimt'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:192:30: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:197:51: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:207:50: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:208:22: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:208:32: error: 'ACPI_RIMT_PCIE_ATS_SUPPORTED' undeclared (first use in this function); did you mean 'ACPI_IORT_ATS_SUPPORTED'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:238:25: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:239:26: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:239:48: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:242:23: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:242:53: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:255:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:255:27: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:256:61: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:257:45: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:258:42: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:259:24: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:259:34: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:260:70: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:261:46: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:262:43: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:271:62: error: invalid application of 'sizeof' to incomplete type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:274:17: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:276:34: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:280:69: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:282:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:283:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:284:30: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:306:40: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:312:25: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:312:35: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:313:69: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:314:53: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:315:50: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:316:32: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:316:42: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:317:78: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:318:54: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:319:51: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:331:25: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:333:42: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:338:57: error: increment of pointer to an incomplete type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:339:51: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:339:42: error: passing argument 1 of 'rimt_id_map' from incompatible pointer type [-Wincompatible-pointer-types]
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:348:49: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:369:36: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:400:31: error: 'ACPI_RIMT_NODE_TYPE_IOMMU' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_MMU'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:475:39: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:487:39: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:513:33: error: 'ACPI_SIG_RIMT' undeclared (first use in this function); did you mean 'ACPI_SIG_WSMT'?
/build/tmpwqf4qpn7/drivers/acpi/riscv/rimt.c:209:1: error: control reaches end of non-void function [-Werror=return-type]



real	14m43.820s
user	575m20.540s
sys	91m24.416s

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 20.83 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.95 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.74 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 67.19 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
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: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 2: "[v2,2/3] ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()"
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 3: "[v2,3/3] iommu/riscv: Add ACPI support"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 105.58 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 638.05 seconds
Result: ERROR
Output:

Redirect to /build/tmp.2txisw4EIP and /build/tmp.3ssg1AcYlh
Tree base:
eddcf61e0e80a ("ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()")
Building the whole tree with the patch
error:
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:92:10: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:92:20: error: use of undeclared identifier 'ACPI_RIMT_NODE_TYPE_IOMMU'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:93:71: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:101:47: error: incomplete definition of type 'struct acpi_rimt_iommu'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:102:25: error: incomplete definition of type 'struct acpi_rimt_iommu'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:112:39: error: incomplete definition of type 'struct acpi_rimt_iommu'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:117:17: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:117:27: error: use of undeclared identifier 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX'; did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:122:44: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:129:18: error: incomplete definition of type 'struct acpi_rimt_pcie_rc'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:131:17: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:131:27: error: use of undeclared identifier 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE'; did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:161:51: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:162:25: error: incomplete definition of type 'struct acpi_rimt_platform_device'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:170:71: error: variable has incomplete type 'enum acpi_rimt_node_type'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:183:10: error: incomplete definition of type 'struct acpi_table_rimt'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:187:22: error: incomplete definition of type 'struct acpi_table_rimt'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:192:16: error: incomplete definition of type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:197:16: error: incomplete definition of type 'struct acpi_rimt_node'
fatal error: too many errors emitted, stopping now [-ferror-limit=]



real	10m31.660s
user	405m31.048s
sys	75m43.667s

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 888.63 seconds
Result: ERROR
Output:

Redirect to /build/tmp.4BXbPvpvYE and /build/tmp.oO5kMmMFHF
Tree base:
eddcf61e0e80a ("ACPI: scan: Add support for RISC-V in acpi_iommu_configure_id()")
Building the whole tree with the patch
error:
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:92:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:92:27: error: 'ACPI_RIMT_NODE_TYPE_IOMMU' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_MMU'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:93:85: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:101:68: error: invalid use of undefined type 'struct acpi_rimt_iommu'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:102:46: error: invalid use of undefined type 'struct acpi_rimt_iommu'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:112:60: error: invalid use of undefined type 'struct acpi_rimt_iommu'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:117:24: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:117:34: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:122:58: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:129:32: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:131:24: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:131:34: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:161:65: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:162:39: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:170:71: error: parameter 1 ('type') has incomplete type
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:170:31: error: function declaration isn't a prototype [-Werror=strict-prototypes]
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:183:38: error: invalid use of undefined type 'struct acpi_table_rimt'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:187:29: error: invalid use of undefined type 'struct acpi_table_rimt'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:192:30: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:197:51: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:207:50: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:208:22: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:208:32: error: 'ACPI_RIMT_PCIE_ATS_SUPPORTED' undeclared (first use in this function); did you mean 'ACPI_IORT_ATS_SUPPORTED'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:238:25: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:239:26: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:239:48: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:242:23: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:242:53: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:255:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:255:27: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:256:61: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:257:45: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:258:42: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:259:24: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:259:34: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:260:70: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:261:46: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:262:43: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:271:62: error: invalid application of 'sizeof' to incomplete type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:274:17: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:276:34: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:280:69: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:282:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:283:17: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:284:30: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:306:40: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:312:25: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:312:35: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:313:69: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:314:53: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:315:50: error: invalid use of undefined type 'struct acpi_rimt_pcie_rc'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:316:32: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:316:42: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:317:78: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:318:54: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:319:51: error: invalid use of undefined type 'struct acpi_rimt_platform_device'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:331:25: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:333:42: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:338:57: error: increment of pointer to an incomplete type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:339:51: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:339:42: error: passing argument 1 of 'rimt_id_map' from incompatible pointer type [-Wincompatible-pointer-types]
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:348:49: error: invalid use of undefined type 'struct acpi_rimt_id_mapping'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:369:36: error: invalid use of undefined type 'struct acpi_rimt_node'
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:400:31: error: 'ACPI_RIMT_NODE_TYPE_IOMMU' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_MMU'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:475:39: error: 'ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX' undeclared (first use in this function); did you mean 'ACPI_IORT_NODE_PCI_ROOT_COMPLEX'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:487:39: error: 'ACPI_RIMT_NODE_TYPE_PLAT_DEVICE' undeclared (first use in this function); did you mean 'ACPI_RHCT_NODE_TYPE_ISA_STRING'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:513:33: error: 'ACPI_SIG_RIMT' undeclared (first use in this function); did you mean 'ACPI_SIG_WSMT'?
/build/tmpblctqm1y/drivers/acpi/riscv/rimt.c:209:1: error: control reaches end of non-void function [-Werror=return-type]



real	14m42.079s
user	574m14.062s
sys	91m24.981s

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 22.44 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 22.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.97 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 67.99 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support"
kdoc
Desc: Detects for kdoc errors
Duration: 0.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 3: "[v2,3/3] iommu/riscv: Add ACPI support"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.30 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow__riscv__fixes branch 4 times, most recently from 0b44c19 to 8023d1f Compare June 12, 2025 20:21
@linux-riscv-bot linux-riscv-bot deleted the pw970282 branch June 18, 2025 01:16
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