RISC-V: KVM: Add IMSIC related defines
authorAnup Patel <apatel@ventanamicro.com>
Thu, 15 Jun 2023 07:33:45 +0000 (13:03 +0530)
committerAnup Patel <anup@brainfault.org>
Sun, 18 Jun 2023 15:54:34 +0000 (21:24 +0530)
commitf7fec5ecc9b6a6dedf6e38c1d3e7cd6557df5514
treebdcbc3699d8213d790256212af9fbc42a2c0aaed
parent77cf33c17154b7f8151429f6ba32049afc49f9c3
RISC-V: KVM: Add IMSIC related defines

We add IMSIC related defines in a separate header so that different
parts of KVM code can share it. Once AIA drivers are merged will
have a common IMSIC header shared by both KVM and IRQCHIP driver.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/kvm_aia_imsic.h [new file with mode: 0644]
arch/riscv/kvm/aia.c