[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] commands/acpi: Fix furthering address the tables based upon
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] commands/acpi: Fix furthering address the tables based upon the Entry field of XSDT |
Date: |
Mon, 11 Dec 2023 20:50:30 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Mon, Dec 11, 2023 at 05:20:25PM +0800, Qiumiao Zhang via Grub-devel wrote:
> According to the ACPI specification, the Entry field of XSDT containsts an
> array of 64-bit physical addresses that point to other DESCRIPTION_HEADERs.
> But entry_ptr is defined as a 32-bit pointer, which result in mistakenly
> treating each 64-bit length address as two 32-bit length addresses when
> iterating through the Entry field of XSDT.
>
> Fix the issue by using the correct address length during the iteration
> process.
>
> Signed-off-by: Qiumiao Zhang <zhangqiumiao1@huawei.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> but I will fix some
minor things before push. This is an exception because it would be nice
to have this patch in the release and we are behind the schedule. Next
time I will ask you to do that...
Daniel