Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp308200rdb; Fri, 6 Oct 2023 04:23:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFFw/tcZ16LC5ff0XlpLKielQpb0xAmX0f6mm//BSZRQe4XbHGcrx1X4M9o3MG9olFCn4gt X-Received: by 2002:a54:4398:0:b0:3a7:96e5:6a58 with SMTP id u24-20020a544398000000b003a796e56a58mr7042651oiv.18.1696591392444; Fri, 06 Oct 2023 04:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696591392; cv=none; d=google.com; s=arc-20160816; b=zxIBM4FCsG4zgueFdmi3pED4yXcqW1278x0rdcnz/I8ELxLizbVpaPUkVRnwolpkMQ bHqqPbzXBrfgomTSjnMYZn844OCM5eUef129hzsYzv7ymqhAHtYYV7IzTVDW3GBPNxhe Zp7Eofp+iPU3S0tUL0tg6EG/KQMOfod7Dy9GPrmKc0u5SWrIvcYJonsLUqg6BI+ACNL3 BhQbD0Kj6t7tug95RWd652ANZDA0N2zilDHp4ceTCRlzi6rvRp2I/HZ16lKzkgXuZQN2 QBAYH3UV89kxP+UuQ/rMOV8eC4OgOFTNzfwsmcI+u1pvAZDr+Bx8MUdxOEs1YdmCTLDa 4ZTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=CyR7lG6QBSFjZPPbdn0j8Q5f00NRMzSXiPPzTGPt6T0=; fh=sRDFvyNYu2+D8vQ3BYeQbExJtKizYAuYMDFkgs47ptM=; b=YVWRPgEM0utCF81kXIk6GOypnjpr4mNZOhcP0n6RSgnb6q8iDi4sUFVNrDeWF8yfdd BBxP2ywQ3oYzyfPahXvKICV/lKnwQ5RvTCIj9RdHr3yQtRnMcfe4Ymk/Ow84XqCJnSqF nu+LiMR0JKJZ1CUZx6xgDPyVe4LCah8iW8NKajfqDCYNCwZOKgSPpL8E52zghenv4UKo gAtc1/74UGnr4/FTZEbvb7IGY2L1NCMmsRzaqF3LjohimLN2A1PlFgEz+z5TMPvkpHAX JeSxAPtfDc0DiC+LWIr+JHTZ2HjdUEMVmY+ntE2nSZI6eSzgkuyg5cly9ZDwZRqvMgAY eBAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=S7hajgv8; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=J3PSvSIX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id o15-20020a656a4f000000b00565dd3fbfdfsi1656617pgu.214.2023.10.06.04.23.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 04:23:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=S7hajgv8; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=J3PSvSIX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1E41F80C0A55; Fri, 6 Oct 2023 04:21:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232033AbjJFLVg (ORCPT + 99 others); Fri, 6 Oct 2023 07:21:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232014AbjJFLVd (ORCPT ); Fri, 6 Oct 2023 07:21:33 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7CA7CF; Fri, 6 Oct 2023 04:21:31 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 4ED2F3200B33; Fri, 6 Oct 2023 07:21:30 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Fri, 06 Oct 2023 07:21:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1696591289; x=1696677689; bh=Cy R7lG6QBSFjZPPbdn0j8Q5f00NRMzSXiPPzTGPt6T0=; b=S7hajgv8lmj7j5dno/ xH8mtRw4bNVv0Q2hPCWNljZfo025DESDGcIA26gt6lAjKQuDHOreUf/I/dcmmLyS UXyJ0wgm2KOlPvbZXvexxewMzfQ0c0fxVMdU/LU0jodOoJKuQY8JXYci4+X8fZfK jr7nmquSU2cuOm7kG7b3lObu02ksOtJ5n6j41Laj3BMeth4i4cFMaBGut3WK5C3P qa7UGo8mfaUDqY02ZCew0HA260E2o5yFK+vWk5oE3Y753LI2K/uQPb7ltk6VulBO mhvZVQ1u5CcrJhc2EHP9phFFDA+Z3RotSIwxLa3SOdtUUKgk3A5m5xjD1WZA+VF7 G3Gw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1696591289; x=1696677689; bh=CyR7lG6QBSFjZ PPbdn0j8Q5f00NRMzSXiPPzTGPt6T0=; b=J3PSvSIXOkGxsWeqFxO79occYSORj Xdb7ZArV29KAUI7NpFLVqOJMu8Adn0AI/udEMkbbgOunzU3U5DfVXE1vJxmRLfok 5MVtscw7oPKPpZ9wr/kKC/dOfAHzAzO2FFC0i8TR880IX0jALKkwstgc1f3gk8Oh f6/0LmYQfqLOfNpiTj0CDsKoKRamU1ajuo9n8ondXI1kQnXScMwRKotNWpI2p9ab jthW8UqSzxdl63UYprK7KueKpnhOoRhupP7oMgjJFkTx3LqLaKsboQK9s4z/MWwI xfC1IQzGqnO3xuMBrU1MMD25QY9IMqKkOcbzwKf0PFidhm0uH8yxvzg0g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrgeeigdefjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 80D1FB60089; Fri, 6 Oct 2023 07:21:29 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-958-g1b1b911df8-fm-20230927.002-g1b1b911d MIME-Version: 1.0 Message-Id: <52274cef-5334-4e97-a0c2-de7577e3e326@app.fastmail.com> In-Reply-To: <20231004161038.2818327-4-gregory.clement@bootlin.com> References: <20231004161038.2818327-1-gregory.clement@bootlin.com> <20231004161038.2818327-4-gregory.clement@bootlin.com> Date: Fri, 06 Oct 2023 13:21:08 +0200 From: "Arnd Bergmann" To: "Gregory Clement" , "Paul Burton" , "Thomas Bogendoerfer" , linux-mips@vger.kernel.org, "Rob Herring" , "Krzysztof Kozlowski" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "Vladimir Kondratiev" , "Tawfik Bayouk" , "Alexandre Belloni" , =?UTF-8?Q?Th=C3=A9o_Lebrun?= , "Thomas Petazzoni" Subject: Re: [PATCH 03/11] MIPS: support RAM beyond 32-bit Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 04:21:40 -0700 (PDT) On Wed, Oct 4, 2023, at 18:10, Gregory CLEMENT wrote: > From: Vladimir Kondratiev > > Support platforms where RAM is mapped beyond 32-bit. > > The kernel parameter ddr32_alias allows to setup the alias to point > outside the first 4 GB of memory. > > Signed-off-by: Vladimir Kondratiev > Signed-off-by: Gregory CLEMENT This needs a better explanation, and probably a rewrite. Having to pass the memory address on the command line does not sound like an appropriate way to boot the kernel, so I think either this needs to be detected from the running kernel itself, or passed through DT. Arnd