
9 Sep
2020
9 Sep
'20
4:35 p.m.
On Wed, 9 Sep 2020 at 06:33, Wolfgang Wallner wolfgang.wallner@br-automation.com wrote:
Currently, the calculation for the length of the DSDT table includes any bytes that are added for alignment, but those bytes are not initialized.
This is because the DSDT length is calculated after a call to acpi_inc_align(). Split this up into the following sequence:
- acpi_inc()
- Calculate DSDT length
- acpi_align()
Signed-off-by: Wolfgang Wallner wolfgang.wallner@br-automation.com
arch/x86/lib/acpi_table.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org