Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp926754imm; Wed, 8 Aug 2018 08:01:10 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxaEqCe1sPCW43ATMifIY+6se32/3j5Ty3FmeCc55qRcB6HBRdgZFGxsL+1sYoqKec5ji3H X-Received: by 2002:a63:1f20:: with SMTP id f32-v6mr2826886pgf.84.1533740470570; Wed, 08 Aug 2018 08:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533740470; cv=none; d=google.com; s=arc-20160816; b=KSoXciopQBd8QREzZQdOocX7W8IFSmB6JnQ9apDBjGL5gqJFzpwfgFoDUw06OQc+w4 nbCeYd6cbLBZl2d6dVt9c9FEkpegEYYqkcOINKaPYQSJj5ggoTSdM3YvvmaJcNFQlhGn t4sif8NK33XBgGfBqWRGnzsRUEt4pOjCYKfq6HWaXnquQQEw5x7N2HtZ6mpr6G7vRoZk uyGmBSCcX0ylv3dNd5jqxOpI+j6v8/nqEwdiY+KBSf2dHdoHo4aNrCHQJqb2p7szjW5B 59x3JMEpFukzbawJKQWG7e/igciC34Rp2hPjnZg6hcRh9lApEAqiC+lkXKuHKwG0/EBX FAnQ== 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:arc-authentication-results; bh=o+H7DE8yv2Qhg6/NG6dJavvmh0M5v7Rw09kLnuYBUTg=; b=X7PMvoh9rpcaxepYYkOWhfWF2IaTjhM+jvnIL2lpVMtKWfprRF/Cxojj6x3pYckual ODLmEoKmN/DWR2mJIFIZerLCnic3AfQOTKktA3OOddzsJt3oqExmMQ/lPnN8+OvrDbr7 7jENrxgLW8GR3s1Nm2KO5U4k7yoKrhTCyoBk9Yu5a2+iruTHLzxLTWwLsmaxT6tiAmyx MqqX7IPGZsTi8IL8litXrKnM5eB+mk7BgOmqMkxpvEylge4xOaT5cKgdcVwC63/IB1Hz vREvwTCGpDBSkK6uIMMXSUV/nsqgqE9igm7aXWj8m0VTRg1kWXARKS+Pf2P6dKacCB/A DzzQ== ARC-Authentication-Results: i=1; mx.google.com; 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 9-v6si4324608pgm.659.2018.08.08.08.00.53; Wed, 08 Aug 2018 08:01:10 -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; 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 S1727533AbeHHRTW (ORCPT + 99 others); Wed, 8 Aug 2018 13:19:22 -0400 Received: from verein.lst.de ([213.95.11.211]:38293 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727081AbeHHRTW (ORCPT ); Wed, 8 Aug 2018 13:19:22 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 9123868D69; Wed, 8 Aug 2018 17:04:48 +0200 (CEST) Date: Wed, 8 Aug 2018 17:04:48 +0200 From: Christoph Hellwig To: Rob Herring Cc: Christoph Hellwig , Thomas Gleixner , Palmer Dabbelt , Jason Cooper , Marc Zyngier , Mark Rutland , Anup Patel , atish.patra@wdc.com, devicetree@vger.kernel.org, Albert Ou , "linux-kernel@vger.kernel.org" , linux-riscv@lists.infradead.org, Stafford Horne , Palmer Dabbelt Subject: Re: [PATCH 6/8] dt-bindings: interrupt-controller: RISC-V PLIC documentation Message-ID: <20180808150448.GA31785@lst.de> References: <20180804082319.5711-1-hch@lst.de> <20180804082319.5711-7-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 08, 2018 at 08:29:50AM -0600, Rob Herring wrote: > Version numbers on the individual patches would be nice... We've never done these in the subsystems I'm involved with. Too much clutter in the subject lines for information that is easily deductable. > > +Example: > > + > > + plic: interrupt-controller@c000000 { > > + #address-cells = <0>; > > + #interrupt-cells = <1>; > > + compatible = "riscv,plic0"; > > + interrupt-controller; > > + interrupts-extended = < > > + &cpu0-intc 11 > > + &cpu1-intc 11 &cpu1-intc 9 > > + &cpu2-intc 11 &cpu2-intc 9 > > + &cpu3-intc 11 &cpu3-intc 9 > > + &cpu4-intc 11 &cpu4-intc 9>; > > I'm confused why this is still here if you are dropping the cpu intc binding? We need some parent that identifies the core (hart in RISC-V terminology). The way the code now works is that it just walks up the parent chain until it finds a CPU node, so it either accepts the legacy intc node inbetween, or it accepts the cpu node directly as the intc node is pointless. I guess for the documentation we should instead just point to the "riscv" cpu nodes instead? > I also noticed the cpu binding refers to "riscv,cpu-intc" as well. > That needs to be fixed too if there's a change. Only in the examples. I'd be fine with dropping them, but let's keep that separate from the interrupt support.