Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2909199imm; Tue, 4 Sep 2018 11:59:18 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbVKbNLxWynaHU93Mta0DAkAea1oMyFmmIxrs/TisH6r+QxnWiXchSSrfw6NPijn6090M7+ X-Received: by 2002:a62:4808:: with SMTP id v8-v6mr36395188pfa.89.1536087558810; Tue, 04 Sep 2018 11:59:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536087558; cv=none; d=google.com; s=arc-20160816; b=mEIXBht4gtgFvNHpEGzRyeOhngPHUhYhotd6/pjfGwEtuC5pOvnTEA9Q9MgF6XPzGj u3erOlI5A5W+wv87YaLxoV72OQTMMfL8vpHhMoS/Z7RSA2WbIO4d3gVtl9DZFPAgdfS5 /LyzZ7fpKAJ8CzqJcv4oP88Eib4On0KsysYYPW3jL4iAo5+f/30fxeHobOScE190wdLF wCVrrDUP3XVCsHVRwJfTwinL6NfG+UWSQZ4bol63Q38ELwjwJCi9P/NC3pDBJSV3f9bc MHylFTo7g9d0g6Dl5YphDfmYoII2zlYBVpAOajrlqIU/6gE5t/lIH9qixy7iDqtH2sNt VMPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=jETR/wfXy9x/msfoWJqYG80XlhsDcZhqiUgmwlwtDhI=; b=nj2k3r63cEuzvBczpAvs6l73dGdXmDeJy5Ot8W3O48wrvZd014YfOzhMfUuDtJ9W8W 2hkm/VnfOh8R4vZ57dR4JOSUZ919Mrd6YLhK1OXRfLTF87EXSzVwU5LWuqy3zPxsy237 wKufeY8U40V9bJcNq8IzcsYMqgadWMf8EssdQPOUmXpdiiityMgfCXJvTEiV01znoAx+ 4tzBiAiPYKbyOP4JOYPBloGycmlb2L1T0BkeVIBwBzNBvLhKLUe9sFFHPIbfAuGrV/2I pYHBOVkTgyulaPx+QTqd1ILg+2v0KqXqlmcVBc1O2D8XmUFqvZ5iYfQFbPi23WG6Ol66 Q5EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=GO9UDAHK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si23171967plt.148.2018.09.04.11.59.02; Tue, 04 Sep 2018 11:59:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=GO9UDAHK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727781AbeIDXW5 (ORCPT + 99 others); Tue, 4 Sep 2018 19:22:57 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:57436 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726507AbeIDXW5 (ORCPT ); Tue, 4 Sep 2018 19:22:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jETR/wfXy9x/msfoWJqYG80XlhsDcZhqiUgmwlwtDhI=; b=GO9UDAHKjGGnSnFgQ+z6hC1X1 cLvcdJiu3DOsvGCVgxsh00t4pxC0nCjrG+dFHI3BDZ7aOzR3onlPUCLqxONPs/YjRLBayo0wb7vwy Kh9VI1ur6KSUvpC+nl0hZZmQDeoFErWBQVxfhRtgi4IQWSDrzQaL3B3NiUPcqK3TyvbmaLM6z//Js YuT5OYehwIhfmmJmktS17kcZYpqKJRXNiwkb8xAo8txtq4LJgzjiLLOX0Ae9QP9yTft/nyOPso3Nn YZ4p2Ausdk3BUDV/bSdpBx2IFSwMDE2/ktNWobLwihI8+NkexbuUnxnXLUX7OtrDi1LsgoAHuHTLE M2gY47PtA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxGV3-0001Q8-8P; Tue, 04 Sep 2018 18:56:29 +0000 Date: Tue, 4 Sep 2018 11:56:29 -0700 From: Christoph Hellwig To: Anup Patel Cc: Palmer Dabbelt , Albert Ou , Daniel Lezcano , Thomas Gleixner , Jason Cooper , Marc Zyngier , Atish Patra , Christoph Hellwig , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 3/5] RISC-V: Select useful GENERIC_IRQ kconfig options Message-ID: <20180904185629.GC25119@infradead.org> References: <20180904124514.6290-1-anup@brainfault.org> <20180904124514.6290-4-anup@brainfault.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180904124514.6290-4-anup@brainfault.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 04, 2018 at 06:15:12PM +0530, Anup Patel wrote: > This patch selects following GENERIC_IRQ kconfig options: > GENERIC_IRQ_MULTI_HANDLER This is already selected by arch/riscv/Kconfig. > GENERIC_IRQ_PROBE This is something only used by ISA drivers. Why would we want that on RISC-V? > GENERIC_IRQ_SHOW_LEVEL We don't really have any special level triggerd irq handling in RISC-V. That being said this is trivial and I don't see why it even is a Kconfig option. Please have a discussion with Thomas and Marc on why we have this option instead of a default. > HANDLE_DOMAIN_IRQ We aren't using handle_domain_irq anywhere in RISC-V, no need to build this.