Message ID | 20210902112520.475901-23-anup.patel@wdc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | QEMU RISC-V AIA support | expand |
On Thu, Sep 2, 2021 at 10:07 PM Anup Patel <anup.patel@wdc.com> wrote: > > We have two new machine options "aia" and "aia-guests" available > for the RISC-V virt machine so let's document these options. > > Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Alistair > --- > docs/system/riscv/virt.rst | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/docs/system/riscv/virt.rst b/docs/system/riscv/virt.rst > index fa016584bf..373645513a 100644 > --- a/docs/system/riscv/virt.rst > +++ b/docs/system/riscv/virt.rst > @@ -63,6 +63,22 @@ The following machine-specific options are supported: > When this option is "on", ACLINT devices will be emulated instead of > SiFive CLINT. When not specified, this option is assumed to be "off". > > +- aia=[none|aplic|aplic-imsic] > + > + This option allows selecting interrupt controller defined by the AIA > + (advanced interrupt architecture) specification. The "aia=aplic" selects > + APLIC (advanced platform level interrupt controller) to handle wired > + interrupts whereas the "aia=aplic-imsic" selects APLIC and IMSIC (incoming > + message signaled interrupt controller) to handle both wired interrupts and > + MSIs. When not specified, this option is assumed to be "none" which selects > + SiFive PLIC to handle wired interrupts. > + > +- aia-guests=nnn > + > + The number of per-HART VS-level AIA IMSIC pages to be emulated for a guest > + having AIA IMSIC (i.e. "aia=aplic-imsic" selected). When not specified, > + the default number of per-HART VS-level AIA IMSIC pages is 0. > + > Running Linux kernel > -------------------- > > -- > 2.25.1 > >
diff --git a/docs/system/riscv/virt.rst b/docs/system/riscv/virt.rst index fa016584bf..373645513a 100644 --- a/docs/system/riscv/virt.rst +++ b/docs/system/riscv/virt.rst @@ -63,6 +63,22 @@ The following machine-specific options are supported: When this option is "on", ACLINT devices will be emulated instead of SiFive CLINT. When not specified, this option is assumed to be "off". +- aia=[none|aplic|aplic-imsic] + + This option allows selecting interrupt controller defined by the AIA + (advanced interrupt architecture) specification. The "aia=aplic" selects + APLIC (advanced platform level interrupt controller) to handle wired + interrupts whereas the "aia=aplic-imsic" selects APLIC and IMSIC (incoming + message signaled interrupt controller) to handle both wired interrupts and + MSIs. When not specified, this option is assumed to be "none" which selects + SiFive PLIC to handle wired interrupts. + +- aia-guests=nnn + + The number of per-HART VS-level AIA IMSIC pages to be emulated for a guest + having AIA IMSIC (i.e. "aia=aplic-imsic" selected). When not specified, + the default number of per-HART VS-level AIA IMSIC pages is 0. + Running Linux kernel --------------------
We have two new machine options "aia" and "aia-guests" available for the RISC-V virt machine so let's document these options. Signed-off-by: Anup Patel <anup.patel@wdc.com> --- docs/system/riscv/virt.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)