Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4143955pxb; Mon, 27 Sep 2021 10:16:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDdTbZvt/P/We4fPtG0K/qeCJpM/eotZ0c4T4r7HRtIJz2bq+HKkvTPFzWovhXhUO/h2pC X-Received: by 2002:a05:6a00:1989:b0:44b:3bb1:9361 with SMTP id d9-20020a056a00198900b0044b3bb19361mr975736pfl.67.1632762984546; Mon, 27 Sep 2021 10:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632762984; cv=none; d=google.com; s=arc-20160816; b=NgfsMWeKZPugIqGg2f6wsqr/KvWMXb3MpAXwpYgLdkmjchohhhsgp2so3Dub22XHcc Ww0Fu5U1hUdd/CcpvqzjttzTs7YGCydoPw2MpzOgSiudfkadzaBUil1XmFiMXJ6pKEu9 1aHfvQvFTzLKQIFMiRZydVGGIyznEhGZCBo/73bl5o7Bir9LLJMDXQGXma1TFxmtYCOE v2fSt7jyYk0Yj4IJapMZkrO9rhl83lBgPYCnAODdH4h8zhybGJm0o8GztrR/z1zxoRzS o/Tha9jhUAG3Z0NHMgYpYJ8mOVONS+ZB0RJXnK0x2hiSQetMDgaCxRN9kj0qcorXGeGo iEkw== 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=AwbfecU9O4UXijl+gyhb5WRWypkmCe42F9yqgo6mjnU=; b=TqPu6ia6mh43ZtHrTr8JEJXvNQoaBV95jHDZX2tu4vkeIHn+iQRckBnb1OXhxqBHQC BaeSQg2cmA22bjaiKHHpwHgnf1XNwRS/qKNMZt1SOI7jX+YWS6ZjJVztJMjXpVvMF7sx asFwczbOGn7qeLO0HmYOL7mreMnNl3wXDoeo7wIEvCtGBFUGkSbD3KdfYfg3JMwPkWic T2Wd2ARubjIsiI+PQC8zemW4DwUiCOz2EQjMclGX68rWXzxpL3vvjv8zXjfko3dGjj0v KjGuGRPAN5mIz16f7W7TOJeXHt0SBEy/nDLUQh8l5rZ0NjPOU0SfSAJnVZREI4/pTaLX HpZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=SwTGgW5q; 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 w132si28248544pff.278.2021.09.27.10.16.10; Mon, 27 Sep 2021 10:16:24 -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=SwTGgW5q; 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 S236826AbhI0RPe (ORCPT + 99 others); Mon, 27 Sep 2021 13:15:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:56098 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236855AbhI0RNT (ORCPT ); Mon, 27 Sep 2021 13:13:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D53126134F; Mon, 27 Sep 2021 17:09:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632762548; bh=fRcENB0qZP/ddppHwMiZuA+VToJM6TbrZ90ysDDTiMg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SwTGgW5qEhtROtzT5OojfcsDjt3LJkaA9qtJRB638o5qCmP4mlPjP3K4W1ko6laeh JI80ztKlJQhlCc5TSI7Xv8NMbrVA13PFD0RqI9BTTihjT2VFX3Y7R99fw0CuxerjvF UnV9OhW2+KLYqAgEbATgVXeAzpzhPlUQrsQughyQ= 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.10 066/103] irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build Date: Mon, 27 Sep 2021 19:02:38 +0200 Message-Id: <20210927170228.063773529@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210927170225.702078779@linuxfoundation.org> References: <20210927170225.702078779@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 6156a065681b..dc062e8c2caf 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -425,6 +425,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