Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3665671imm; Mon, 10 Sep 2018 23:25:02 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZKCMW7Jnw3VC4rRqNktFqVVEWN+/BqFACV/sorlGhZ5ineSrYWdfkeMJmBc352Hwin65BX X-Received: by 2002:a63:2701:: with SMTP id n1-v6mr26411149pgn.146.1536647102753; Mon, 10 Sep 2018 23:25:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536647102; cv=none; d=google.com; s=arc-20160816; b=SXUOgr1M8y7aCx+kBPNNuGvdICc53ocsiOMjuvgKXQcZgTKrVSPPgRLjAX/RwFkfsJ yvkAocafwEMCZbORQZQJfZ5tibm8iL9iJyjDw7naoAD5gvMkgWjQ/6nD3G8Rlh7donjC 7PLLj4lcCICHKGnTVSbuiVykfqmPWiHyTqnPe+aSwk5SHyU0paywddFtOdVFmHclQOG3 ZoNwrens8xNDV05jSsxF/0R+bz+igEPCOCaFg1No1inZmmPrZxfnKiEH+b5Q72EKOAmx RQLdoIjCMfZ+hAUBpE0IajZmK7L8p0dw9cPht8dA0m1qgZKDgtrJr+jEx3o7RHavB6lM U55A== 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; bh=PIWycZsHrgc/axP5ZJcu+OJR6McHLDE5Aa7wDL1J+/E=; b=O/71YNihwP3lLFZbEhvkpYbf1mDpxFKOZ2H0tBePkKIsXBX58x9tKthgUZMIfxezwP 6SqD8QCy3q27+OfOkDIBkCQ20G/078Q6cpotEL5ogU/ZyFPWBAbJGUsIxB5v6nV3TpBo 59Duwkh2eI3s78OL2W5iLYs6s7outkY5zoSiSSVOCAofRAl9ALF/k0gFnDrkacSJQq9C OUFDMZcSjbYCaIcsez9fzllOEYsRIl24MpbndboTiiDmK91N/MfncGGM5TFDfd0bqiPQ hvkIQkXtv+39Azj63iOiVyPtIBnDJ1DsTU0hHvF2UtWZMZc4pqAiO08z8l1hXAPkQrzo Higg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=SJkqxyyY; 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 f32-v6si19278845plf.252.2018.09.10.23.24.47; Mon, 10 Sep 2018 23:25:02 -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=SJkqxyyY; 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 S1727735AbeIKLUn (ORCPT + 99 others); Tue, 11 Sep 2018 07:20:43 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:34576 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726423AbeIKLUn (ORCPT ); Tue, 11 Sep 2018 07:20:43 -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=PIWycZsHrgc/axP5ZJcu+OJR6McHLDE5Aa7wDL1J+/E=; b=SJkqxyyYRJLYFy8rFkHpyaeva 502mURLSibL/gJ9uZrm3SrLw8Tnu310IrXybBI6uZboriM5AmlQtJHtZbG/ZI0iKI2PD+PwjdZKTn kVzYBYDdE09uBYpgONTkgwy8EerrdhDJP1BJ/fxZq/LQHbt+3XsnZtk3jbqypevasfWYseo5OQXkF Btlmsw1phRPSp4ULKpgaXRRx2E2U9Liyuf5/aJGnwGe4w9GqRHr/fVgsCyFxwkjy2pMHUjTov3H1K ++/lgq7RfP9XOMBCNzJBa1C3SUKxBeHM60TJItj0esMLy4/mM/lbumAMAi1bCI2wnYJvSr1N5kIEJ J/jeo2rtQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzc4c-0007cr-IB; Tue, 11 Sep 2018 06:22:54 +0000 Date: Mon, 10 Sep 2018 23:22:54 -0700 From: Christoph Hellwig To: Anup Patel Cc: Christoph Hellwig , Thomas Gleixner , Daniel Lezcano , Jason Cooper , Marc Zyngier , Palmer Dabbelt , "linux-kernel@vger.kernel.org List" , Atish Patra , Albert Ou , Palmer Dabbelt , linux-riscv@lists.infradead.org Subject: Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver Message-ID: <20180911062254.GA23395@infradead.org> References: <20180910134915.GB30774@infradead.org> <20180910161143.GA1053@infradead.org> <20180910163936.GA18699@infradead.org> <20180910221902.GB7368@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 11, 2018 at 09:27:45AM +0530, Anup Patel wrote: > The list of currently defined RISC-V local interrupts will definitely grow > based on my experience from ARM/ARM64 world. > > Like Thomas mentioned, we will definitely end-up having separate > irqchip and irq_domain for RISC-V local interrupts for flexibility. Better > do it now with separate RISC-V INTC driver. I disagree. Just because arm made a mess of their irq handling there is no need to repeat mistakes by paving their way. IFF we end up with a convoluted mess like arm in the end we'll need an irqchip, and as your series has shown that is fairly easily doable. But I'd rather spend my effort on it not becoming a mess in the first place rather than helping the mess.