Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4153607pxb; Mon, 27 Sep 2021 10:28:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzM2aoOckbn+3Um3MflCazgBsZSx0ZMW94LIue9rq+dWmRIY2nTSLHgjrXK9A6EQkr4LO1S X-Received: by 2002:a62:7cce:0:b0:447:b550:5059 with SMTP id x197-20020a627cce000000b00447b5505059mr1155429pfc.58.1632763735991; Mon, 27 Sep 2021 10:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632763735; cv=none; d=google.com; s=arc-20160816; b=ODn9JOaVm8ozYgTUbw3na1VTELoXMe0ZmVjBRHjd9LW3hBciPeYTFML65XRiKbWfWs SVyjS2wv8FMN7909QTbrP+jdhQ4ZIHazZoRnK9yPGewsUlIU9iRwArsyTAJc5cnGT2pa hDjteNf7EQ0b5Cx8HaZFw7JPo0EXxTUvgrP/KUqyf5z4YK6rXFLAytUPbGOQbICWmngl 6pAN5qJo39w5EjvhVKaZp2CHvcKIta8Y2rHeixkhaSFZbMG2pVKgnbMoX+Ov70aFrCHD 3CvhgH3PjwTozwm/RhP9DZRNH6maHbFoD9SzAwdirjpxUKNGpdC47UW+N5EhNiNgr1Xy S9qQ== 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=9VRyaduYeQ0EwUQPNOlio2TblLlwRoERhtehRyn1QEw=; b=vsbubq0b/CDhDGL9uC5ZJgfDtYb0iSjVx0VPvxlJo4Er0w6BtU4YdZJuOmyTdRY8XW Yfg1r3K3tvTudqaJjrkXUDS2k/by8QMNqgNdaPIN5P6vJr9CqjC6L8URUt0a8RlXjxAY DzaCtfg+OM5JSbcFWwUkr1ofYApNgLqwBmIUFZiUcGbh2sbtbs7s+tNzzmW8TBe4WGNF F/5RshInUCyZYUmfxdSYAoeRpxpBzpaSOc0Q/dGBn8fkQfdOe/qguPU4GJiTCnnep1ox kPuSzqgZx0LWidCcIgdv8Xq/b3rCLL+FhqtSjFMStqI01QOmbyzhkPteJGEWeGEhOKrY Ih+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=z3RhH0Wm; 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 p11si21396257plw.196.2021.09.27.10.28.36; Mon, 27 Sep 2021 10:28:55 -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=z3RhH0Wm; 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 S237844AbhI0R2Y (ORCPT + 99 others); Mon, 27 Sep 2021 13:28:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:40938 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238034AbhI0RYM (ORCPT ); Mon, 27 Sep 2021 13:24:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1DAA5613D3; Mon, 27 Sep 2021 17:15:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632762938; bh=cTY7HUF9D9IpeAUHpHJzsn/rf/zmDBjy3AMO3iv/3B4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=z3RhH0WmMm5EAyVSrK1HkB4pIqkJv00f23Yz2OySdok/yuxieELh5xHamPbac+A6u Cp+9QZdISGSFiwilpWky1j6+ElCvIK5sE6c/klPrASp1jLGg+GWglQuOgrdo2I6+yY uvEswYXAEPQTtW6fMGAdQzEIDBWYU5N0HlpUmkqs= 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.14 108/162] irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build Date: Mon, 27 Sep 2021 19:02:34 +0200 Message-Id: <20210927170237.194807040@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210927170233.453060397@linuxfoundation.org> References: <20210927170233.453060397@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 4d5924e9f766..aca7b595c4c7 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -409,6 +409,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