From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB796C433ED for ; Tue, 20 Apr 2021 21:08:35 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 31CB86135F for ; Tue, 20 Apr 2021 21:08:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 31CB86135F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9LOV4TijzZc7C5Y2H4JMQEdStCyxHyaQyfTUKUqhApA=; b=cAzd4L9hnZ76QPTDbCUqWhcRo KKLeWAbF4Xn/X3eAYYBDlW4jBOsJeYWCphiEoQAYUsJdGqFPR3+vEvG7f3nbAw5/7EGxzJv47nAFc yd1UXD5G4UGZ29QaF2fYoJP2uwwQHZ9jIUzKzWAKj0aYbnFHPOKj/Ff/bUP5wAZVzeArwKxHF2Jqd Q/ws8A74BfVhBNFB1hVjKJs/gP38vQqZLkVKDtyWkTdTtHCiVq4xgRHT7v8kqfA7CQlMZ13ybfIg/ Waw4PuSAVEhOkH+VvtH+Psfb2WqMQe/HeJYuEU9DhXcU4UqnEQXe8zuhX//OPWNkRYsrTNTjitLLi ntPXM3yKw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lYxZe-00D3Fx-Bn; Tue, 20 Apr 2021 21:06:22 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lYxZY-00D3Eh-4u for linux-arm-kernel@desiato.infradead.org; Tue, 20 Apr 2021 21:06:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=vOBjMXDIMy+zl5MUYC7gubauHlSjbGUB4gjxD3PRR4w=; b=s/j7HzpytQBm2SZ7dD4itQYNMM eX3na+DhQsTe4E8iVGpThfWhMPSXVZ7AqElptRCv5UeFaaw8EaYw6r+5XmCDMPwOlJl6G47pCnKjq pY7wlF92cn5RNkdaIbob1aNjkz3t3s7iMM2x0RSCeYojQKxEKOnu8ot1W8bhO75Trtrw8UhUextln X/SPlLmh1zSO1Y2y1KPlLtaHcvE/FqkCKZWsKqtQlhrFXUo6gJ6kkBWmMZzAvftuP7fpmUvVBKT/8 BjKzgdBJBA4WnfDprmhMJDsWKaYaVD0gARrPuDkf3YWiTluiMyhjR+gNy6PgUdQfXVLU7ykrONOJ/ oRP3jpzg==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lYxZU-00CQDv-KA for linux-arm-kernel@lists.infradead.org; Tue, 20 Apr 2021 21:06:13 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id B6B50613FC for ; Tue, 20 Apr 2021 21:06:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618952771; bh=vOBjMXDIMy+zl5MUYC7gubauHlSjbGUB4gjxD3PRR4w=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WCbA9z/sUtYyNFYkHNIbegCci/4MG80OK4i2ZdilHi2K7d/7rNRAm8jmCFHyJWKGm U72l3htjsoHbW3hNDgZ9/f2GIO4Xcwg+Y1L/3yhBwJotu40fXkgH3qoqTKN+elXDK8 U0PFVhvNHE+5tzABJ13x/XZYq7DYm7SE0gQVaYMxUYderYXFS0S/kLUty5TBQq6+Y6 uaHFCB5tFkeJiWpmu0o/7QRltSIqmPkGwE1SCMIWyY82Kspt6EcoeSkxDRvWrhh3pM j0i0ofaG6SH03WbxxoZ5qiO2oQ+vy+ADpqVHlkMhM3npUqMCATOz9ar3aA1kU8HDVN OYywxOveuLrNw== Received: by mail-qt1-f169.google.com with SMTP id q4so1412513qtn.5 for ; Tue, 20 Apr 2021 14:06:11 -0700 (PDT) X-Gm-Message-State: AOAM5322ydxg6l38aOjuXXiT2eGZXoJVAgiBaeGZEPGeF8WuJ+Zy+HEE rkpeyPgGb8pfuzyzTDrybzKFnaJeH2AP9o/M6Q== X-Google-Smtp-Source: ABdhPJxR9Cm98ABiNFPyOMwL9/iq5rv9dvatoXQvyvDC+TMZuJah1HmSklQQc0ojSXRVxRBRPB7UTYPe9/P0MUR0Jvs= X-Received: by 2002:ac8:5d52:: with SMTP id g18mr19266258qtx.380.1618952770704; Tue, 20 Apr 2021 14:06:10 -0700 (PDT) MIME-Version: 1.0 References: <4a4734d6-49df-677b-71d3-b926c44d89a9@foss.st.com> <001f8550-b625-17d2-85a6-98a483557c70@foss.st.com> In-Reply-To: From: Rob Herring Date: Tue, 20 Apr 2021 16:05:59 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [v5.4 stable] arm: stm32: Regression observed on "no-map" reserved memory region To: Ard Biesheuvel Cc: Alexandre TORGUE , Quentin Perret , Greg Kroah-Hartman , Sasha Levin , stable , Arnd Bergmann , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "linux-kernel@vger.kernel.org" , Nicolas Boichat , Stephen Boyd , Florian Fainelli , KarimAllah Ahmed , Android Kernel Team , Architecture Mailman List , Frank Rowand , linux-arm-kernel X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210420_140612_759893_9A0D9377 X-CRM114-Status: GOOD ( 28.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Apr 20, 2021 at 11:10 AM Ard Biesheuvel wrote: > > On Tue, 20 Apr 2021 at 17:54, Rob Herring wrote: > > > > On Tue, Apr 20, 2021 at 10:12 AM Alexandre TORGUE > > wrote: > > > > > > > > > > > > On 4/20/21 4:45 PM, Rob Herring wrote: > > > > On Tue, Apr 20, 2021 at 9:03 AM Alexandre TORGUE > > > > wrote: > > > >> > > > >> Hi, > > > > > > > > Greg or Sasha won't know what to do with this. Not sure who follows > > > > the stable list either. Quentin sent the patch, but is not the author. > > > > Given the patch in question is about consistency between EFI memory > > > > map boot and DT memory map boot, copying EFI knowledgeable folks would > > > > help (Ard B for starters). > > > > > > Ok thanks for the tips. I add Ard in the loop. > > > > Sigh. If it was only Ard I was suggesting I would have done that > > myself. Now everyone on the patch in question and relevant lists are > > Cc'ed. > > > > Thanks for the cc. > > > > > > > Ard, let me know if other people have to be directly added or if I have > > > to resend to another mailing list. > > > > > > thanks > > > alex > > > > > > > > > > >> > > > >> Since v5.4.102 I observe a regression on stm32mp1 platform: "no-map" > > > >> reserved-memory regions are no more "reserved" and make part of the > > > >> kernel System RAM. This causes allocation failure for devices which try > > > >> to take a reserved-memory region. > > > >> > > > >> It has been introduced by the following path: > > > >> > > > >> "fdt: Properly handle "no-map" field in the memory region > > > >> [ Upstream commit 86588296acbfb1591e92ba60221e95677ecadb43 ]" > > > >> which replace memblock_remove by memblock_mark_nomap in no-map case. > > > >> > > Why was this backported? It doesn't look like a bugfix to me. Probably because of commit 8a5a75e5e9e5 ("of/fdt: Make sure no-map does not remove already reserved regions") which was in the same series. 'Properly handle' implies before it was 'improperly handled', so sounds like a fix. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel