Re: [RFC PATCH v2 01/18] genirq/msi: Provide DOMAIN_BUS_MSI_REMAP
From: Nutty.Liu
Date: Tue Sep 30 2025 - 04:25:36 EST
On 9/21/2025 4:38 AM, Andrew Jones wrote:
Provide a domain bus token for the upcoming support for the RISC-VReviewed-by: Nutty Liu <nutty.liu@xxxxxxxxxxx>
IOMMU interrupt remapping domain, which needs to be distinguished
from NEXUS domains. The new token name is generic, as the only
information that needs to be conveyed is that the IRQ domain will
remap MSIs, i.e. there's nothing RISC-V specific to convey.
Since the MSI_REMAP domain implements init_dev_msi_info() with
msi_parent_init_dev_msi_info(), which makes 'domain' point to
the NEXUS domain, while keeping 'msi_parent_domain' pointing to
itself, there's nothing to do in msi-lib to add support except
to accept the token.
Signed-off-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>
---
drivers/irqchip/irq-msi-lib.c | 8 ++++----
include/linux/irqdomain_defs.h | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
Thanks,
Nutty