Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp933016imm; Wed, 8 Aug 2018 08:05:16 -0700 (PDT) X-Google-Smtp-Source: AA+uWPy+dWP7IXlBl/5b3466by6X1KOcjSmdHmg/j78Q7DGkyMA8kANgHxu1ruWA4ikuDsM/HBv2 X-Received: by 2002:a63:5d09:: with SMTP id r9-v6mr2899408pgb.303.1533740716346; Wed, 08 Aug 2018 08:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533740716; cv=none; d=google.com; s=arc-20160816; b=ymzwvIoQVERCX2XPbc5FTUIy2/J+9sVpRCgN9qqRVfa7P3eMvJkbwPBYg/rF68849m hQv1nDwd1S8AQ2I3hgTMyplqACf7JyG2U++qkp5dV0NA5k+T2o6/iXvj5NxDVj4zLi+S pYfMPPintgsC4BwWImB6wrB8h9bnJ0vXjc0bVqqVn/sckhAzJgE5UI9Zq888MbsaSsvT BvBfWy3OIW6A4NtuBPQbIvltsQsC/rdqqz05ya7gjax8mSq+HT4IM41KPuzbHSm7q6Mr lQQuvIBJjgE0mP9OMAL+IONwvMrUhK9ZRZ+1q8UXLM7dQNTrVHk3m4d3b8ufijqWL6yH rLtQ== 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=N8hAswFbhlBQqWUf31SwatkDlDK/UPxZ4Bcdo9HKMXg=; b=ft2fa2cv0qbqOxeKg+3MyRydgOiQFPfI7+BYMkWQo/e1YsA97NqNKV6/utypt9m9UD 0WH93JG9wvlG9mm8QiuvXpj+JbWhNERrCMvmj1vkPlExyDUUuWWH/3YLhUtZ42/nqIrc /l5F/Br9DqEDdmqKe92QR5wV3L8YqoxspJSgEMFCZyMo99t+S1fU5/ggcWxNeW4NxVbB l6i9TbfikyhnpnobNUox8ONRrLLFOHlRpGrPp1aDM9vo4W2bGloml6ccZ23mTka6z2IS rJkn7Y7yDKIq+yM/tJtW8n93aOSwNgNu3aDr0P57Zw7sfzov6YhkCN6DokUbIAdwcZOi QYmw== 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 z15-v6si4528920pga.117.2018.08.08.08.05.01; Wed, 08 Aug 2018 08:05:16 -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 S1727394AbeHHRYM (ORCPT + 99 others); Wed, 8 Aug 2018 13:24:12 -0400 Received: from verein.lst.de ([213.95.11.211]:38326 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727069AbeHHRYM (ORCPT ); Wed, 8 Aug 2018 13:24:12 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 6137D68D64; Wed, 8 Aug 2018 17:09:38 +0200 (CEST) Date: Wed, 8 Aug 2018 17:09:38 +0200 From: Christoph Hellwig To: Rob Herring Cc: Palmer Dabbelt , atish.patra@wdc.com, Christoph Hellwig , Thomas Gleixner , Jason Cooper , Marc Zyngier , Mark Rutland , devicetree@vger.kernel.org, Albert Ou , Anup Patel , "linux-kernel@vger.kernel.org" , linux-riscv@lists.infradead.org, Stafford Horne Subject: Re: [PATCH 03/11] dt-bindings: interrupt-controller: RISC-V PLIC documentation Message-ID: <20180808150938.GA32274@lst.de> References: 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:16:14AM -0600, Rob Herring wrote: > Is 1.0 an actual version number corresponding to an exact, revision > controlled version of the IP or just something you made up? Looks like > the latter to me and I'm not a fan of s/w folks making up version > numbers for h/w. Standard naming convention is ,- > unless you have good reason to deviate (IP for FPGAs where version > numbers are exposed to customers is one example). > > And defining a version 2 when you find a quirk doesn't work. You've > already shipped the DT. You need to be able to fix issues with just an > OS update. This is why you are supposed to define a compatible string > for each and every SoC (and use a fallback when they are "the > same"TM). Can you point to some existing examples of the multiple offered compatible strings and what is actually matched for something that largely hasn't changed? For example the documentation for the arm GICv3 binding seems to just match for arm,gic-v3. On the other hand the GIC driver seems to match for a lot of different strings.