Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1015251ybi; Tue, 16 Jul 2019 08:24:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVaOMgYp5lGiGMqKBdpD6b1Jj0Mw8blcmx9kcYgZ6B0RUQl9yjnxxuK3RRjDluUfUe2GkT X-Received: by 2002:a17:902:8696:: with SMTP id g22mr35471869plo.249.1563290676828; Tue, 16 Jul 2019 08:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563290676; cv=none; d=google.com; s=arc-20160816; b=PFm8zGIlTXlBXjP86Cz8MQmy1eJSKo8jtEq8LTeLnUynw3v9BBMyWtayG0/BOmY2rq hs6wHHPotetL+Hr1ZeWl2IK9Pi3qGxLmqft0ggGpmB3BDYk0fghpwf4n3/eWRLdxEAcF wPtrULpVsh2YT29RRFzNnPi80+hMHooow3zGVDMLbjsyyEkcgYTxcnsm6jiYMcuweLXI PLAI9pX3M4JZgHjloqU5BuNMC1m7dOVXxZM7eJD5TAWpSwSQYj/wYTi+sdfXaHQAOzI2 hH9GrVwlQQwBWUOSkw1lSy5uJ9XT1JfqGFqBGtHRdfpjze3elmU/UDepxnCWGmLX3X53 YwJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=N195P2f0us9phWu08NVADmmlZekvAMPF8Z5SqipHjkU=; b=W8Hbc17aYC3mET+3+DWaYMiQ1ReZmFGoPKCDhnnNfKcKQToJNBH+54dKh2dsrk9CYb 0JmywO2dxEdjHw/+HQQO0uHAav1E7QnnHh8SJ4UoTEVB7PxrraNX8Y1cmasecjxAUMkv Bq4ZDS0MU5KqeRGxlUwldZajPt+KTUvVk5c0rkS6RmDykPGUauOxjqkAO0np51BWWxx9 iO6L6sZGI2oqVZSlZaIALyBJFUMDdmbdujEtMQquHg7j97RtI8JTvMAkaTCwRGcF7YXh Rb6AV2xXXLlaiIVuVjDQmWqpi/UJoSCIVvn5SG+EYg3f+TVam3Xcv8Bgw2CGf83XSik1 6Ktg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="UFwnonZ/"; 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 18si20281596pgf.457.2019.07.16.08.24.20; Tue, 16 Jul 2019 08:24:36 -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=@sifive.com header.s=google header.b="UFwnonZ/"; 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 S2387880AbfGPPYB (ORCPT + 99 others); Tue, 16 Jul 2019 11:24:01 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:44652 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728290AbfGPPYB (ORCPT ); Tue, 16 Jul 2019 11:24:01 -0400 Received: by mail-io1-f65.google.com with SMTP id s7so40463479iob.11 for ; Tue, 16 Jul 2019 08:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=N195P2f0us9phWu08NVADmmlZekvAMPF8Z5SqipHjkU=; b=UFwnonZ/cfc25F4c3cAbdHC6solwqR0l8lLv7BAeP9Ozczdhg8nGvZUpzg5Y37od+t Xhq8oFbJNiKcY8wa+O3h0pLxMIMjaTMb+94vSFlm1z9xCPzC3a2dp42DZuExmajJeSnW lHIQNUWp4FqhJHcTAgwX2SLv1lo8pDeq5vp5Eg3CjBTBMnXmqEQ0W8RPbRkISSlIthCk jv1bxEzIfW+XBKdww/YOIQsrxjtyP7J43c47tngACpodJTHHOHj9jg6CwatIOqGsKEw9 V8lbFN9aabPXiEZIackgQeu3hBNIzDEGxgIEPFReyyll+Je2q4zQp8hV3c4jJUWOT+UL qPrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=N195P2f0us9phWu08NVADmmlZekvAMPF8Z5SqipHjkU=; b=V8F8VyeXzBBd4aa4JzYE0EXBVqqi0hqTXMEvt6hcujwR+1vIVjRkyAe8oLB9/j2FOl iseBGjyZw364tf5bT4oqHw8T8YNeDMWSKpY0TaON1eeLtnBXdfE7F4ma+828jxRtvL82 fxk6x6oZhkHXB0HV6JLxbD2f1IQlBPK98jQjSbXafBYhTRQM3EhgW5x+Mn4LsEcRumAn 1lo29t4v9d8ic7yL7Qk5vxNjQTGbtUnx5ZVS9cZdUCjzzr4eU48rBTo/G0AebXclOgAm cJ52Df433k6eM31qjowDxZHpGmF4LnktheKj5Jg1u9QdRTIEIYIdCh8PV7Bnz5GiU/Bc obXQ== X-Gm-Message-State: APjAAAVHEBZ5AuFsEFJeDu00/anJYxEjsIfs3tL29PSPrEZPlJ6MfcLH eSQOrAB47tdCh7u75jdBOTIpBc7Wfss= X-Received: by 2002:a5e:9701:: with SMTP id w1mr32235289ioj.294.1563290640716; Tue, 16 Jul 2019 08:24:00 -0700 (PDT) Received: from localhost (67-0-62-24.albq.qwest.net. [67.0.62.24]) by smtp.gmail.com with ESMTPSA id t133sm29445698iof.21.2019.07.16.08.23.59 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 16 Jul 2019 08:24:00 -0700 (PDT) Date: Tue, 16 Jul 2019 08:23:59 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Rob Herring cc: linux-riscv@lists.infradead.org, Palmer Dabbelt , devicetree@vger.kernel.org, Lorenzo Pieralisi , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] dt-bindings: riscv: Limit cpus schema to only check RiscV 'cpu' nodes In-Reply-To: Message-ID: References: <20190626235759.3615-1-robh@kernel.org> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Jul 2019, Rob Herring wrote: > On Wed, Jun 26, 2019 at 6:00 PM Rob Herring wrote: > > > > Matching on the 'cpus' node was a bad choice because the schema is > > incorrectly applied to non-RiscV cpus nodes. As we now have a common cpus > > schema which checks the general structure, it is also redundant to do so > > in the Risc-V CPU schema. > > > > The downside is one could conceivably mix different architecture's cpu > > nodes or have typos in the compatible string. The latter problem pretty > > much exists for every schema. > > > > Signed-off-by: Rob Herring > > --- > > .../devicetree/bindings/riscv/cpus.yaml | 143 ++++++++---------- > > 1 file changed, 61 insertions(+), 82 deletions(-) > > Paul, do you plan to apply this? I have several fixes to send to Linus > if you want me to include this. Please go ahead: Acked-by: Paul Walmsley and thanks for asking. - Paul