diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2023-07-27 15:24:17 +0100 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-09-11 11:45:55 +1000 |
commit | 9ff31406312500053ecb5f92df01dd9ce52e635d (patch) | |
tree | 103354060c93d51d37fd45d4a05b75b132cea35f /hw/net/virtio-net.c | |
parent | 48c2c33c52cd019f6e3c3c916b9777002905a4ef (diff) | |
download | qemu-9ff31406312500053ecb5f92df01dd9ce52e635d.zip qemu-9ff31406312500053ecb5f92df01dd9ce52e635d.tar.gz qemu-9ff31406312500053ecb5f92df01dd9ce52e635d.tar.bz2 |
hw/riscv: virt: Fix riscv,pmu DT node path
On a dtb dumped from the virt machine, dt-validate complains:
soc: pmu: {'riscv,event-to-mhpmcounters': [[1, 1, 524281], [2, 2, 524284], [65561, 65561, 524280], [65563, 65563, 524280], [65569, 65569, 524280]], 'compatible': ['riscv,pmu']} should not be valid under {'type': 'object'}
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#
That's pretty cryptic, but running the dtb back through dtc produces
something a lot more reasonable:
Warning (simple_bus_reg): /soc/pmu: missing or empty reg/ranges property
Moving the riscv,pmu node out of the soc bus solves the problem.
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20230727-groom-decline-2c57ce42841c@spud>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions