From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 125FDC3271E for ; Mon, 8 Jul 2024 15:55:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ub6J2Z53f3wUO+xk78tLgojAcxeSDWJYJRW9UqqTXuU=; b=a4osk+QQQHjn7FMr5QzEw01yrm n7VZZApkchmFXJ/NR98nLK4ydDTGetsDES5F1XdNegZZheFaywthQZNUV7MzQJtbv3tvoCG/s7e1Q rKAS5UdJzWxSqw+P/G/13AEcIq2ylU5EZvJo5k4cZSnisgRypk8DkdQGlvBOyUrPO3nTZsBnP1Uqb DeQohKC6z9rOhbgV1MO3nFJJ9LQZ5WH+Hx8JhiVOWmWzkzrBAz8HkTS43ETRuuL4ubzZ6j3pHQfQy xrGNMjGdPI/lB10TR1IkUvCAFivC8yDqjWfxJbhCXRWESePtocIsLLbKOZepX+6ZB4ar3IfpMtde3 iXVUJHzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQqhW-00000004JN7-2ko6; Mon, 08 Jul 2024 15:54:50 +0000 Received: from mout.gmx.net ([212.227.15.18]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQqhG-00000004JFG-2X5Q; Mon, 08 Jul 2024 15:54:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1720454065; x=1721058865; i=wahrenst@gmx.net; bh=Ub6J2Z53f3wUO+xk78tLgojAcxeSDWJYJRW9UqqTXuU=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=kRJkI7N5Y5kwc2auIa/1TDvEI+sDMNgZ97XaMnH9duurji6mq9RSsZbl9WBCDeIy +Df6n3PiB0BDLDfPYavI6TxaVul1QDpW1VwN4uC6fAUn0fk58aoOQ9FbnJ6lJWzbn Xl4yD9ZPEWZ7hns2Leyx/r697OEOtNCmmT3PDBRvul9xwJEJH83EpFDwa+PEmcpxX j+1KJF6088qELty6kLKsv5DCM1AIhKpL8Xk17008MxQxhJ5U5+jrd4GBvh3S+Ed39 hwQQxLjN1U9HAnbsP+XTu3l+YdvfVl+iVcf/zOxNDsItDFqWg9xHHtMU98W8P6wNe GsEVeWg1R1UcXdN8BQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.127] ([37.4.248.43]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MI5UD-1sdpFG3JKh-00DhVy; Mon, 08 Jul 2024 17:54:25 +0200 Message-ID: Date: Mon, 8 Jul 2024 17:54:25 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] ARM: bcm2835_defconfig: Enable SMP support To: =?UTF-8?Q?Jonathan_Neusch=C3=A4fer?= , Russell King , Florian Fainelli , Broadcom internal kernel review list , Ray Jui , Scott Branden Cc: linux-arm-kernel@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240707-raspi-config-v1-0-3e122f2122e9@gmx.net> <20240707-raspi-config-v1-2-3e122f2122e9@gmx.net> Content-Language: en-US From: Stefan Wahren In-Reply-To: <20240707-raspi-config-v1-2-3e122f2122e9@gmx.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:dwXQtn/8x3viNcyK+GebOAFG6pbReHTLNl/d7R07Vf/unMTjnLj mcjo0bhnR0mkq9SfP4cO5zu6iyEwNXwqgxXk6aaEOM443I65G5hs82sNK41InPQyTZ7bh8i U/UEv70ZzFqkvLLNHXW9of4aE2nQyJDZpYdJyc5st+f5e8zcJD9bhYNcbXf3P1u/ZkbXvgG 0K3xNRl/4+2mX3KMnjsdg== UI-OutboundReport: notjunk:1;M01:P0:vj6fKrjzQ6s=;wQoKj+lLp8+q55CJrsYQWZWBxxh /HNuQtmM3he53oXLIdv0ycxXIuGqNygYA6WsU+QaTrdwA0K6/CWfk7G5d0JX84NDQDbDR6vvn f4GH4DyH6bWJXZ7gi6eg+VCsHOvTN878MGg4X2jiUFcG8ZTZlUYMglAWd8yID0zKNONGrB47j JouaPSI0iigOZvJEthUHBZKLxK1TAGZi+6PwUaZyzOLI462LEIq2h21cMfW3TlOH96qP+HW66 EsQFdch+ojtultor7H5InF/7BPzk4FJq/zEsotd92EOI2tEimW/ysTv3WTXaAgYXiKcx8cqrE MbadPNR45D0C6ASMrgeu9kZ8af7iNUvMTAmxRNfkS0IRaXCteWKY2lpyQ498txOoUQhGph4AT mm8wcV/4ct7k0Dr4TVuy3pWOxVbyPTFrv4ylvUdUPj7RzlwA+js77IycfYMCD2g8jMhDZSw9J 5VwrTt140W9gGOgs0KB2CsA77jfbXDhyXND8tDqAxfCq95BbqE9OE0YaM36MAAttLZM5WY3O1 I1qNkDJK5R7dLYetpfwwP9JY/7wsarw73k7UUFGcGREuaEzImacwHslmQ1OD95v2SnbnBecKZ Ez23GF4XzDuqEP0UrQYfpsD1AetTCnxovDEfNBLDhMHdwjYjbyNA13j8ou3BzsRr7U+h7F305 NmoXEvMt5djOJhy2Cp1zZfexWSKHSGzq335JGj8+FTyizKdeVMV2MG+N9LKOOj2waUPS4A2hE 8yzlhV1T/ugOzFuK1gL1IUvoyxqOLFCS+kA9FqmlvGStoogHQvpZUQq5gAjVrS0OcsuMdg3Rc Ljy2O+EkvWr0DgMA7GA1sL0da7PVeu9x3MJ1+FYtAF8Os= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_085435_030245_19B9A6FA X-CRM114-Status: GOOD ( 16.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Jonathan, Am 07.07.24 um 23:48 schrieb Jonathan Neusch=C3=A4fer: > Since there is only one Raspberry Pi related defconfig in the mainline > kernel, it's useful to have to work well on all 32-bit Raspberry Pis. this wasn't intention of bcm2835_defconfig. It's more focused on BCM2835 SOC and kernel-ci (both non-SMP). If you want to use the BCM2836 & BCM2837 (incl. SMP), please use multi_v7_defconfig instead. Applying this change would decrease the test coverage. > To that end, this patch enables CONFIG_SMP and CONFIG_SMP_ON_UP, which > allows the kernel to run well on multi- and single-CPU systems. > > PM and suspend support is necessary in order to keep KEXEC enabled. In this case the subject contains only half of the truth. Regards > - Raspberry Pi 2 Model B V1.1 (BCM2836, SMP) > - Raspberry Pi Model B (BCM2835, UP) > > Signed-off-by: Jonathan Neusch=C3=A4fer > --- > arch/arm/configs/bcm2835_defconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm28= 35_defconfig > index da49dcfd359050..d505058715b66f 100644 > --- a/arch/arm/configs/bcm2835_defconfig > +++ b/arch/arm/configs/bcm2835_defconfig > @@ -24,6 +24,7 @@ CONFIG_KEXEC=3Dy > CONFIG_ARCH_MULTI_V6=3Dy > CONFIG_ARCH_BCM=3Dy > CONFIG_ARCH_BCM2835=3Dy > +CONFIG_SMP=3Dy > CONFIG_CPU_FREQ=3Dy > CONFIG_CPU_FREQ_STAT=3Dy > CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=3Dy > @@ -33,8 +34,6 @@ CONFIG_CPU_FREQ_GOV_ONDEMAND=3Dy > CONFIG_CPUFREQ_DT=3Dy > CONFIG_ARM_RASPBERRYPI_CPUFREQ=3Dy > CONFIG_VFP=3Dy > -# CONFIG_SUSPEND is not set > -CONFIG_PM=3Dy > CONFIG_JUMP_LABEL=3Dy > CONFIG_MODULES=3Dy > CONFIG_MODULE_UNLOAD=3Dy > @@ -175,6 +174,7 @@ CONFIG_DEBUG_FS=3Dy > CONFIG_KGDB=3Dy > CONFIG_KGDB_KDB=3Dy > CONFIG_DEBUG_MEMORY_INIT=3Dy > +# CONFIG_RCU_TRACE is not set > CONFIG_FUNCTION_PROFILER=3Dy > CONFIG_STACK_TRACER=3Dy > CONFIG_SCHED_TRACER=3Dy > > -- > 2.43.0 > >