Re: [External] Re: [PATCH] firmware: added a firmware information passing method FFI
From: 运辉崔
Date: Sun Jun 25 2023 - 03:33:24 EST
Hi Ard,
On Sat, Jun 24, 2023 at 8:52 PM Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:
>
> How do you intend to provide the ACPI core with the memory attribute
> information that it needs to access SystemMemory OpRegions?
Regarding memory segments and attributes, our solution does not need
to build a memmap table in coreboot like EFI to connect to linux ACPI
core.
Because the memory segment and attributes have been passed through the
"memory" node and "reserved-memory" node attributes of DTS.
For Linux, no matter what kind of memory attributes of the firmware,
it is ultimately connected to the memblock module.
So the memory attributes you consider can be done through the existing
DTS (like Ron said before, Chrombook does everything through DTS).
So can we come to a consensus? Then start reviewing the code?
Thanks,
Yunhui