Message ID | 20230920121553.105832-7-mjt@tls.msk.ru |
---|---|
State | New |
Headers | show |
Series | v3 Patch Round-up for stable 7.2.6, freeze on 2023-09-19 | expand |
diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index a5bc7353b4..3a99b4b801 100644 --- a/hw/riscv/virt.c +++ b/hw/riscv/virt.c @@ -715,7 +715,7 @@ static void create_fdt_pmu(RISCVVirtState *s) MachineState *mc = MACHINE(s); RISCVCPU hart = s->soc[0].harts[0]; - pmu_name = g_strdup_printf("/soc/pmu"); + pmu_name = g_strdup_printf("/pmu"); qemu_fdt_add_subnode(mc->fdt, pmu_name); qemu_fdt_setprop_string(mc->fdt, pmu_name, "compatible", "riscv,pmu"); riscv_pmu_generate_fdt_node(mc->fdt, hart.cfg.pmu_num, pmu_name);