Re: [PATCH 0/3] x86/PCI: Clip only partial E820 overlaps

From: Mika Westerberg
Date: Fri Mar 04 2022 - 10:23:15 EST


Hi,

On Fri, Mar 04, 2022 at 03:15:16PM +0100, Hans de Goede wrote:
> Hi Bjorn,
>
> On 3/4/22 04:51, Bjorn Helgaas wrote:
> > From: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> >
> > This is based on Hans' extensive debugging and patch at
> > https://lore.kernel.org/r/20220228105259.230903-1-hdegoede@xxxxxxxxxx
> > and applies on 7e57714cd0ad ("Linux 5.17-rc6").
> >
> > This is basically the same idea (applying the 4dc2287c1805 workaround only
> > when an E820 region *partially* overlaps a host bridge window), but I think
> > it's a little simpler.
> >
> > This also adds a little dmesg output when clipping, which should make
> > future debugging easier.
> >
> > I bcc'd several folks who didn't have public email addresses in the RedHat
> > bugzilla or Launchpad. If you review or test this, I'd be happy to
> > acknowledge that.
> >
> > Bjorn Helgaas (3):
> > x86/PCI: Eliminate remove_e820_regions() common subexpressions
> > x86/PCI: Log host bridge window clipping for E820 regions
> > x86/PCI: Preserve host bridge windows completely covered by E820
>
> Thanks, I agree that this is better then my fix I also like the logging
> added to 2/3 which lets us know if the commit 4dc2287c1805 workaround
> is active.
>
> I have one small remark on 3/3. Regardless of that getting addressed
> the entire series is:
>
> Reviewed-by: Hans de Goede <hdegoede@xxxxxxxxxx>

Looks good to me too :)

Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>