Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1441987ybd; Wed, 26 Jun 2019 18:04:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxgMN2Ni2VNO/XdjYLR4b5LZFnEeQ0kjjfCxd46hc9EwlP2mKxdFRx5yO+GOSOgrLTootu X-Received: by 2002:a17:90a:33c4:: with SMTP id n62mr2587626pjb.28.1561597468646; Wed, 26 Jun 2019 18:04:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561597468; cv=none; d=google.com; s=arc-20160816; b=i+Rh3r3fAbQ3Mck/thAtg00LjRFG6QYSscoEnn5mCngqQKmN91eh6RQ3tHAQJqGBHM 1YCXf/y4aX/P4XLAls22hMBnRLAaFo6NbFDZMWxvzyDQGXxlFPSveB3+CSPd0UzsmqLB YCyazYuMZ3XR2mY7978eyY2eh4cKuyidWrHGkf12B7YyJfTkcSlh2DIpTrwteFOEQsLG OWP3xTRGPvopmGtPw5RwWuj38DXWhYvCcbG1i8cidxpVG7iiTtH86dBj+L2hN4vf84/B SqZVYbGlXntOWEP3Bml17NL///AmjkibTlus9UqB8G7zgOywDoA/mYm2qvldG3foIeOZ Vrxg== 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=LukHuzspVdtsbWmPrQxtJofMfIkJuuBn4KLHq+hXvnA=; b=siXTK1xeWTN/f5ULM7WRn0oEHdsMoJHtkrDSIodm8xnGth4Up/dkdKkcB1v8Tdndft O7oUl67ydHcetmzK/9xxpxPuP9taXWGKMzXXeRoExFCUcFibxSibeAJrFFbeAHBAvHE9 efnLFRJVuXdzBV/h9gcBdjf95yhswZzWGp5AydJ3Kjg+uJST30tY6Kh+BF6iVjvkK+mv cXE+Hk0KhZ+yeSXd+ICR+pTOf8BHoo4rXvOPF2gHqDQVD+BTGT+AjkO8LJzqU5g3s+GR 6Hs+VVbTZXSmlz3Uz6WrIYOx+AtG9sdC+mONJ5i02ZmHdP/JVk17qauIjsSMU/EWCF5S 7qgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=S+FOaFSk; 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 a26si528028pgw.585.2019.06.26.18.04.11; Wed, 26 Jun 2019 18:04:28 -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=S+FOaFSk; 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 S1726748AbfF0BCY (ORCPT + 99 others); Wed, 26 Jun 2019 21:02:24 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:32869 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726373AbfF0BCY (ORCPT ); Wed, 26 Jun 2019 21:02:24 -0400 Received: by mail-io1-f65.google.com with SMTP id u13so1028510iop.0 for ; Wed, 26 Jun 2019 18:02:24 -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=LukHuzspVdtsbWmPrQxtJofMfIkJuuBn4KLHq+hXvnA=; b=S+FOaFSkDCDJ8fulPJ2UtIixLPm6C3blKm64Y26FpWliH1L0Kug+UoWJSnPzdI0Hcj WIpQSV5+lHeemPxtT7Xcm9l2PGDireS9Cy5y9WyCF6nc8MvNf86DT26n4Uj7szEVflXK 7TdcSck6au5p+xNo79U3stPs5H1RUiTS20Kh1vpGpP8BZLL1aurZbclNgue4GAr053eG IbbEFmsd4K4jnK/HKIBOTzUgeV8PgouYszZgI9mVl29aXMFMCPbfE0b+q6K1Srmh1sdH CjXuVDZOcP7s9hMhGovvS1kStrCycR0lygvxsnRqkr3dk1iFcCEqAziHpxKtYM1HyLRb 9oCg== 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=LukHuzspVdtsbWmPrQxtJofMfIkJuuBn4KLHq+hXvnA=; b=IN3SS/hg41KgY2gbAOzhEdV4MlBKFNByeKVHiOawslFUn8kgziPWxRBabLxZFdiG2h WD0nGxQ8ijM65mhdkj8EvQ1toBrtlOkS7hnowolwPgfiAQVG3GwPUafOBsLSBiQE0p/1 IPN18h4V9lXCUb6QiMlUvObm1GWuQ/JeN7ahTzllXdmihNhHbRYbZ8Hlp7/tHpViaVhS 5y8g9P5/x2wRJ8LuYodeoz8O9ep3Sc+k6XaPt3C+pNoHEC/5hFuTjezUP+qtq+Jj7QjS XeI81/S+GBS5/kMmix9ULHvAv/kyPThdhB7kZkrtIbwQZuzpfdRT7zOj5uLynhxNibDi 7kgw== X-Gm-Message-State: APjAAAVio1iCI8q5I7f6j8aWeyt3J93rOgrdKTBDwroIBEUi6uihJUme hU8Nbx1982SBLbpInmcPGlk+KQ== X-Received: by 2002:a6b:f711:: with SMTP id k17mr1267637iog.273.1561597343694; Wed, 26 Jun 2019 18:02:23 -0700 (PDT) Received: from localhost (c-73-95-159-87.hsd1.co.comcast.net. [73.95.159.87]) by smtp.gmail.com with ESMTPSA id p10sm1457892iob.54.2019.06.26.18.02.23 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 26 Jun 2019 18:02:23 -0700 (PDT) Date: Wed, 26 Jun 2019 18:02:22 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Rob Herring cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Lorenzo Pieralisi Subject: Re: [PATCH] dt-bindings: arm: Limit cpus schema to only check Arm 'cpu' nodes In-Reply-To: <20190627000044.12739-1-robh@kernel.org> Message-ID: References: <20190627000044.12739-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 Wed, 26 Jun 2019, Rob Herring wrote: > Matching on the 'cpus' node was a bad choice because the schema is > incorrectly applied to non-Arm cpus nodes. As we now have a common cpus > schema which checks the general structure, it is also redundant to do so > in the Arm 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. The RISC-V patch applies cleanly, but this one doesn't apply here on either master or next-20190626. Is there a different base commit? - Paul