Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1043794pxj; Fri, 4 Jun 2021 04:53:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVU3Ai5IDI9H47lVwIrBUw0198aaAQWZNw9HYztN50Vo6naP8bqzMhduMOPqBFKj3lxLqh X-Received: by 2002:aa7:c3d0:: with SMTP id l16mr4278817edr.65.1622807584278; Fri, 04 Jun 2021 04:53:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622807584; cv=none; d=google.com; s=arc-20160816; b=JnYMTXGYcn6KFIu/xAoaul6Fk+ti0mWOFKmGFADCjW0zuJ/cn2S8LtbdKrFRq/Ivox DQPp/0QmZlXLokrVXwghIV0AQY9plIsuZqdRfvSRFs9HyuJPDPSK87w90s5gCo+aM2Mk 3wMMXudctTeAh/Si846Yp64f5xRgMJX8/mLFe2CHyagbVY0QmEqLwGbRt38Marys4r6W q9WvbM5UGSp5mq+Hou3nKQoKxOV19isMurrbDjofXTx9XkQy5N8qDGOAhLYFbjLpf/a2 R9gThscUrmTmQ85NeaHVb4e/FgzN6MgAI15oI5n1Q20T1yLDQnA9HVKzPVdrywU89VWW wTYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=C4tIT/76sWSemXLRj65d9sAZslAwvsodNCi6ld3TuQ4=; b=nqc/O945x5Clg6IS+ZDfWD+/sV9WoYdk/PrYxRhana5fy/8J85kmnqJy3N/ApvzL39 1mXbaUJiopIFZfhqmy0KegoqZVdPuMb8d0JKVQcWUrbgw2CTfD11pzFF9A8khxoUcXMz 0GD0mrh2brhjILfMo5yYlZ8160QB7QEVrVFfp3SC/Dv8Bv36++7XlBUsBwXAllOiCtQF X+KNwa2wX74fsE3NlfoQIwvfDvKFnhKiryXjA2sVrNepvG9xxNoqg7DfbhcZ+uXI93ad omstqku1czCW48cyKIKYHPmdIx8Z5kW58rPoqXqUn4T6EeehrsoKfA6T0EvRyhvxNeur xA6Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u19si4931710edo.180.2021.06.04.04.52.41; Fri, 04 Jun 2021 04:53:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230150AbhFDLwu (ORCPT + 99 others); Fri, 4 Jun 2021 07:52:50 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:42567 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbhFDLwt (ORCPT ); Fri, 4 Jun 2021 07:52:49 -0400 Received: (Authenticated sender: alex@ghiti.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 5547A20007; Fri, 4 Jun 2021 11:50:58 +0000 (UTC) From: Alexandre Ghiti To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang , Christoph Hellwig , Zong Li , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Alexandre Ghiti Subject: [PATCH v4 1/4] riscv: Remove CONFIG_PHYS_RAM_BASE_FIXED Date: Fri, 4 Jun 2021 13:49:47 +0200 Message-Id: <20210604114950.1446390-2-alex@ghiti.fr> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210604114950.1446390-1-alex@ghiti.fr> References: <20210604114950.1446390-1-alex@ghiti.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make the physical RAM base address available for all kernels, not only XIP kernels as it will allow to simplify address conversions macros. Signed-off-by: Alexandre Ghiti --- arch/riscv/Kconfig | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index b58596b141fc..3d8e7e4bb45c 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -493,13 +493,8 @@ config STACKPROTECTOR_PER_TASK def_bool y depends on STACKPROTECTOR && CC_HAVE_STACKPROTECTOR_TLS -config PHYS_RAM_BASE_FIXED - bool "Explicitly specified physical RAM address" - default n - config PHYS_RAM_BASE hex "Platform Physical RAM address" - depends on PHYS_RAM_BASE_FIXED default "0x80000000" help This is the physical address of RAM in the system. It has to be @@ -512,7 +507,6 @@ config XIP_KERNEL # This prevents XIP from being enabled by all{yes,mod}config, which # fail to build since XIP doesn't support large kernels. depends on !COMPILE_TEST - select PHYS_RAM_BASE_FIXED help Execute-In-Place allows the kernel to run from non-volatile storage directly addressable by the CPU, such as NOR flash. This saves RAM -- 2.30.2