On Mon, Sep 21, 2020 at 9:42 AM Bin Meng <bmeng...@gmail.com> wrote: > > On Wed, Sep 16, 2020 at 10:57 PM Wolfgang Wallner > <wolfgang.wall...@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.wall...@br-automation.com> > > Reviewed-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> > > Reviewed-by: Simon Glass <s...@chromium.org> > > > > --- > > > > Changes in v2: > > - Added Reviewed-by tags > > > > arch/x86/lib/acpi_table.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > Reviewed-by: Bin Meng <bmeng...@gmail.com>
applied to u-boot-x86, thanks!