Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4815875ybg; Tue, 29 Oct 2019 12:49:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaeMcoHneQ4Ii6XCSHrchr1EKk5CXO3TbKJhPgqxeT8zMVB4rT/yfbFE8vnsJpEAintvva X-Received: by 2002:a05:6402:1e3:: with SMTP id i3mr20843208edy.222.1572378577692; Tue, 29 Oct 2019 12:49:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572378577; cv=none; d=google.com; s=arc-20160816; b=YSY7ZICZxh7WN4EuAujuxelMcx5N9vkt+uATWkNpMqsJ1O9xBca7dEQ3ShvFD/S+KX gi/ll8l/W8AmFWDNmV263RZPpyvNdVKs3fLL7UWY2VC/G4NxnDv4cQZKkdGJVtDyX2rq A5lZ0gAHzxnPT3NCJ0MaPyOUPGbOlKWfT+UEljQn1D/E6ELJPUQjlrTirmbqSTk36o50 VGM+/6kwCFL/V4zDT3qZaSO8A1mnS8YBjhoKJMDuv9xxxPK+g4xVA85x3manKvAy12MA /eI/muvkIBY3Gc1WUUBd/V0XDOSDCuwOrefnNVWDTTZGQhPmzOGWIh4I/RdjJTQKPna/ 1XTw== 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 :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=xUaM8NGqiuyer5kECAXsXHpbk+Zy8uwAGaM37b2FpaA=; b=B6H3lKgfJjyLkDoLxS9PrRUGTn4I5O7z3GObD1O2TyS0+OunMBvKgOLPSARec5UyRq 9p+EhJ0YMcPA94fU1W9M6/i5HZ8GsrOLjPFYQJKeK+Z/y3Hf4ZQr9bo706iYMBhSuU3z 0Rb56V9KyTs3+QG0K/ymg2ekL8NNJp89/PWQH3mHtuhzLEVwSRaPsktgf6V6ycxZBUor HHT1ZnMgWiBsoWA0iyBukmhMuQtfPVqZHIhffJxgicqpc9SFcSoXSgCK+0Pe+6Uo0YjZ TORyV43jJr7BM5zPNbO2NOyTxbic6TvQV9CkqVCXNq7XrlIn+4PI2c26TBIW/2Yr8zP4 2v4g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si12643847edc.238.2019.10.29.12.49.14; Tue, 29 Oct 2019 12:49:37 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726905AbfJ2RZB (ORCPT + 99 others); Tue, 29 Oct 2019 13:25:01 -0400 Received: from smtprelay0150.hostedemail.com ([216.40.44.150]:59860 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726416AbfJ2RZB (ORCPT ); Tue, 29 Oct 2019 13:25:01 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id C4978181D3039; Tue, 29 Oct 2019 17:24:59 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:599:800:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1381:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2693:2828:2904:3138:3139:3140:3141:3142:3353:3622:3865:3867:3870:3871:3872:3873:3874:4250:4321:5007:6678:6737:7875:7903:10004:10400:10848:11232:11658:11914:12043:12048:12297:12438:12740:12760:12895:13069:13311:13357:13439:14181:14659:14721:21080:21365:21451:21627:30045:30054:30091,0,RBL:47.151.135.224:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:26,LUA_SUMMARY:none X-HE-Tag: honey62_829271995af5b X-Filterd-Recvd-Size: 2690 Received: from XPS-9350.home (unknown [47.151.135.224]) (Authenticated sender: joe@perches.com) by omf19.hostedemail.com (Postfix) with ESMTPA; Tue, 29 Oct 2019 17:24:57 +0000 (UTC) Message-ID: <9dd814577107edc42c4469ee7c923e062a2b5368.camel@perches.com> Subject: Re: [PATCH 2/4] thermal: stm32: fix IRQ flood on low threshold From: Joe Perches To: Daniel Lezcano , Pascal Paillet , mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, robh+dt@kernel.org, mark.rutland@arm.com, rui.zhang@intel.com, edubezval@gmail.com, amit.kucheria@verdurent.com, david.hernandezsanchez@st.com, wsa+renesas@sang-engineering.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Andy Whitcroft Date: Tue, 29 Oct 2019 10:24:50 -0700 In-Reply-To: <026e676e-0a6c-81ca-3af4-2832118b9ddf@linaro.org> References: <20191029164537.1561-1-p.paillet@st.com> <20191029164537.1561-3-p.paillet@st.com> <8952e975-3bad-4b7d-49ff-b74af942008c@linaro.org> <026e676e-0a6c-81ca-3af4-2832118b9ddf@linaro.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2019-10-29 at 18:21 +0100, Daniel Lezcano wrote: > On 29/10/2019 18:15, Joe Perches wrote: > > On Tue, 2019-10-29 at 18:11 +0100, Daniel Lezcano wrote: > > > On 29/10/2019 17:45, Pascal Paillet wrote: > > > > Fix IRQ flood on low threshold by too ways: > > > > > > Can you state the issue first ? > > > > > > > - improve temperature reading resolution, > > > > - add an hysteresis to the low threshold: on low threshold interrupt, > > > > it is not possible to get the temperature value that has fired the > > > > interrupt. The time to acquire a new value is enough for the CPU to > > > > become hotter than the current low threshold. > > [] > > > > Signed-off-by: Pascal Paillet > > > > Change-Id: I3b63b8aab38fd651a165c4e69a2d090b3c6f5db3 > > > > > > Please remove the Change-Id tag. > > > > > > Joe, Andy? checkpatch does not see the Change-Id, is it the expected > > > behavior? > > > > Yes. It's after a sign-off so checkpatch doesn't care. > > Ah, I guess it is for Gerrit but we don't want those Change-Id in the > kernel history, right? So remove it from the patch. checkpatch is not a perfect tool. checkpatch will never be a perfect tool. It's not possible for checkpatch to be a perfect tool.