Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3012345imm; Mon, 10 Sep 2018 09:37:32 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZHFkDjA6Qwd0feklvDS3Ys2Xgsji3kw3W6FI63MCLgBYrdFETRpZBTXQTH7yb0CtQJQ24B X-Received: by 2002:a63:e756:: with SMTP id j22-v6mr23887565pgk.185.1536597452832; Mon, 10 Sep 2018 09:37:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536597452; cv=none; d=google.com; s=arc-20160816; b=oQpLhNZlRSiZpqUWgtfxaOOoQqPRFTck7AnomB0WPEiTVF2LF/0qH4SCbtQPN3YAnY GJstFrd5WpfnadJyoVHvhdSSM1nxRvZHwETS5z4rniV+FUdkwbTs3ImWwkTEOUBs2jvK 0ToIxdXurMQWyKhLOaRT8kO83hiAMm0lFFXzDIYvHTIOC3qz3CfLVIxXNXOgjJ8vW2nX ndMIHyDOFeEemic2Wled5fFzADK0bcLiWQwxlBsu6ej0eFeJSNfGJlaYbB+s9jktK/DW 2UnsBGiKNkYaiJIBgwIwDi+0/PNA+2RIU7lf9RGJBcCROWIIhhC8qWCUb/izvJ677IoI 0C1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=LtEVNMYXuH9Tfuc/2myhioMYZ8+l6i78docegJAa92I=; b=Bp1rAif33tAlC8F9GSoNyK3Hr7zkuEsNn1MXFBO0LL2Q6cCHz3KN3c+csr8R0+Ughu ZBfqrnxHcd8dJHbXYuU9frAKmpfoRMHWrC8DyfohB+6sQdaoQVKkOKZjZwzWy5W6LvWA E20mZScgF9KFUhC2jFnA/KsPuYiQw/UPbnqmZgBDJ0cNzBgElXh+mTOId2UhpGc8Lq2t GzDaMdvdpQxpMnxW25HbkgpsSomuluxd8iiSNndU3m6BzYEMtXu/v0giUhV2D3QEPQNP ijutcqtT/g4obXO34u3qj3WfE03Kwr68cBOJssq0Q8odn0W89N7QIBlovi1UFyg6NjoR aLlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=ZPFADis7; 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 h89-v6si16634433pld.517.2018.09.10.09.37.08; Mon, 10 Sep 2018 09:37:32 -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=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=ZPFADis7; 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 S1728210AbeIJVaj (ORCPT + 99 others); Mon, 10 Sep 2018 17:30:39 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:50821 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728137AbeIJVaj (ORCPT ); Mon, 10 Sep 2018 17:30:39 -0400 Received: by mail-wm0-f68.google.com with SMTP id s12-v6so22245723wmc.0 for ; Mon, 10 Sep 2018 09:35:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LtEVNMYXuH9Tfuc/2myhioMYZ8+l6i78docegJAa92I=; b=ZPFADis79vI4yVTqlt/BUWNZZXn0hu/xz4WiAIRGGOcS/+E4N1Y7wRrK/7XW7jVeD5 CNwwiIEV4o1zxGU6k8j8AyT2fxlqp9bfbj1LUhABtD+oJGc0n969m2y/zyFkEbPNQVYj zbP16zFUSy8yeZwIP98RIBKLHMBTcE9eIUhfJ1uJFrJpzLaq1oqIYKLaIiyJFupxHXb8 DH1t5zRcoBcSyx03OgWtBjae1aIHx16csLmfqkOhg/1OmyvmuMvGqhMCW60j6vK+n0OH ViycsKG40cBWkdL9HzFY5VyqxYEnocaQV+pK+xWkTMU/YX1uO84gFI6DB6cakCVZj/Vv U8uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LtEVNMYXuH9Tfuc/2myhioMYZ8+l6i78docegJAa92I=; b=KepUUc9K7lvowye4bMBhDTQOj4Z+mQA0ixtCFTI6K2ytIYlWGVTZax3PZxt16XqY7U OOWvs9mIIUR4vYSBuz55wb9GymhBMK+Xbfm/cu8bD69UbeQQLypsIssTs4DJKAs9q1Iz uj1RsRpjbD51Z3uBEY39P124/GLhhtzOpQFo9dARdsgwOoYE5EnST94cs2/QliKi+mPz ozM2JzDmvFNtHCMT+JRWqxnkLYSLg5kIia5JEwRrPUFqdcPLkDSMnq1VfZbL5SK8lAAU YjtCpddZVqn1ccO+Z4K+mQFVBoWNul6Dn2ArhAbywe1lFwuQ7E4aMT78zx3O6ZFlxIQs CMkw== X-Gm-Message-State: APzg51Aczp07Cc2bMWTzBzNRVrhQhVKclRN3KxNW0rulu6lpAk2G/Zrn JgQonLLNCQ4sJLTh9Hit1uRKASRxeqj5diiYyz/pZw== X-Received: by 2002:a1c:ac04:: with SMTP id v4-v6mr1376237wme.51.1536597343065; Mon, 10 Sep 2018 09:35:43 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:9dcb:0:0:0:0:0 with HTTP; Mon, 10 Sep 2018 09:35:42 -0700 (PDT) In-Reply-To: <20180910161143.GA1053@infradead.org> References: <20180906140628.GA10580@infradead.org> <20180910132924.GA6987@infradead.org> <20180910133902.GB21593@infradead.org> <20180910134915.GB30774@infradead.org> <20180910161143.GA1053@infradead.org> From: Anup Patel Date: Mon, 10 Sep 2018 22:05:42 +0530 Message-ID: Subject: Re: [PATCH v2 3/5] irqchip: RISC-V Local Interrupt Controller Driver To: Christoph Hellwig Cc: 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 Content-Type: text/plain; charset="UTF-8" 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 9:41 PM, Christoph Hellwig wrote: > 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. I am quite sure RISC-V spec does not restrict the use of other local interrupts. Different CPU implementations can have their own local interrupts. Regards, Anup