Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp996330ybi; Tue, 16 Jul 2019 08:09:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxERZ2LSdNsiXvb3dY0zY9zLwNtOJOJUuHf3gH0UWfw1Hap2wj9rlnO2wvtwDX6X2f26Aoy X-Received: by 2002:a65:44cc:: with SMTP id g12mr22642886pgs.409.1563289760566; Tue, 16 Jul 2019 08:09:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563289760; cv=none; d=google.com; s=arc-20160816; b=gLRrgs/AXNmq87kGXOJRXihnbHh4CC9376fdPXpIxd81Ivu5TwwxcqBPu+CofvuIVp AuFvDab0XSG1Z4M1cKKd6uzsOnOXnsx7Izc7m+QTQ9unI4KrxNRpR9KKKZwnYTWMCmdF O0zc4RVxjyexudZaN3s9nQDvOc3URx6OSqDX9TkMkh2iFfytX1chIr8y/avOvH2KJ/K7 UT8jP6hrFXgZDSgSvNU2C0BiA3xAAkW+k5ufNsb5L3r8hdaPSov/98AMvLJ/U2X6tcwo DIp4EbyLfItgAjuxnMRuuXvCglx9lTvzZ1s+fUNGffi/wuwfMCy4tWYH/hb+UN+98wPU rNQg== 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; bh=Lq+XTQD84i5rq4GYB3uQatb4FTKnkx3yuzlWDOG6RXw=; b=yV5J1trV4cqT4dp4dG/o1RaZGLFSFxKHzm/80YlVnFBykg/SAhjZWz3Trf508pqj9+ hSW8NtnE5y03L+/CAzr8H5cPhVbT6bEi3rXxHmhecWKWaXTxMe+KrkDBurStwAdTccXO j4MAatVS71JJp+Cl0QDFSCUsMh8ANQmV1QY0VYHZEMtaOLzSgAcE3HiNGMPAjcxcTJTP d8mC9hqlzide3DajAxJwg+0R0Op6aY12/nUvi8mii7P3Au4NdSxY60NPOgNPxy/4eEn5 GwwiaxIJlWVXSJMQlFXEhIGDCkz57PmgRJGVm68oecySoDd5Kt009F75KVoRa4NwWOCx +OBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="v/wWP6Cu"; 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 w10si18842152plz.48.2019.07.16.08.09.04; Tue, 16 Jul 2019 08:09:20 -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="v/wWP6Cu"; 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 S2387972AbfGPPIO (ORCPT + 99 others); Tue, 16 Jul 2019 11:08:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:35880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728384AbfGPPIO (ORCPT ); Tue, 16 Jul 2019 11:08:14 -0400 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) (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 4B44E2173C; Tue, 16 Jul 2019 15:08:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563289693; bh=KJhKHD7WlwSPz/YtNQ78gwhQw1tnMo7KNHFxIFPMNTA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=v/wWP6CudN3LZ05a20mnKFBIGZbNnb/hXtgq8tq3n1lqPierjZLdSh1ugGYZMdlJo iLmsI7+T9j86zGKMrvwfi40H63QdIYP7a9/1RK5xVRn+qBwJPz2p66C5s1gPmyYa6m 8vmQRNyzUohPEL6JvEv9V5sWOC/Zc+m4jNZg8hd0= Received: by mail-qk1-f181.google.com with SMTP id s145so14839171qke.7; Tue, 16 Jul 2019 08:08:13 -0700 (PDT) X-Gm-Message-State: APjAAAXB4XtnPlJYYcjOWjionjj05n/SlOJPK5KvayhMGpYlsCvpWqZ+ +KPa+2VXaWFzki8Nuw97dOUdtkpuboNDgh8A0A== X-Received: by 2002:a37:a010:: with SMTP id j16mr22559615qke.152.1563289692548; Tue, 16 Jul 2019 08:08:12 -0700 (PDT) MIME-Version: 1.0 References: <20190626235759.3615-1-robh@kernel.org> In-Reply-To: <20190626235759.3615-1-robh@kernel.org> From: Rob Herring Date: Tue, 16 Jul 2019 09:08:01 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] dt-bindings: riscv: Limit cpus schema to only check RiscV 'cpu' nodes To: Paul Walmsley , linux-riscv@lists.infradead.org, Palmer Dabbelt Cc: Lorenzo Pieralisi , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" 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 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. Rob