Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5964368pxb; Mon, 14 Feb 2022 11:51:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFY+wpKcJij6H/lNgniJ1s0tRYwZgTgjCvmBrVmDY5owIoLmuv6Ptcg+i7UMcV8nHftL0q X-Received: by 2002:a17:902:c40f:: with SMTP id k15mr407031plk.30.1644868260465; Mon, 14 Feb 2022 11:51:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644868260; cv=none; d=google.com; s=arc-20160816; b=Cec6ZLyqvVu0up2jaWq+RKBfuAoFmdV026d8e2y/0cDtlhJGkOWrxlsT/wt5cOiwTx a9a3yBa2Boy2mT3qtZsH2Hya5p1+e6YYKaOqWM/39BbyO8/R0N/nZv6wrc4UKbge2sen XlfyVckPUCtF6R2aumGctbIKwTdj1GMLMQ2S0G9a4P1zwf6en9B3BgUH1T/7U4Wo2EUY UqXBivEmbbHKrU/63AcGbtrYlhP3JYZHijAhlkfxKW36Rotk1B/LJRgq+QkEUkermF6R BYMZKYygd0R2dYAK3XXuu8BU47/6s5xx7iu7Axsea5A7BEv9lDcPqz1SUNCUsRAJNipu zd0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=iEfVWIwkzaa2GVOhqUskh+E2/O7icCD1dKDc02YoHb0=; b=WoQsI4S2Vuyhycdp9fFJRFE938DuuH0+852szLqXZkR27YUrTy9Ey+Gh3JJM6Ea6cO oh/qQFppYPjZtohGwnSKmgoOjE1/6YeLzDQkuIRURVciMnOXE9jxn6OzUTkjIT286ah0 tAm0Gc/e3qEhBWi2V2g5LiIDijKYPNKTj/K8pthIhkOnXOhtYUf9hdEnAewmtfaNgMzZ 8FmF8CAKnEx3B0Db6VONQQARXAgSuNkVOOzhYpuDqFilioFxKSZI3GpDyIryetgBINUm G0bmD5vcJNnR3iBEYsbOPsD0HFSSjwzdls1221a98FkIkQmkcyO794XReyqcfd8Isa/r POvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Vx2k/9IS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 126si486871pga.866.2022.02.14.11.50.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 11:51:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Vx2k/9IS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 41E7512757A; Mon, 14 Feb 2022 11:34:06 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245482AbiBNJtt (ORCPT + 99 others); Mon, 14 Feb 2022 04:49:49 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344451AbiBNJrA (ORCPT ); Mon, 14 Feb 2022 04:47:00 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2FB17486A; Mon, 14 Feb 2022 01:40:36 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4F644B80DCE; Mon, 14 Feb 2022 09:40:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D2FDC340E9; Mon, 14 Feb 2022 09:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1644831631; bh=Erxzj6kcEZCNmyo/srhtw5hbaKN08mL/l5tMojFNSy4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vx2k/9ISHN3KXa76oOPe7uZYLtxKiOEHSo5RXhSAtZ4G2Ka4EtgY/ehyjnyL25UK6 h0vnRe2A+Aqj3+EhHRXiHJ2k4OElDGoiHUH0QCeS3HVIKmqq5mGCpxAHRpvWd2vzRE xHLTjkjpb7E0ok1L+ZVqUGU6Edoae79cuuXSpUvA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Krzysztof Kozlowski , Dinh Nguyen Subject: [PATCH 5.10 045/116] ARM: socfpga: fix missing RESET_CONTROLLER Date: Mon, 14 Feb 2022 10:25:44 +0100 Message-Id: <20220214092500.251879929@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220214092458.668376521@linuxfoundation.org> References: <20220214092458.668376521@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Krzysztof Kozlowski commit 3037b174b1876aae6b2d1a27a878c681c78ccadc upstream. The SocFPGA machine since commit b3ca9888f35f ("reset: socfpga: add an early reset driver for SoCFPGA") uses reset controller, so it should select RESET_CONTROLLER explicitly. Selecting ARCH_HAS_RESET_CONTROLLER is not enough because it affects only default choice still allowing a non-buildable configuration: /usr/bin/arm-linux-gnueabi-ld: arch/arm/mach-socfpga/socfpga.o: in function `socfpga_init_irq': arch/arm/mach-socfpga/socfpga.c:56: undefined reference to `socfpga_reset_init' Reported-by: kernel test robot Cc: Fixes: b3ca9888f35f ("reset: socfpga: add an early reset driver for SoCFPGA") Signed-off-by: Krzysztof Kozlowski Signed-off-by: Dinh Nguyen Signed-off-by: Greg Kroah-Hartman --- arch/arm/mach-socfpga/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm/mach-socfpga/Kconfig +++ b/arch/arm/mach-socfpga/Kconfig @@ -2,6 +2,7 @@ menuconfig ARCH_SOCFPGA bool "Altera SOCFPGA family" depends on ARCH_MULTI_V7 + select ARCH_HAS_RESET_CONTROLLER select ARCH_SUPPORTS_BIG_ENDIAN select ARM_AMBA select ARM_GIC @@ -18,6 +19,7 @@ menuconfig ARCH_SOCFPGA select PL310_ERRATA_727915 select PL310_ERRATA_753970 if PL310 select PL310_ERRATA_769419 + select RESET_CONTROLLER if ARCH_SOCFPGA config SOCFPGA_SUSPEND