From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
To: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Cc: pbonzini@redhat.com, palmer@dabbelt.com,
alistair.francis@wdc.com, bin.meng@windriver.com,
liwei1518@gmail.com, dbarboza@ventanamicro.com,
zhiwei_liu@linux.alibaba.com, qemu-devel@nongnu.org,
qemu-riscv@nongnu.org, andrei.warkentin@intel.com,
shaolin.xie@alibaba-inc.com, ved@rivosinc.com,
sunilvl@ventanamicro.com, haibo1.xu@intel.com,
evan.chai@intel.com, yin.wang@intel.com,
tech-server-platform@lists.riscv.org,
tech-server-soc@lists.riscv.org, atishp@rivosinc.com,
ajones@ventanamicro.com, conor@kernel.org,
Fei Wu <fei2.wu@intel.com>,
Alistair Francis <alistair23@gmail.com>
Subject: Re: [RFC v2 2/2] hw/riscv: Add server platform reference machine
Date: Fri, 22 Mar 2024 09:50:12 +0100 [thread overview]
Message-ID: <ebd63aa1-b4e7-490a-bdef-d952c8e37c47@canonical.com> (raw)
In-Reply-To: <cfac29ce-f353-4bbd-8e8d-4a7d40bf80e3@linaro.org>
On 3/22/24 08:14, Marcin Juszkiewicz wrote:
> W dniu 22.03.2024 o 05:55, Alistair Francis pisze:
>> I see no mention of device trees in the spec, but I do see ACPI. Do we
>> really expect a server platform to use DTs?
>
> This platform "kind of" follows sbsa-ref where we have very minimalistic
> device tree sharing information qemu->firmware.
>
> libfdt is small, format is known and describes hardware. Firmware is
> free to make use of it in any way it wants.
>
> On sbsa-ref we parse DT in TF-A (base firmware) and provide hardware
> information to higher level (edk2) via SMC mechanism. Then EDK2 creates
> ACPI tables and provide them to the Operating System.
We should ensure that only either an ACPI table or a device-tree
description is passed to the OS and not both, e.g. when using
qemu-system-riscv64 -kernel vmlinux -M sbsa-ref
But that requirement is not machine specific.
Best regards
Heinrich
>
> In physical system some parts of information provided in DT would be
> read by firmware from onboard Embedded Controller chip.
>
>> These functions should be shared with the virt machine if we really do
>> want DTs, but I'm not convinced we do
>
next prev parent reply other threads:[~2024-03-22 8:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-12 13:52 [RFC v2 0/2] Add RISC-V Server Platform Reference Board Fei Wu
2024-03-12 13:52 ` [RFC v2 1/2] target/riscv: Add server platform reference cpu Fei Wu
2024-05-20 14:00 ` [RISC-V][tech-server-soc] " Andrew Jones
2024-03-12 13:52 ` [RFC v2 2/2] hw/riscv: Add server platform reference machine Fei Wu
2024-03-22 4:55 ` Alistair Francis
2024-03-22 7:14 ` Marcin Juszkiewicz
2024-03-22 8:50 ` Heinrich Schuchardt [this message]
2024-03-22 9:20 ` Marcin Juszkiewicz
2024-03-22 19:10 ` Atish Kumar Patra
2024-03-22 19:14 ` Atish Kumar Patra
2024-03-25 10:06 ` Wu, Fei
2024-05-20 15:56 ` Andrew Jones
2024-05-21 1:10 ` [RISC-V][tech-server-soc] " Xu, Haibo1
2024-11-26 11:14 ` [RFC v2 0/2] Add RISC-V Server Platform Reference Board Daniel Henrique Barboza
2024-12-09 20:20 ` Daniel Henrique Barboza
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=ebd63aa1-b4e7-490a-bdef-d952c8e37c47@canonical.com \
--to=heinrich.schuchardt@canonical.com \
--cc=ajones@ventanamicro.com \
--cc=alistair.francis@wdc.com \
--cc=alistair23@gmail.com \
--cc=andrei.warkentin@intel.com \
--cc=atishp@rivosinc.com \
--cc=bin.meng@windriver.com \
--cc=conor@kernel.org \
--cc=dbarboza@ventanamicro.com \
--cc=evan.chai@intel.com \
--cc=fei2.wu@intel.com \
--cc=haibo1.xu@intel.com \
--cc=liwei1518@gmail.com \
--cc=marcin.juszkiewicz@linaro.org \
--cc=palmer@dabbelt.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=shaolin.xie@alibaba-inc.com \
--cc=sunilvl@ventanamicro.com \
--cc=tech-server-platform@lists.riscv.org \
--cc=tech-server-soc@lists.riscv.org \
--cc=ved@rivosinc.com \
--cc=yin.wang@intel.com \
--cc=zhiwei_liu@linux.alibaba.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).