Files
qemu-reims-vgpu/hw/ppc
Showta Ishizaki 40c0f489a8 hw/ppc/spapr: Add the "rtas-version" property to /rtas
PAPR requires every property listed in its table of /rtas device tree
properties to be present before the OS is booted (R-7.2.6-3 and Table
20 in PAPR v10.60; the same requirement is in LoPAR 2.9 and LoPAPR
1.1). One of them is "rtas-version", an integer encoding of the RTAS
interface version, and PAPR says it describes version 1 of that
interface.

spapr_dt_rtas() sets "rtas-size", "rtas-error-log-max" and
"rtas-event-scan-rate" but never "rtas-version", so a client that reads
it finds no RTAS: NetBSD's RTAS driver fails to attach when the
property is absent.

Set it to 1, the version PAPR describes.

Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Tested-by: Amit Machhiwal <amachhiw@linux.ibm.com>
Signed-off-by: Showta Ishizaki <zakinko@snowrabbit.org>
Link: https://lore.kernel.org/qemu-devel/20261005161859.3119EC92F0@bambi.snowrabbit.org
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
2026-10-28 10:45:51 +05:30
..
2026-09-11 15:54:47 -04:00
…
2025-10-30 13:40:38 +05:30
2026-04-29 22:49:14 +05:30
2026-01-12 12:11:10 +05:30
2026-04-29 22:49:14 +05:30
2026-03-02 11:15:16 +05:30
2026-08-23 11:40:48 +05:30
2026-10-13 06:26:28 +01:00
2024-12-20 17:44:56 +01:00