From: Conor Dooley <mail@conchuod.ie> To: Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com> Cc: Rob Herring <robh@kernel.org>, Conor Dooley <conor.dooley@microchip.com>, qemu-riscv@nongnu.org, qemu-devel@nongnu.org, linux-riscv@lists.infradead.org Subject: [PATCH 0/5] QEMU: Fix RISC-V virt & spike machines' dtbs Date: Fri, 5 Aug 2022 16:54:00 +0100 [thread overview] Message-ID: <20220805155405.1504081-1-mail@conchuod.ie> (raw) From: Conor Dooley <conor.dooley@microchip.com> The device trees produced automatically for the virt and spike machines fail dt-validate on several grounds. Some of these need to be fixed in the linux kernel's dt-bindings, but others are caused by bugs in QEMU. Patch one of this series is lifted from an earlier submission by Palmer that seems to have got lost by the wayside somewhere along the way, hence the rather out of date email used for Palmer [0]. I mostly opted for what appeared to be the smallest change that would fix the warnings, partly due to my inexperience with the QEMU codebase. A "sister" patchset for the kernel will clear the remaining warnings. Thanks to Rob for reporting these issues [1], Conor. To reproduce the errors: ./build/qemu-system-riscv64 -nographic -machine virt,dumpdtb=qemu.dtb dt-validate -p /path/to/linux/kernel/Documentation/devicetree/bindings/processed-schema.json qemu.dtb (The processed schema needs to be generated first) 0 - https://lore.kernel.org/qemu-devel/20190813225307.5792-1-palmer@sifive.com/ 1 - https://lore.kernel.org/linux-riscv/20220803170552.GA2250266-robh@kernel.org/ Conor Dooley (4): hw/riscv: virt: fix uart node name hw/riscv: virt: Fix the plic's address cells hw/riscv: virt: fix syscon subnode paths hw/core: fix platform bus node name Palmer Dabbelt (1): target/riscv: Ignore the S and U letters when formatting ISA strings hw/core/sysbus-fdt.c | 2 +- hw/riscv/virt.c | 10 +++++++--- include/hw/riscv/virt.h | 1 + target/riscv/cpu.c | 18 +++++++++++++++++- 4 files changed, 26 insertions(+), 5 deletions(-) base-commit: 2480f3bbd03814b0651a1f74959f5c6631ee5819 -- 2.37.1 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv
WARNING: multiple messages have this Message-ID (diff)
From: Conor Dooley <mail@conchuod.ie> To: Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com> Cc: Rob Herring <robh@kernel.org>, Conor Dooley <conor.dooley@microchip.com>, qemu-riscv@nongnu.org, qemu-devel@nongnu.org, linux-riscv@lists.infradead.org Subject: [PATCH 0/5] QEMU: Fix RISC-V virt & spike machines' dtbs Date: Fri, 5 Aug 2022 16:54:00 +0100 [thread overview] Message-ID: <20220805155405.1504081-1-mail@conchuod.ie> (raw) From: Conor Dooley <conor.dooley@microchip.com> The device trees produced automatically for the virt and spike machines fail dt-validate on several grounds. Some of these need to be fixed in the linux kernel's dt-bindings, but others are caused by bugs in QEMU. Patch one of this series is lifted from an earlier submission by Palmer that seems to have got lost by the wayside somewhere along the way, hence the rather out of date email used for Palmer [0]. I mostly opted for what appeared to be the smallest change that would fix the warnings, partly due to my inexperience with the QEMU codebase. A "sister" patchset for the kernel will clear the remaining warnings. Thanks to Rob for reporting these issues [1], Conor. To reproduce the errors: ./build/qemu-system-riscv64 -nographic -machine virt,dumpdtb=qemu.dtb dt-validate -p /path/to/linux/kernel/Documentation/devicetree/bindings/processed-schema.json qemu.dtb (The processed schema needs to be generated first) 0 - https://lore.kernel.org/qemu-devel/20190813225307.5792-1-palmer@sifive.com/ 1 - https://lore.kernel.org/linux-riscv/20220803170552.GA2250266-robh@kernel.org/ Conor Dooley (4): hw/riscv: virt: fix uart node name hw/riscv: virt: Fix the plic's address cells hw/riscv: virt: fix syscon subnode paths hw/core: fix platform bus node name Palmer Dabbelt (1): target/riscv: Ignore the S and U letters when formatting ISA strings hw/core/sysbus-fdt.c | 2 +- hw/riscv/virt.c | 10 +++++++--- include/hw/riscv/virt.h | 1 + target/riscv/cpu.c | 18 +++++++++++++++++- 4 files changed, 26 insertions(+), 5 deletions(-) base-commit: 2480f3bbd03814b0651a1f74959f5c6631ee5819 -- 2.37.1
next reply other threads:[~2022-08-05 16:00 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-05 15:54 Conor Dooley [this message] 2022-08-05 15:54 ` [PATCH 0/5] QEMU: Fix RISC-V virt & spike machines' dtbs Conor Dooley 2022-08-05 15:54 ` [PATCH 1/5] target/riscv: Ignore the S and U letters when formatting ISA strings Conor Dooley 2022-08-05 15:54 ` Conor Dooley 2022-08-07 22:53 ` Alistair Francis 2022-08-07 22:53 ` Alistair Francis 2022-08-08 6:25 ` Conor.Dooley 2022-08-08 6:25 ` Conor.Dooley 2022-08-08 15:03 ` Tsukasa OI 2022-08-08 15:03 ` Tsukasa OI 2022-08-08 16:14 ` Conor.Dooley 2022-08-08 16:14 ` Conor.Dooley 2022-08-08 20:51 ` Alistair Francis 2022-08-08 20:51 ` Alistair Francis 2022-08-08 20:53 ` Conor.Dooley 2022-08-08 20:53 ` Conor.Dooley 2022-08-05 15:54 ` [PATCH 2/5] hw/riscv: virt: fix uart node name Conor Dooley 2022-08-05 15:54 ` Conor Dooley 2022-08-07 22:55 ` Alistair Francis 2022-08-07 22:55 ` Alistair Francis 2022-08-05 15:54 ` [PATCH 3/5] hw/riscv: virt: Fix the plic's address cells Conor Dooley 2022-08-05 15:54 ` Conor Dooley 2022-08-07 22:55 ` Alistair Francis 2022-08-07 22:55 ` Alistair Francis 2022-08-05 15:54 ` [PATCH 4/5] hw/riscv: virt: fix syscon subnode paths Conor Dooley 2022-08-05 15:54 ` Conor Dooley 2022-08-07 22:56 ` Alistair Francis 2022-08-07 22:56 ` Alistair Francis 2022-08-05 15:54 ` [PATCH 5/5] hw/core: fix platform bus node name Conor Dooley 2022-08-05 15:54 ` Conor Dooley 2022-08-07 22:57 ` Alistair Francis 2022-08-07 22:57 ` Alistair Francis
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220805155405.1504081-1-mail@conchuod.ie \ --to=mail@conchuod.ie \ --cc=alistair.francis@wdc.com \ --cc=bin.meng@windriver.com \ --cc=conor.dooley@microchip.com \ --cc=linux-riscv@lists.infradead.org \ --cc=palmer@dabbelt.com \ --cc=qemu-devel@nongnu.org \ --cc=qemu-riscv@nongnu.org \ --cc=robh@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.