Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1173504imu; Fri, 4 Jan 2019 14:48:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN7rKJPy8aVf0NIkgnko6jkzEpz7zMuX18qw0vuWJHEwIbxxYfTPLpcSM1wNBetJrF+nC7ne X-Received: by 2002:a63:5346:: with SMTP id t6mr3183278pgl.40.1546642104125; Fri, 04 Jan 2019 14:48:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546642104; cv=none; d=google.com; s=arc-20160816; b=oshU5VA4XGLbiwNU1Huv4aN3qVENQR1O/5Pa4Mdw2kLDfPTM77EeXh+mDrK4E3vm7d DFV4IgfzEHBr42zmdVz4O9EiR/5Ssnh8gnEZ7kXK2loUzG9yL2oDhWHwlWYrM4kNhRY8 rDjbjVtZIzvuulRubz3MJONhpEXhaDYU1Pw0p91hEiWGI/LxnSPM0qaSAAHbKaag2pqs 45BTqiaLXgVZgeHekTgJoSGbWFwaLFW4URjA3S4feGQt35iLrRo2J18Fk1/AtJKKGa7Z gko7erSJRUA/OicD6NI7FRI8eaOb9bWwNH2tLv2Fv6n1WLAR3aFi/yRLdJr4RO3R4i2q 6jQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=LRY8C7wucfF/B/r5Qck4+abP1qaq8PZ2hb27AmRVcRY=; b=ip3hNAR91iJ5oCRyKEAuE/TOCK2Akwi+6zL+mJhitK1CxhggdN3jA7p4F7DYyQKVRf B5c3E7l6yoUM03BWEY8I+1Hgtd2bcQMGz203zO0ytRHA7Omc1KlFVl2oZBmA5ExnP1FO uEua3WLvfxHdiJxGyGX9cnJTMVOHTQ6YL0l5udhvNQWXXNK6eSmUN/2YF8IiPOcCBYgA yWGxJJTx3zIbufarcSXh7oM050iNabhGV/FhbOnEsmjj6SuqQwX1r/yl98x2489aomZ2 fNNOSnlLC7zw1R9CasZMv+aw4I6+ThqfuWFljy9bJEpS2b4/jdr+ddfNB7Lj2PCVMfyo URLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=Oym7T3hR; 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 x10si35622737pgl.209.2019.01.04.14.48.06; Fri, 04 Jan 2019 14:48:24 -0800 (PST) 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=@sifive.com header.s=google header.b=Oym7T3hR; 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 S1726230AbfADWqz (ORCPT + 99 others); Fri, 4 Jan 2019 17:46:55 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:37946 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726118AbfADWqz (ORCPT ); Fri, 4 Jan 2019 17:46:55 -0500 Received: by mail-pf1-f196.google.com with SMTP id q1so18913018pfi.5 for ; Fri, 04 Jan 2019 14:46:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=LRY8C7wucfF/B/r5Qck4+abP1qaq8PZ2hb27AmRVcRY=; b=Oym7T3hRS8UnLGxENZoHx9nleXmgJlHuk1zs+xwJEMXim9Mcy3/9KdDuOiiKXdGofS zu+SVZjS+3tB+bxH7Qg8fn9URCwXfv7UmI8YCcD0EEVwU7YMqlHiYJGqBuuYsMe3gpkO vbcSXR6TjSmOKk31I9bZ3dw/MBqoO1EA9iv8FzkMR56rGHYMVtX63Mw8xcBQfi8mYuxb VAH8/RBFAqDbDiYgkD0s9+cbl0RIeVmqzRhlaBICRTynfvdKN+qVls6ZoB8taT1HCyl4 QRfIKPTB7ot/5Fwkwgp32HKKOpLhp06kNrY5lWz/UaYGPmryRhJni0pz5QilxVUQpyw6 GHBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=LRY8C7wucfF/B/r5Qck4+abP1qaq8PZ2hb27AmRVcRY=; b=EroHB1uvjbyhD0lQn5YvzRln1z0HYF/Ia/9PWlis/EkClf26PiHchAJUrr9vZJ2fyc z1y/dvcU7Dw48hF6KIpeNAKuxRlUV6md6q32WHal7AkEvC/IhNEd2rer+1uuaoTEvaWU yh+ifIHmzg2RX0Wj682zQ7fRj1slDpVqnT36x/hs7/edywh0iBaAF1kpFMjs8FkzxSG3 W2sIgHd7FQnXzK2cpzgXcF/RFbfI2aGGkd0PDv0WlIdfa1QLzrOl2uynrK0np6xC7Xfc 6W+ufGffo7L8/pngtkv1ZfJPptzDJ81cAqtjxk7Hl1tKhi5bJx5AXdo7ARG3vaxM3FES mCBw== X-Gm-Message-State: AJcUukd/JgRcFEcXhxElFUakwFhv3v7QPJ+YcUXHWNSXKAsAZaxh3/tc FHwy5+TxC4acIMm3Qha4Tjd9qw== X-Received: by 2002:a63:6f0d:: with SMTP id k13mr3100518pgc.42.1546642013905; Fri, 04 Jan 2019 14:46:53 -0800 (PST) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id z186sm91085267pfz.119.2019.01.04.14.46.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jan 2019 14:46:52 -0800 (PST) Date: Fri, 04 Jan 2019 14:46:52 -0800 (PST) X-Google-Original-Date: Fri, 04 Jan 2019 14:35:01 PST (-0800) Subject: Re: [PATCH 3/7] dt-bindings: riscv: cpus: add E51 cores to the list of documented CPUs In-Reply-To: <20181220210141.GA17198@bogus> CC: Paul Walmsley , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, mark.rutland@arm.com, aou@eecs.berkeley.edu, devicetree@vger.kernel.org, paul@pwsan.com From: Palmer Dabbelt To: robh@kernel.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Dec 2018 13:01:41 PST (-0800), robh@kernel.org wrote: > On Fri, Dec 14, 2018 at 09:21:50PM -0800, Paul Walmsley wrote: >> Add compatible strings for the SiFive E51 family of CPU cores to the >> RISC-V CPU compatible string documentation. The E51 CPU core is >> described in: >> >> https://static.dev.sifive.com/FU540-C000-v1.0.pdf >> >> Cc: Rob Herring >> Cc: Mark Rutland >> Cc: Palmer Dabbelt >> Cc: Albert Ou >> Cc: devicetree@vger.kernel.org >> Cc: linux-riscv@lists.infradead.org >> Cc: linux-kernel@vger.kernel.org >> Signed-off-by: Paul Walmsley >> Signed-off-by: Paul Walmsley >> --- >> Documentation/devicetree/bindings/riscv/cpus.txt | 5 +++-- >> 1 file changed, 3 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/riscv/cpus.txt b/Documentation/devicetree/bindings/riscv/cpus.txt >> index adf7b7af5dc3..fb9d4f86f41f 100644 >> --- a/Documentation/devicetree/bindings/riscv/cpus.txt >> +++ b/Documentation/devicetree/bindings/riscv/cpus.txt >> @@ -68,8 +68,9 @@ described below. >> - compatible: >> Usage: required >> Value type: >> - Definition: must contain "riscv", may contain one of >> - "sifive,rocket0" >> + Definition: must contain "riscv", may contain one or >> + more of "sifive,rocket0", "sifive,e51", >> + "sifive,e5" > > I can't really tell what are valid combinations from this. It reads that > I could list every string here and that would be valid. It is basically > 'riscv' plus any other combinations of strings. I think that's actually the correct interpretation: if it's a RISC-V CPU then it must have "riscv" listed in compatible, but it can also be anything else. There's some concrete examples here (a "sifive,e51" is a type of "riscv"), but I don't think it's realistic to count on us being able to enumerate all RISC-V implementations here.