riscv: opentitan: fixup plic stride len
authorWilfred Mallawa <wilfred.mallawa@wdc.com>
Tue, 11 Jan 2022 07:10:24 +0000 (17:10 +1000)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 21 Jan 2022 05:52:56 +0000 (15:52 +1000)
commit0df470c3886eda19afdbd5ccd5550ce794feef7b
tree210676f4419a77743bac17a6f30a4152f4ce2d1d
parent28ca4689ae94a27a6a337546425cda30d0e885c3
riscv: opentitan: fixup plic stride len

The following change was made to rectify incorrectly set stride length
on the PLIC [1]. Where it should be 32bit and not 24bit (0x18). This was
discovered whilst attempting to fix a bug where a timer_interrupt was
not serviced on TockOS-OpenTitan.

[1] https://docs.opentitan.org/hw/top_earlgrey/ip_autogen/rv_plic/doc/

Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Tested-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-id: 20220111071025.4169189-1-alistair.francis@opensource.wdc.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/riscv/opentitan.c