Files
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-04-29 22:49:14 +05:30
2023-11-07 15:49:41 -03:00
2024-02-23 23:24:42 +10:00
2026-04-29 22:49:14 +05:30
2026-03-02 11:15:16 +05:30
2026-04-29 22:49:14 +05:30
2025-12-27 10:11:08 +01:00
2025-12-27 10:11:06 +01:00
2025-12-27 10:11:08 +01:00
2025-12-27 10:11:08 +01:00