Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp819599ybs; Sun, 24 May 2020 23:11:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymZTOnvvHkquagYzZTeO5jOSQXoRn6/o2U1qy1Tg47CHNYxESNeXtisWgz7yFFsR4PT6T5 X-Received: by 2002:a17:906:653:: with SMTP id t19mr11642550ejb.346.1590387110226; Sun, 24 May 2020 23:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590387110; cv=none; d=google.com; s=arc-20160816; b=dfhCUZh8siWYJsBn/y21yRoKGKeVuW8jmLX62vcWOwcXjLQwsoAJMMJkyxXaiPgSdp t+xqpeZ3OoVTGY0CVqwAkNgHxMjGa+DQaJcXVahYzSCO3XoAPwYvuFo3D1gLYnl5dAKk 33lisbjt9vksZc1S6H+kGRjC5IYj/uxrCsoxHccaD0nV8qridXZBvFWWHR/F2Ix+HgVM NqfzIrm+fZHh3ucI+l3rAkHBntCmViVuj17vurJbQz0n+CjpJowkCM8mRYTWSi4/pAFO JhumbnTjZQ6bpNQ/GWXG/C1OSQMJtdl2KnsDkzpiJXCtrd/4EkU/7egS+bQbDXk9qiR+ 6V2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :ironport-sdr:ironport-sdr; bh=s4U4mGQEzrkKwjdm8u26pjLeU5oqJx6g7rLSWI8EnxE=; b=XUkcCIaj3rOmZo3ONNBTiWM5vGCQ49SITF/r1Th68/iA//zzmC4TGLohv8CUFLQj1G zn5aE2enPJhHpIr4VBu3Sd2Oz92Ua169j1kUcBlIoYcCf76y1hXJSlZt93s6QbsmnhjT 900eUJtLg9DuM7TFzn0ImqL5yZelcJlzh89du37hmcuF/F79gA9lOWn09BJCjt+1pisn 1oehRX4RgWebm95VotGptCgUF330BeFGKKVxPa+PB008rXT62MRj7BssTip1iiElRY+D /7+gDT8jb+FHz8bGx4hXmqgZ7VC9/8LwByEm7IwCZjdeoqFcNoWHGPMShHxJOdMBJj56 bjdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y21si9010824ejc.681.2020.05.24.23.11.15; Sun, 24 May 2020 23:11:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726572AbgEYGEP (ORCPT + 99 others); Mon, 25 May 2020 02:04:15 -0400 Received: from mga05.intel.com ([192.55.52.43]:54830 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbgEYGEO (ORCPT ); Mon, 25 May 2020 02:04:14 -0400 IronPort-SDR: 9kSyWfSvVnFiImzQbfz4lfIRwXxW/sD63mkQRaKZGh7bhhMRGEHBYKuLmej4Zq60gbVydad3Mp /r10NfXqxlXQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2020 23:04:14 -0700 IronPort-SDR: D6ARfgQKmyak0pTwPydc2j7ckIr9NtLPXVLz1XKc05GS8ByFc4i5VGMgDD4Q82WDtgMcEiUALi kbJ9mr/PTk1Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,432,1583222400"; d="scan'208";a="413409315" Received: from xianrong-mobl1.ccr.corp.intel.com ([10.249.173.7]) by orsmga004.jf.intel.com with ESMTP; 24 May 2020 23:04:12 -0700 Message-ID: Subject: Re: [PATCH 1/6] iwlwifi: use thermal_zone_device_update() for temperature change From: Zhang Rui To: Luca Coelho , linux-pm@vger.kernel.org, gil.adam@intel.com Cc: linux-wireless@vger.kernel.org, daniel.lezcano@linaro.org, andrzej.p@collabora.com, b.zolnierkie@samsung.com Date: Mon, 25 May 2020 14:04:11 +0800 In-Reply-To: References: <20200430063229.6182-1-rui.zhang@intel.com> <20200430063229.6182-2-rui.zhang@intel.com> <4b6a9dbf43a33354c01d760f7fab3723e5882269.camel@intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, 2020-05-18 at 14:21 +0300, Luca Coelho wrote: > On Tue, 2020-05-12 at 09:58 +0800, Zhang Rui wrote: > > On Thu, 2020-04-30 at 14:32 +0800, Zhang Rui wrote: > > > thermal_notify_framework() is an obsolete API, and iwlwifi is the > > > only > > > user of it. > > > Convert iwlwifi driver to use thermal_zone_device_update() > > > instead. > > > > > > Note that, thermal_zone_device_update() is able to handle the > > > crossed > > > threshold by comparing the current temperature with every trip > > > point, > > > so > > > ths_crossed variant in iwl_mvm_temp_notif() is probably not > > > needed. > > > It is still left there in this patch, in case the debug > > > information > > > is > > > still needed. > > > > > > Signed-off-by: Zhang Rui > > > > Hi, Luca, > > > > Any comments about this patch and patch 6/6? > > Hi Rui, > > Sorry for the delay, we have been making some small changes in this > code to support a new interface with our firmware and I wanted to > make > sure things work together. > > I'm adding Gil, who is making the changes, to this thread so he can > also take a look. thanks, Luca. Gil, can you please take a look at this patches series? thanks, rui > > -- > Cheers, > Luca. >