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.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, 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 7CF3EC433B4 for ; Mon, 10 May 2021 10:14:34 +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 D3010613E1 for ; Mon, 10 May 2021 10:14:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D3010613E1 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com 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:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eqAv1rX/SfXsq/3wCJFXN//cEKvsmcItPUe7xFIWhn4=; b=EuLEO8Nw48AEwgRhpBm1zmsbB XyWg0jOampMwj8+FHkk7yp+tlgLEMquVMDydV9fqciuiLsU1qPGSQ2s9CzqfHIwwxilzldHaQ3A/P 6hFsDopAAAqC4d5wD7AMFGl94yWa8r3EHhltNbQgtETxn4G/oebEx4HDHCn6xaoW7YfVRKF6WQj/C jWXl+5CJQANRo9/43ra+BlEClqfElsi3v5cXDI3ORrCzpyV6EZJ4s6c+lMfUtm+PA8OfFs64sAlf4 hRhFaFg/ERwNmXOtfhrsKbQzylhGmAr9L3txq1anT3m2WKdKWubOU3t4nAtyj4jC8BYFAMwE1QDSe EZVUT7GyA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lg2u1-00DtM3-DR; Mon, 10 May 2021 10:12:42 +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 1lg2qn-00Dshk-Vv for linux-arm-kernel@desiato.infradead.org; Mon, 10 May 2021 10:09:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Lak2E9+GUDiZzQG7k+ylmHyUCfztik4DxRUQZhkU5ro=; b=Ucni3iaE+OT/+xL3ttmjrOAWvK e6TNjW5WtcUe4OVFo+qFP9zaNia/ySZpkBtfMRwjLxPCqweal9oMHnVfPSjvYOOoomRvS7wNSOHqv EbLVFI8WuZqy2iYxCPj9oIqQpoHKCiNUvlOPO5434SLRGwIFCYb8eLOV1GZr4tYeMwwru48p/qLHy SDD8ZdDyJOKwSRpXeyelbKyLnfm58vuL173OyMBeK37tmFqiNGv7VOYrC27tgbmcFq9Y1uxdXNLdh Vcbm8k3umoZ4gKlhD/a1NWIDdEZdTjdEUOWySCzYCKA4wnz9sW4YQRwZ7I1fwCuwzvLCqFKOB+ziS omjnQZgw==; Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg2ql-008VjN-9E for linux-arm-kernel@lists.infradead.org; Mon, 10 May 2021 10:09:20 +0000 Received: by mail-wr1-x431.google.com with SMTP id d11so15966219wrw.8 for ; Mon, 10 May 2021 03:09:17 -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=JZk/CdvsufPaTPiNd/DK2FDiCTtj+HWpGbMr7sAeFA9wLR/i4wwcew5kjIshCLFJeO 0nqRAMQYqST06NhV0Za/AmQtL+uiPT1uDl4pKteCLwp0pcsYK1W7Fw3vRUD0o/1htB4Z zy+krmUXSShbtcyWJj3IOwHG/vVbnHTs33OeNuRfPtKtqv+cMA3yNVu6xgfRD1k5vMCP /GIneH7qshBGciMrpofd2lL3TwR2W4E6cUkyGEMMF8A3z2JYZ2VLYLkyqQnOwyKEGKTf UbQDSEN/IJCmcsdr5dD6jSX3EdM6kVcenc8paPLAeYlBNrgIXJLiBQtd1dfJ8BIufI0X qD3A== X-Gm-Message-State: AOAM5335RiXkpZ2FxGreP2f/Bzc+X2VlKfA4hwRBiSKQ9K+cnU/39w5R Xmvh4lm7t2wwLPO2s2UR5C6bCA== 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_030919_360142_0BC7EF4B X-CRM114-Status: GOOD ( 17.20 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel