From: Fangyu Yu To support MRIF mode, we need to add more elements to let the iommu driver get the ppn of MRIF. Signed-off-by: Fangyu Yu --- arch/riscv/include/asm/irq.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/riscv/include/asm/irq.h b/arch/riscv/include/asm/irq.h index 8588667cbb5f..6293ac00e051 100644 --- a/arch/riscv/include/asm/irq.h +++ b/arch/riscv/include/asm/irq.h @@ -30,6 +30,9 @@ struct riscv_iommu_vcpu_info { u32 group_index_shift; u64 gpa; u64 hpa; + u32 host_irq; + bool mrif; + struct msi_msg *host_msg; }; #ifdef CONFIG_ACPI -- 2.49.0