[PATCH v4 4/7] smbios: Use SMBIOS 3.0 to support an address above 4GB

Simon Glass sjg at chromium.org
Thu Dec 28 14:37:03 CET 2023


Hi Ilias,

On Wed, Dec 27, 2023 at 11:05 AM Ilias Apalodimas
<ilias.apalodimas at linaro.org> wrote:
>
> Hi Simon,
>
> On Wed, 27 Dec 2023 at 09:40, Simon Glass <sjg at chromium.org> wrote:
> >
> > When the SMBIOS table is written to an address above 4GB a 32-bit table
> > address is not large enough.
> >
> > Use an SMBIOS3 table in that case.
>
> Maybe I missed this on the previous revisions, but is there a reason
> we don't always use SMBIOS3 now?

I am not sure...there was some comment about it not being supported in
some cases, so I have tried to accommodate that.

>  And perhaps try to install SMBIOS2 if
> 1. we fail

due to?

> 2. and the address is < 4GB

We could, I suppose. Effectively we would drop generation of SMBIOS2.

I really don't mind. This whole SMBIOS thing is a bit ridiculous, if you ask me.

Regards,
Simon


More information about the U-Boot mailing list