On Thu, 2022-12-01 at 22:08 +0800, Bin Meng wrote: > H-mode has been removed since priv spec 1.10. Drop it. > > Signed-off-by: Bin Meng <bm...@tinylab.org> > --- > > include/hw/intc/sifive_plic.h | 1 - > hw/intc/sifive_plic.c | 1 - > 2 files changed, 2 deletions(-) Reviewed-by: Wilfred Mallawa <wilfred.mall...@wdc.com> > > diff --git a/include/hw/intc/sifive_plic.h > b/include/hw/intc/sifive_plic.h > index 134cf39a96..d3f45ec248 100644 > --- a/include/hw/intc/sifive_plic.h > +++ b/include/hw/intc/sifive_plic.h > @@ -33,7 +33,6 @@ DECLARE_INSTANCE_CHECKER(SiFivePLICState, > SIFIVE_PLIC, > typedef enum PLICMode { > PLICMode_U, > PLICMode_S, > - PLICMode_H, > PLICMode_M > } PLICMode; > > diff --git a/hw/intc/sifive_plic.c b/hw/intc/sifive_plic.c > index 1cf156cf85..3f6ffb1d70 100644 > --- a/hw/intc/sifive_plic.c > +++ b/hw/intc/sifive_plic.c > @@ -42,7 +42,6 @@ static PLICMode char_to_mode(char c) > switch (c) { > case 'U': return PLICMode_U; > case 'S': return PLICMode_S; > - case 'H': return PLICMode_H; > case 'M': return PLICMode_M; > default: > error_report("plic: invalid mode '%c'", c);
- Re: [PATCH 03/15] hw/riscv: Fix opentitan dependency... Alistair Francis
- [PATCH 11/15] hw/riscv: sifive_u: Avoid using magic numbe... Bin Meng
- Re: [PATCH 11/15] hw/riscv: sifive_u: Avoid using ma... Wilfred Mallawa
- [PATCH 02/15] hw/intc: Select MSI_NONBROKEN in RISC-V AIA... Bin Meng
- Re: [PATCH 02/15] hw/intc: Select MSI_NONBROKEN in R... Alistair Francis
- [PATCH 13/15] hw/intc: sifive_plic: Change "priority... Bin Meng
- [PATCH 05/15] hw/riscv: spike: Remove misleading comments Bin Meng
- Re: [PATCH 05/15] hw/riscv: spike: Remove misleading... Wilfred Mallawa
- Re: [PATCH 05/15] hw/riscv: spike: Remove misleading... Alistair Francis
- [PATCH 06/15] hw/intc: sifive_plic: Drop PLICMode_H Bin Meng
- Re: [PATCH 06/15] hw/intc: sifive_plic: Drop PLICMod... Wilfred Mallawa
- Re: [PATCH 06/15] hw/intc: sifive_plic: Drop PLICMod... Alistair Francis
- [PATCH 04/15] hw/riscv: Sort machines Kconfig options in ... Bin Meng
- Re: [PATCH 04/15] hw/riscv: Sort machines Kconfig op... Alistair Francis
- [PATCH 07/15] hw/intc: sifive_plic: Improve robustness of... Bin Meng
- Re: [PATCH 07/15] hw/intc: sifive_plic: Improve robu... Alistair Francis
- Re: [PATCH 01/15] hw/riscv: Select MSI_NONBROKEN in SIFIV... Alistair Francis