Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2012737imb; Sun, 3 Mar 2019 14:42:51 -0800 (PST) X-Google-Smtp-Source: APXvYqzfc5b4iLGvOaEvqXNumlwg4gcirNMEKtqykI/+hBxzC+0FnwvzNe/v5SWfYWTl/xa1VjoT X-Received: by 2002:a63:43c1:: with SMTP id q184mr15407330pga.110.1551652970979; Sun, 03 Mar 2019 14:42:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551652970; cv=none; d=google.com; s=arc-20160816; b=jErLgyOvE26UEwnpP/lhHPr3c8tXx8mRCfVw5pDkBferT7CMNZvznlXNXQS3txAaPh rcxXJa2swliKmGCXa0/nq3GPa5Wiq6B4I66TJ9eKG5gw7GHLfYbnbMM2S+CNJvYo1wmu vu3mgCgtf0MT83qPhR4Zygl9lFfFPVewPcEc7iPdbOfhcaqY80lsRmEff/FyTYNit2gA 0Urt/77dxcUqO5uI+g8H4OQPo4lFa7QnWxcGiuU727F1zOCcT4y/4V8AASUU4i8vKMgu ne4u3AjAG7pPspdA0Lj4lDn8Fyk3GdMzw4USuxCX9rSvzX93qIlnKEuXjsQjhPixKRVp vapg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nLadaurLpYY+D5xcHmIFiZmMqTojc+LObuTL1Wve3Pg=; b=tlyObbJ73NmUfzwkR3uHsu3ozi69dDFet7f5Y8kjNavMSSIIHOk5GQZa8jDrXV5l6m /S4xLmnuFGOEdSwys5V3So4xT0ePfk7o9ZESHubMHu6EJHjWyUkZFQfjsXTk42Y69wzA 19cuVCSkds1Qxmd829BmDoTbU+FdgfIfFijHqOxEl+y5vqEvN/SExvhl15hXkpHSYQ9a U9Uj6Rtj7qMAN0xy3uvBVJKE/8OfMJ8+KQXpHxUuU8ODk4GCJBi0edNrtVah3TzZGvpr lry3oRpD+EVPhQTdUSzpYBsb1Ahe/7Jz2vLFrq79IAwivhDJdG3SJVFAmnQPOQ1HQH7W VovQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eA0OwvYk; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91si391138ply.258.2019.03.03.14.42.35; Sun, 03 Mar 2019 14:42:50 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=eA0OwvYk; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726001AbfCCWmP (ORCPT + 99 others); Sun, 3 Mar 2019 17:42:15 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:44031 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725923AbfCCWmP (ORCPT ); Sun, 3 Mar 2019 17:42:15 -0500 Received: by mail-lj1-f194.google.com with SMTP id z20so2636471ljj.10; Sun, 03 Mar 2019 14:42:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nLadaurLpYY+D5xcHmIFiZmMqTojc+LObuTL1Wve3Pg=; b=eA0OwvYkj3okxrP6K+3va4dXNbHdFIzgjtWcfjPCf992fErE7u7E3MfzGm4uYx2BIB NJD0S9OSIDjNE9a6jZqHPGXthlgO0Nt0nwOOOmSREOKTYmbceqiXLzMY9BNzbqjnh6WM IHgA95WxuL+9lHkM+G1czMoO7hCB7DXVZ+hikQhqDINICwN7yAtJz/ZL3EctTceWmV/O ax+6fnb5vts8BPXfci6EhOLLsP5vUyRayHqKu83PH82loNM0SXaBZJqtEi3UMDkt2vv7 rgOQvGXSroR0uwBh87q+Wk6ht6Q/In9AlhVUAvWIgYcYzwbYK6g8O+wQue0clpNZQWu9 gAUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nLadaurLpYY+D5xcHmIFiZmMqTojc+LObuTL1Wve3Pg=; b=mTF55ggsQPNPOS69iEGqzheOXts3xpwKa936HrcaVRacggtrUV08KZ/bvLd8glzD4v jphmGiTWZKoMlvyKYzoGN8dW5byUz8VQt+hk994RTSC43xFM9CXa6YJIR2EMJ4f9sJom IaZ87G1R8PyhGxQ0VXB3ZepHsA9GLUBJ+gQRyZemVNE4GGHtKHkBiL27/TdLkX/KPF8c C1WOqYMTqPDunPwboBZOuE+e/DFp3Atow8rguX8mPWE/JTJfehby6tOu+ZFZb/nOsABW RpezMl0W3Q4HdA97p8HqGUe23gsNTaAdPJnW54QNC3yNSPWqsuqdQbOdQBeUj0xpLeNW A0aw== X-Gm-Message-State: APjAAAWtRD5T5MbVeGt9MhzmADs5Plqc4Vh8IL4ChAEbRSkMAKaoVcX0 L1N9nVwIS1tJ7urvRqkH80VpTY8GjtCoHlGnKJg= X-Received: by 2002:a2e:90cd:: with SMTP id o13mr8763570ljg.153.1551652932902; Sun, 03 Mar 2019 14:42:12 -0800 (PST) MIME-Version: 1.0 References: <9956076.F4luUDm1Dq@aspire.rjw.lan> In-Reply-To: <9956076.F4luUDm1Dq@aspire.rjw.lan> From: Gabriele Mazzotta Date: Sun, 3 Mar 2019 23:42:01 +0100 Message-ID: Subject: Re: [RFT][PATCH 0/2] cpufreq: intel_pstate: Handle _PPC updates on global turbo disable/enable To: "Rafael J. Wysocki" Cc: Linux PM , LKML , Viresh Kumar , Srinivas Pandruvada , Chen Yu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I applied these patches on top of 4.20. The max frequency of all the cores now reflects the actual value and it's updated whenever I change the power source. Regards, Gabriele On Fri, 1 Mar 2019 at 13:51, Rafael J. Wysocki wrote: > > Hi All, > > This is how I would fix the issue reported in BZ 200759 (see this patch series > from Yu too: https://marc.info/?l=linux-pm&m=155137672924029&w=2). > > Patch [1/2] causes intel_pstate to update all policies if it gets a _PPC change > notification and sees a global turbo disable/enable change. > > Patch [2/2] makes it update cpuinfo.max_freq for all policies in those cases. > > The patches here have not been tested yet, so testing would be much appreciated. > > Of course, comments are welcome too! > > Thanks, > Rafael >