Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp443236rwb; Fri, 18 Nov 2022 03:54:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf7jBRfnnqZ6LN+yivURvbBD/9e47I+T2UUrO0VifwnfMDLVByK3zh6/FQ5o9F1jQuQT1ZaC X-Received: by 2002:a62:9409:0:b0:572:ccf6:e7c7 with SMTP id m9-20020a629409000000b00572ccf6e7c7mr7507168pfe.74.1668772467807; Fri, 18 Nov 2022 03:54:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668772467; cv=none; d=google.com; s=arc-20160816; b=gazTJgQJ5/QsQ4fowqo4jwNiUstZCS7ijuMbkz+YjN/AvtoVeHbJojogYYJjkZUMHv rB5cYKGlYXMgm+Qa4W44/a+HwfG0JfnoKyZY87FCA3RbxE3cx9i81bJTG+OlJWdVc7OT Dxu3ADEsDMM2elLpQs/d/hJLV1y/co8SJe1bVPjs+fOn3vYx1FDbFw4DyHLnE4zNWkIu 1C0Y/97+4OO5c74VDzTaW5vMaMTMbld2HmRbDckq4nNy4NWXubQxj7rcLPBhTcfcU18v tereGT/v7+3POeRJzGy9x2GFsQyFsyoxXrPVmqH+yfX42gf1XI4RH4+F4kxjqEwQwUwk GKkQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=seqcniLb3G1hx/pnq4v2o58xGYi++79j1gmWnVhcIQ8=; b=YfDU0VU+YdHfuu+sf+7YYlOmL0sPAT5FCqn98pzD3oc5FVqYj/XXUGENezbFP/3o7u iR5EtIqye1b5IHKOVKg6jQOq7p5N7ce/qSHCutvjKroXC5pzGX9be+Junj8SytdpnYh6 +FPL15MhbVfdB7jztCJxWYPF0xHoLpGhUvZvgyu1lBZXtEfYNlGx8ZIpjz59zQeoFD6a SlwphOyya52yeP+iQRtYcZcYH4Pyy9lvScQjVJu69r8MmzFYEjH6m5uQ0WZDdw72GApE 32ISKwcjG/RpBVcT5Ygq+rLgfaiUWGM942DqgjsYKgbyFR6pRCWIUYKM+GM70VSUmETd h8YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YOv+280w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a17090a550d00b0021332d10601si3056647pji.183.2022.11.18.03.54.14; Fri, 18 Nov 2022 03:54:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YOv+280w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241739AbiKRKpL (ORCPT + 91 others); Fri, 18 Nov 2022 05:45:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241632AbiKRKou (ORCPT ); Fri, 18 Nov 2022 05:44:50 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4351D657D3 for ; Fri, 18 Nov 2022 02:44:49 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F10EFB822FF for ; Fri, 18 Nov 2022 10:44:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C49D1C433D7; Fri, 18 Nov 2022 10:44:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668768286; bh=qC6743542xIKRAllyvxVqizsE1tEzX1YRdfQ4vU+JYg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YOv+280w2fVSZVzyZ0o2P0ElyXNHGc0WTNYaN6JNcI4R0rr3HXW8KbYMvQ0i+s/mA ds1/4ELX0y2QerpqCqeaRIYDNblXC7I0T0mYn53IYx4p+2TmV8nPRdyzFzp7lozQDS wIkWDLFmvS6g4KvSriEnPWqZ7WncoWBvBEEKkUJt4t5Qpgq4UBVS41h1cAJRofDrRP E3AIFbIqFN9qOyahhlq5vkjmZE5e/iFO1tINE/JVHFeie+zHRMpjDweog7E11xXmOh DYIiKlSW+x5Rebstuosq2Hx8W78XS2Y9ezFyW0hpquWnP44DN/yH0+h2ElQ3yPUZ4b tThL5vYdXbMJg== From: Conor Dooley To: Marc Zyngier , Palmer Dabbelt , Anup Patel Cc: Thomas Gleixner , Paul Walmsley , Albert Ou , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Conor Dooley Subject: [PATCH v2 2/3] irqchip/riscv-intc: remove user selectability of RISCV_INTC Date: Fri, 18 Nov 2022 10:43:00 +0000 Message-Id: <20221118104300.85016-3-conor@kernel.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221118104300.85016-1-conor@kernel.org> References: <20221118104300.85016-1-conor@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 From: Conor Dooley Since commit e71ee06e3ca3 ("RISC-V: Force select RISCV_INTC for CONFIG_RISCV") the driver has been enabled at the arch level - and is mandatory anyway. There's no point exposing this as a choice to users, so stop bothering. Signed-off-by: Conor Dooley --- I'd swear I had an interaction with someone a few months ago about the RISCV_INTC Kconfig options but I cannot for the file of me remember who. I hope this patch is not be going back on what I said then... --- drivers/irqchip/Kconfig | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index ecb3e3119d2e..4633a549ebbf 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -538,17 +538,8 @@ config TI_PRUSS_INTC different processors within the SoC. config RISCV_INTC - bool "RISC-V Local Interrupt Controller" + bool depends on RISCV - default y - help - This enables support for the per-HART local interrupt controller - found in standard RISC-V systems. The per-HART local interrupt - controller handles timer interrupts, software interrupts, and - hardware interrupts. Without a per-HART local interrupt controller, - a RISC-V system will be unable to handle any interrupts. - - If you don't know what to do here, say Y. config SIFIVE_PLIC bool -- 2.37.2