From patchwork Sun Jul 7 21:48:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 13726072 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 C83F9C38150 for ; Sun, 7 Jul 2024 21:49:36 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=PO7/2/tzLNB78+f9AErF4IDaniyiZvOKAl3APkubwQA=; b=ipuXD+CGnpDbj0BUi9332l4tUp LZX/wCcl5ojuxwIzOJ98AKs1pkWeSbRsQQeou6CdR/O1Hoe/JmoyqcO92B7Re6IlmWjnpG8Wjahl7 9ZpFhDpYCTqt9Hxt25y5MaJ1vqF7JNZzizTfiZTQShsGjKhi+EgCQoE6wXpa3j1/erEiKwrQTB3iy 1clzd9lIkEjiD8FQhlA4a+o6qtTk2u6gNCTUhOg7bXm8gQtkqM3DA1Jd48U2eNhReB18CdNfLF4hw 9NETpYPSIHaqon8nLmtW+Qw+vS1TqK5NCLCPNmAs5WX2m9omKL6LPh3QMhXeyaF5ltviuPGxVbhof 1vJTscqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQZl7-00000002JYx-3X0N; Sun, 07 Jul 2024 21:49:25 +0000 Received: from mout.gmx.net ([212.227.15.19]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQZkg-00000002JS8-3gAr; Sun, 07 Jul 2024 21:49:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1720388934; x=1720993734; i=j.neuschaefer@gmx.net; bh=PO7/2/tzLNB78+f9AErF4IDaniyiZvOKAl3APkubwQA=; h=X-UI-Sender-Class:From:Date:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc: cc:content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=sjhaLm+QmlLvtTbho0+zVKq0SJ3T8H/FXpcSrIBTexcxlZAnG4HDX8CjHDj6VGLn OTj8BABFu2AjPqHtJhX5QCDPHGmyybXAIk1LdiIR0xMlsx2cLGwbJnfIYMqkSLcVx rjNruEUVlwlvzPqK99jK/Xl/Q/5H7aw45Dt9OIhHzkeuqbQcX6eOpYJUZp/PdiB7n hIfMrUuX9Q8CqO6f8F5PvJrf6BMM92Lc87JH6CuYI56TClDNXPCGH+/6n0WCOWfqP AjJTYw8x7M395HW3DYiJtqe3IVnmctG7h2hyE1xLMp2nDpXkzTalcdKKO4aODgQIT /fs6cLP1YBEAPrmuNw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([89.0.46.161]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MNbkv-1sjcyc3XnH-00QkON; Sun, 07 Jul 2024 23:48:54 +0200 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= Date: Sun, 07 Jul 2024 23:48:44 +0200 Subject: [PATCH 1/2] ARM: Refresh bcm2835_defconfig MIME-Version: 1.0 Message-Id: <20240707-raspi-config-v1-1-3e122f2122e9@gmx.net> References: <20240707-raspi-config-v1-0-3e122f2122e9@gmx.net> In-Reply-To: <20240707-raspi-config-v1-0-3e122f2122e9@gmx.net> To: 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, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1720388929; l=1746; i=j.neuschaefer@gmx.net; s=20240329; h=from:subject:message-id; bh=gG5aeJ1NV5YQ25Ok5T862TRdfJDv4oCr3nhRsaJBQ1E=; b=3P4mgQzdEOBeVnDDKqHUQLNbK0XOh800UTz2M7sPM87kztu4sZ+g8oWu3VHjNpgSODd/2mwcr oL0vvjT2vRzBDq8bw4hAh79ZzPSOaUYRwQY6gb7/Ma5e+fjzwg+9y3f X-Developer-Key: i=j.neuschaefer@gmx.net; a=ed25519; pk=NIe0bK42wNaX/C4bi6ezm7NJK0IQE+8MKBm7igFMIS4= X-Provags-ID: V03:K1:YaKCBD4hZvns7M7BoXE1wDC1zgv/VHJqNOAlnPLIuxeZ69oDyHC DdL1Fh1zLi6G+GgwwF6pxlhf2kvkLXeC0/WfaY3NqBNHj30P2/9iY7HnYUW6PislWa8H+X6 nRTcp3a+OQ9ZD2gcP3kex4efAeVQmcImf2TVAWgXaSneR3G2Fn9eaIMfHPyOORMk+ldqyjy LoIH7yAyWcAQZ6MxM6Oqw== UI-OutboundReport: notjunk:1;M01:P0:+YaD78GVmuA=;YoOaUWJz9Ctn1PGHi6Fv6+uEVYH HSK3FNquGeZItvN9tMWKzoKwm0FGWQGAURd0vrvbIxRClb1ZsLKW5P0JSOnTXiup0qCPTrJmf J0iaCvYo4v+DPkcFC4OcVc4dw6+kEIvrdHixFfAF7kQfeb6CPNBAiSOXZI561ZzGJfAdHpNmS ZPLXS5UsSN4IwAGdj1CTIEZjdYucB/IIDwW4milBuVB+4lIPP7jCAwUqxoRoHPBb7S0BjEe19 pBy8IOD67WWQXOFStLUASvVqSDnYz1o1pOALJRABj1Lg+d/hddG+qVXl20d6fkklpH0y2+SE0 QoW2fwRUZR3msA9pQzoiJz7IzUN33bIWmoIxfZ68CWLSDHxI7TN3ftvrsuH9yoEnUL8vQk/3t cwdJRq7uMJpDdNsiT5ilwd8QC2CACvATxSfPIuGZi9GjHrhI5JjVs4xL+d4RiL7Gjvt25M6sx 6hBAotq/NrUYuJtoccig0GkStbeaYD00TsFXfcWJ0uyT540PhWeAOiAwngEX6yXDrcjbgIpez F7hGiF0itlMJyYvd2HupC8Qj0IG9z5+6vkaQESm0oAiSYpLvJbOooqT9Orcfugnfc7Q8XIlUi fXHc/xLiUzXXQqpORHiNoioB0/fhAuRSIv9anp5iq0r6Fvzx2gd2o14+KyYolaLT2eAwe1FHw mWNy+xGTTM2XzOQ6/oOKzplWtDmuMngzF0ZHoAKxlcJWiPXyAnpTlqTFw2tR0s2MTjd20K7zs BxVEMZciR5aCwKB8Zqftud5MLp7sJRT8RYnHxC8hMYdLKbmEYZxGPMPv+C2Lb60Q/VGtMKa0a s2gUFS0+XW3POEBbptyNqB0aqv2LiZ5Q8HqgocOZlRECY= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240707_144859_465938_09CDFBDE X-CRM114-Status: UNSURE ( 7.08 ) X-CRM114-Notice: Please train this message. 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 Regenerate bcm2835_defconfig with "make savedefconfig" in order to pick up Kconfig changes that happened since the last refresh. Signed-off-by: Jonathan Neuschäfer --- arch/arm/configs/bcm2835_defconfig | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) -- 2.43.0 diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig index b5f0bd8dd53699..da49dcfd359050 100644 --- a/arch/arm/configs/bcm2835_defconfig +++ b/arch/arm/configs/bcm2835_defconfig @@ -9,7 +9,6 @@ CONFIG_LOG_BUF_SHIFT=18 CONFIG_CFS_BANDWIDTH=y CONFIG_RT_GROUP_SCHED=y CONFIG_CGROUP_FREEZER=y -CONFIG_CPUSETS=y CONFIG_CGROUP_DEVICE=y CONFIG_CGROUP_CPUACCT=y CONFIG_CGROUP_PERF=y @@ -21,14 +20,10 @@ CONFIG_CC_OPTIMIZE_FOR_SIZE=y CONFIG_EXPERT=y CONFIG_KALLSYMS_ALL=y CONFIG_PROFILING=y -CONFIG_CC_STACKPROTECTOR_REGULAR=y -CONFIG_CRASH_DUMP=y +CONFIG_KEXEC=y CONFIG_ARCH_MULTI_V6=y CONFIG_ARCH_BCM=y CONFIG_ARCH_BCM2835=y -CONFIG_AEABI=y -CONFIG_SECCOMP=y -CONFIG_KEXEC=y CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y @@ -103,13 +98,11 @@ CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_REGULATOR_GPIO=y CONFIG_MEDIA_SUPPORT=y -CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_DRM=y CONFIG_DRM_V3D=y CONFIG_DRM_VC4=y CONFIG_DRM_SIMPLEDRM=y CONFIG_FB=y -CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_SOUND=y CONFIG_SND=y CONFIG_SND_SOC=y @@ -178,8 +171,6 @@ CONFIG_PRINTK_TIME=y CONFIG_BOOT_PRINTK_DELAY=y CONFIG_DYNAMIC_DEBUG=y CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y -# CONFIG_ENABLE_MUST_CHECK is not set -CONFIG_LOCKUP_DETECTOR=y CONFIG_DEBUG_FS=y CONFIG_KGDB=y CONFIG_KGDB_KDB=y From patchwork Sun Jul 7 21:48:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=2E_Neusch=C3=A4fer?= X-Patchwork-Id: 13726073 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 3A701C38150 for ; Sun, 7 Jul 2024 21:49:48 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KhneZf6qQ4oQ7PsyNOV6bd9KOfaDfiA441VDHf9pd2c=; b=oM+OqNp6g4PjCzCvIVW4K8PA4a wVEHhYLds66jKGJfMGsnxKXoufG+GKcCvnwfDF6TAa1FQRb+2UL2IJ6zNApWVYynGQBqEaM2o9qRE Mzjex64NT8FbLdfaE0SrOzahS+AEJk0tpgK9MPhMv8T3gBU7lwBm1qOY2cWXPO2+jPlJaWcCe4VSe Ki+zkIt5pyqqAxmQkZuXsZg3vkkJ0xrNkUoA98aEhWk4dYjnoh5Eql0rXJmLxhYc70XVlmk5h5WE4 kgBiPdlRKwNxpOYEtvfQ9QezLEmzgvwmK8UrrqGEbZxZnxNeWawg/p7yxdraHr7cJVtoN+QZhp+rC zHi0+a8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQZlL-00000002Jhn-4740; Sun, 07 Jul 2024 21:49:39 +0000 Received: from mout.gmx.net ([212.227.15.15]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQZkh-00000002JS9-1oPH; Sun, 07 Jul 2024 21:49:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1720388934; x=1720993734; i=j.neuschaefer@gmx.net; bh=KhneZf6qQ4oQ7PsyNOV6bd9KOfaDfiA441VDHf9pd2c=; h=X-UI-Sender-Class:From:Date:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc: cc:content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=CfFoDAPLW+z3N4fiwjZEO2AfN9PHbGOT+NJffWU97QGHhyFLkDSAXLxcRphzAlVc VgVvgkguKF78/42+p4PhJMrmb2fPGa3qin6zh81rqpvwsFHjE0OJvjMgB5elbXXxq xH9h15a6RWVYK6mmv6g7PWDBHErYDVTPP1Y8qCZuVP1mo8Mk7S+eG0GSnHohxLMKz epPSNvR9cQN2WhQ6wq1VOKbNQ20v/bJ8nLFWDygWMS/xs3yiXG2OF/4+dOAKt4dUo 3vB9eLkJdZfwszLG7LY7nxZ1YXzAMbTjmQMIompX02N23eYqp2HK/u8WNc7VRCWt7 3uLswrtceOnmlblXbA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([89.0.46.161]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M8ygO-1sVXZA1xoM-004cWF; Sun, 07 Jul 2024 23:48:54 +0200 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= Date: Sun, 07 Jul 2024 23:48:45 +0200 Subject: [PATCH 2/2] ARM: bcm2835_defconfig: Enable SMP support MIME-Version: 1.0 Message-Id: <20240707-raspi-config-v1-2-3e122f2122e9@gmx.net> References: <20240707-raspi-config-v1-0-3e122f2122e9@gmx.net> In-Reply-To: <20240707-raspi-config-v1-0-3e122f2122e9@gmx.net> To: 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, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1720388929; l=1498; i=j.neuschaefer@gmx.net; s=20240329; h=from:subject:message-id; bh=5/vPRCIWXNT75L/hwAqvbmyQXKrbHJyQ0YQwH3Uoo7g=; b=4KsWSY1DAsSUz9OUrN3L1JVzB2NbqjMGWetKfNX/vaQCI0ZxohEwIdaT2usz9RHJ9Yc2wr0S2 Ur4FmtixGulDflKKv01IHXO/hw3iS+O0bkHFtONMm673bmS5Uj6FMmA X-Developer-Key: i=j.neuschaefer@gmx.net; a=ed25519; pk=NIe0bK42wNaX/C4bi6ezm7NJK0IQE+8MKBm7igFMIS4= X-Provags-ID: V03:K1:IUvmgMn/x+KVAKU8eN1NPMZIjqkXdESwg2H1qWT3TagatsLn1ha nlcfXW7pwhRnLmb5wkuYylQF53lWyq/3mt+fOo80wtR4fmDdon7qTBoBx26j3XcdQvOhdfw WqhwZobi7VAD0KXJf1bY0s6TjWz4zEnl2qEalpT6nvLG1DaAOAOL8AG9JCxRhaWDML/Leq/ Na9rTrPWlP+sfOIs9bHOA== UI-OutboundReport: notjunk:1;M01:P0://NCBbJFXEE=;OAhoyy0JZjkhO178SNg+Bq9Q+AP SOXOhfdVwsVUJkbBtCmJTO1IPwXMhzFHuU2C9tYIItpbD7F0M814q2G339FXADz+GPxRxNZbZ OnMHq4NW0RzZdiRrkn4kcqG5YvCU0GCIMWwtfSKPgXcwsOfMXOZxdqe7nhgXPoKmRJkwLT6qp vBpNoyh1GQzqxLvQd7cIlJILyymteYfi0gVtWUscvpEFt+Pzdj3inKcRn2I8R/EyvAQoYg4yN yJDjmg3F+T5D0loyzog+DcAyR/giZVMJU/QIeXQPt9MTPLAVjKCqgqwXdm08vDcgmm7fqrDhE S7qeITkDOTNe1kjbZKs4XexGJ6OBBoJe9wopq6cwlp8Qtxgrz9CyODiFkozpiSF2LGR+1sZx8 urPTQHrRjz+3Cz6THW2cgvbKGsRI7kr90zaz88C31jxJvFdUGRPZ8IrHCsFDuFYphqfUiNVZx HmnBBksFXXjBCV1JpUB255kqYmFL8vu4Z1S0XpYzctYQTVszvp3YSw96OwVBMOgFH4oA08Elc 8LMmB5PEsLxOfy4dv50Seaew7t35Ztj72/2TnhjtOnsXPKOE0HPIik9C7xHzKnv718MXjSzWi PpTSXbRu3/s+dLflCEX//UT1WOofMiahrVodbAtYBbijc8Sct+7tUaFQskXhxJxWedVfKPM8z Xciyqa6cggEGLVuPniC4Ul31k8Fou99UuW4+4+UqBoxOSlUz2EyfPVlv0nc8nJhR3WsbEkXjo 2rz1ZsFTY8leJiIfyJ/kwyY28+VoT4ojC2htusS9+4rJjN/aqSQ9ikQtxZ3bIRrZV/iJIQ3ua cRlNMN87VgKO6WFk/2sco2hk+aUL7QHlFIZfamD/jsXNQ= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240707_144859_778801_56926BB4 X-CRM114-Status: GOOD ( 10.96 ) 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 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. 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. Tested on: - Raspberry Pi 2 Model B V1.1 (BCM2836, SMP) - Raspberry Pi Model B (BCM2835, UP) Signed-off-by: Jonathan Neuschäfer --- arch/arm/configs/bcm2835_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.43.0 diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig index da49dcfd359050..d505058715b66f 100644 --- a/arch/arm/configs/bcm2835_defconfig +++ b/arch/arm/configs/bcm2835_defconfig @@ -24,6 +24,7 @@ CONFIG_KEXEC=y CONFIG_ARCH_MULTI_V6=y CONFIG_ARCH_BCM=y CONFIG_ARCH_BCM2835=y +CONFIG_SMP=y CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y @@ -33,8 +34,6 @@ CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPUFREQ_DT=y CONFIG_ARM_RASPBERRYPI_CPUFREQ=y CONFIG_VFP=y -# CONFIG_SUSPEND is not set -CONFIG_PM=y CONFIG_JUMP_LABEL=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y @@ -175,6 +174,7 @@ CONFIG_DEBUG_FS=y CONFIG_KGDB=y CONFIG_KGDB_KDB=y CONFIG_DEBUG_MEMORY_INIT=y +# CONFIG_RCU_TRACE is not set CONFIG_FUNCTION_PROFILER=y CONFIG_STACK_TRACER=y CONFIG_SCHED_TRACER=y