Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8466C77B76 for ; Mon, 17 Apr 2023 20:21:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CBB9E85FD0; Mon, 17 Apr 2023 22:21:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=mailbox.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; secure) header.d=mailbox.org header.i=@mailbox.org header.b="avYI0yhx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0414E8060F; Mon, 17 Apr 2023 22:21:36 +0200 (CEST) Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [80.241.56.151]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5E37E85FD0 for ; Mon, 17 Apr 2023 22:21:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.vasut@mailbox.org Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Q0dk312vJz9sTR; Mon, 17 Apr 2023 22:21:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1681762891; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ms/vo8AFc4lUZWcPkBkfFJWBg3bNW2UoDO6S1Ycog1Y=; b=avYI0yhxV2hpkcp9Pz3q6YMD6aCYgDZNR+4xZNXJdZXBMGAyST1MuU6/5fcpM/KByS95IB h14QD45AXIkdEKQPChe3hScwOnk8MJcgqoo1lHDufMi0yhI1TLcOL9eK1u3MyajkG0jM7M NjpSxeAZ9rXJvI+RHvU/45SaCUuWl/+jcWURYwq4tlpV+jLOWQzY1jJoUzSDtcvtf/OV4Z sl3tx1nLrdMe+P43AOrB9GfbEbRI/jN/CX6LniRJCCO7uD5Ur/RC8lH4xBwaz8DUy1/udv VfNaVfSdp42CvW6+DFM+/eljUT0aNoNYze3BYldZg09QRA501d8fuexQHPMo1A== Message-ID: Date: Mon, 17 Apr 2023 22:21:29 +0200 MIME-Version: 1.0 Subject: Re: [PATCH v4 01/10] ARM: armv7: add non-SPL enable for Cortex SMPEN Content-Language: en-US To: Ralph Siemsen Cc: u-boot@lists.denx.de, Tom Rini References: <20230308202653.1926303-1-ralph.siemsen@linaro.org> <20230308202653.1926303-2-ralph.siemsen@linaro.org> <973f16a4-ad26-2bf0-671c-65fec7d66adc@mailbox.org> <20230417182641.GB642444@maple.netwinder.org> From: Marek Vasut In-Reply-To: <20230417182641.GB642444@maple.netwinder.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MBO-RS-META: 8gunjubg6wzogcjpi313yjeupfocwphp X-MBO-RS-ID: de422d6c9783902a17b 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 On 4/17/23 20:26, Ralph Siemsen wrote: > On Mon, Apr 17, 2023 at 07:04:15PM +0200, Marek Vasut wrote: >> On 3/8/23 21:26, Ralph Siemsen wrote: >>> 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 >> >> You could send this patch as a separate one. > > In fact I did that almost a year ago: > https://lore.kernel.org/u-boot/20220421175202.2614945-1-ralph.siemsen@linaro.org/T/#u Hmmm, Tom (+Cc) pointed out the patch does not do anything, but that is not correct, is it ? If I look at 2564fce7eea3 ("sunxi: move Cortex SMPEN setting into start.S") , this extra Kconfig symbol just makes that functionality available outside of SPL (i.e. in normal U-Boot), while before this change the functionality was only available in SPL. Right ? (so yeah, I think this patch should go in, and could go in separately) But please correct me if I'm wrong.