[PATCH 14/32] x86: Allow putting some tables in the bloblist

Bin Meng bmeng.cn at gmail.com
Fri Oct 16 15:34:53 CEST 2020


On Mon, Sep 28, 2020 at 12:26 PM Simon Glass <sjg at chromium.org> wrote:
>
> At present all tables are placed starting at address f0000 in memory, and
> can be up to 64KB in size. If the tables are very large, this may not
> provide enough space.
>
> Also if the tables point to other tables (such as console log or a ramoops
> area) then we must allocate other memory anyway.
>
> The bloblist is a nice place to put these tables since it is contiguous,
> which makes it easy to reserve this memory for linux using the 820 tables.
>
> Add an option to put some of the tables in the bloblist. For SMBIOS and
> ACPI, create suitable pointers from the f0000 region to the new location
> of the tables.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  arch/x86/lib/tables.c     | 46 ++++++++++++++++++++++++++++++++++++---
>  include/acpi/acpi_table.h | 10 +++++++++
>  lib/Kconfig               |  9 ++++++++
>  lib/acpi/acpi_table.c     |  4 ++--
>  4 files changed, 64 insertions(+), 5 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list