Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3420397ybc; Thu, 14 Nov 2019 08:52:39 -0800 (PST) X-Google-Smtp-Source: APXvYqwhdWvrIYHIe1WaiADco6xxM/O+BaokRI0n8MvveGvRxZUu5ebi9XHgCvUosQrug/uFMaRg X-Received: by 2002:a17:906:b7c6:: with SMTP id fy6mr9520013ejb.90.1573750359435; Thu, 14 Nov 2019 08:52:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573750359; cv=none; d=google.com; s=arc-20160816; b=Sxs6C4DkrtzvIlXgX/KvvAFewgGN7AuroDYiyvK/JCQCauvRTivZH+hWlloMQXRfhO BlAqezu1YN9Cp6Jnh99HlLQ7dg7XtuyfEVK++CWhn+n1NQtqLCH89dZ6ITEZSP/EvWEQ dFAASCZMAmpw92jDXImdaNDWOR7JeYeJmqtuEKAxhJZatgxcKmYLjF5tKKmQ7m50SCQM PrBAu/FpxYu/3RlPUTCLzxEBSZnwGzdQ395gMKkV3eoD0HSqAVahmEWUB+c7LpP3kujG oQGcvim+d265ID1VMeplyK6m3Utkh42iH+se8cEL112Ze7SAxuN9oR6dfx9jS7EiwiwS XnAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:subject:from:to:cc :references:in-reply-to:content-transfer-encoding:mime-version :message-id:dkim-signature; bh=Lsw4NM8ilCcLsFEk3WVMlx7LY6dwCnUqw6N4RDhOWYo=; b=YPnM9ZjV5hiZomUjQvcuIMfEFCbPSvXw08xK+QBRnwwS4lkIvQsAtlFWbjZl/5KLU0 5Q9F9bqhvwrN27pEI75nmrsgVC2lTA75+0jKKsQrQhPoO5IVbk0yoOypq2W4sq169gBH pyVcZquQZUeTf5Y/Z99+T4gGgxQNMZNxYObQp6b5pan9M/zdsdPGHgOsaGdcICmxQqyl gI8xCffCSYIr3UOlHcAbXzvJmL6QD+kIJ7aI2QIuaAcwtEhUS/7C2Xux4KQos3biFmDD YfiXOm7mvxcv6goi6D2HUoPgJPvI0mT6+AjiBXVVdAPaxTUcm15mfb2fBiQ6MQtQg5cW 0edQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NSKxpFUN; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d30si1420938edb.403.2019.11.14.08.52.14; Thu, 14 Nov 2019 08:52:39 -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=@chromium.org header.s=google header.b=NSKxpFUN; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727004AbfKNQtO (ORCPT + 99 others); Thu, 14 Nov 2019 11:49:14 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41666 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbfKNQtO (ORCPT ); Thu, 14 Nov 2019 11:49:14 -0500 Received: by mail-pf1-f193.google.com with SMTP id p26so4611404pfq.8 for ; Thu, 14 Nov 2019 08:49:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:cc:to:from:subject:user-agent:date; bh=Lsw4NM8ilCcLsFEk3WVMlx7LY6dwCnUqw6N4RDhOWYo=; b=NSKxpFUN3Ugn9srDVLslcd3E1wLcNJ9OJWAmw1RcOC2DgJVNZW7Xitu3fkRLFV+iTT 0QNUR4I2eb6VBkCC98XVZDpXS+J7AwrEpA7EHnW5hFiulgFS44mIr8MGatPPHDn3zpuI 6cCWWx1oNLikmFSv9TuQz7YOp+EPcHHUXrVNw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:cc:to:from:subject :user-agent:date; bh=Lsw4NM8ilCcLsFEk3WVMlx7LY6dwCnUqw6N4RDhOWYo=; b=ccVia3uTRN+lYgrqgSdszjVj5USzkreUYuXIZcthgZLX8XF/KLwjQWH0g44QixwcU/ OeEniN7pjvrryLBOVCQILMdTJgKYoJVhphQ1FPbupf6eixShEBvoFu3TA85T6F5XDB67 lcvMwdFWV2vUGTAYQvd97XO5mKd3Dbi+i7czJUGjY0ebeI/9gVXXu1tDbp4JStlc22TN 6n+t/g3PgvPfmiWFlrW53bZ6vTFIbpkginwQS50UUsE+lCTL6DyCdCH/0gr0kOIw6jLh clZ7i1ZGIfq+R5GFJU4fX6n4NFPn9Giyh544HfmEDTyMD71C9+D+SnjPVXb29fNH9C0C cLrg== X-Gm-Message-State: APjAAAWIPMZgQnXWsPhIrWYpP1VxoW+FvKnKNrbK1Bf1GbsYMB5ehgbt YeVyVdD8r5xpd3A8RMSo0CMvBA== X-Received: by 2002:a62:5258:: with SMTP id g85mr11585671pfb.180.1573750153174; Thu, 14 Nov 2019 08:49:13 -0800 (PST) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id y22sm7199564pfn.6.2019.11.14.08.49.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2019 08:49:12 -0800 (PST) Message-ID: <5dcd8588.1c69fb81.2528a.3460@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1565197bda60573937453e95dcafbe68@codeaurora.org> References: <20191021033220.GG4500@tuxbook-pro> <2fbab8bc38be37fba976d34b2f89e720@codeaurora.org> <81f57dc623fe8705cea52b5cb2612b32@codeaurora.org> <1565197bda60573937453e95dcafbe68@codeaurora.org> Cc: Bjorn Andersson , Mark Rutland , devicetree@vger.kernel.org, Andy Gross , linux-arm-msm , linux-kernel@vger.kernel.org, Rajendra Nayak , Rishabh Bhatnagar , Doug Anderson , linux-arm-msm-owner@vger.kernel.org To: Rob Herring , Sai Prakash Ranjan From: Stephen Boyd Subject: Re: [PATCHv2 0/3] Add LLCC support for SC7180 SoC User-Agent: alot/0.8.1 Date: Thu, 14 Nov 2019 08:49:11 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Sai Prakash Ranjan (2019-11-13 07:00:40) > Hello Rob, >=20 > On 2019-10-25 13:24, Sai Prakash Ranjan wrote: > > On 2019-10-25 04:03, Rob Herring wrote: > >> On Thu, Oct 24, 2019 at 6:00 AM Sai Prakash Ranjan > >> wrote: > >>>=20 > >>> Hi Rob, > >>>=20 > >>> On 2019-10-24 01:19, Rob Herring wrote: > >>> > On Sun, Oct 20, 2019 at 10:32 PM Bjorn Andersson > >>> > wrote: > >>> >> > >>> >> On Sat 19 Oct 04:37 PDT 2019, Sai Prakash Ranjan wrote: > >>> >> > >>> >> > LLCC behaviour is controlled by the configuration data set > >>> >> > in the llcc-qcom driver, add the same for SC7180 SoC. > >>> >> > Also convert the existing bindings to json-schema and add > >>> >> > the compatible for SC7180 SoC. > >>> >> > > >>> >> > >>> >> Thanks for the patches and thanks for the review Stephen. Series > >>> >> applied > >>> > > >>> > And they break dt_binding_check. Please fix. > >>> > > >>>=20 > >>> I did check this and think that the error log from dt_binding_check=20 > >>> is > >>> not valid because it says cache-level is a required property [1], but > >>> there is no such property in LLCC bindings. > >>=20 > >> Then you should point out the issue and not just submit stuff ignoring > >> it. It has to be resolved one way or another. > >>=20 > >=20 > > I did not ignore it. When I ran the dt-binding check locally, it did=20 > > not > > error out and just passed on [1] and it was my bad that I did not check > > the entire build logs to see if llcc dt binding check had some warning = > > or > > not. But this is the usual case where most of us don't look at the=20 > > entire > > build logs to check if there is a warning or not. We notice if there is= =20 > > an > > immediate exit/fail in case of some warning/error. So it would be good = > > if > > we fail the dt-binding check build if there is some warning/error or=20 > > atleast > > provide some option to strict build to fail on warning, maybe there is = > > already > > a flag to do this? > >=20 > > After submitting the patch, I noticed this build failure on > > patchwork.ozlabs.org and was waiting for your reply. > >=20 > > [1] https://paste.ubuntu.com/p/jNK8yfVkMG/ > >=20 > >> If you refer to the DT spec[1], cache-level is required. The schema is > >> just enforcing that now. It's keying off the node name of > >> 'cache-controller'. > >>=20 > >=20 > > This is not L2 or L3 cache, this is a system cache (last level cache)=20 > > shared by > > clients other than just CPU. So I don't know how do we specify=20 > > cache-level for > > this, let me know if you have some pointers. > >=20 >=20 > Any ideas on specifying the cache-level for system cache? Does=20 > dt-binding-check > needs to be updated for this case? >=20 I don't see how 'cache-level' fits here. Maybe the node name should be changed to 'system-cache-controller' and then the schema checker can skip it?