Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2797406imm; Mon, 10 Sep 2018 06:41:06 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbg9FhjOwCTWxr2rqn/fZaXuf+zhyB4eFJ3YBtnDUd5Y9UW6hoUjMRRMP3NpK9V480v2ORA X-Received: by 2002:a62:1f11:: with SMTP id f17-v6mr23869807pff.168.1536586866727; Mon, 10 Sep 2018 06:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536586866; cv=none; d=google.com; s=arc-20160816; b=xnNhNEeQ+YwHUY65HpsSjrMqdYluwysElobYt16uR6sEOI9amPrtBUTU0QrrvId2rp VavG/0UR7MM62jAOYfw863U73Ci/5MLOgl/3iMbGXU2LgeYN0aEcNYtaKSUAwRlvmccV VyCuRtaEFnF0barA8hz0lsxHKwNSZiQUC9lp/5mhb2bO9vMJA3MKw/hTMvLQvMpOzDqx nd09NzaeOWlkhXXDpoRzKlpHZr7lq+tdIfUL3B8ayz2FJjoVqjcubZf1u+zwMBia7phF yPUPEheTMhQ9WmlWxUnzqlbYvfC9OWryG8EtOs/afjqD/aTHK1Y2kt+LjioQAjt/HVIR CVbg== 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=88FOgxFtd7WX6v/k8eTG2EJvBzWVTb+VfX4xJEyDWH0=; b=SAOY5SP600qlBkpHoseTnkAvg4EZKudNeDaz1Hf7zsIK2wxICaUnSYC+0dSCuhAzVx gno2glEZpurzke4Kc8smZvWcv6muOjNL5s+6cRFXEusTATQaw5QMaiQ3Hs4Jk+9zgssN pevLAWziI1corbobF8coCtX/b7Nt2oUPzAbt3VhKqd9pjJTh2S1gBCX8VW1FO97GcneJ mUv7n35nB7PdB1yxIWER2fLWgBLVCUptrnYmQcUQra8Mpzv6AqVZKEwJT1/BmpID4vgs JBFluKGjTTltUoq6xfd31xYMXcKDngd9Wr50JTwRyPjiV+853bh3NmiXqNtoGvVhLy7C NtjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=a6SSzBUD; 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 q8-v6si14266445pls.482.2018.09.10.06.40.19; Mon, 10 Sep 2018 06:41:06 -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=a6SSzBUD; 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 S1728635AbeIJSaC (ORCPT + 99 others); Mon, 10 Sep 2018 14:30:02 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:39296 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727970AbeIJSaC (ORCPT ); Mon, 10 Sep 2018 14:30:02 -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=88FOgxFtd7WX6v/k8eTG2EJvBzWVTb+VfX4xJEyDWH0=; b=a6SSzBUD4YrGZF1sWltotR9e+ di93GZIDWeemTCE5GknD2+KDHUuTuTPOLv62JbC47mGsCx1W4035rwX6dBNgk2sIjBiJr7baXXOYg s8/fR6jNgpDjbm6bfPaCywXPq2XnLRC9StBQuevF8NVJ/Cz5Kz4sZl33o0rITO2Q1npegZ+n4DNui LMl7kUsYdHV3XBIGFWoI0ORUX1SLKuTVj7jJww5Mz0E9fl2rnvl3L3EK2qwj8keQHCcufAbsnPabr 8FkymMqLvZfHQ/9OivCz0tGY3ioxgtJPDwvOesRfeElX0bNJc8v6zUwBMZRFSV7ceEcX5oG/Clpis eZwsIVAMg==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzMM1-0005Ud-PQ; Mon, 10 Sep 2018 13:35:49 +0000 Date: Mon, 10 Sep 2018 06:35:49 -0700 From: Christoph Hellwig To: Anup Patel Cc: Christoph Hellwig , Daniel Lezcano , Jason Cooper , Marc Zyngier , Palmer Dabbelt , "linux-kernel@vger.kernel.org List" , Atish Patra , Albert Ou , Palmer Dabbelt , Thomas Gleixner , linux-riscv@lists.infradead.org Subject: Re: [RFC PATCH 4/5] irqchip: RISC-V Local Interrupt Controller Driver Message-ID: <20180910133549.GA15730@infradead.org> References: <20180904124514.6290-1-anup@brainfault.org> <20180904124514.6290-5-anup@brainfault.org> <20180904185755.GD25119@infradead.org> <20180905185838.GC15741@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 Thu, Sep 06, 2018 at 05:23:07PM +0530, Anup Patel wrote: > > And we reject that driver approach for good reason and are now > > doing the architectualy low-level irq handling in common code > > without any need whatsover to duplicate information in the > > privileged spec in DT. > > In other words, the whole idea of separate RISCV local interrupt > controller driver was dropped due duplicate information in privilege > spec DT ?? No. We came to the conflusion that a few registers on a cpu that allow enabling/disabling local vs external vs timer intterupts aren't worth writing an irqchip (or DT entries) for.