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=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL 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 1D48DC43461 for ; Mon, 10 May 2021 10:09:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E979361469 for ; Mon, 10 May 2021 10:09:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229566AbhEJKKY (ORCPT ); Mon, 10 May 2021 06:10:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230302AbhEJKKX (ORCPT ); Mon, 10 May 2021 06:10:23 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19DBAC061760 for ; Mon, 10 May 2021 03:09:18 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id z6so15982709wrm.4 for ; Mon, 10 May 2021 03:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Lak2E9+GUDiZzQG7k+ylmHyUCfztik4DxRUQZhkU5ro=; b=nsMo1rF1vPg3fCmcCDlqdsBsdgZ5+6CPz5Gu0r6CwIQYLumGthyt4retDR0aK4EgUP yyKicUUKjZfNGMwp9Q0WmSB2nM0M8EtUXosj6TV7arw7hetwGwzyEL9V2JyujJyOgFm7 DSY77eZhkenaZf0E88XJEdkhM7bfP3/fGsFTsdSYmy5/h4FX7UmG/PDKoQB3zo1Z1P+F /3uhv17qjoVThYO5j0SJ7dRrNk2xaSwqt0qJLiLjKEQKd8e8m4vVj0C/yeXfUUoSY2ud U11cMdSApBnhI1JXzwXYzOEOynxCi1+daV9oN+LrTugJsh/Vt44kRT/WdQJ0jvRMrAg2 s8+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Lak2E9+GUDiZzQG7k+ylmHyUCfztik4DxRUQZhkU5ro=; b=DTJIPjku65REY/EkbotfU2SD50sqfdcq2NyR8WiD6+eFlcrqTN9y35f1nnreICbmD1 YhzNxZfoOLi6r/EyIrvN6+0bPsy18HWETyuaQuYhW6fzfhQLIYgSG8MclmWA6BGkD9um 7SGVhJ0eRfrhGNqfY0TDS1GXazdNn7ke/9Q4V3Vq18f3KmqmKUwysSliZDEnVbVC+n/a OY2nntCXBPbqSRiNLyZQMz2wB7ctCNkIkhBNOMRORXb7CdJlKpKcVcd2tiDkfX3Us3Bq +x4iiCcnUOlg0SZwm023wQq6dip1uNM461kncB4R6C1vtt/wk/IsPCJ9O1lg6/1QEjgI +d9w== X-Gm-Message-State: AOAM530mR9aOB/g5ulLjSrp9yiA2EQ46FWq7YnMMpqmcdzP04i3vj3V8 AkjMD5pr/6QRF1IOnKdlDYDfCQ== X-Google-Smtp-Source: ABdhPJz3z5wg+OafyD48OYDvMBz7h7pieXW/43X8WIeydnOfIZSxiOuGs4DIsfygLyGkonGdYzcN6A== X-Received: by 2002:adf:ed4b:: with SMTP id u11mr29569846wro.293.1620641356622; Mon, 10 May 2021 03:09:16 -0700 (PDT) Received: from google.com (105.168.195.35.bc.googleusercontent.com. [35.195.168.105]) by smtp.gmail.com with ESMTPSA id n5sm22274941wrx.31.2021.05.10.03.09.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 03:09:16 -0700 (PDT) Date: Mon, 10 May 2021 10:09:13 +0000 From: Quentin Perret To: Alexandre TORGUE Cc: Florian Fainelli , Ard Biesheuvel , Rob Herring , 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 , KarimAllah Ahmed , Android Kernel Team , Architecture Mailman List , Frank Rowand , linux-arm-kernel Subject: Re: [v5.4 stable] arm: stm32: Regression observed on "no-map" reserved memory region Message-ID: References: <4a4734d6-49df-677b-71d3-b926c44d89a9@foss.st.com> <001f8550-b625-17d2-85a6-98a483557c70@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Alexandre, On Friday 07 May 2021 at 17:15:20 (+0200), Alexandre TORGUE wrote: > Did you get time to continue some tests on this issue ? I did try a few things, but still fail to reproduced :/ > On my side this DT is not working: > > memory@c0000000 { > reg = <0xc0000000 0x20000000>; > }; > > reserved-memory { > #address-cells = <1>; > #size-cells = <1>; > ranges; > > gpu_reserved: gpu@d4000000 { > reg = <0xd4000000 0x4000000>; > no-map; > }; > }; So this does change how memory appears in /proc/iomem for me switching from 5.4.101 to v5.4.102 -- for the former d4000000-d7ffffff doesn't appear at all, and for the latter it appears as 'reserved'. But still, it never gets accounted as System RAM for me ... > Let me know if I can help. Could you please confirm you get a correct behaviour with 5.10.31 like Florian? If so, then bisecting to figure out what we're missing in older LTSes would help, but again it feels like we should just revert -- this wasn't really a fix in the first place. Thanks, Quentin