Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1558086rdb; Mon, 8 Jan 2024 03:14:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IGgqJjQl+qGuGP5Ebosfbm4nO1v4vuCvxwsLwljKv56VyxTDN41Huj+WIPcSVwUoVdwC2h5 X-Received: by 2002:a17:902:740b:b0:1d3:dfee:ef5a with SMTP id g11-20020a170902740b00b001d3dfeeef5amr1026631pll.78.1704712447123; Mon, 08 Jan 2024 03:14:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704712447; cv=none; d=google.com; s=arc-20160816; b=bKLqR2bZQvoI6m2wXCXwIaO0D6MM19ngxR7O4AKNE1HMVa4Pstz+17XIXttsI++FbJ p6yo3rSrYuGtbRj7WbDCwGpZioxycc46Kp4DnXi4quUjtVj81VwHMR4E0OF9j2Y2zlsg 2xEcXgjYzwuTTVjl9Mx2Nmjj6M0hHDd++YuSpLdPlCVR8cac6GiBdrlXnOMikb49B/aS jQ/L9wyanTtFzLJFMEE+MrvVva69Ag4FyuoS0XK5JekAaDLdKDQg01I/i13vAEZ5ZI4I zNf0afSht17D6k51nIvaANZJyZQtnRwTKjIjgdSJQFo7wrgheGMOUuTphy14DfrEqVvy gigQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=PMmNHA5ZM5uagnRv+Z2EBfHRX06UJnwNICsOfprVTxU=; fh=CY5UV1HhsE+KQMCTfOaJR/RWL46+koVYzyoytSY5Tac=; b=jzs0VYhLaVxM9G3UX0lbkC6KiKeay1eBN1DZRpXe+NuiPaQMk17VQl5ruI3YiTwdVu KqFwtAnCr9zTnBDXL+P1I9uXpsXxxMe9P5UG5vrlOM2fpnLRo1H11wipi3twUKmlpjOg mrIxWCX8FqbeMocXkUo8udbg2u+T5DkWo1VhrrfpaZ6JbUAmOzQ+uJR7d9Ap3+neA0uC egk+I1wQRwGmPwi24vK5IDrC5y4LrVqvsP1e6QeDw9arMJhKK9ak24Gg0O6cqqsNh2le iqwrmQ7G/GBHD+9Fwt+km8K1BpRsvRDYImXVobRECXH5cS91k9s/rFVuWLOCNjEeix9k /66A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=Oeb0M4LI; spf=pass (google.com: domain of linux-kernel+bounces-19394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19394-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id v14-20020a170903238e00b001d51f6f87e6si2751808plh.342.2024.01.08.03.14.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 03:14:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=Oeb0M4LI; spf=pass (google.com: domain of linux-kernel+bounces-19394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19394-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C9A112830FF for ; Mon, 8 Jan 2024 11:14:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A2D014275; Mon, 8 Jan 2024 11:14:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="Oeb0M4LI" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com [209.85.217.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E77921426E for ; Mon, 8 Jan 2024 11:13:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-vs1-f51.google.com with SMTP id ada2fe7eead31-4678c4e51a5so340796137.0 for ; Mon, 08 Jan 2024 03:13:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1704712438; x=1705317238; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=PMmNHA5ZM5uagnRv+Z2EBfHRX06UJnwNICsOfprVTxU=; b=Oeb0M4LIgaUfMrkV4Z7TvDOMxhdzBRIEM7UUakXwVi3HEOHfNgNFDA4ey67VG9+xaK IadFcarAyiroLG7YOMXfp+JkLXWk1ypBa9O62fNwSJBV/2VdFv1EnkSZOainYwNMfKKO KzNw12FE9k+7xCZcY2mxtX68DcXoufooAdbtkRuGWiPZq3lY9H/5iMroxeHbLlp/2pG2 G4cNwutLvrXuFzeA3aXLaeSL34uUeC4GYFrZF3I01R81MaOjIUzEr5Z+CWV81bxBdwZ6 NVZCcO49JLIUIX6ov8a3u9h1b35R1+xjIT8oRCReBr0hPVSQMClKgdRTo4qbYy20Ivyx apUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704712438; x=1705317238; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PMmNHA5ZM5uagnRv+Z2EBfHRX06UJnwNICsOfprVTxU=; b=Bw/4DH1R9kElEV4Pdx5JGSHnE8pDKiiysV+b0xkgVNUmhKXMle38CRsFVys1hZHzFh dSY5EMuTC/EjCenhqdtFc2tHw60bVw9+p2yx4oLu2CiNurcKxYlbCfnhQFxtlU7ZnvPW nrXEi94J8WKX2B+OpAIoGDMFeBlg8yTRP6tLxTMgDughGRKh17sgvLMX7B0cegciNxuk ZRE7B67JR8VA/BRHw8ZOpkriCfgbKPZ2lxm2k1/xfXgud7bvshx0Ue62WbMTEHuYwDiZ YrrFSWZJqmRyZ2dAvm/aKc8Q1yxrm10hocOnPMHkyaycetx7GRncUgTbnHiHpmTk3ZVM byCA== X-Gm-Message-State: AOJu0YwqP6ajzQ2qHmwWtfISecZiTukzy6PovN0zKeGoQm+Cj/ppN9Rb vZMtw5v6y8+ii6gc/6E5nOADt2riZRheSMduSvKTAKtExnkWew== X-Received: by 2002:a05:6102:3d84:b0:467:c94e:3790 with SMTP id h4-20020a0561023d8400b00467c94e3790mr1154552vsv.20.1704712438691; Mon, 08 Jan 2024 03:13:58 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240108110055.1531153-1-arnd@kernel.org> In-Reply-To: <20240108110055.1531153-1-arnd@kernel.org> From: Bartosz Golaszewski Date: Mon, 8 Jan 2024 12:13:47 +0100 Message-ID: Subject: Re: [PATCH] ARM: davinci: always select CONFIG_CPU_ARM926T To: Arnd Bergmann Cc: soc@kernel.org, Arnd Bergmann , Sekhar Nori , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 8, 2024 at 12:01=E2=80=AFPM Arnd Bergmann wro= te: > > 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_F= LUSH': > (.text+0x168): undefined reference to `arm926_flush_kern_cache_all' > > Fixes: f962396ce292 ("ARM: davinci: support multiplatform build for ARM v= 5") > Signed-off-by: Arnd Bergmann > --- > I ran into this today for the first time after five years of randconfig t= esting > 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/Kconfi= g > 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 > -- > 2.39.2 > Acked-by: Bartosz Golaszewski