Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2440684ybh; Mon, 5 Aug 2019 01:00:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzlS+oauSbRv21kH15k64PKTsUy1qzcPSxXOAlP7emhIB6Zqhwx4WgTmY2Rj/mCfLz+Sf0t X-Received: by 2002:a17:90a:30aa:: with SMTP id h39mr17038547pjb.32.1564992015917; Mon, 05 Aug 2019 01:00:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564992015; cv=none; d=google.com; s=arc-20160816; b=EPp8oVfwj/bzzZ+JR/rWotpg8gfs3VZxIhPLLbq6C6RQqogjErmGRifHrPQik1d3Pb x/9bswtsEP4C2t03hPz/MegadzQ2TPtqV50QxJTBQVi9cHQRBqzKklWb3oLTTNN3IgSR M3ga//sEIlAgg/Ss81UT9fFx81bXRn3gmLmTHU4eCfIbqaVMJbMs97FOxv2c9NoRpEV6 lwJL2RLpvm4msHlQm/zat0LVqofJKUlSVuDS6Ysi4H119YO67BIucjANfPsm1yu7oxw4 nM7L3cFDoQxQKfH0HQ6vLgTdMjtsT2HAtWaEvzyZpjbOM1HWzcM8Pwc94sJXriCDzK7v rzvA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=Tqd0bpoP//iZnBL1ULJ+B/2/MGB5z7IFUqOHk1lrMKo=; b=fuSbhvfUCnmjCo4EVrCmczBanwnhJJogyTDvH4GLXbC/Ff+34Qa86+KdbTs4O7C1je B1xC0yZ7CJ3I5IcDvMMGfZ8aMxZpG3jrJY1Tsv1IDIGdAsLwgsM7FltAWBMbZyB4gXSF tIC75O/u1xuuT00Q7p2yneBkLwglLkRBLMQMyaH8fUPcOiQ18Ub5d2wblzs6sxAKbAPv zkEfG41C1wI+sAErBFkvJIObgAukvPHYGWh6iGq1OkMWIArFtGjKz2Dv4FSbkd4p7p10 0hHgcgOrsAs2iPd6ohVy9Uq7zNwHggiAgI23E03DrRQiNzA+2VPWD2dIRQxv5bZpC2Pm 5Ytg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fwyq5Ggr; 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 k73si40635099pge.353.2019.08.05.00.59.59; Mon, 05 Aug 2019 01:00: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=@linaro.org header.s=google header.b=fwyq5Ggr; 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 S1727651AbfHEH6I (ORCPT + 99 others); Mon, 5 Aug 2019 03:58:08 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:52382 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726656AbfHEH6H (ORCPT ); Mon, 5 Aug 2019 03:58:07 -0400 Received: by mail-wm1-f65.google.com with SMTP id s3so73718741wms.2 for ; Mon, 05 Aug 2019 00:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Tqd0bpoP//iZnBL1ULJ+B/2/MGB5z7IFUqOHk1lrMKo=; b=fwyq5GgrZ2K1IspWWeLOBJr4Fg+uzFcey+ANWp8BNtlAA9Va5QCdDLuDD3l9NPqaxN WcQZ4n6CKO/bNhaMGg6uDEQ1BY9ShNuhmtodCrBaEUK/bBvV6l9yPWOyBNSNZXE2i3Ig 9NOocffHrMTQ3918y7XZsW4PV6vp6gwiRVaYFYBi703AfKILCr9lL2yK52AmKr8Eyp71 aMddZ4R4d/GCg0B2ZvlJ5WOFPkT3P73HcVzP7ycLRfJgTEfIq0yyrsj+QrzEMgMNSy3s Vwhelnz0xQl6ZPW57daevtBExV3cBBQH7jJpKbcSOj/2alMQiq1KkqkJ9IqIDbCHOKY9 1esQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=Tqd0bpoP//iZnBL1ULJ+B/2/MGB5z7IFUqOHk1lrMKo=; b=QbhS2VvCY+LL4zpugcp+8nv6af42E7taUjQces+bNV1K5vznftbMXK1FIb0nPzXvmf Y2xdXBehG+PswF5OLPrr5UYe/FvGUtRtHbcq6vEWO4JuUAT21LEdxohXPw4yX4EBIM28 FROHKbN8n/sNojraj92gYQaIc8rnOoGOEe9eAOJh/EOtbSwBw+CbqTuFlSncQOEhiU9+ 3nGklvK5ebT+QmGqafE3qxoRE09SXTKp+gIs2mES6NP3Kjelx1CwVMbH8O3jfkr83oLX b2pHeU0bctusiVH4kTjYUFJ//f33ue7Jj88CY0aixNRwN+y5P3T3DbMuvobNh+zM3Gdd VNAQ== X-Gm-Message-State: APjAAAVCjhMnQEknYzNMtGPbvSDqnLtN/G7U5KvyCgSWNyf6McG8wNsV tAn3OvBIVIemr21GPGIDXkvaplxTYaY= X-Received: by 2002:a7b:cf3a:: with SMTP id m26mr17858708wmg.6.1564991883482; Mon, 05 Aug 2019 00:58:03 -0700 (PDT) Received: from ?IPv6:2a01:e34:ed2f:f020:1d1:2aa9:b538:861? ([2a01:e34:ed2f:f020:1d1:2aa9:b538:861]) by smtp.googlemail.com with ESMTPSA id g2sm72770348wmh.0.2019.08.05.00.58.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Aug 2019 00:58:02 -0700 (PDT) Subject: Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver To: Martin Kepplinger , viresh.kumar@linaro.org, leo.yan@linaro.org, edubezval@gmail.com, vincent.guittot@linaro.org, javi.merino@kernel.org, rui.zhang@intel.com, daniel.thompson@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <1522945005-7165-7-git-send-email-daniel.lezcano@linaro.org> <20190805051111.24318-1-martin.kepplinger@puri.sm> <02ec23c3-37ee-4e9f-56a4-453a30a29747@puri.sm> <421c43a9-c721-05eb-1860-dfb5c042bc95@linaro.org> <172fc66f-a385-1d58-91f1-60224fac348b@puri.sm> From: Daniel Lezcano Openpgp: preference=signencrypt Autocrypt: addr=daniel.lezcano@linaro.org; prefer-encrypt=mutual; keydata= mQINBFv/yykBEADDdW8RZu7iZILSf3zxq5y8YdaeyZjI/MaqgnvG/c3WjFaunoTMspeusiFE sXvtg3ehTOoyD0oFjKkHaia1Zpa1m/gnNdT/WvTveLfGA1gH+yGes2Sr53Ht8hWYZFYMZc8V 2pbSKh8wepq4g8r5YI1XUy9YbcTdj5mVrTklyGWA49NOeJz2QbfytMT3DJmk40LqwK6CCSU0 9Ed8n0a+vevmQoRZJEd3Y1qXn2XHys0F6OHCC+VLENqNNZXdZE9E+b3FFW0lk49oLTzLRNIq 0wHeR1H54RffhLQAor2+4kSSu8mW5qB0n5Eb/zXJZZ/bRiXmT8kNg85UdYhvf03ZAsp3qxcr xMfMsC7m3+ADOtW90rNNLZnRvjhsYNrGIKH8Ub0UKXFXibHbafSuq7RqyRQzt01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j6G/l2lDYsqKeRG55TXbu9M LqJYccPJ85B0PXcy63fL9U5DTysmxKQ5RgaxcxIZCM528ULFQs3dfEx5euWTWnnh7pN30RLg a+0AjSGd886Bh0kT1Dznrite0dzYlTHlacbITZG84yRk/gS7DkYQdjL8zgFr/pxH5CbYJDk0 tYUhisTESeesbvWSPO5uNqqy1dAFw+dqRcF5gXIh3NKX0gqiAA87NM7nL5ym/CNpJ7z7nRC8 qePOXubgouxumi5RQs1+crBmCDa/AyJHKdG2mqCt9fx5EPbDpw6Zzx7hgURh4ikHoS7/tLjK iqWjuat8/HWc01yEd8rtkGuUcMqbCi1XhcAmkaOnX8FYscMRoyyMrWClRZEQRokqZIj79+PR adkDXtr4MeL8BaB7Ij2oyRVjXUwhFQNKi5Z5Rve0a3zvGkkqw8Mz20BOksjSWjAF6g9byukl CUVjC03PdMSufNLK06x5hPc/c4tFR4J9cLrV+XxdCX7r0zGos9SzTPGNuIk1LK++S3EJhLFj 4eoWtNhMWc1uiTf9ENza0ntqH9XBWEQ6IA1gubCniGG+Xg== Message-ID: <34b1ed94-1223-60ec-ac4f-0b32be67eab2@linaro.org> Date: Mon, 5 Aug 2019 09:58:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <172fc66f-a385-1d58-91f1-60224fac348b@puri.sm> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/08/2019 09:42, Martin Kepplinger wrote: > On 05.08.19 09:39, Daniel Lezcano wrote: >> On 05/08/2019 08:53, Martin Kepplinger wrote: >> >> [ ... ] >> >>>>> +static s64 cpuidle_cooling_runtime(struct cpuidle_cooling_device *idle_cdev) >>>>> +{ >>>>> + s64 next_wakeup; >>>>> + unsigned long state = idle_cdev->state; >>>>> + >>>>> + /* >>>>> + * The function should not be called when there is no >>>>> + * mitigation because: >>>>> + * - that does not make sense >>>>> + * - we end up with a division by zero >>>>> + */ >>>>> + if (!state) >>>>> + return 0; >>>>> + >>>>> + next_wakeup = (s64)((idle_cdev->idle_cycle * 100) / state) - >>>>> + idle_cdev->idle_cycle; >>>>> + >>>>> + return next_wakeup * NSEC_PER_USEC; >>>>> +} >>>>> + >>>> >>>> There is a bug in your calculation formula here when "state" becomes 100. >>>> You return 0 for the injection rate, which is the same as "rate" being 0, >>>> which is dangerous. You stop cooling when it's most necessary :) >>>> >>>> I'm not sure how much sense really being 100% idle makes, so I, when testing >>>> this, just say if (state == 100) { state = 99 }. Anyways, just don't return 0. >>>> >>> >>> oh and also, this breaks S3 suspend: >> >> What breaks the S3 suspend? The idle cooling device or the bug above ? > > The idle cooling device. I have to configure it out: remove > CONFIG_CPU_IDLE_THERMAL to test suspend/resume again. Errors in the > kernel log, see below. Ok, thanks for reporting. I'll fix the issue. >>> Aug 5 06:09:20 pureos kernel: [ 807.487887] PM: suspend entry (deep) >>> Aug 5 06:09:40 pureos kernel: [ 807.501148] Filesystems sync: 0.013 >>> seconds >>> Aug 5 06:09:40 pureos kernel: [ 807.501591] Freezing user space >>> processes ... (elapsed 0.003 seconds) done. >>> Aug 5 06:09:40 pureos kernel: [ 807.504741] OOM killer disabled. >>> Aug 5 06:09:40 pureos kernel: [ 807.504744] Freezing remaining >>> freezable tasks ... >>> Aug 5 06:09:40 pureos kernel: [ 827.517712] Freezing of tasks failed >>> after 20.002 seconds (4 tasks refusing to freeze, wq_busy=0): >>> Aug 5 06:09:40 pureos kernel: [ 827.527122] thermal-idle/0 S 0 >>> 161 2 0x00000028 >>> Aug 5 06:09:40 pureos kernel: [ 827.527131] Call trace: >>> Aug 5 06:09:40 pureos kernel: [ 827.527148] __switch_to+0xb4/0x200 >>> Aug 5 06:09:40 pureos kernel: [ 827.527156] __schedule+0x1e0/0x488 >>> Aug 5 06:09:40 pureos kernel: [ 827.527162] schedule+0x38/0xc8 >>> Aug 5 06:09:40 pureos kernel: [ 827.527169] smpboot_thread_fn+0x250/0x2a8 >>> Aug 5 06:09:40 pureos kernel: [ 827.527176] kthread+0xf4/0x120 >>> Aug 5 06:09:40 pureos kernel: [ 827.527182] ret_from_fork+0x10/0x18 >>> Aug 5 06:09:40 pureos kernel: [ 827.527186] thermal-idle/1 S 0 >>> 162 2 0x00000028 >>> Aug 5 06:09:40 pureos kernel: [ 827.527192] Call trace: >>> Aug 5 06:09:40 pureos kernel: [ 827.527197] __switch_to+0x188/0x200 >>> Aug 5 06:09:40 pureos kernel: [ 827.527203] __schedule+0x1e0/0x488 >>> Aug 5 06:09:40 pureos kernel: [ 827.527208] schedule+0x38/0xc8 >>> Aug 5 06:09:40 pureos kernel: [ 827.527213] smpboot_thread_fn+0x250/0x2a8 >>> Aug 5 06:09:40 pureos kernel: [ 827.527218] kthread+0xf4/0x120 >>> Aug 5 06:09:40 pureos kernel: [ 827.527222] ret_from_fork+0x10/0x18 >>> Aug 5 06:09:40 pureos kernel: [ 827.527226] thermal-idle/2 S 0 >>> 163 2 0x00000028 >>> Aug 5 06:09:40 pureos kernel: [ 827.527231] Call trace: >>> Aug 5 06:09:40 pureos kernel: [ 827.527237] __switch_to+0xb4/0x200 >>> Aug 5 06:09:40 pureos kernel: [ 827.527242] __schedule+0x1e0/0x488 >>> Aug 5 06:09:40 pureos kernel: [ 827.527247] schedule+0x38/0xc8 >>> Aug 5 06:09:40 pureos kernel: [ 827.527259] smpboot_thread_fn+0x250/0x2a8 >>> Aug 5 06:09:40 pureos kernel: [ 827.527264] kthread+0xf4/0x120 >>> Aug 5 06:09:40 pureos kernel: [ 827.527268] ret_from_fork+0x10/0x18 >>> Aug 5 06:09:40 pureos kernel: [ 827.527272] thermal-idle/3 S 0 >>> 164 2 0x00000028 >>> Aug 5 06:09:40 pureos kernel: [ 827.527278] Call trace: >>> Aug 5 06:09:40 pureos kernel: [ 827.527283] __switch_to+0xb4/0x200 >>> Aug 5 06:09:40 pureos kernel: [ 827.527288] __schedule+0x1e0/0x488 >>> Aug 5 06:09:40 pureos kernel: [ 827.527293] schedule+0x38/0xc8 >>> Aug 5 06:09:40 pureos kernel: [ 827.527298] smpboot_thread_fn+0x250/0x2a8 >>> Aug 5 06:09:40 pureos kernel: [ 827.527303] kthread+0xf4/0x120 >>> Aug 5 06:09:40 pureos kernel: [ 827.527308] ret_from_fork+0x10/0x18 >>> Aug 5 06:09:40 pureos kernel: [ 827.527375] Restarting kernel threads >>> ... done. >>> Aug 5 06:09:40 pureos kernel: [ 827.527771] OOM killer enabled. >>> Aug 5 06:09:40 pureos kernel: [ 827.527772] Restarting tasks ... done. >>> Aug 5 06:09:40 pureos kernel: [ 827.528926] PM: suspend exit >>> >>> >>> do you know where things might go wrong here? >>> >>> thanks, >>> >>> martin >>> >> >> > -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog