Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp94626pxf; Tue, 16 Mar 2021 23:38:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIU/3h8Rtc9Of+ZpR7URiQRMdYzirB+5U8IEOar69iWaECOwcKi3J7xm9dnQDalOBkS+Lv X-Received: by 2002:a17:906:f283:: with SMTP id gu3mr33207814ejb.91.1615963131838; Tue, 16 Mar 2021 23:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615963131; cv=none; d=google.com; s=arc-20160816; b=FHgbqt/lVco4RSTIkM4nx6GCDzm9GfZ9xMKnl42Y5jF6gBqaiQc9DTArUrLetyW5Iz zZdQIVCrH/1B9rZMaMG0znO8y6yT82Lti6E0hGTLj4KIfzrKRNlv4ZLYIJOAbNQMxwln l7SAPlPt/zQp9Dgvgf65d1/198Te9Jr726CFHRvIilt0voxrIqiJsIaklI5t25u5Hs9E 0Elx0FKxlx1WU8TQUkjZiz7njY4ol4Swd/BL21eJEIxcBuLeFJyVHVYXRD1POku90/Qm PLZ5IMA3On2JMtu0yNc3PXZSeKAPEBo/NevixKBgv3k3KSlkTy2IMaoMahSyHCEZzoNe C+/g== 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=LQYYcC7x5CdIiUQc07puFHKH2E14+h1SAaZuPc4DxW8=; b=RdvY2VWmFeujXoLpl60e5xgE/zk0Oecs6autkruf2JjTs3wqsul1acguBseFY91sVS XoQsrjjbPZZacSdxV1fOL+LZzXhlwCMHOJ7+Y7N0lQXKjHqgkCLNv0CzTfM6HyAAlWuR Id8Ev4l1oDO5suFIMJ05+ZHtuDPW9OVFkhSxC/U3cR6I+iaB3BoLBLiF/t67iPP3n5wA g5OeAdzjmlvNEniVfY7iJXztuhUkYH0ztCMKwMxeBR7K/0GYNlifcl2DRIf827QaQh8N N3d7PTTkMU06kUtuz+lh7Fz1nhd6OSTlA9Sk+olpqwvZzKym4AgHFiqezoBI7zIDifnZ OCNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lXJurWps; 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 u3si14346187ejj.14.2021.03.16.23.38.29; Tue, 16 Mar 2021 23:38:51 -0700 (PDT) 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=lXJurWps; 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 S229472AbhCQGdk (ORCPT + 99 others); Wed, 17 Mar 2021 02:33:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:51698 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbhCQGdT (ORCPT ); Wed, 17 Mar 2021 02:33:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 63A3364F8F; Wed, 17 Mar 2021 06:33:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615962799; bh=Z8KXPQq77SzPlEdNFIzyWTeYlgt7pgmbHOi0pXY5px0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lXJurWpsVncdIR+/DUZcK4BImoapn2F3pf8BTX6UkC6HFWbsB/YZh2CHB0N5d5czo JVEX9edy1NEYkySoL6rn5s4ytaIFBci5Iu15QZFVrVIA0e2yYspGy0d/fCccB+CXTp C6eAEpWHPgpe67zDFJPJ/Satnt+w3tYWqgun2bskZCKgHg5Jq4djSn0/XbRi+uZ2z5 D8eFn67wvoTZMAgTkWHtOGF/ojTvu30S3SjRarrKDygR9uUG7svgez37ocU1HxyBfL cl47c5KZEYFgaq02EDg+Luz7VI1BVSUIcVhsHeM8f0lb157M530MJ0w9UKB4pNfZoy VJZ7n7tLXyerQ== Date: Wed, 17 Mar 2021 08:33:11 +0200 From: Mike Rapoport To: Ilya Lipnitskiy Cc: Thomas Bogendoerfer , Tiezhu Yang , Jinyang He , Youling Tang , Tobias Wolf , Marcin Nowakowski , linux-mips@vger.kernel.org, Linux Kernel Mailing List , stable@vger.kernel.org Subject: Re: [PATCH] MIPS: fix memory reservation for non-usermem setups Message-ID: References: <20210307194030.8007-1-ilya.lipnitskiy@gmail.com> <20210312151934.GA4209@alpha.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ilya, On Tue, Mar 16, 2021 at 10:10:09PM -0700, Ilya Lipnitskiy wrote: > Hi Thomas, > > On Fri, Mar 12, 2021 at 7:19 AM Thomas Bogendoerfer > wrote: > > > > On Sun, Mar 07, 2021 at 11:40:30AM -0800, Ilya Lipnitskiy wrote: > > > From: Tobias Wolf > > > > > > Commit 67a3ba25aa95 ("MIPS: Fix incorrect mem=X@Y handling") introduced a new > > > issue for rt288x where "PHYS_OFFSET" is 0x0 but the calculated "ramstart" is > > > not. As the prerequisite of custom memory map has been removed, this results > > > in the full memory range of 0x0 - 0x8000000 to be marked as reserved for this > > > platform. > > > > and where is the problem here ? > Turns out this was already attempted to be upstreamed - not clear why > it wasn't merged. Context: > https://lore.kernel.org/linux-mips/6504517.U6H5IhoIOn@loki/ > > I hope the thread above helps you understand the problem. The memory initialization was a bit different then. Do you still see the same problem? -- Sincerely yours, Mike.