Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2987024imm; Mon, 10 Sep 2018 09:15:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdazESayPC2PG9bhwEG2sHgEuKDibXrhfR+89nCCPiLuf313ky2/7Ldmo0mE/xV71K6EFO5f X-Received: by 2002:a17:902:8d8d:: with SMTP id v13-v6mr23265446plo.9.1536596112434; Mon, 10 Sep 2018 09:15:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536596112; cv=none; d=google.com; s=arc-20160816; b=vrv6+C+2NKoT9RcFqt1Q3V3v7iP4YmoY4/aR213Q0+98uAYOLMoRJLCxcVwbDYi5sS iPkLkYYm1WR3LDw9kJGejiDNq7B2+/R8JIQ+S+1TFH/b/wptzeC5jpa+37rLdmcezQM5 P22SaLdpRy7lHeWvaUCJ4cZWSEopo3YjOk4haVL+7PmiSUoApwIY92lARO4oK/9T1tMr uWUvlJSzCCkTmdX9GVJSj2Qh2Dxk44ttpjRNxBQK+ZFvrcA4nTUqHC3k0J9bT3uOdxZy fhsLFCER2B28Nz8TBRvMTo/joK0xMOAnyho6uTrCNdTYCCjbpmjmOFhPttHXwHbPmsgq 7tWQ== 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=3hDQjZ4chlgNvSWClBLfOa+koMXO48DzpgV9qQ2hY5U=; b=s0U0eI1skRYt45s+5UjZB8fWOvmRwgDXzILBBTrv9wS4+cBs6LEvsYq/5mffeb4LQk V5L2Ou8C7X9PMTMDj+6UUs27cHpMpqjisbn9G6vWJy/vTfbH15Qk87f/PH2ORevMxXgs gThdIgDcHuWclr9nLp8HXQnVxtv2oFSEeLhUa6R0aWXToOI9ON/FmxKSm9VyTkXdQcGR 2DQKnvPJAEt1WMP4G17fKPZN2Z5UnjI4IGWjKR+GTfZfGRyR1MOMWfu4kQpUOrkcmG8e a3Z+2ECLG80yc5cdZRDN1BLpiGXjxuJWe4dKvzJUFDOd8PHimtNohoHPaJNMbPvpTfRl 9vgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=t4eL2a5C; 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 u26-v6si16069688pge.590.2018.09.10.09.14.56; Mon, 10 Sep 2018 09:15:12 -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=t4eL2a5C; 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 S1728482AbeIJVGg (ORCPT + 99 others); Mon, 10 Sep 2018 17:06:36 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:49834 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727674AbeIJVGf (ORCPT ); Mon, 10 Sep 2018 17:06:35 -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=3hDQjZ4chlgNvSWClBLfOa+koMXO48DzpgV9qQ2hY5U=; b=t4eL2a5CuhbU23xiv95Zs7syo CPfUuHk7io3fZ+8B+zQGIeQOd20T51oEZnPN2T+1vtzaxg3YsZOAVGafBq8GvL9XKepPHJ+xScOsf FmqpgyT3kwB2h13E/fA5BKzfY+jPI7gLtzRGVu1tnXvtROdqb5TkHphL7bq9SVUQpaIR8j8jHD99e dvWYgED1OT1OPH2ESe8+4zT9HcQJ8qkt4c8N5qvHlqU+W1z11w2C5sTIxnvLdqOKy4r4/EGxkiHDl dMkrBRmftad9m6gXFBlkPomSxiHyL7HYoucvA+duF+tLIJc2dyMHPmoUXnib2mJzS+GC+9F3k1L+w 4MJR1nmhA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzOmu-0003PP-2K; Mon, 10 Sep 2018 16:11:44 +0000 Date: Mon, 10 Sep 2018 09:11:43 -0700 From: Christoph Hellwig To: Thomas Gleixner Cc: Anup Patel , Daniel Lezcano , Jason Cooper , Marc Zyngier , Palmer Dabbelt , "linux-kernel@vger.kernel.org List" , Christoph Hellwig , 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: <20180910161143.GA1053@infradead.org> References: <20180906140628.GA10580@infradead.org> <20180910132924.GA6987@infradead.org> <20180910133902.GB21593@infradead.org> <20180910134915.GB30774@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 Mon, Sep 10, 2018 at 06:07:12PM +0200, Thomas Gleixner wrote: > > Considering above, it is better to have a distinct irqchip and > > irq_domain for all local interrupts (just like this patch). > > If that's the future usage It's not, at least there has been no proposal for that so far, and I don't really think it is how the architecture was intended. > and that's what my impression was, under which I > changed my mind, yes, then having a domain model is certainly of advantage > especially when those things end up being different per SoC. And even if we went down the way of using the other bits it would be architectureal in the RISC-V spec - these are not available for vendor specific uses.