Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1971006yba; Thu, 25 Apr 2019 08:35:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJ4JipZnfJL4RQQocT1N1BsOZdJVaHzqB3r8Iz6JJgxV9HTfMLf1px82xyPZy69KMh8Bd5 X-Received: by 2002:a63:3d4c:: with SMTP id k73mr37936392pga.154.1556206559447; Thu, 25 Apr 2019 08:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556206559; cv=none; d=google.com; s=arc-20160816; b=nxmTQcYZEGoLp36FCj81COeFddfdEnvT8BQQ55kN57UOu6G1zLHcrV32gTMknFlpyo gsGsIaZuJyYIEfkJGLCXgtk4HoDhDShNU0mOmN2kQUzbP3U5+tyi8LJQIrrM9TS+C9+6 3+gX03wliO0Iq46JimsJWB6yCEzKevQwZik/e1tVBOmQq5gwy8/sEp1/HHyfnde8fKXN Z3twFPaPt2XtQUbgyMvZJOy5EQTkVEhlYrnrSzrpxFhrDlJT5sTIskX3uiXlYd7CwwyW 23BgzgKk7VL1nydZzmFWrQP2U/j00AxsqRtG4uM+hyUaLBs1v5bz7Yd0CGiAOiA6wPZi +Qeg== 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=YvpcsYxKpblRj5+jchkadP+EIMWVQeoHvjsvGTTCyfU=; b=0NnYm90LdBRueXvKdkrYL5EjZx4lV+tV77b4trZDjsdVcrx4gQI+RfEhuUnaeKWyDO JKgXGs7pih9Tkegcxf/9hC7N3SlWnw1EMFs3iFkejJrA1+lljd5cfByxVXqxs/5DMtVI UxZhqcN1z1CkstdFczewinV1mJB1gEl5V/X0XaytpgIOwxGsoiMfA5hQwOLc3O6oQexW JBsh5iFG/cR3oNo8yBH6LekSxzTr71bsCNsNahmfM6TWnm7aMy1KMuWt9in4C91AmUNi 0NiTV9UVh0xBHxtokbyqpgJs0Yf8Q+i8mG/H93wzn8JAIGGKW3uHZiiHucbswz+j8GGK KBgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BwP49ySy; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e26si22349116pfi.54.2019.04.25.08.35.43; Thu, 25 Apr 2019 08:35:59 -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=@linaro.org header.s=google header.b=BwP49ySy; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727036AbfDYNQs (ORCPT + 99 others); Thu, 25 Apr 2019 09:16:48 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:46702 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726619AbfDYNQs (ORCPT ); Thu, 25 Apr 2019 09:16:48 -0400 Received: by mail-qk1-f194.google.com with SMTP id w73so10794723qkb.13 for ; Thu, 25 Apr 2019 06:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YvpcsYxKpblRj5+jchkadP+EIMWVQeoHvjsvGTTCyfU=; b=BwP49ySy1oK+txg9tILWwHgxJATEKK4Jywj0sHWsKnrD6rqjmliO1SD9A30rz5M+SC SKY0ZV8kAK04gcX4MM0QbJveGD/sAHEWSt/6fHw5A30J6Utxv+SmFN5lQdqOANJz+kL/ uc1Tmds5YYAa0qAbik8Lu/IEBwQVP7WeLuqHPmnIf4QhPf3aculo1Hm14D7N2GSpvIhe JHDEGs0JLEaaonEZ2ROFnPpv3Ve3AkCdvD/Bt6vD04nhx5YQg2bVo3I4MlMlqsgHB912 d5qmZO1drFGV140WZL5Jw/7XF8tC4Mfd5ivB8MtuutPbI/YOPFT1b6OryFMCQXW5rk1R B7yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YvpcsYxKpblRj5+jchkadP+EIMWVQeoHvjsvGTTCyfU=; b=Qchjh2W8y1mI3vUS3rWFpf7MdRzD8ANCZsQxfBEHYM9SAZcUPdljLTQRZZcTLEKsEF Ixfmwtmjgddt9NLQ7suGHSUAwpc8GfrsVY2ZBKVkz1cJhndQpNS2CT+bzLe/azNTjIP0 ALPCTIRBGLipwxXCMxv8Qrf4vL+ntSnUOj0giiZ4yMV7BRkOZ7AMX8DcHegz7pLoECbJ w3HaTNVCJ6a+iZJHSUWSyNDZ5B8RbwCXXt4cvomGU3ve190Ke0PhU5crplbpK77A3/1i Cne4p+eEBdWCrILpdoq3gfo7bI1dH2o4z1kuCDa2XTe6UO9SGgBVoY9C0nl8WsOcn0ED RW1Q== X-Gm-Message-State: APjAAAVTE6EmmUKxRlHXS5696eD5GgWZ2tFcKgKiXSluDCnB3DH5caIP SAnirKmHCyIAZ65TEZK2nfwfdhYU5nRU2WShggaYdw== X-Received: by 2002:ae9:ee10:: with SMTP id i16mr26572798qkg.109.1556198206901; Thu, 25 Apr 2019 06:16:46 -0700 (PDT) MIME-Version: 1.0 References: <5583cae1-8fea-724a-24a4-59b38a205ac3@free.fr> <842b06c6-15b2-7ba6-702e-c8b043d390a6@free.fr> <903fa0a6-5c40-97b4-1c01-fd84f3e51c62@free.fr> <8e53ea22-d248-8c63-bcda-15b502eb9699@free.fr> <0e2ffc33-1ffd-2eb2-e6a7-117b3f14c2e7@free.fr> In-Reply-To: <0e2ffc33-1ffd-2eb2-e6a7-117b3f14c2e7@free.fr> From: Amit Kucheria Date: Thu, 25 Apr 2019 18:46:35 +0530 Message-ID: Subject: Re: [PATCH v2 00/13] qcom: dts: thermal cleanups To: Marc Gonzalez Cc: Andy Gross , LKML , MSM , Bjorn Andersson , Sibi Sankar 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 Thu, Apr 25, 2019 at 6:36 PM Marc Gonzalez wrote: > > On 25/04/2019 08:31, Amit Kucheria wrote: > > > [PATCH 3/3] arm64: dts: msm8998: thermal: Restrict thermal zone name length to under 20 > > > > The thermal core restricts names of thermal zones to under 20 > > characters. Fix the names for a couple of msm8998 thermal zones. > > > > Signed-off-by: Amit Kucheria > > --- > > arch/arm64/boot/dts/qcom/msm8998.dtsi | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi > > index 062a93a12198..01757829d5f3 100644 > > --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi > > +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi > > @@ -536,7 +536,7 @@ > > }; > > }; > > > > - cluster0-mhm-thermal { > > + clust0-mhm-thermal { > > polling-delay-passive = <250>; > > polling-delay = <1000>; > > > > @@ -551,7 +551,7 @@ > > }; > > }; > > > > - cluster1-mhm-thermal { > > + clust1-mhm-thermal { > > polling-delay-passive = <250>; > > polling-delay = <1000>; > > > > Wouldn't it be better to drop the "-thermal" suffix than to chop characters > off from the actual description? Probably a good idea, but it will perturb my OCD and cause a large search and replace to replace all thermal zones names in this series. :-) I want to keep it consistent across all boards. I don't think Andy would like that too much. > Or would it make sense to increase the 20-char limit to 24? > => Probably impossible without breaking the user-space ABI, since > THERMAL_NAME_LENGTH is defined in include/uapi/linux/thermal.h Yes, I abandoned that path quickly after seeing where this was defined, but I have a follow-on patch to make this a compile-time bug rather than wondering why the thermal zone failed at runtime. > Anyway, for msm8998 patches, you have my > > Tested-by: Marc Gonzalez Thanks a lot for testing.