Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp2735ybg; Fri, 25 Oct 2019 15:33:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqztX9sKhZQm/It6+mX1V/FtShlS+94RF5sfPRmAnokFGMn7tQyFUky9H2BfPQzaF8lZeGoG X-Received: by 2002:a50:d713:: with SMTP id t19mr6632673edi.185.1572042816290; Fri, 25 Oct 2019 15:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572042816; cv=none; d=google.com; s=arc-20160816; b=pEDXeyDLvJOTSWBXvIglHNDUzDnQ0AxLzOa3wicgLDmtp0kX4MtYYU+xHRNp6BMDo/ sRtoCaR5komr7i2EbGKlKh2DpQ9PufP+a4Ppt1a1DV7xgi0Qex+ZCr9qyw79oCcJdldQ mUzZK0Jj65M8Be0D+ALnUR7Hdj0bA+Q4zfTpSAbJ/pg4kkBa9F0HfUwyKUBedBdxncxw qBmkcsitRljGBZm2YOK6+2kWdroeydA1KCJmYpugwTD7wEFXdwhXwcx5pfVALzCckZga 55QE4NthM1f2zuKehwtspF35IedlJGjO0EwHaFd2Dho3YnVmfB+5VToGnCxXzVfqtRw1 55WA== 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:references :in-reply-to:message-id:date:subject:cc:to:from; bh=qieBIXXN6zrJ+UiV5S1Wp5GaxHNiEEYxL6Zcb91zkyA=; b=WXPlve8XDKi4DKzKL0DhLIeg0JC9SsYB/i1wfIObGLuuEY1jfX1LZlsnibn0NUKfPA e0Yge0zeaFKPonhMrOPW4czrcLf55SXnJ9VEsYdRJvRHPDcASeGFjok9MqTOeYm3X8f9 Zbpo4nHnglAk3OpRXQSYftxNiOmLLLJ46keFiNU8IlczwCebZxB355aqifco2sQhrvpG AKMumdTX2EFoOh3zdusoDAp8B309A09cqzCR0SP0kelks3IIJ244UoNl5B0ZMYzXULT6 T+PQckZC2wOpOEHGB2hL1giMmnG8+/2KI9SivMC+MpXiJ/Zby7SoJr7p5tUoQtwDLbkl k94Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g25si2130495eds.210.2019.10.25.15.33.13; Fri, 25 Oct 2019 15:33:36 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726622AbfJYLXM (ORCPT + 99 others); Fri, 25 Oct 2019 07:23:12 -0400 Received: from comms.puri.sm ([159.203.221.185]:48150 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbfJYLXM (ORCPT ); Fri, 25 Oct 2019 07:23:12 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 2785FDFFDB; Fri, 25 Oct 2019 04:23:11 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n3Wpa7Rk3YNc; Fri, 25 Oct 2019 04:23:10 -0700 (PDT) From: Martin Kepplinger To: daniel.lezcano@linaro.org, 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, Martin Kepplinger Subject: Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver Date: Fri, 25 Oct 2019 13:22:55 +0200 Message-Id: <20191025112255.9253-1-martin.kepplinger@puri.sm> In-Reply-To: <34b1ed94-1223-60ec-ac4f-0b32be67eab2@linaro.org> References: <34b1ed94-1223-60ec-ac4f-0b32be67eab2@linaro.org> Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel, Quick note: You're missing a kref_init() in this version of the cooling driver. Also, as already mentioned, set_freezable() doesn't seem to work without supporting suspend/resume. And since cpuidle got somewhat completely reworked in 5.4, could you create a new, rebased version of this? Let me know in case I missed an earlier update. thanks, martin ---