qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Wu, Fei" <fei2.wu@intel.com>
To: Atish Kumar Patra <atishp@rivosinc.com>
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>, <ajones@ventanamicro.com>,
	<conor@kernel.org>, <heinrich.schuchardt@canonical.com>,
	<marcin.juszkiewicz@linaro.org>
Subject: Re: [RFC v2 2/2] hw/riscv: Add server platform reference machine
Date: Mon, 25 Mar 2024 18:06:41 +0800	[thread overview]
Message-ID: <3de5968f-28ab-439d-a8dc-65767f69a8ec@intel.com> (raw)
In-Reply-To: <CAHBxVyG186Zo7nAm7o8=vhBtzU+x8ry4_mWwHxuaZ8BasnDyPg@mail.gmail.com>

On 3/23/2024 3:14 AM, Atish Kumar Patra wrote:
> On Tue, Mar 12, 2024 at 6:53 AM Fei Wu <fei2.wu@intel.com> wrote:
>>
>> The RISC-V Server Platform specification[1] defines a standardized set
>> of hardware and software capabilities, that portable system software,
>> such as OS and hypervisors can rely on being present in a RISC-V server
>> platform.
>>

[...]

>> +
>> +static void finalize_fdt(RVSPMachineState *s)
>> +{
>> +    uint32_t phandle = 1, irq_mmio_phandle = 1, msi_pcie_phandle = 1;
>> +    uint32_t irq_pcie_phandle = 1;
>> +
>> +    create_fdt_sockets(s, rvsp_ref_memmap, &phandle, &irq_mmio_phandle,
>> +                       &irq_pcie_phandle, &msi_pcie_phandle);
>> +
>> +    create_fdt_pcie(s, rvsp_ref_memmap, irq_pcie_phandle, msi_pcie_phandle);
>> +
>> +    create_fdt_reset(s, rvsp_ref_memmap, &phandle);
>> +
>> +    create_fdt_uart(s, rvsp_ref_memmap, irq_mmio_phandle);
>> +
>> +    create_fdt_rtc(s, rvsp_ref_memmap, irq_mmio_phandle);
> 
> 
> We need a minimalistic DT for firmwares which probably don't use rtc, pcie etc.
> Does EDK2 plan to generate ACPI tables from these DT ? Otherwise, we
> can get rid of these.
> 
Yes, I agree. Eventually we can remove many of these fdt when EDK2 is
able to generate the ACPI tables directly. I add it here as EDK2 has not
been adapted yet, the system won't boot up with the upstream EDK2 if
e.g. fdt of pcie is removed.

Thanks,
Fei.

> As Heinrich said, Linux kernels should boot using ACPI only.
> 


  reply	other threads:[~2024-03-25 10:07 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
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 [this message]
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=3de5968f-28ab-439d-a8dc-65767f69a8ec@intel.com \
    --to=fei2.wu@intel.com \
    --cc=ajones@ventanamicro.com \
    --cc=alistair.francis@wdc.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=haibo1.xu@intel.com \
    --cc=heinrich.schuchardt@canonical.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).