Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1724048ybg; Sat, 19 Oct 2019 01:07:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjwK1F0Vi28LMTlR90HrlpzoQsEZVvA8Gnc07kePWW3F2H6ILysXLSW/n1jEHuuLo70MXm X-Received: by 2002:aa7:d807:: with SMTP id v7mr13812529edq.220.1571472451213; Sat, 19 Oct 2019 01:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571472451; cv=none; d=google.com; s=arc-20160816; b=w2PsH9EFJQcEsVyeRA3QIUVkD8Szv2dVxlh8Q3LrianL5LxTC7yV1wBDyceJwh1f/r 7OPS+VTStPT2Y/j3LjcML072itS28n05VUKrwtu8A3MV/XhaFbx2G17ytlL7CRssWFGS yCp5vHHqPEOof9x54w29QzoOqqSM1oiyRYZKYNyXKzp3/rQqjpvnxoacWefod6Qb5JU9 qUA8NF4JWvfKKszwZWrD7pM9iXPra8bY9cROdSR2fDyXZbR2rJ3iR/ixiPCtl7QZ4HwW euCWF6gflS4U03Zq6zbin6byFmBbt+3SGMl6FKz66iMpfyi/fSTATTR+ODQTTO1XEXVk JggQ== 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=g0wJcF0+MU8onT4dQlcS5SYf3gjezQhPtNmK0I7nY6I=; b=LvK5lM0hgkDPZO+OUpiJwesmDqdwNAJbHoL9btVihX1El/JUC7NtyFjy0Kf98yuuW/ yjqpBXaWv3Mwl6NtIHILKSqt7uAzajjZguqBQSWGhAcxaubr0KyMEx5Gp0td81oBf0Qj P06rWs63QQCxboCCzzoRyJw81tFnBWfGCecdwHsBOoBVKmwU7oG+rOoUbE/xqN912mz7 lIUEr4T9+e+xejp5MNP6oalB3wx/yU3fhsobKajsKD5ICZsMsMdCp9ehaWFpQnM4sWPD tUlUREAvpC0CccRh/nPXNzzNzwhbvpqELhYZI8oMlcHYpftttbeYUtbKyj+sMjKhl44R Qiow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AC2Lkt+5; 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 z19si4760228ejr.244.2019.10.19.01.07.08; Sat, 19 Oct 2019 01:07:31 -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=AC2Lkt+5; 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 S2409730AbfJRJ3h (ORCPT + 99 others); Fri, 18 Oct 2019 05:29:37 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:38147 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728723AbfJRJ3g (ORCPT ); Fri, 18 Oct 2019 05:29:36 -0400 Received: by mail-pg1-f196.google.com with SMTP id w3so3046517pgt.5 for ; Fri, 18 Oct 2019 02:29:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=g0wJcF0+MU8onT4dQlcS5SYf3gjezQhPtNmK0I7nY6I=; b=AC2Lkt+54mTJ8oA7oUAFoCNuCudKUP69OuYq8gUduwPZydK3rvBO//TtYfOpIs7xw9 rWyccryi7QP4SA2CgY8TDSk1BJx2ZDZKA1bx4OeOhUxBFo+ur3JbMEMrMHIw4o7PA28X vNtSql73UXPGvwZeNeYcyDBKU++Hduf0kh6uajhB0cgItaFqHMwHBP7fiEMxkcEpYPyM D4OgKxg7+leENuo/IGr+b85l2vhbRPT0HESQSADQbHmG53Rr1pkIjypouOU/ItHz+eAi UeP/TVHfsLAwAfgj/psAMseWVV5z4y0kxrQfA4LOipxDtAGpfAh0jckWOaaRYRhLM7px eVFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=g0wJcF0+MU8onT4dQlcS5SYf3gjezQhPtNmK0I7nY6I=; b=dvRpIKrLDkVVf9z0zTzsPRX9jx03CgSNxMrAQI3iPRWHlGJnbnQ2jMpR4Gau2kpy8c NFplNsbxX08e04VFzPPsIYx9+kft/aCwlmWHSj2P2Qe8IKE7qXgZhoi96IBUgKer+ccR DDuL8NhPHmFrNFq0qfecu1eOVXAhtPuP+BIkvKdomZpdvq2Gu8WGNy1T4rc8k0dSPLLv +7DMRcOgyChSkE7fh9ntGjahX1ydQ8+9+bUlt4/i0Fhs9uiN8Ineyp24GlDSiUTIaEil 4SW/2C0eW5EKwyTla8fB/beZAkhn+QksjSPWxENWBRZApCxjwJqmoJkQc5OuNyAyrQlG xu+Q== X-Gm-Message-State: APjAAAVZ4yZoliWcfbtcU4Oykkq4Qmp7eAXiWFrcdgTFdrzV6gHcRg5J Y2aDNdQN1fS3Xdez3F8z4JuJew== X-Received: by 2002:a63:5a59:: with SMTP id k25mr9044265pgm.171.1571390975933; Fri, 18 Oct 2019 02:29:35 -0700 (PDT) Received: from localhost ([122.172.151.112]) by smtp.gmail.com with ESMTPSA id r185sm5809366pfr.68.2019.10.18.02.29.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Oct 2019 02:29:35 -0700 (PDT) Date: Fri, 18 Oct 2019 14:59:33 +0530 From: Viresh Kumar To: Dmitry Osipenko Cc: "Rafael J. Wysocki" , Linux PM , Linux ACPI , LKML , Sudeep Holla Subject: Re: [RFT][PATCH 2/3] cpufreq: Use per-policy frequency QoS Message-ID: <20191018092933.2i7dpr35wkxemgby@vireshk-i7> References: <2811202.iOFZ6YHztY@kreacher> <20154332.AJkCBzCetj@kreacher> <1707f018-fc6b-0122-17e0-635340daa4ef@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-10-19, 00:29, Dmitry Osipenko wrote: > Viresh, the warning is actually triggered by this line: > > https://elixir.bootlin.com/linux/v5.4-rc2/source/drivers/opp/of.c#L664 > > So it looks like the cpufreq-dt driver removal drops > opp_table->list_kref more times than it should be. I may try to take a > closer look at it later on, please let me know if you have any suggestions. I was able to reproduce it and have sent a fix and cc'd you on it. Please give it a try. -- viresh