From patchwork Wed Feb 22 15:44:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralph Siemsen X-Patchwork-Id: 655689 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp760055wrb; Wed, 22 Feb 2023 07:44:34 -0800 (PST) X-Google-Smtp-Source: AK7set/Y0U46ytl5cMoSXppdTCbtlYsBSIwbMe3PDHpFv5BzNXBhDsKrcBvHnxeuGPEwbXrgUySP X-Received: by 2002:a05:6808:1a29:b0:37a:2bf0:5024 with SMTP id bk41-20020a0568081a2900b0037a2bf05024mr3892232oib.18.1677080674586; Wed, 22 Feb 2023 07:44:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677080674; cv=none; d=google.com; s=arc-20160816; b=HvAwTpe+S1huuWoIi0UmRA/X+fzqR7XC3TnlxZAMHVfUme0DwunpYTAM2imEli+BXI HQIa+xXe0OlM3C1PUTkLxPJKoO8Tm1G6gfqWvy/xbmY1BDBOzpPvBr4yInFHZ9qCanMe nYBk//kgkYKuKZOIHwYrZYdYmcSS3q/TBz7skE9zh/AaYPTyyGo8Fc6q/SykWbL+HSLN 3IB/d59A//CcnrIZymtYtOJRKSq2Ud/dN5ths4r9G3CgTzZw0RT/3WL7CEKsBxfFFS+f rhPCAPVFRtj5+zlPuboVbjfZWEBoiEA20bCauyDwMV2vhNLiEJn4C2i8ieSiNo8RvBat xj1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=A1zH4cs0nkBy8ERzefeYpPCyNK9mLhWAOMjYYqoPb54=; b=Jge4qINEPQqI22aR8hCjcxqIIMX1MqeTBYzJiMeP9x1DLM36jpqBD9DNExTzUDK2HG 5jlPZ/YFXFb9T5V+z+2SzwRby+EkoKr/68IZPpoD4D8DuQNahtIpHIPKz9ON7+IQku1I dhCXytpG2iecSwn1k9RpmZaT60Ilxrq64LHMzHdyZyr1NAb5NEOyS8gm9arHVZEeJCSw nIHF8A3w4DvJg2S2+8v6T+yUFy7jwM9wpInpcsf31zyJsCmPS2WxB1igNkCBZt8qfMnq CoEoePZwcEV4+RRhW+6t+WepYmUMMt4/LT+yUPtyOPCyu+II8rtyZtFDmBCt0YYQ08vR KcCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V3BpfTbd; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id et26-20020a056808281a00b00383b2acee56si5825588oib.151.2023.02.22.07.44.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 07:44:34 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V3BpfTbd; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 85FF785ADB; Wed, 22 Feb 2023 16:44:30 +0100 (CET) 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="V3BpfTbd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 07A4285AE4; Wed, 22 Feb 2023 16:44:28 +0100 (CET) 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 autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (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 3C9EF85AA1 for ; Wed, 22 Feb 2023 16:44:25 +0100 (CET) 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-qt1-x830.google.com with SMTP id w23so7984942qtn.6 for ; Wed, 22 Feb 2023 07:44:25 -0800 (PST) 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:subject:date :message-id:reply-to; bh=A1zH4cs0nkBy8ERzefeYpPCyNK9mLhWAOMjYYqoPb54=; b=V3BpfTbdq3cskrz/0EnvJ/51O46+xXzFxSwDiu12Wv3sc7feef5THjsxUTbRWlyTCS JGZ3GNs5QoHAV5c7NglaaHVzn7hW20NEBM6feif7DIbfYChPOn7Y1tAYo1erABsb9Zdt AvDrR6ib/Xt27o/AEDXcwr9o/PsobcadV1eosyjVEsJcoVH2KXLxGaPOdNFer5ZhHYyV Qv2rBbT7L6gayvoyAMXaFTqhIAzj2B349bNvzntG5Oyr0WJU8b8hGY+eo1zzc5HwXMeg 0G9eDO7ww9oXBac0SIfVAconNkOH/xC2OIn4kMjeWUijThgI2e6L5ppnFAUsdk4mfXJG xgMg== 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 :subject:date:message-id:reply-to; bh=A1zH4cs0nkBy8ERzefeYpPCyNK9mLhWAOMjYYqoPb54=; b=an93+z15fEELjDDLErdgJMELvmja6AobvISqIHEg+8r8sUiEdL/QZHhFVBySAIf/jd MUQAg5XaxLqMSPsxEIeQt2+8eeBKaY/7a0ubkrF2LmX1IhhsJEFiThDnF2yBGLUahqN8 4kDFrwYZuDF1tUz978Yp2+0cSlzuKDcMwj7fzDpW2eoUQzH4Y56sz9kIkEwe7wKtk38W DbUa6zweUlbXntdZDzrcBtRd9Z+IxABaoO3UIz1u6/yWCuGLsQTsDg8yLAieRZzXjn1X rhtnl00h1VHYYsCUZ4hq4//Be0ZaqUlfi3NuDCc/lshf8w7aEdUqETq7QDc8iIU2iph7 6yNA== X-Gm-Message-State: AO0yUKW8/dWshGA7ZksyIVsDR06AqAVQz8dqvpeC5jr3VCEbj1984jM1 Ya9fW+ikomAdVaBWi2te0L/QGNecIb2LBI8+gM0= X-Received: by 2002:a05:622a:1711:b0:3b9:bc8c:c217 with SMTP id h17-20020a05622a171100b003b9bc8cc217mr13423334qtk.34.1677080663940; Wed, 22 Feb 2023 07:44:23 -0800 (PST) Received: from maple.netwinder.org (rfs.netwinder.org. [206.248.184.2]) by smtp.gmail.com with ESMTPSA id t41-20020a05622a182900b003bfad864e81sm522246qtc.69.2023.02.22.07.44.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 07:44:23 -0800 (PST) From: Ralph Siemsen To: u-boot@lists.denx.de Cc: Ralph Siemsen Subject: [RFC PATCH v3 1/9] ARM: armv7: add non-SPL enable for Cortex SMPEN Date: Wed, 22 Feb 2023 10:44:06 -0500 Message-Id: <20230222154414.49219-2-ralph.siemsen@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230222154414.49219-1-ralph.siemsen@linaro.org> References: <20230222154414.49219-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. (no changes since v1) 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