target/riscv: Implement SGEIP bit in hip and hie CSRs
authorAnup Patel <anup.patel@wdc.com>
Fri, 4 Feb 2022 17:46:38 +0000 (23:16 +0530)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 16 Feb 2022 02:24:18 +0000 (12:24 +1000)
commit881df35d3df52efd845087fb76d0b0116b366468
tree23bafdc3a858e85f202e86f79ba2618d9e364fca
parentdceecac8a2fa36f6ab6927da2052f06e2de7a2a4
target/riscv: Implement SGEIP bit in hip and hie CSRs

A hypervisor can optionally take guest external interrupts using
SGEIP bit of hip and hie CSRs.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Message-id: 20220204174700.534953-3-anup@brainfault.org
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu.c
target/riscv/cpu_bits.h
target/riscv/csr.c