Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5116918imm; Tue, 21 Aug 2018 06:35:56 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyPnkY5uWB5U6UJTbp1fINofV+tALBHX3M5rC2f16qWFUt75WssriFWDpl5l0LeADHaTlZk X-Received: by 2002:a62:5543:: with SMTP id j64-v6mr52483200pfb.188.1534858556653; Tue, 21 Aug 2018 06:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534858556; cv=none; d=google.com; s=arc-20160816; b=TfILergiIhzfdG3htz+Qv6E7LDNA+OmX1yDblYEIvaM2wOyE9Fn+vNev85k7XezRK/ RgiX4wtDrhrRV6uFAYa9oMXfDEI+lTRCZ87aFf57JWshN6PnnmCoaFn+9VRTLR/wxY09 xK+pmR8PuZwdc/c7qe1aRkLEBm9+7oyNfsKNKgOV7UsN1F5WpBER3uFNqA2Fs3k32hT7 gDHowPJfXHRZ5r7ucQ32lza+4CV/jl/mXgwVPaCr0biqNW5z3uLPWP+TsIT1m9CnSNF+ d910SkoHYAIC8Si94xMl3GsxZ9cytHFkXUx5H+yE22Y25XFn9BQUPrPdoWvOoXmO/Vjd HQEA== 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 :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=QyQGBXidjbMXnbklEms+OS8TWO1z5nFfqmSVoEydpPo=; b=P1IjdoaPCJkN347yzb/breMJbKnURondwZ6Z5oXlHLrwPPw/VzmRVtSq7qpssGAGIC xCxzDEf0Y1G+s/CLUfhm1l9EoQcaC5FKDH6H950Kxw7xABE1hJQEO4soGk6l1CVZlN6Z F5DR5tJ3NmSKPZFNQ/CrT+LKIE+41Y9kdygsBFa0U6e/DiZAsxd1/UWMOAkPlN6oxJZs d7Am60zRjqOgpESAD4cti38gEvtIa0Pd77LS8rz1an1Z9sWNoS6ylmNN9tgFZ4LqaNOC 1WrmiYIdtpAHvqaCKpwCXu/4lG70pVmuE3S/3a/kHYgDxfUGw+E9iV7V+cIbeFp3x1/7 8S4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iCUDmpPV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h36-v6si11845259pgm.125.2018.08.21.06.35.40; Tue, 21 Aug 2018 06:35:56 -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=@kernel.org header.s=default header.b=iCUDmpPV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727607AbeHUQTU (ORCPT + 99 others); Tue, 21 Aug 2018 12:19:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:39152 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbeHUQTU (ORCPT ); Tue, 21 Aug 2018 12:19:20 -0400 Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6429821772 for ; Tue, 21 Aug 2018 12:59:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1534856356; bh=7J5QD5z+MP5ZDD6cvPh0llP+QdxeqZcvPa36xg9D0To=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=iCUDmpPVOGcD6f+Kcq/AwW/M5gjJFN3nMGV+lfsKVeSSiAmG6fEsnImZB56hKit4f xYmobENTkE7np/dTETsEKhMdPQRQHYPwW5Q8LiWU2aHzyVwTdyBkKvmdDyTCKhAQlb 1DTBr2WH5MbcStQr0sGCMalWIcmXsGFqlM3Ams2g= Received: by mail-wm0-f46.google.com with SMTP id s9-v6so2834552wmh.3 for ; Tue, 21 Aug 2018 05:59:16 -0700 (PDT) X-Gm-Message-State: AOUpUlHAUA6piupSWsi4GGfzOsoD8csQEEicbSXNkyH8ri4BK9o57zcV FNi+sBsoRxSP7kJ9nkV32ZxRMJm4ggaexE85dD7mtw== X-Received: by 2002:a1c:9091:: with SMTP id s139-v6mr11646720wmd.146.1534856354788; Tue, 21 Aug 2018 05:59:14 -0700 (PDT) MIME-Version: 1.0 References: <20180820230011.25368-1-palmer@sifive.com> <51924de4-4a16-07a0-f499-753e0df49678@wdc.com> In-Reply-To: <51924de4-4a16-07a0-f499-753e0df49678@wdc.com> From: Rob Herring Date: Tue, 21 Aug 2018 07:59:03 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dt-bindings: riscv,cpu-intc: Cleanups from a missed review To: atish.patra@wdc.com Cc: palmer@sifive.com, linux-riscv@lists.infradead.org, Mark Rutland , devicetree@vger.kernel.org, aou@eecs.berkeley.edu, Jason Cooper , Marc Zyngier , Linux Kernel Mailing List , hch@infradead.org, merker@debian.org, Thomas Gleixner 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, Aug 20, 2018 at 6:10 PM Atish Patra wrote: > > On 8/20/18 4:01 PM, Palmer Dabbelt wrote: > > I managed to miss one of Rob's code reviews on the mailing list > > . > > The patch has already been merged, so I'm submitting a fixup. > > > > Sorry! > > > > Fixes: b67bc7cb4088 ("dt-bindings: interrupt-controller: RISC-V local interrupt controller") > > Cc: Rob Herring > > Cc: Christoph Hellwig > > Cc: Karsten Merker > > Signed-off-by: Palmer Dabbelt > > --- > > .../bindings/interrupt-controller/riscv,cpu-intc.txt | 14 +++++++++++--- > > 1 file changed, 11 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/riscv,cpu-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/riscv,cpu-intc.txt > > index b0a8af51c388..265b223cd978 100644 > > --- a/Documentation/devicetree/bindings/interrupt-controller/riscv,cpu-intc.txt > > +++ b/Documentation/devicetree/bindings/interrupt-controller/riscv,cpu-intc.txt > > @@ -11,7 +11,7 @@ The RISC-V supervisor ISA manual specifies three interrupt sources that are > > attached to every HLIC: software interrupts, the timer interrupt, and external > > interrupts. Software interrupts are used to send IPIs between cores. The > > timer interrupt comes from an architecturally mandated real-time timer that is > > -controller via Supervisor Binary Interface (SBI) calls and CSR reads. External > > +controlled via Supervisor Binary Interface (SBI) calls and CSR reads. External > > interrupts connect all other device interrupts to the HLIC, which are routed > > via the platform-level interrupt controller (PLIC). > > > > @@ -25,7 +25,15 @@ in the system. > > > > Required properties: > > - compatible : "riscv,cpu-intc" > > Since this is a fix up patch, we should update the compatible string > with the sifive specific one as well. no? I think it is fine as is if my understanding is correct. Given this is part of the RISC-V spec(s), then using 'riscv' here for riscv,cpu-intc is fine. It was only the PLIC which didn't have any standard definition that I had issue with. Plus, with the SoC specific string, I'm not too worried about what the fallback is. However, sifive,fu540-c000-cpu-intc does need to be documented. Putting it in the example is not documenting it. Rob