[PATCH v5 1/3] ACPI: RISC-V: Add support for RIMT
XianLiang Huang
huangxianliang at lanxincomputing.com
Fri Aug 15 00:55:41 PDT 2025
Hi Sunil,
On Wed, 16 Jul 2025 16:10:57 +0530, Sunil V L wrote:
> + parent = ACPI_ADD_PTR(struct acpi_rimt_node, rimt_table, map->dest_offset);
> +
> + if (node->type == ACPI_RIMT_NODE_TYPE_PLAT_DEVICE ||
> + node->type == ACPI_RIMT_NODE_TYPE_PCIE_ROOT_COMPLEX) {
> + *id_out = map->dest_offset;
> + return parent;
> + }
Why do we assign dest_offset to id_out? The dest_offset is the iommu offset, not
a valid deviceid required for platform device in rimt_plat_iommu_map?
Regards,
Xianliang
More information about the linux-riscv
mailing list