From patchwork Thu Apr 21 17:52:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralph Siemsen X-Patchwork-Id: 564417 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp652282map; Thu, 21 Apr 2022 10:54:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5/Y+Q9CFRE1gwixI3+O/KL50Ezuphw2j3ZmGsu91dMHAAJDXnQOycChwNBmL/tuR39ZOu X-Received: by 2002:a05:6402:2881:b0:41d:8c32:917 with SMTP id eg1-20020a056402288100b0041d8c320917mr783464edb.328.1650563644552; Thu, 21 Apr 2022 10:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650563644; cv=none; d=google.com; s=arc-20160816; b=w3+0nkZBYlnMGF+NnAkM0KrBrAGMTx7prUeOiNNRP4C4V15IE+Nv3UP5xXCJA6PhXB pZZMApPfloBbkEXvKGzN0YwHC9dU6/yWBw0mpG/V/i8UIXQVjPXH95O0BoyQK0zTCGw7 LmE8T6Ab2w2JmTvJt6rLyDhF2vBAZ7SoG+TWeBhKs3sDaOXkuEkOEmJaZTBD26tb1xzq 9jU/jX1mj16rBfSWFiNVP4eL9yQL4+Ysy4FvmWWo6KEmr/w533zAj4lIoKKJb1By4Ai8 aQ9GNVy5k7BuWTGdx4xWqXFPcc1C8Kc2Umlo0eNjaXoJW+/Ygdd2oI1NcZau2ad/El/w UJkw== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=oXo1AWHmjK3aj8w3hD4J4vHCm2IH62SPEZKz35zbEtU=; b=DSfxHYLklhK0mHciiw7XwiOkzISvnuSQIDDyDEYEx5FOGgRDJDosOee+vo6sRrpoPM WSaEMTWzf+nmpTNNt2/Xyd3e1L1HHB4RUpbRjDj8cWHkb3ce4miv7b9V4S4ty3QiBUw6 wLyRLULU3tL6RsR3we4CIbvV5+V/UUOVmxBuNMgXWGqZ64phgs6P/h2abHXz1iymOx1V m2XQS1QhQSv2RhmV80ja8QH3G6QMp+mwWezWzsJbIPa+CySGLsPWAu0Vie02m1UsmE0+ oohHDW6zd9//WiXCVyop03nFV/kFJvqgXh+oCS4e0uFHGG1FC7wojJg3vp4Th/V/R3gV GNFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sVb9ifVC; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id h19-20020a170906399300b006dfd28d349csi4450682eje.119.2022.04.21.10.54.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 10:54:04 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sVb9ifVC; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 50DD683F24; Thu, 21 Apr 2022 19:54:01 +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="sVb9ifVC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A4EF883F25; Thu, 21 Apr 2022 19:54:00 +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 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 328E583F23 for ; Thu, 21 Apr 2022 19:53:58 +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-qt1-x830.google.com with SMTP id x24so3825230qtq.11 for ; Thu, 21 Apr 2022 10:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oXo1AWHmjK3aj8w3hD4J4vHCm2IH62SPEZKz35zbEtU=; b=sVb9ifVC9Qcv4oJ67uJsrvxxo4yDT0Nz1uP8YHO4EeyUB1ft+ORB7uslP93G0cgZCy PC4huXZ17nipksd5kGCdCbcb/iybGM6Bwstp1uMwByfWXLi1qrdHGU9cIBKLoT+qqJDL qTQcyIleTTh6Rny/8toRfLFgh8rJkayt/ffVdtZKYS4J8DzKdDydi5OUeHqGPoExBMIx knuVsrT18plwNQVRTFzXUdaV78+tFohgsezwyMpkD3xChxXS47wAw8gfUKpHQBDk3aQL qrB0g7taAb4APaWvUIKW/4cE6NsHF4cxxSulr47+ijXjGa799v4p7CmUOIbiHC+ZD34J MQvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oXo1AWHmjK3aj8w3hD4J4vHCm2IH62SPEZKz35zbEtU=; b=Q5dkX8fVfZFsxJLpoL7Si3lBfyw+C1tdor3sQzbXon/VKXZ3M+EI5B1GX9jRgJ82Qw D/g9CcXkWeJusfzwkEjAO2O8+yxpRflBd9e36kCSXZNewzx6euvqbAuV9AzINnkq2iX7 HhuYwD8JrPLJHkdLlt3llfvU9R1MkkFj+JbqRLzvyS9cdn9v0z9MzKDFpQKPucpaTG5i UXmMMP+MoLMLCAWsu39B/bM3yrDBqzDtbBFPIRTgcjlF3ij0Q5uMVSJxEbymAEQ8DNT4 WON9TGqAjm9hS8Hzu9ON/uC16xmP1w7Y04+r5JRg8Scbx6h9I09rHMzIY0PAWIuB1HKL HrAA== X-Gm-Message-State: AOAM5307gz0lAO0N6n05Gev57B0rb8HWsBYBPoo0GYtqBN7p+ShRwTHl NMCQIhiu85so/t7mRtr4rINYobneVKGykg== X-Received: by 2002:ac8:5fc4:0:b0:2f1:e898:2973 with SMTP id k4-20020ac85fc4000000b002f1e8982973mr472362qta.157.1650563636996; Thu, 21 Apr 2022 10:53:56 -0700 (PDT) Received: from maple.netwinder.org (rfs.netwinder.org. [206.248.184.2]) by smtp.gmail.com with ESMTPSA id g4-20020ac87d04000000b002e06b4674a1sm4018798qtb.61.2022.04.21.10.53.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Apr 2022 10:53:56 -0700 (PDT) From: Ralph Siemsen To: u-boot@lists.denx.de Cc: Ralph Siemsen , Andre Przywara , Tom Rini Subject: [PATCH] ARM: armv7: add non-SPL enable for Cortex SMPEN Date: Thu, 21 Apr 2022 13:52:02 -0400 Message-Id: <20220421175202.2614945-1-ralph.siemsen@linaro.org> X-Mailer: git-send-email 2.25.1 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.5 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 --- 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 2eeef3cba9..9f859b7c95 100644 --- a/arch/arm/cpu/armv7/Kconfig +++ b/arch/arm/cpu/armv7/Kconfig @@ -76,6 +76,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