RISC-V: KVM: Add APLIC related defines
authorAnup Patel <apatel@ventanamicro.com>
Thu, 15 Jun 2023 07:33:46 +0000 (13:03 +0530)
committerAnup Patel <anup@brainfault.org>
Sun, 18 Jun 2023 15:54:36 +0000 (21:24 +0530)
commitcf55201c7516d1c69859f1157deab02223285f82
tree0347d17770289720d912508e800050752e0c042c
parentf7fec5ecc9b6a6dedf6e38c1d3e7cd6557df5514
RISC-V: KVM: Add APLIC related defines

We add APLIC 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 APLIC 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_aplic.h [new file with mode: 0644]