Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp437835imb; Fri, 1 Mar 2019 04:54:47 -0800 (PST) X-Google-Smtp-Source: APXvYqzIz8fNJYRZNHG5YYe8/MxK+z0Cu9qn6V2p+l6xBT3QwVA5Fkj8vQxlYaAIlXO4tCKjOjrY X-Received: by 2002:a63:b0b:: with SMTP id 11mr4744825pgl.187.1551444887387; Fri, 01 Mar 2019 04:54:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551444887; cv=none; d=google.com; s=arc-20160816; b=ay+uoFvi0Np6UhcJqNborsZ49AJyYtVvVNLX3jKwbuXnZrUBmMAGImBHw2lVVmNzXj aejIt5BJ6LOQJq4OQmF9Gh5I1wYc1/bckPK6P3iMfC87xuhQWrU8zVip5IXHfr4d+qIR exFfVYqkl/31Y96Wikd8SNQgpFdfNADoQtzGTWeXb6YO+siY1DX6RWRtMM6tTIIqrlOt jvbz+NAoPJUQBrJnmcRThSFE0pslzEIPRKVheWksj2y7uDoy4hCpyIPJull6f0yS/MFE jfeiuqCW6BFtwsrNBT0922pqcSXeewixGXvh4XNBTuvhIyMEVxpYsn2tuumnrd2Na3YA /+qA== 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 :message-id:date:subject:cc:to:from; bh=b2US/nDMC/ddbIz0jZbMY4H1U09FlkQED7jAFKNjhSI=; b=DkW60iqivvyERdanZ4VLR+dM86WAnuNb/NUHKxzoQWVraNZlkkMApjRG6rEZ3wPOdB d0wu0fN4pHKi207fdE8ztzgDxmKLz0WgV/eMocDH1/mmd/loQPVzj8SgeiJMB7kPYrxy rkehJSLUrfrZOqF/Of8t+1AU3jqlPRzbw2d10EB0G6hjjfmbVDv5kfa2XJ28Mjd7ffIq 6u2Op4Dvfzb6H7JOY0suyP/JVl5ho1BYIm4gNZRVRK2UVtAiYW1MUX9t4Y2JaVep8w8h bdp4ff4Ajc9kTMtk7EZA5CoX+MJ+rn2WtnyJaRpjuTcW0j9/4OOWjgDEy4enNs6Fd3PR 9igg== 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 j16si19961000pfe.152.2019.03.01.04.54.31; Fri, 01 Mar 2019 04:54:47 -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; 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 S2387704AbfCAMvE (ORCPT + 99 others); Fri, 1 Mar 2019 07:51:04 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:47820 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731498AbfCAMvB (ORCPT ); Fri, 1 Mar 2019 07:51:01 -0500 Received: from 79.184.254.15.ipv4.supernova.orange.pl (79.184.254.15) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.213) id 4b89f41228b79f98; Fri, 1 Mar 2019 13:50:59 +0100 From: "Rafael J. Wysocki" To: Linux PM Cc: LKML , Viresh Kumar , Srinivas Pandruvada , Chen Yu , Gabriele Mazzotta Subject: [RFT][PATCH 0/2] cpufreq: intel_pstate: Handle _PPC updates on global turbo disable/enable Date: Fri, 01 Mar 2019 13:43:00 +0100 Message-ID: <9956076.F4luUDm1Dq@aspire.rjw.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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