Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4136065pxb; Mon, 27 Sep 2021 10:07:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvwrj5aaL4k2Y4nrnbo42jYQCD60Gq4On+cS2Uh1Ab1pBhtjGoxTs8TqKxvPQB/IWmRaJs X-Received: by 2002:a17:902:be0f:b0:13a:19b6:6870 with SMTP id r15-20020a170902be0f00b0013a19b66870mr836231pls.64.1632762436049; Mon, 27 Sep 2021 10:07:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632762436; cv=none; d=google.com; s=arc-20160816; b=qtGeenAunyg9KvqQBQPFkNpabbzbioSY6jW7GX1xMtM9rvCivDTuiTJvvnqjfAxqF8 NSLb512O9/StuLAIOT1emA1kgo6yEC0cIhQuWTFpvO74IczwonrYtnquXxUTDY16BkRU M7bWW9SBDUQcmCpOFIaZDLfA0BUDt2nqZY75msmjjfoXFTCzkIRyGt0kCpceN4mmar9m 0vdczgY3OIsJaP0VZHY4ntvcA5t5ffoKY+jqqzhjgeLQBxozJsJ/4w6f1HxFh3AdrkQX 4y7qfly8Dgk+M+qv2g4KFH05BZf6Ofhehtxr7B6ZCmXGHhvpCE+XrQ/2oGZRPU5q5XgO /eVg== 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=ReGcBoyxCOxex/p7CqfjX3m/Ukqa/2zmjUky7SddGaM=; b=n//s+6o+/IZtKEgor/dU5hHBrLxiS95SQMFzPGwmFfT49N16Vru3yg7u1Mu53XsMDN hKSBdiww1j1YpABagsonzfxRj3fhxwgBa0YU43OsWAX/sr52Dbew8sn0QV7+ckbn9Vy/ AJTGT72lkFM2kEB8HmqT8fHfMfX9ErWxBpMb/Jz9G9MijOYTof/myJwbokWngw8hTbUg +kbxyKD4ZjMRIlHJrTcUjOzU9hoJ8CLFVaJidztIv6hU6/RiGi9s5b1VvT4PeZGCmb0z vzt9WdPUgaIQXd8semqTDZQ3sszfkTSwXPlu/Lc9Dve69e03zzUfra0sMXDcM44Hz8Xl 6lSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uP7thwht; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o10si22731742pgu.633.2021.09.27.10.07.03; Mon, 27 Sep 2021 10:07:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uP7thwht; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235890AbhI0RHd (ORCPT + 99 others); Mon, 27 Sep 2021 13:07:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:46362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235924AbhI0RGr (ORCPT ); Mon, 27 Sep 2021 13:06:47 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BAFBB61074; Mon, 27 Sep 2021 17:05:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632762309; bh=U30YJd7BTgpQPcWwUafMYEhktGwd7LpVWgvoTRGvjkM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uP7thwhtyKReK+hnIOTDE15MvxwO6ck05HSM1MWu2gxS/yPMdPfo8xxvtqRvjN7SS mR41ctJpkN/PTpgsHMeH8Ki2+ENd9Bt5GeemjspfZJ9MqIJjAUvqCmekSrmF52vDvU dvH4UHjuAS4+aTmzezX1en7NKczwku1HUSJUW5FE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , kernel test robot , Miodrag Dinic , Geert Uytterhoeven , Bartosz Golaszewski , Thomas Gleixner , Marc Zyngier , Goran Ferenc , Aleksandar Markovic , Sasha Levin Subject: [PATCH 5.4 42/68] irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build Date: Mon, 27 Sep 2021 19:02:38 +0200 Message-Id: <20210927170221.419004878@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210927170219.901812470@linuxfoundation.org> References: <20210927170219.901812470@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit 969ac78db78c723a24e9410666b457cc1b0cb3c3 ] irq-goldfish-pic uses GENERIC_IRQ_CHIP interfaces so select that symbol to fix build errors. Fixes these build errors: mips-linux-ld: drivers/irqchip/irq-goldfish-pic.o: in function `goldfish_pic_of_init': irq-goldfish-pic.c:(.init.text+0xc0): undefined reference to `irq_alloc_generic_chip' mips-linux-ld: irq-goldfish-pic.c:(.init.text+0xf4): undefined reference to `irq_gc_unmask_enable_reg' mips-linux-ld: irq-goldfish-pic.c:(.init.text+0xf8): undefined reference to `irq_gc_unmask_enable_reg' mips-linux-ld: irq-goldfish-pic.c:(.init.text+0x100): undefined reference to `irq_gc_mask_disable_reg' mips-linux-ld: irq-goldfish-pic.c:(.init.text+0x104): undefined reference to `irq_gc_mask_disable_reg' mips-linux-ld: irq-goldfish-pic.c:(.init.text+0x11c): undefined reference to `irq_setup_generic_chip' mips-linux-ld: irq-goldfish-pic.c:(.init.text+0x168): undefined reference to `irq_remove_generic_chip' Fixes: 4235ff50cf98 ("irqchip/irq-goldfish-pic: Add Goldfish PIC driver") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Miodrag Dinic Cc: Geert Uytterhoeven Cc: Bartosz Golaszewski Cc: Thomas Gleixner Cc: Marc Zyngier Cc: Goran Ferenc Cc: Aleksandar Markovic Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20210905162519.21507-1-rdunlap@infradead.org Signed-off-by: Sasha Levin --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 97f9c001d8ff..20f44ef9c4c9 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -415,6 +415,7 @@ config MESON_IRQ_GPIO config GOLDFISH_PIC bool "Goldfish programmable interrupt controller" depends on MIPS && (GOLDFISH || COMPILE_TEST) + select GENERIC_IRQ_CHIP select IRQ_DOMAIN help Say yes here to enable Goldfish interrupt controller driver used -- 2.33.0