Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3949283yba; Tue, 23 Apr 2019 12:17:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyaxJ2t4BIrDtafFsAchjiXeqYlN6FN9it8n2eWfHT26Rg91iP4d8FQOTV5REx8TGHBgUm X-Received: by 2002:a63:ff05:: with SMTP id k5mr13840929pgi.342.1556047035920; Tue, 23 Apr 2019 12:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556047035; cv=none; d=google.com; s=arc-20160816; b=TYub1RaroYD+y160yqWVmdg8XFS/vhDZwey7anfTNpRJdFRHPLZWbO/GFbaF8+0EPV VEvG2H+6WZ6Z+EMrpki3U7pa+SEgN264hwgdgVl+n8/SfMz014GdNuqUQGAJMkAY8hpa J26DkwVArK5Ps0K4zOgsnny1WJ5E4gAAhNBSa7f05Bg9yDCsqa9Eo9hzvAgRJN94J2B5 f3GNr2Fzx119nMTtY+jzv1B2g/XV/2mJFos/Nd/cscEypjOrMemOFgwo2TFTD67Zvbdb zpFYZavgWpEGQAsqCQ95iJNh9IYEDwvceeBcIkMa8eXcX446hrz3D6bj27lg5PO1mxtQ YGPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mWHG3KDHeMcVCtyAfqCugsNB8lCU6XvqwhjK1Jzd0Bc=; b=Ef4VV+cOC4fBU0pe3e+AVXxqKKL9mVi8+mykD+DvT+4Zbwq0PRiddb8VU3cdoQhP0f sBODDxQchLUzGqVEw7wCnzdFvop8GZzx35avtjRtFs/Pend8mqA6Ewuw/I+DuV6F0lE2 eXvcglM2XnnCHFqWWiAUmrmYMUkfeysrc7QT2SBr84a4+0uZ12xr/Fdpai5cTETuCKPD g09S0VFhHgNQWwEClsW6nq1Ira1GiOrPPv9noALvplzumwrtl3gGyhbL4wuIbr0GKDpl Edw13HU5JQqvwVSbLEpFEN6d4pvLDpOLAb0ZguohX2xUiKWuMZ0wOnEO5Tgi1cdmmdWG JRKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wYaSW1m7; 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 s18si16259493plq.244.2019.04.23.12.16.59; Tue, 23 Apr 2019 12:17:15 -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=wYaSW1m7; 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 S1726533AbfDWTOr (ORCPT + 99 others); Tue, 23 Apr 2019 15:14:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:44368 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725945AbfDWTOq (ORCPT ); Tue, 23 Apr 2019 15:14:46 -0400 Received: from localhost (107-207-74-175.lightspeed.austtx.sbcglobal.net [107.207.74.175]) (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 27A88217D9; Tue, 23 Apr 2019 19:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556046885; bh=BfAAkvG4W/r5rmsZCLki5Q6nJ5+PUd/PE8Z0DdfcSzU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wYaSW1m7zc3iqKNW/DI4xraNw3xzdwfVX12Yy60qrNKR/vJv8S3V9VTf3RUFclIHF Lc4T49S2BpXQ/vxUgZbZLGC6/+odBg8us8kZZktQMNcl7X/K0PqkaDCp0olk0Atysw P2Om/Egh9KSfjddOcUv+EiJuw6qq+k0QKwn8irwg= Date: Tue, 23 Apr 2019 14:14:43 -0500 From: Andy Gross To: Amit Kucheria Cc: Marc Gonzalez , LKML , MSM , Bjorn Andersson , Sibi Sankar Subject: Re: [PATCH v2 00/13] qcom: dts: thermal cleanups Message-ID: <20190423191443.GA8413@hector.attlocal.net> References: <5583cae1-8fea-724a-24a4-59b38a205ac3@free.fr> <842b06c6-15b2-7ba6-702e-c8b043d390a6@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 23, 2019 at 06:26:40PM +0530, Amit Kucheria wrote: > On Tue, Apr 23, 2019 at 3:01 PM Marc Gonzalez wrote: > > > > On 02/04/2019 20:46, Amit Kucheria wrote: > > > > > 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. > > > > Looks like Andy merged this series? > > Argh! my bad, I completely forgot about the need to fix this up. I > need to get me one of these boards. Hey I have a second set being worked up. If you get me the fixups I can add them to that. Or I can revert. Let me know. > We can either revert that one patch for the msm8998, but I think it > might be better if I send a fixup patch that could fixup those 4 zones > instead. Sorry to miss the conversation. I had these queued up on a branch for a while now and totally missed the convo on this. In any case, we can get it fixed up. Andy