mbox series

[0/1] hw/riscv/virt.c: add cbom-block-size fdt property

Message ID 20230301215902.375217-1-dbarboza@ventanamicro.com
Headers show
Series hw/riscv/virt.c: add cbom-block-size fdt property | expand

Message

Daniel Henrique Barboza March 1, 2023, 9:59 p.m. UTC
Hi,

I'm sending this almost last minute patch as part of the work done in:

[PATCH v8 0/4] riscv: Add support for Zicbo[m,z,p] instructions

It turns out that the Linux kernel expects a 'cbom-block-size' FDT prop
to be able to determine the cbom-block-size. Without this patch the
kernel will misbehave with the Zicbom extension in the virt machine.

Note that a similar patch would be need for other RISC-V machines that
wants to support Linux with Zicbom.


Anup Patel (1):
  hw/riscv/virt.c: add cbom-block-size fdt property

 hw/riscv/virt.c | 6 ++++++
 1 file changed, 6 insertions(+)