[PATCH] acpi: Fix table length for QEMU

Björn Töpel bjorn at kernel.org
Thu Apr 3 10:59:30 CEST 2025


On Thu, 3 Apr 2025 at 09:02, Ilias Apalodimas
<ilias.apalodimas at linaro.org> wrote:
>
> On Thu, 3 Apr 2025 at 09:57, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> >
> > On 4/3/25 07:53, Ilias Apalodimas wrote:
> > > On Thu, 3 Apr 2025 at 08:34, Ilias Apalodimas
> > > <ilias.apalodimas at linaro.org> wrote:
> > >>
> > >> The end of the ACPI table is set to 'addr' instead of 'end'. The ACPI
> > >> code for QEMU relies on those values to mark memory as 'ACPI Reclaim'
> > >> and as a result the ACPI RSDP ends up in Boot services Data.
> > >>
> > >> Reported-by: bjorn at kernel.org
> > >
> > > I obviously messed up my reported-by...
> >
> > Reported-by: Björn Töpel <bjorn at kernel.org>
> > Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

With this patch applied to 2025.04-rc5:

  | ...
  | efi:   0x00047eed1000-0x00047eed1fff [ACPI Reclaim|   |  |  |  |
|  |  |  |  |  |   |WB|  |  |  ]
  | ...
  | ACPI: RSDP 0x000000047EED1000 000024 (v02 BOCHS )
  | ...

...and I can successfully kexec. ;-) Thank you!

Tested-by: Björn Töpel <bjorn at rivosinc.com>


More information about the U-Boot mailing list