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

Andy Shevchenko andriy.shevchenko at linux.intel.com
Wed Sep 16 17:53:04 CEST 2020


On Wed, Sep 16, 2020 at 05:00:26PM +0200, Wolfgang Wallner wrote:
> -----"Andy Shevchenko" <andriy.shevchenko at linux.intel.com> 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:
> > > > 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()
> > > 
> > > Perhaps Fixes: tag?
> > 
> > Ah, it is against series not yet applied?
> 
> No, the patch is against master.
> But I could not point to a specific commit that is fixed, the code in question
> is a result of multiple commits.
> 
> Because of this I have also sent V2 without a Fixes tags.

Hmm... Usually in kernel we put a chain of Fixes in such cases.

-- 
With Best Regards,
Andy Shevchenko




More information about the U-Boot mailing list