Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3922954pxb; Mon, 4 Oct 2021 12:44:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQHFTglTAegoNeP/nPx0MLgeAabfk8xbmjkANTa1vgp3Kn0ZmXPLa5u+zho5c0lxMgD8QO X-Received: by 2002:aa7:d88e:: with SMTP id u14mr21034861edq.391.1633376657895; Mon, 04 Oct 2021 12:44:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633376657; cv=none; d=google.com; s=arc-20160816; b=S7q9k2r7n6VVOESywQ59h+kDBTOncuE79EWUmTYOsE9UO7cxEBmmgQcddSa+kibmN5 vGTJrj5oJdzvdD2h8rrYuf50rJD7lSksL2r0PyNWWdrWMugySlQWn4xSShnqIRAxO//n x2JnmBhCqEECJKdxS/uYdS/gkJyqTlee2IFaAIKTgPk37t0O1/+DzF6Ay+ekEXWqZQpx q64MdwWOwJC/HGjz9VkvRtsDXTkxM/x2/CjaCzB7ge+jYSiR4W4YWEzPM85brtjDhpJt TXQPugBD+LXv/es4kUoGJS4j5RwcLQ44aY8vz8Xtut5awpDkaRArhSpKpS7ZokP2vo59 Q5gA== 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=SaRzno3jFTzm9Q+457UPvPPoxe7cGSarC0Iebf62XYA=; b=03xkWe4NyORVBv14WSw/D1Wczyi5uMm3q7vPPbQzKVTwSjS2x2F09pp7UIlQpRYe91 HohVD7foqAFuXofbTuJTi9A1ETyeyDfTt+en1vLfKJ0D07KYF6wFN99G3ssSQT+kRiC3 5gbHMcmNS94memvHWnrEQh3GrWy3J6AFJwHgH8BAUp5JOJJudaeklHxUNwlQYV6snTnP UsZV2XaizeelojbuAkLmne7WmQ11a4VL6FBEA1B9fMxmU4yFjTdxK0OxDukjbe3nTv1Q E2Aw+28KZiyULjxCwntaAS+XCTM5+2h8wDuhv6wbbE8fM2ev8M3uPRfOABujOw1ucg/F vxCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="f3JfnQf/"; 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 e18si7781454ejx.248.2021.10.04.12.43.54; Mon, 04 Oct 2021 12:44:17 -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="f3JfnQf/"; 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 S236073AbhJDNNI (ORCPT + 99 others); Mon, 4 Oct 2021 09:13:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:45614 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235590AbhJDNKb (ORCPT ); Mon, 4 Oct 2021 09:10:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6872B6187D; Mon, 4 Oct 2021 13:03:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633352634; bh=Ofpdn3+5syBLPpoTCj6UEHk3TkbzVCImSc2gI52dcE0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f3JfnQf/bH5a5zoWHhGg/Q4zuiynFSJYW+6J/nYiWOgZY/O8Jt5JHvQS6jDcfyrVo xNK+S6wqTVUnAe/qu9sRGNwhSMGAArVyWYqrtPtVKu4Ru0xHw/JXj0jzYCrzGNxf0R JlAoZWiNntI0yDf3bxFzRhoBGiDO9OlWibK3F27E= 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 4.19 29/95] irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build Date: Mon, 4 Oct 2021 14:51:59 +0200 Message-Id: <20211004125034.512129998@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211004125033.572932188@linuxfoundation.org> References: <20211004125033.572932188@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 8cb6800dbdfb..9d3812cd668e 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -357,6 +357,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