From patchwork Wed Mar 8 20:26:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralph Siemsen X-Patchwork-Id: 660459 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp522948wrb; Wed, 8 Mar 2023 12:27:25 -0800 (PST) X-Google-Smtp-Source: AK7set/hUty1PEk2JdKp9N4WfhUwC3Qn+MjuN+mBVEkxU+fckTim4LwcGmvvYN9BwjMXropydg39 X-Received: by 2002:a05:6870:5703:b0:176:4a1f:4f93 with SMTP id k3-20020a056870570300b001764a1f4f93mr11608281oap.43.1678307245207; Wed, 08 Mar 2023 12:27:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678307245; cv=none; d=google.com; s=arc-20160816; b=VKjIyIcb3TtRMXp6LOcVanLot31TeEkyr3ylCIcDM2L2HvTmKs911XfHCB3XQdgBV/ YzQd+HroXSOBaA+c+Q3oHt00WwBtSez1kDh5MVu2sDgBUxxi6J9gpfHTqPTwX9bath+q 9/ZtCEbljVjws8N66T8eVXjwoBH1x8E5Zlcigb/cRPwwgELGZ2a8kgb8FMhzmfOEf8ZS kSLror3Kt7tS8wSG7OwpptT3tTe8dcU8p4nEy0cnOXPSTCZAS5EmVAyomyKOX/5Mfhs+ YAdeeedHofiJH3RAgN2FaXbDpa1xIP8+xbdY46F+YPDZh2cjPdMKoSlTPaEA/mpKpzqU pZpQ== 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=j9fvXqu4LwxDfKmVAMSFW9USpMV5GhwU1LpsEmVRCl83G7ZFnsOaPwARNO5puzMmS8 +0PaAFhtEuhKdGOA0lmD66M0kRGEhH8jpYHFXvAjN4qI+e0HW7qlpsbAL4D3YFMAg7aE sC1EEovrihim+/lGs5p2urZemfo+ge9fjY5lX0O1/AQWUGKzoO6PPASbIcf4Dzl+hSwR nUWXGahR+5J6209yvu/r0w/J1R4Fw0o74kz1SoXkGo/9XsaG2sywurcVxoAblHPlP6Y0 bO3Wc7klJ1Xe6khajPSt8ktgXmQK6H3mZjypJLabhP03DEOCEvQQW9aC/MkKw1Rc8F/B sjBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="qvMaIu/3"; 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 j4-20020a4aea44000000b0052002e22250si15122948ooe.62.2023.03.08.12.27.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 12:27:25 -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="qvMaIu/3"; 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 8691B85EC9; Wed, 8 Mar 2023 21:27:19 +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="qvMaIu/3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1DCA585E8F; Wed, 8 Mar 2023 21:27:15 +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-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 D857285E97 for ; Wed, 8 Mar 2023 21:27:04 +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-x82f.google.com with SMTP id y10so19542091qtj.2 for ; Wed, 08 Mar 2023 12:27:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678307223; 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=qvMaIu/3hPk5tOXKdizHqfIkmTynNNbozYCgq5Qjtz2J/LohypworaJ4bkOswQ5Nx1 Mbfqe97alEKq0lokTlKCsPPkKl8sRpS1Yt4aqyLlNgigny8bEht7+XN3DqptQIVwl4Zp 31HcXPz9UPAsj51gAQvFUkJHFHa+RknUOoR+wMIvxb1cKDpFWH3JvWZam/eRtLv2usYw lIVWE+ylXBJKPXbfPMQnIJUTbvxOvVxuvYDGzOvUOZXjVz0Y0j+2KKU16IisPXEC9ulF z54R3lwAmU2V2zdpS++XRb0tb6Tc02uQSRCRyrKQhsCXe3e1UAgbzVpgyC4JSr6kz/Om BDxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678307223; 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=hTRBFy6514jVbQiqXeK25sDIagPUBx/mcns8CRe6OXixx0R9cYMaknoEvcefa58Afx rgs/DQfxiMBDwJ9ylcXkKfBnlZii+Es+6ukMxkhXISRscO/foOV7zx+wDAj1/MMITcQI lyHEuZZqHgvpuQhXzf9Ko9rB2Qmy/gWKZnguH2UlZPgjasE5PHNx+W9Uj9Hg0mIHA983 zwG42koj8I/My3jKKWUaxNdfKYgqcoI57GEFa16IqEEVGdYDkRoEZKWVSEoJk0W8bDXn MTRaIO5+kvzvh69U5jCdjSir+UqqJxQt2ASLnaQMbRtweAr737wIBhd0xQj5lpCQnt/r hZmA== X-Gm-Message-State: AO0yUKXbMrFogaSVYRQjJgdoiZJu2o9htc6sYMNCZpLJ6giXn4ZhuH2Q 9oexWp/LMe5hXLaWbEgkhZCdzcXotnMP18mKAGYZVg== X-Received: by 2002:ac8:5812:0:b0:3bf:d4dc:7058 with SMTP id g18-20020ac85812000000b003bfd4dc7058mr34189649qtg.11.1678307223655; Wed, 08 Mar 2023 12:27:03 -0800 (PST) Received: from maple.netwinder.org (rfs.netwinder.org. [206.248.184.2]) by smtp.gmail.com with ESMTPSA id m2-20020ac84442000000b003b86b088755sm12144203qtn.15.2023.03.08.12.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 12:27:03 -0800 (PST) From: Ralph Siemsen To: u-boot@lists.denx.de Cc: Marek Vasut , Ralph Siemsen Subject: [PATCH v4 01/10] ARM: armv7: add non-SPL enable for Cortex SMPEN Date: Wed, 8 Mar 2023 15:26:44 -0500 Message-Id: <20230308202653.1926303-2-ralph.siemsen@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230308202653.1926303-1-ralph.siemsen@linaro.org> References: <20230308202653.1926303-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.8 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 Reviewed-by: Marek Vasut --- 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