From patchwork Tue Aug 9 12:59:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralph Siemsen X-Patchwork-Id: 1664872 X-Patchwork-Delegate: marek.vasut@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=x9BIs5s7; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4M2Cqg2P52z9sB4 for ; Tue, 9 Aug 2022 23:01:03 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2473F84A25; Tue, 9 Aug 2022 15:00:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="x9BIs5s7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C289D84A1A; Tue, 9 Aug 2022 15:00:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3BC2E84A04 for ; Tue, 9 Aug 2022 15:00:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ralph.siemsen@linaro.org Received: by mail-io1-xd33.google.com with SMTP id d187so2713697iof.4 for ; Tue, 09 Aug 2022 06:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=nOqdHIFkECrf32zS4bTd/xG/b7sjI0chYma1yIlyktw=; b=x9BIs5s7GwLoj/uCdpAhjV4rK9ESYxVUaak+heI0BiZnbmeA/isfSqQD3eaEV2LM/O YBfmmR93i2TnSAYb1hyL6E4l8NujBE2Wgsr6pnWTzPUH347JBWVqtyEjmCB+UMiWNxFq DnMZTploTQC15aRG8s87YEWm6B1tesISqX3XXolycYz6WWG0rMzwnKQd8X077CfRSgsR xhG74kRtKEx+XR5EAVcU6WdtWJKI5sU3YinOgul1rcanMO3OJvBeN2Za6eUx4JvNQG3d hUzm9V/zfxc9HUfSKvrdjNy/JiQ1FFSacU3D/Xd+KJ6mNXq2OmjfyunfXSo4hNP1PZ4L QvDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=nOqdHIFkECrf32zS4bTd/xG/b7sjI0chYma1yIlyktw=; b=Ch+4vY9LcA27tyCkRVEZ7qIA7ytQCk6C4tkeOs2v1AboSrMjhcpB6EL3+U7QDWsiD9 2TzpU+INRS7a0/oFBzK153m3m8XdP0jP3LOjXGxCGL2BVD/4jZL8UyTR3vFyzibOcJDo fM+QzieCrYF7ZMMe4tZvrlbiTPVSRS5XW1zQ5vjYg7/Tm5X8P11hAnrQG4u2z1aDP7yC 28rnIoabSyZ/0w5cQmX1nmHXo5WqElmO5irJdoLuGupTkxOw+JqW82wEQOWo+Mn7XNIN o69lDynPLxz7ZOtIbNhs0rJqLJ6HK3KlXqaiv2AHksoWYMkz+rUt2iXK5n8RVqdkWwJY JKuQ== X-Gm-Message-State: ACgBeo3NA9E6TZsF/Eq+JnMFLbm+B01RskFwbYKOBMHITaoCCOPhMRMe 8hqc/t4E+Rr/eHjm6/ENVldvCRwaPLs1ftiQ X-Google-Smtp-Source: AA6agR5O6PEiRrw52aZxNGSQVnhXSdUQz38FLRQS285wYSCGdn6wt9UU+kOkaYSoePiaZ4z7JKgxwA== X-Received: by 2002:a05:6602:2c0c:b0:669:c1a9:245c with SMTP id w12-20020a0566022c0c00b00669c1a9245cmr9489709iov.218.1660050018839; Tue, 09 Aug 2022 06:00:18 -0700 (PDT) Received: from maple.netwinder.org (rfs.netwinder.org. [206.248.184.2]) by smtp.gmail.com with ESMTPSA id g12-20020a056e021a2c00b002dea1e18a94sm1022197ile.47.2022.08.09.06.00.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 06:00:18 -0700 (PDT) From: Ralph Siemsen To: u-boot@lists.denx.de Cc: Ralph Siemsen , Andre Przywara Subject: [RFC PATCH v1 1/9] ARM: armv7: add non-SPL enable for Cortex SMPEN Date: Tue, 9 Aug 2022 08:59:51 -0400 Message-Id: <20220809125959.217333-2-ralph.siemsen@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220809125959.217333-1-ralph.siemsen@linaro.org> References: <20220809125959.217333-1-ralph.siemsen@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Commit 2564fce7eea3 ("sunxi: move Cortex SMPEN setting into start.S") added SPL_ARMV7_SET_CORTEX_SMPEN to enable setting SMP bit. For platforms not using SPL boot, add the corresponding non-SPL config, so that CONFIG_IS_ENABLED(ARMV7_SET_CORTEX_SMPEN) works as expected. Signed-off-by: Ralph Siemsen --- This will be used by the following commit that adds ARCH_RZN1. arch/arm/cpu/armv7/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/Kconfig b/arch/arm/cpu/armv7/Kconfig index f1e4e26b8f..e33e53636a 100644 --- a/arch/arm/cpu/armv7/Kconfig +++ b/arch/arm/cpu/armv7/Kconfig @@ -107,6 +107,11 @@ config ARMV7_LPAE Say Y here to use the long descriptor page table format. This is required if U-Boot runs in HYP mode. +config ARMV7_SET_CORTEX_SMPEN + bool + help + Enable the ARM Cortex ACTLR.SMP enable bit in U-boot. + config SPL_ARMV7_SET_CORTEX_SMPEN bool help