Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7047914ybh; Thu, 8 Aug 2019 09:24:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzIcl8pjY8thLvHpq8f1m8eWLQVMTt30A2SSVoesIOwYSOFjaY1rzgxigpuohirUNnYmCFp X-Received: by 2002:aa7:8641:: with SMTP id a1mr16463840pfo.177.1565281490695; Thu, 08 Aug 2019 09:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565281490; cv=none; d=google.com; s=arc-20160816; b=M8fHS/+0dzc9vGw+jkazveDKzSXTbPYuwaJeqtHjn7msbChT8CCjgAYXTEf2iZOBCN BtOUFnUFz4pRHCyzliYOInk3eiRv6kqGhHYTgzzS6QmQKula194lUwAV+L2blj27faTO 6Q0wB+F8xGdwNGhDWybJJloXfjScuGkiD8XUllWkA3BiFEgARGwSW3EEBYe7+2qKSh7J H9MH2hOs7EgVj0MGsGNMY09cE1cB2GAjeLB8M+NXAPvoDLmCsBLmsI7DxAII5LECh68g saSdFUFgVD+vb3wOmR2y8OIpxEk/JS9Fdyv93XuCRdeoDZQmBYoaTymS/JgVauR3FP9J goVg== 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:organization:from:references:cc:to:subject; bh=gZhZe0SCuZf8Knh21ky6oEMlGTadSMeyD+g+67Au4ro=; b=rGrCTZUwaI6sOJ3laFCk7dzxNPXvRKBL7E0E4IlECbrz56dmstADugZjB9+j8NYJRN lK+FoF7HC5q2plDCNR83nYnhernj05LIo0bLUHQA0o1XjG4Kykfg4BDAGfVUiGIkWqqF zc3Z5pXSFf+MsZtlzb1LH1GeBHcXI+/bEXJMHq9Qwjam0zNlILP31iYKoZFBxyEE666y 77gnHWP+UnYW13IhR7EXnDKtOKyU1F2qWnWasNsMaKjjPHVSsGGjKL2Y/sPEqTstwhwF aaZNf4JrMASnAZDTau3Ht/VzIYR0jPsQ22r7fpmj6S9r9PZC9oO2JDCBideibm+JVf7e TNAQ== 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 j1si54644467pgb.482.2019.08.08.09.24.34; Thu, 08 Aug 2019 09:24:50 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404153AbfHHQSD (ORCPT + 99 others); Thu, 8 Aug 2019 12:18:03 -0400 Received: from foss.arm.com ([217.140.110.172]:35660 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbfHHQSD (ORCPT ); Thu, 8 Aug 2019 12:18:03 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7AD301596; Thu, 8 Aug 2019 09:18:02 -0700 (PDT) Received: from [10.1.195.43] (e107049-lin.cambridge.arm.com [10.1.195.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 52AEC3F706; Thu, 8 Aug 2019 09:18:01 -0700 (PDT) Subject: Re: [PATCH] sched/cpufreq: Align trace event behavior of fast switching To: "Rafael J. Wysocki" Cc: Linux Kernel Mailing List , Linux PM , "Rafael J. Wysocki" , Viresh Kumar , Ingo Molnar , Peter Zijlstra References: <20190807153340.11516-1-douglas.raillard@arm.com> From: Douglas Raillard Organization: ARM Message-ID: <433793e3-14c4-9f3b-d503-76471a98b0af@arm.com> Date: Thu, 8 Aug 2019 17:18:00 +0100 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB-large Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rafael, On 8/7/19 9:40 PM, Rafael J. Wysocki wrote: > On Wed, Aug 7, 2019 at 5:34 PM Douglas RAILLARD > wrote: >> >> Fast switching path only emits an event for the CPU of interest, whereas the >> regular path emits an event for all the CPUs that had their frequency changed, >> i.e. all the CPUs sharing the same policy. >> >> With the current behavior, looking at cpu_frequency event for a given CPU that >> is using the fast switching path will not give the correct frequency signal. > > Do you actually have any systems where that is a problem? If so, then > what are they? > That happens on Google Pixel 3 smartphone, which uses this cpufreq driver: drivers/cpufreq/qcom-cpufreq-hw.c. [1] git clone https://git.linaro.org/people/amit.pundir/linux.git -b blueline-mainline-tracking Thanks, Douglas