Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp410900rwb; Fri, 18 Nov 2022 03:21:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf6dBaTIF/8fC+u6kX4MMbK05VAtaVkQL4RGvArSz1YJIMYIQUUxwPS1at5VEPOqhDgLAdJA X-Received: by 2002:a05:6a00:440b:b0:56b:b53f:e887 with SMTP id br11-20020a056a00440b00b0056bb53fe887mr7453992pfb.3.1668770502319; Fri, 18 Nov 2022 03:21:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668770502; cv=none; d=google.com; s=arc-20160816; b=POazSy7yW70UWPaCXPoJeU/EviFuqCcE6qrg/RnkDOEWfHNWPvIySbv3eVZ3GTHVJZ NThd3v3wOgXcHlN5fQLKewt4g0JyuXU7jKZhG/1PRJ5ZGMEqDOEDnW345VJeIqzTJAkF hzcKTMEpux4ehsTlO2/EcSYwRZ9vtbsXZVWXv5gVLesX1dNyMach6SWSxkICIIT8/H19 SW6Q8Krm/F5yn+Hmf8WmS69+tjwNik/kBWZXXflO9r9kuqeSvdhges+BfJw9F/Ys0SJG 6D8oeyWlWS6lFbO8g7TqNPCIxi8qA8ipV/i+cno62LauvsBCbbo94HHCOydXGsmmXcSl xaQg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=fdl3QKamGZ9ulqeNedhkmf+ubUndqYfAc+8IhNShLgk=; b=F5E/lzaErrVsNwpptIF6xmgv4bp5PCN/1Yg+X3njdprGoZVoVBZPt26Tbn2jpwZHzM 34eeLlR7eh7FYJHOdFLoovgXzR+M0o9INVpD8Nj5/gha4wpa/D7z/mKx9uVvy/TizPKj ViM4gT5KaNGLYnmFZWuJPOsokt8wzhlvFLBhaUWzPveioWk3esSrtsUvHxIAAXUQjcbx ZG/C5t5tF5b4cr/F0/qrxrQmq/KadDY4yclkkEkOfW9o7O2dJIcUCu9YWKomLP71bE4Z sjI7VS3ZrQb8JB9dAVbJOCHc6vKye0ttszhygg0IpGnIJEiMbeQMK61DWG6zrWfIsM5f R1hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g6exTW6r; 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 g3-20020a170902e38300b00186be035c64si3017529ple.416.2022.11.18.03.21.31; Fri, 18 Nov 2022 03:21:42 -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=g6exTW6r; 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 S241574AbiKRKor (ORCPT + 91 others); Fri, 18 Nov 2022 05:44:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241480AbiKRKop (ORCPT ); Fri, 18 Nov 2022 05:44:45 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EF9C11A23 for ; Fri, 18 Nov 2022 02:44:44 -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 41D7DB822D8 for ; Fri, 18 Nov 2022 10:44:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D930C433C1; Fri, 18 Nov 2022 10:44:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668768282; bh=Zsivvvk2gpJhrY509GmGOEwieY9oWQM8lDocUkP/2WY=; h=From:To:Cc:Subject:Date:From; b=g6exTW6ru7T3Sfj15Q+RujKe7pFAl5kXHnNkTwImEVhEN1SZ3LevD0ynzCibr16ye t5vsPUl0vmigv0Aw0HYAWm5/hI6LSS0O41OMQctBXQi2OGOea7A58yoDb5rgPjbSn1 x9JgSWTbcUrGXhAxbTB5F7hU4BEL0TMr2zMq8gc8mtBpKQMUR9np1b7lfTd3IpI/Hy eX6SElZXYmzaGKeberzF7A/TsZ8YrfA9RfFV2LmhKprOcAJsgGk4yqbVLZ/7nF404G bojFIYTR7xn4QQ2O28bh1edjtunSNcJRmPFuz1BxsvinNYorJq50TrI9LVxwC3aEMb ubt006J7kNhTg== 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 0/3] RISC-V interrupt controller select cleanup Date: Fri, 18 Nov 2022 10:42:58 +0000 Message-Id: <20221118104300.85016-1-conor@kernel.org> X-Mailer: git-send-email 2.37.2 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 Hey Marc, Anup, Palmer, Submitted a patch yesterday defaulting the SiFive PLIC driver to enabled [0], and in the ensuing conversation Marc suggested just doing a select at the arch level and dropping the user selectability completely. Since we're already selecting SIFIVE_PLIC in Kconfig.socs for all of the supported SoCs & selecting RISCV_INTC in the arch Kconfig itself, patches 1 & 2 can go via the irqchip tree without any impact. @Anup, by the same logic - I think we can also enable the AIA stuff via selects at the arch level? Dumping as much from Kconfig.socs as possible is the plan, so adding them there for SOC_VIRT kinda goes contrary to that. I spoke with Palmer today about putting my various bits of Kconfig.socs cleanup on a branch, so I'll take patch 3. It's only in this series as it is related work, rather due to any sort of dependency between the patches. Thanks, Conor. [0] https://lore.kernel.org/linux-riscv/86wn7tnx9a.wl-maz@kernel.org/ Conor Dooley (3): irqchip/sifive-plic: remove user selectability of SIFIVE_PLIC irqchip/riscv-intc: remove user selectability of RISCV_INTC RISC-V: stop selecting SIFIVE_PLIC at the SoC level arch/riscv/Kconfig | 1 + arch/riscv/Kconfig.socs | 5 ----- drivers/irqchip/Kconfig | 21 ++------------------- 3 files changed, 3 insertions(+), 24 deletions(-) -- 2.37.2