Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1652653pxb; Wed, 9 Feb 2022 01:15:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwhPYQn2nuKS0Gabn9FLU3Dsryox2B8j7brvF5AA/8Nm0Ij5dB6qdK5pxKBOTdnYfnDb+6H X-Received: by 2002:a17:903:2291:: with SMTP id b17mr1238874plh.83.1644398150148; Wed, 09 Feb 2022 01:15:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644398150; cv=none; d=google.com; s=arc-20160816; b=mlHpnlryifRdqDkVj0007s5RJMJoSO0V0iAslDOugNGrNxj/KnbVlnQa5PuoZK7W4N 83RQkDqwurz5bq67hI3DR7WgBIiKkbu3k1isGsF80ht7CTVDi9Q99hTedGDiQwZgj2Kf VfH29efgwPAegK6fr4yTgjm0Ja3JA1mBGHTVYjt4jxwtuqnuxNEURipa6Y1bhGvI6c8I Cl9v7cp99lwzNxvy7ffdEbH3KXpwtyJp2uEwaMZSn++tE2oWswJt3EHqNfwd8is6CXRW kZ+6nySCLNh4TzUOYf72rgSGdUJqNsuIEBzMy0iCZlfJ9ZzmauobLYHE9b8GaznXjPu4 6txg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=TJNZ+zUd3S8HoAhxtcYJss8tid7CleqrdrazIaaybsg=; b=pFlim5SKobTbOSRD6wlDk07f9ZVAR5K6QjdPjeKeFms8Qsnp3agmjhKYboSmbMQw9f +5rdBQ+gkNDGh7lbz7BPQlbs/PL8eJ5++Z++EiQIs1MZkaMO4LQHGuYKqFSLFZt7lint UvHTOhTQPxMPTGZHRNVFXsxGs9766GowjQ2tbYYZVWuq4yzR9I6irh/ymkyjVeHa0duB Ed4n3lUP8TJSNcPCznnArRhbcKJWEN54wVU1WKOJJcuwr3k+HDhvJuR2/919mcAZ0Kbo G9vbXpkoJsIL0uidxVAflLGvHTo6OuqhMjxk7rLlBk/vQNzkwoXV9jxY5bLMbdh1WRhD XoYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=qSuLgpv8; 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=canonical.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id d16si14047905pls.77.2022.02.09.01.15.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 01:15:50 -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=@canonical.com header.s=20210705 header.b=qSuLgpv8; 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=canonical.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F22F1E030183; Wed, 9 Feb 2022 00:54:31 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243626AbiBGIx4 (ORCPT + 99 others); Mon, 7 Feb 2022 03:53:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243194AbiBGIoS (ORCPT ); Mon, 7 Feb 2022 03:44:18 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A7A8C043185 for ; Mon, 7 Feb 2022 00:44:16 -0800 (PST) Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 8C8BA3FE4B for ; Mon, 7 Feb 2022 08:44:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644223450; bh=TJNZ+zUd3S8HoAhxtcYJss8tid7CleqrdrazIaaybsg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=qSuLgpv8gWA6Pd15Dy2HxaWHHIU2G+tsKgPWNHeAcWbdIsrcmAm2ZeavNwp2ea4KH wJDsb0nMMwgg+YEc6BfwyxUa90PCe0ye26YINwX59uXUatrJqxJl1BmR4kWfG0LlzN 57g6AMqFeCWpk4sKCjX7qEPIFIXk1EsIPAY2qBjWLIkcDJOF7tuTWDCDUzZTAuiMsX 74VhOTF0CAf2F9tm8u7kdIUpk7bbkkmmkjbY8B+MgNfA+115rhj9KTv+WRikQZLnX3 Ert/g4mzfBXM08P+HrDviqAiEV9X12/eY1sCD0nUsZWSCKUMwq8/wBdYMzK5rE9Fsk EBdo6JvSUTxGg== Received: by mail-ej1-f72.google.com with SMTP id z26-20020a1709067e5a00b006cbe0628826so337934ejr.10 for ; Mon, 07 Feb 2022 00:44:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TJNZ+zUd3S8HoAhxtcYJss8tid7CleqrdrazIaaybsg=; b=UP6V3nxmUQzfxjaHDoZJQaAe0AaYvxw3jetnLXdrDUGBCMBLqAHK9+A0AsCRVMCyCm dsl+/lghp6bldkOv3Pbveld2O9l9j69h3En2i7nQ+UmddVMB4SkIitRATexN769CpohD RonCV7svg9xnmquwhmkyvexq66VXe/G2W4y4cmzhhBKshYOkFLG5KZCw9dN+wjrB2a1X pTJHL7Sf1Cmw8VfsTOgUJgNR/BVGIFssyjzykVDg32vFCrr0MM2hMLgmCJ2fQvZpB1R5 EEvn//GXyZY+Hr/c8eB81X7OKAgL3UjCT2XnS513Cx4Ay5m8xNa5HriYSwyyCNW0XdAM UdQw== X-Gm-Message-State: AOAM5311MFb5ZJyuxt3gj/TMjNM5N7ZHfqJUHhcyR0+FYIDsnajGPb7Y OvRHNyUKItSXezaHv9sjKbez7tTPjxUhW0RqbWaeK4tCFSMajyTjgO6X/afMWh18tDRBIkoM9VD twYuZGclEn+DYv1117sw2IH5qX9Hs0AmcHI+0CYXMYA== X-Received: by 2002:a17:907:1c9f:: with SMTP id nb31mr9276005ejc.24.1644223450274; Mon, 07 Feb 2022 00:44:10 -0800 (PST) X-Received: by 2002:a17:907:1c9f:: with SMTP id nb31mr9275993ejc.24.1644223450061; Mon, 07 Feb 2022 00:44:10 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id y11sm1636935edu.2.2022.02.07.00.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 00:44:09 -0800 (PST) From: Krzysztof Kozlowski To: Dinh Nguyen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Nathan Chancellor , Krzysztof Kozlowski , kernel test robot , stable@vger.kernel.org Subject: [PATCH] ARM: socfpga: fix missing RESET_CONTROLLER Date: Mon, 7 Feb 2022 09:44:04 +0100 Message-Id: <20220207084404.212017-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 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 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 --- arch/arm/mach-socfpga/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig index 43ddec677c0b..594edf9bbea4 100644 --- a/arch/arm/mach-socfpga/Kconfig +++ b/arch/arm/mach-socfpga/Kconfig @@ -2,6 +2,7 @@ menuconfig ARCH_INTEL_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_INTEL_SOCFPGA select PL310_ERRATA_727915 select PL310_ERRATA_753970 if PL310 select PL310_ERRATA_769419 + select RESET_CONTROLLER if ARCH_INTEL_SOCFPGA config SOCFPGA_SUSPEND -- 2.32.0