Re: [PATCH 1/2] x86: acpi: Fix calculation of DSDT length

2020-09-16 Thread Andy Shevchenko
On Wed, Sep 16, 2020 at 05:00:26PM +0200, Wolfgang Wallner wrote: > -"Andy Shevchenko" schrieb: - > > Betreff: Re: [PATCH 1/2] x86: acpi: Fix calculation of DSDT length > > > > On Wed, Sep 09, 2020 at 04:08:17PM +0300, Andy Shevchenko wrote: > > >

Re: [PATCH 1/2] x86: acpi: Fix calculation of DSDT length

2020-09-16 Thread Wolfgang Wallner
Hi Andy, -"Andy Shevchenko" schrieb: - > Betreff: Re: [PATCH 1/2] x86: acpi: Fix calculation of DSDT length > > On Wed, Sep 09, 2020 at 04:08:17PM +0300, Andy Shevchenko wrote: > > On Wed, Sep 09, 2020 at 02:33:20PM +0200, Wolfgang Wallner wrote: > &g

Re: [PATCH 1/2] x86: acpi: Fix calculation of DSDT length

2020-09-09 Thread Simon Glass
On Wed, 9 Sep 2020 at 06:33, Wolfgang Wallner 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

Re: [PATCH 1/2] x86: acpi: Fix calculation of DSDT length

2020-09-09 Thread Andy Shevchenko
On Wed, Sep 09, 2020 at 04:08:17PM +0300, Andy Shevchenko wrote: > On Wed, Sep 09, 2020 at 02:33:20PM +0200, Wolfgang Wallner 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. > > > >

Re: [PATCH 1/2] x86: acpi: Fix calculation of DSDT length

2020-09-09 Thread Andy Shevchenko
On Wed, Sep 09, 2020 at 02:33:20PM +0200, Wolfgang Wallner 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 >

[PATCH 1/2] x86: acpi: Fix calculation of DSDT length

2020-09-09 Thread Wolfgang Wallner
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() *