From patchwork Sat May 13 01:36:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralph Siemsen X-Patchwork-Id: 681587 Delivered-To: patch@linaro.org Received: by 2002:adf:fd8f:0:0:0:0:0 with SMTP id d15csp62332wrr; Fri, 12 May 2023 18:37:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5TzUVerH4rqs6ForaOwMeOdqVM7qGkSEi8I0o5iq2iESFa2M3cDlEixoXvfwa++iHkUksJ X-Received: by 2002:a17:902:7001:b0:1aa:df9e:2d19 with SMTP id y1-20020a170902700100b001aadf9e2d19mr28249830plk.54.1683941854053; Fri, 12 May 2023 18:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683941854; cv=none; d=google.com; s=arc-20160816; b=WvN+ZTax2HTwztQuscW6IckYoXNmop0CEJ2Ao/dn6cTXoLst/zUFTIQ2f8aOt7KiuJ kg1gTnnTGAEN5HyhKAFh2ReKO6vKLt+qVG98oSjNheTyq8Zmlm/1PKoSx2AVwS1qaTRB P/F1lnA7u0bKm8+41xucj66tHhBghukW1kSiC66yl5Kv7U+6zMGCl+6x3PAPucsbz4bt OlQWrgoeFqTb2U13IRdHgdxU91W13xhOkg6DAphzYV3/YxDsxYvSKXa25+DuFMq5ka+E xjziPsXJdxY9inKVhb/PjUAoOBBDnhiG0gyW7CCf4/3s/QEfIidtA2HjswanqQkhTTH7 Qhew== 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=uWzxtzHTaQ2TMhTf+HvADsBz5AnlLNP3aefOoygqdTY=; b=ZHlk9V65b3/MoaBM2FD7uNs6SA9tgyDyC0/WX1Kmkn/eFoxDo5d5pdn7aX5Vhz6kHL lA71xR9DYOZe9L0icsiSjRe0lK60e02LsI0sUaV5PGqwi7V9ktL+EDAYxO+FNBQgWNiZ vM+yvj52MxUDazm/F8i18umLw+NGMY8wga2eqpmfI4+FooG4u4Z1ZRxBlL6BLhaiSwP1 k+Q1F9mS1xoI9yXn2JG5MgS8QTo9Y0G8UFkqLRN065z+eslaj9sR+d7IIziZDDteDQzd XCiqrVHhQgHfuKQXqOu4cdP/NGMg2tILXguVRbkmAXkQlSb6Klg6aYgXI8Nr+deS8HSs VvyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tA10vj2A; 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 t7-20020a170902e84700b001ac615350b6si11512212plg.516.2023.05.12.18.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 18:37:34 -0700 (PDT) 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=tA10vj2A; 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 A1FF68631E; Sat, 13 May 2023 03:37:15 +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="tA10vj2A"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 34160862CC; Sat, 13 May 2023 03:37:12 +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-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) (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 70D6286207 for ; Sat, 13 May 2023 03:37:06 +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-qv1-xf29.google.com with SMTP id 6a1803df08f44-619ca08c166so50754636d6.1 for ; Fri, 12 May 2023 18:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683941825; x=1686533825; 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=uWzxtzHTaQ2TMhTf+HvADsBz5AnlLNP3aefOoygqdTY=; b=tA10vj2AYdnbWBKOWQkh3mrJRMo3/UZ2ahdSIuG7AkHkvM5Tw+CSH+/NJQwGv5CQjN RKrlAPX8v99nQu26KxejSGvC7sTyTKnZ5GtBOXjmIAfmG2OO1hyhKbBNcrftcpadplRn aBELrKV76H6I7PKX7HeJBo6gUoHqYG4pa2YLQ+8DpZXcEILsgTLgF+Ymleb/U1zJ4lpn AefStrAynJAhKo9CdyQVG25b2doMK3AIS8kpxnqTvuL2kwSDNLMcqo5AAJbpXZUrwl/B K1uOo5UAp32EaQ7uPYsjZVPtw7LfzDQXWRRx20gIAsyoXA7tmRj+AP8P52+QbGfRELV2 RIUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683941825; x=1686533825; 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=uWzxtzHTaQ2TMhTf+HvADsBz5AnlLNP3aefOoygqdTY=; b=VDZkx6RZtcrMfyodKAcH2bRV4zgbeCUxjGVJSBX7fA0yF/Z4SrHZO397x3MclHowG4 YctffcOrVcoNKMvAzSL6/6X+py/IwP5Dn0ZomdxaFdaO3guqZQ1M8dODaIg9zn7JJDM5 GtBzDUmQhhiSVYYNPqbMaVhjO3kO43shvgJtD4WO19CPsagCFik2FY/hjvGHwrghtXoc QMC+hdjcuvynnPh5cl+xGwaDXJ0TObpAu2usNIIh6c9+Dhgdrp2re3xTLlnitv0nD2vE /exwJ83OPT1hdxfQbrhPnn8G1tiaASPTYf27QV7cNzbFIN6p2bfkAGDXCOAOGud2dm1B v2og== X-Gm-Message-State: AC+VfDwkmrszoJ+jLBeyC8YEeYt3vy1YeGagZgem+ud4Um4bjdow3FgS UTZhCOAwBfiYYEapqw9MOVBbVrJN7/U8Ru+B/YluYQ== X-Received: by 2002:a05:6214:f65:b0:621:216c:456c with SMTP id iy5-20020a0562140f6500b00621216c456cmr37997777qvb.43.1683941825293; Fri, 12 May 2023 18:37:05 -0700 (PDT) Received: from maple.netwinder.org (rfs.netwinder.org. [206.248.184.2]) by smtp.gmail.com with ESMTPSA id fi19-20020a0562141a5300b0061b608dc4c1sm3379399qvb.94.2023.05.12.18.37.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 May 2023 18:37:05 -0700 (PDT) From: Ralph Siemsen To: u-boot@lists.denx.de Cc: Marek Vasut , Ralph Siemsen , Marek Vasut Subject: [PATCH v7 01/10] ARM: armv7: add non-SPL enable for Cortex SMPEN Date: Fri, 12 May 2023 21:36:49 -0400 Message-Id: <20230513013658.2330651-2-ralph.siemsen@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230513013658.2330651-1-ralph.siemsen@linaro.org> References: <20230513013658.2330651-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 RZ/N1 support. (no changes since v5) Changes in v5: - add R-b tag 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