Re: [PATCH v2 2/2] memblock: do not start bottom-up allocations with kernel_end

From: Andrew Morton
Date: Sat Jan 23 2021 - 21:10:18 EST


On Fri, 22 Jan 2021 01:37:14 -0300 Thiago Jung Bauermann <bauerman@xxxxxxxxxxxxx> wrote:

> Mike Rapoport <rppt@xxxxxxxxxx> writes:
>
> > > Signed-off-by: Roman Gushchin <guro@xxxxxx>
> >
> > Reviewed-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>
>
> I've seen a couple of spurious triggers of the WARN_ONCE() removed by this
> patch. This happens on some ppc64le bare metal (powernv) server machines with
> CONFIG_SWIOTLB=y and crashkernel=4G, as described in a candidate patch I posted
> to solve this issue in a different way:
>
> https://lore.kernel.org/linuxppc-dev/20201218062103.76102-1-bauerman@xxxxxxxxxxxxx/
>
> Since this patch solves that problem, is it possible to include it in the next
> feasible v5.11-rcX, with the following tag?

We could do this, if we're confident that this patch doesn't depend on
[1/2] "mm: cma: allocate cma areas bottom-up"? I think it is...

> Fixes: 8fabc623238e ("powerpc: Ensure that swiotlb buffer is allocated from low memory")

I added that.