Linux does not properly handle '#msi-cells=<0>' when searching for
MSI controllers for PCI devices which results in the devices being
unable to use MSIs. A patch for Linux has been sent[1] but until it,
or something like it, is merged and in distro kernels we should stop
adding the property. It's harmless to stop adding it since the
absence of the property and a value of zero for the property mean
the same thing according to the DT binding definition.

The first patch stops adding the property by simply reverting the
patch that started adding it and should be applied for 9.1 since
it's a fix. The second patch allows users to bring it back by enabling
a new machine property 'strict-dt' which is meant to be used for cases
like these going forward. There's no rush for the second patch.

[1] https://lore.kernel.org/all/20240816124957.130017-2-ajo...@ventanamicro.com/

Thanks,
drew

Andrew Jones (2):
  Revert "hw/riscv/virt.c: imsics DT: add '#msi-cells'"
  hw/riscv/virt: Introduce strict-dt

 docs/system/riscv/virt.rst | 11 ++++++++++
 hw/riscv/virt.c            | 44 +++++++++++++++++++++++++++++---------
 include/hw/riscv/virt.h    |  1 +
 3 files changed, 46 insertions(+), 10 deletions(-)

-- 
2.45.2


Reply via email to