From patchwork Mon Jan 8 11:00:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13513264 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 6314DC3DA6E for ; Mon, 8 Jan 2024 11:01:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=vGB0ZshnQkC2SPwz/UciGakNPRIkwYCP/KWxVkFA0lg=; b=spKzQj3OlbOtUP uPGkonqDpwfTr8Sx6nRHF7J27QnlIbwUf1bFg+f9bpJ4kHreZ+kzCzfEwkghM0uvLOAFgwNlkcPGX kC0Lgz7DkPI71FO59cCcbZRC4BtOUx2t+JhOuZaLbKVir7PPiftEPE4dSXWqLzS8PEEMoaFY8hZXj ZJ1xHEsMFBQC3u01OjkLlgdTw1E6xuR9aH1SHcDWbfjHlJ0BCdcyHarm407HgIWUH31FmX9+sLygs 0p7Dd88pU4YnbWgKOP+5bmBoANfJf/6Qnxy7KwMp8LQRovMaGbqcBhLBdQkrjrAzxOulq85/5Aomj 3DBKLMPsazAb5CpuH40A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rMnNS-004fW6-0e; Mon, 08 Jan 2024 11:01:06 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rMnNQ-004fVZ-0C for linux-arm-kernel@lists.infradead.org; Mon, 08 Jan 2024 11:01:05 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 0646060EDC; Mon, 8 Jan 2024 11:01:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38684C433C8; Mon, 8 Jan 2024 11:01:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704711662; bh=XdZBpta2RKAreU6xhq4nrkVq0nZqPyvWZ2OtajFyBkM=; h=From:List-Id:To:Cc:Subject:Date:From; b=Pm4pDsflDMA7uIvbHW9k8GGsnojRyox6hLOyU6w5ZkId/JY+nfNulQJ0A/RdwNnjw 6IzbJaAQcthO7vXCtfuw0cNDJepslwkdl98UAu0/GOsyeYtjqs/+fnRAwQ7R4XEGHx 9smYMmRnMRSBFiTAEcloXbmdPjy5yxD9xGissIGieOnnSANAbRu44XjG2HY54ScQdO 4Zfj+9NEiGH39+rtF8NMzhNYmc+rASxtiwe+IDw5HT87u9TEvX6slFLQQq0JUbAilM HGxxq337RQRG+Ia10hLsor9cnq7JJsOK1mB01st9SL+8/PoAPbFC03Euc67htsF/yq Mxaw4gjgmqEJQ== From: Arnd Bergmann To: soc@kernel.org, Bartosz Golaszewski Cc: Arnd Bergmann , Sekhar Nori , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: davinci: always select CONFIG_CPU_ARM926T Date: Mon, 8 Jan 2024 12:00:36 +0100 Message-Id: <20240108110055.1531153-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240108_030104_165569_0C7A0924 X-CRM114-Status: GOOD ( 10.63 ) 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 From: Arnd Bergmann The select was lost by accident during the multiplatform conversion. Any davinci-only arm-linux-gnueabi-ld: arch/arm/mach-davinci/sleep.o: in function `CACHE_FLUSH': (.text+0x168): undefined reference to `arm926_flush_kern_cache_all' Fixes: f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5") Signed-off-by: Arnd Bergmann Acked-by: Bartosz Golaszewski --- I ran into this today for the first time after five years of randconfig testing with the bug in place, so it is clearly very hard to hit. It's an obvious fix, so I'm applying it to the soc/arm branch directly for this week's pull requests. arch/arm/mach-davinci/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index 1c8bf56982e5..2a8a9fe46586 100644 --- a/arch/arm/mach-davinci/Kconfig +++ b/arch/arm/mach-davinci/Kconfig @@ -4,6 +4,7 @@ menuconfig ARCH_DAVINCI bool "TI DaVinci" depends on ARCH_MULTI_V5 depends on CPU_LITTLE_ENDIAN + select CPU_ARM926T select DAVINCI_TIMER select ZONE_DMA select PM_GENERIC_DOMAINS if PM