Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1645796yba; Tue, 2 Apr 2019 12:56:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkje7RqBEBdygMjxp0QGadZFPiT7EmD6WH8jpoSWXNDkodJP3B9A0xENHsrQFcUisjTeat X-Received: by 2002:a62:874d:: with SMTP id i74mr43380010pfe.211.1554235017402; Tue, 02 Apr 2019 12:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554235017; cv=none; d=google.com; s=arc-20160816; b=ybx5Shp+w686+f4bTi0eXI1rJZd6UCNeqJxMlcWoyTm85/meTrJXe9XGZ1YcAxt5Ac 9f1k4fybPLMaFV86+FAz5MUmhfzSB9f/AqjfvQCRhMkQd8hCagOhiWcWom0I8q7Xm5JQ rr5PGNJAYexJ4N0Z5m7A45+Qmx3ayQweD0MxrDEfH4nqEgtHRZILlDyygNLy/NL/xX9s au7dTSfHH78KlMYMlZBMCWRnOCwi2ez7eUGbkdGOH37VHrvxE0Oauu2BVR687ucERYPp NkrTt+nsJ2AjAPs2VYSIS38Wd/IhgtbDmMjzfgETcfKs+IjAEuaLNG2Es4ccdzw3Q9nW /Xfg== 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=wbnnvRHb0lPsNaU/XDt0OX50w24Lrp0+QFNJFhAzPFA=; b=WY4cVradPuMLnAmZEK9/XJmDM7ciKoSpHY4d363LnfWg+fOtueigNcMjqGopT8OE6e pJYF1yNfOw1oqXn48PKZnLgQSlxMUBrVBJbwHece6mAV/rtfmvQQeYkPLPHSm7175neK TGgaw7f1nQ6FFjcifu+CN4V2tSymPgo3tPPXvoELYpA0Zc2sE/WQtOgX6ATMc5BZHeZB cNm1oVVWCNM1CAbQHZXCMMWafuhT3LeM9gMDn72l4ghijwDDp9hN64NyySQcCmkXPMtH Z42pYLDyD0eFqPJvGyC3aD0+NEuHKAgfr5n+eZMqL4BawqJE1HB4/2JS55PVi4Ee6wtR 4wjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A2Vvvj5C; 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 e22si11402548pgi.66.2019.04.02.12.56.41; Tue, 02 Apr 2019 12:56:57 -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=A2Vvvj5C; 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 S1729074AbfDBSrE (ORCPT + 99 others); Tue, 2 Apr 2019 14:47:04 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:41585 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728797AbfDBSrD (ORCPT ); Tue, 2 Apr 2019 14:47:03 -0400 Received: by mail-qk1-f195.google.com with SMTP id o129so8558253qke.8 for ; Tue, 02 Apr 2019 11:47:03 -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=wbnnvRHb0lPsNaU/XDt0OX50w24Lrp0+QFNJFhAzPFA=; b=A2Vvvj5CGtwm4Vz9bdDool4LI0k6JeJ659yLmXt4T2TAjV0m4biRy2TEasASsi8LgH BGW+uJDOfj1Rsdn5bOIznLhGgoI6QuXDsCEmy48BD+llJIqytZGEgCg1q+dvAGDwZ+C0 WNvlR1VURHykriR87LmJAnexo46lpg8dkjCTzEqlogoGqNb1CgpjbUaIdhkMD+cBBPhd zDg6lLJMkoWK+0OtXImsv/k4qhm+1xBAnvn1xeMhCZwPiXoOgF/6oS2Er+FZDwFRcNhr +OEtXbO+XK01beHZwYugZIbliXVsU1JKIra8j5KoQ3xhrpqkFSOhyUO8z0hn6oxtSiYk ssRQ== 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=wbnnvRHb0lPsNaU/XDt0OX50w24Lrp0+QFNJFhAzPFA=; b=kWwlFK5Nz/8lU5hkhJYSjsXs81Z+yEYasSTFZnFDCqJyQ4vi+ImoTny6CxDCpYs6SW KwjTUjAyPkYh2z3/SCEILOzVWW5hCnpc6dWW5mvR+/3uIHXnPOtOJ45feB9/3sOkHSVB s+hSWWaRr45bLzTVYGKx+Dup1VFdxjo8SjNwdEonhZek084mNoAZacd6GHwAa2cz6zws LClqiM/iJvrdUk1OJPR2XsSFd1hO0IZ294mngvvx6z6bw3aT0sNqatvUdlfK0qm/Olb7 0Puc3AWTu9HeF3GarwfebsSNGP3jk6mmKsFNOKswghXngPvUy9Ov7BNoIHuu3I8y56u+ MtIg== X-Gm-Message-State: APjAAAUYpkf6yutzYReH3ThViWNxRZrEDMLHQrehSWk6GntkfPRbRhGR J8ImliS3g1CFmQ4L2Jed7BDCp4B/5GFh3SabREnQBw== X-Received: by 2002:a37:e20e:: with SMTP id g14mr38821708qki.138.1554230822537; Tue, 02 Apr 2019 11:47:02 -0700 (PDT) MIME-Version: 1.0 References: <5583cae1-8fea-724a-24a4-59b38a205ac3@free.fr> In-Reply-To: <5583cae1-8fea-724a-24a4-59b38a205ac3@free.fr> From: Amit Kucheria Date: Wed, 3 Apr 2019 01:46:50 +0700 Message-ID: Subject: Re: [PATCH v2 00/13] qcom: dts: thermal cleanups To: Marc Gonzalez Cc: 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 Tue, Apr 2, 2019 at 8:58 PM Marc Gonzalez wrote: > > On 29/03/2019 11:12, Amit Kucheria wrote: > > > Changes since v1: > > - Devices that are not associated with cooling-maps use the 'hot' type > > - Remove critical trip from such devices too and restrict that type of CPUs > > - For 8916, add the sensor on the modem > > > > Description: > > - Expose all temperature sensors on msm8916, msm996, msm8998, sdm845 > > - split up the register address map for msm8998 > > - standardize names of the various thermal-zones across boards to make it > > easy for test scripts to parse > > This is what I see on msm8998 with your patch series applied on top of > yesterday's next: > > # dmesg | grep of_parse_thermal_zones > of_parse_thermal_zones: build cpu0-thermal zone 0 > of_parse_thermal_zones: build cpu1-thermal zone 0 > of_parse_thermal_zones: build cpu2-thermal zone 0 > of_parse_thermal_zones: build cpu3-thermal zone 0 > of_parse_thermal_zones: build cpu4-thermal zone 0 > of_parse_thermal_zones: build cpu5-thermal zone 0 > of_parse_thermal_zones: build cpu6-thermal zone 0 > of_parse_thermal_zones: build cpu7-thermal zone 0 > of_parse_thermal_zones: build gpu-thermal-bottom zone 0 > of_parse_thermal_zones: build gpu-thermal-top zone 0 > of_parse_thermal_zones: build cluster0-mhm-thermal zone -22 > of_parse_thermal_zones: build cluster1-mhm-thermal zone -22 > of_parse_thermal_zones: build cluster1-l2-thermal zone 0 > of_parse_thermal_zones: build modem-thermal zone 0 > of_parse_thermal_zones: build mem-thermal zone 0 > of_parse_thermal_zones: build wlan-thermal zone 0 > of_parse_thermal_zones: build q6-dsp-thermal zone 0 > of_parse_thermal_zones: build camera-thermal zone 0 > of_parse_thermal_zones: build multimedia-thermal zone 0 > of_parse_thermal_zones: build pm8998 zone 0 > of_parse_thermal_zones: build battery-thermal zone 0 > of_parse_thermal_zones: build skin-thermal zone 0 > > NB: -EINVAL for cluster0-mhm-thermal and cluster1-mhm-thermal > > > # cat /sys/devices/virtual/thermal/thermal_zone*/temp > 35800 > 35200 > 34500 > 34800 > 34500 > 34100 > 34100 > 33500 > 33800 > cat: /sys/devices/virtual/thermal/thermal_zone17/temp: Invalid argument > 36100 > cat: /sys/devices/virtual/thermal/thermal_zone19/temp: Invalid argument > 35500 > 36100 > 35800 > 35200 > 35500 > 36100 > cat: /sys/devices/virtual/thermal/thermal_zone8/temp: Invalid argument > cat: /sys/devices/virtual/thermal/thermal_zone9/temp: Invalid argument > > > Are the failures expected? > (cluster*-mhm-thermal and thermal_zone*/temp) No they are not. Unfortunately, I didn't have HW to test, so appreciate the help with testing. I'll check the 8, 9, 17 and 19 again before resubmitting. Regards, Amit