hw/riscv/virt: Fix PCI devices with AIA
Status from this message: Applied to riscv-to-apply.next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Revert "hw/riscv/virt.c: imsics DT: add '#msi-cells'"hw/ | +0 | 4 replies | |
| 2/2 | hw/riscv/virt: Introduce strict-dtdocs/ hw/ include/ | +46 | 5 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Daniel Henrique Barboza |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] hw/riscv/virt: Fix PCI devices with AIA
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/[email protected]/
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(-)
Signature · 1 line
2.45.2