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

Daniel Henrique Barboza posted 1 patch 1 year, 1 month ago
Failed in applying to current master (apply log)
hw/riscv/virt.c | 6 ++++++
1 file changed, 6 insertions(+)
[PATCH 0/1] hw/riscv/virt.c: add cbom-block-size fdt property
Posted by Daniel Henrique Barboza 1 year, 1 month ago
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(+)

-- 
2.39.2