Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2238009pxb; Sat, 23 Jan 2021 23:43:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwFtVh19akuVC+TpN0WiaYRPukyEeHS9H6FG4oL8eJK7gZ9DOH9t2YE/DvrLTlRAwgH8zqW X-Received: by 2002:a05:6402:ce:: with SMTP id i14mr267753edu.42.1611474180057; Sat, 23 Jan 2021 23:43:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611474180; cv=none; d=google.com; s=arc-20160816; b=u4Z9ty2cFzqcbL5PVKVQea/LffuTJiSqrBv+59xdgc2W85/REAsmIdMXfccCaoD564 JzRo7qSMpX3J2m2QSh4R3lXw0+Q43TM809GBEXSir8UYXSLBPd+kR+0YQwQVNh9nNMnx T55flyG72IVMX7vqJq70P6GgxJmqRy3wGr6xA6tzE7RtX8/UeWQeC+sSRAI8poiOftl7 w2sh8OAJGnDGcDzhNqFP1drxfjuUeLM6U4hfylIdTpa04AemA54lCPbKk7kzCE2LSBdg AsDTZnLLoLmChyv2HPWEzqE9zqU/CRdOTmRVzfljJuBPYVocmXRZZLfc7xY0bKfoA7e7 NsjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MXgm2uNd/+vQHPgpj+4ekGoJPZ7aDoG4QR+TWIBAPl4=; b=e44e8FA0MjF6aSWJpbBBpwR1UJE42l3VifE12tn5SH6/fvT+vbnKpkvNiXC4H8JOOT gptXtaRWRBnDoatsJuqu67lgJA61uqxmu1T6IeAm+vNgP7SbWL4D4Guwe/kcyJrSgR8P mZnRkzbhol7qTwWIEWORSRr44AzqBpEN2zKZJVj5K+jRwvz1V1nZ/6jyYpJPGzI10NYn zX2/fW3GZr6Z8uoImfMZ7Cj5kaxXoiFuTM1azXW51312MXITzqoj+T2vDKkfxg/gDl/5 aA0jqMxtrt50bbMPQtG7C+IcTk6mqyQv2BS16Io8Ere37mkygUhqQNpXLpitwjhIJTB9 JIrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="FxP/GSt6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si2918605ejp.556.2021.01.23.23.42.14; Sat, 23 Jan 2021 23:43:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="FxP/GSt6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726206AbhAXHfJ (ORCPT + 99 others); Sun, 24 Jan 2021 02:35:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:44028 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbhAXHfI (ORCPT ); Sun, 24 Jan 2021 02:35:08 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E537422CB9; Sun, 24 Jan 2021 07:34:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611473668; bh=l26cadTrzC6oT1xvBvVwDxUyuOKNwCRzA4NrTS5KmJ0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FxP/GSt6Nu/NaO08sLfRDvYXj8tVW5hBVmYO/tm7FebCncZoAwX4ExNTcimu1j35Z ns/okx4cRyvfmGdn1cYdNaAbZ5OWQgsU6xsnB2531nlb4fFNQqSawN4qZEm7k0ic4p XJbuKgUSwELlk1mqU/+R+3wtPN7/fVSYndf742xaE23TKnVgMkWyLTLppSY34WJLOK AWHImsMpxblrvI+l3JRYUR4nlZYmDWUF4vfUmZSpTEnUhlmBDUzvvfuhunjFc7qWto Uvhnp0vNuR7k2s8NX89kr7bv++Gz16fMI1fDltsqexgEzoeSu+KMsTWoIASbvhbPyg eniG0w7KGjlBA== Date: Sun, 24 Jan 2021 09:34:21 +0200 From: Mike Rapoport To: Andrew Morton Cc: Thiago Jung Bauermann , guro@fb.com, iamjoonsoo.kim@lge.com, Ram Pai , Konrad Rzeszutek Wilk , Satheesh Rajendran , kernel-team@fb.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org, mhocko@kernel.org, riel@surriel.com Subject: Re: [PATCH v2 2/2] memblock: do not start bottom-up allocations with kernel_end Message-ID: <20210124073421.GG6332@kernel.org> References: <20201220064959.GB392325@kernel.org> <20210122043714.266075-1-bauerman@linux.ibm.com> <20210123180911.aafa8404a3a7a30779713456@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210123180911.aafa8404a3a7a30779713456@linux-foundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 23, 2021 at 06:09:11PM -0800, Andrew Morton wrote: > On Fri, 22 Jan 2021 01:37:14 -0300 Thiago Jung Bauermann wrote: > > > Mike Rapoport writes: > > > > > > Signed-off-by: Roman Gushchin > > > > > > Reviewed-by: Mike Rapoport > > > > 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@linux.ibm.com/ > > > > 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... A think it does not depend on cma bottom-up allocation, it's rather the other way around: without this CMA bottom-up allocation could fail with KASLR enabled. Still, this patch may need updates to the way x86 does early reservations: https://lore.kernel.org/lkml/20210115083255.12744-1-rppt@kernel.org > > Fixes: 8fabc623238e ("powerpc: Ensure that swiotlb buffer is allocated from low memory") > > I added that. > > -- Sincerely yours, Mike.