Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5923223ybh; Wed, 7 Aug 2019 13:53:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRJQahTPUhyxyuiNLGMFedHQYfQCiJKsxlk1zFP+I80z+RaRk4cGhiezVgWXpvb+y0Bk+C X-Received: by 2002:a17:902:8205:: with SMTP id x5mr10096056pln.279.1565211206680; Wed, 07 Aug 2019 13:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565211206; cv=none; d=google.com; s=arc-20160816; b=JP3j521zMdHMyXWYXA133Bz+28HOGmJz3+6wfTa7FqTnH6M7SdWdzBb41dmHkgsSSC /+qY6c/c8NIvJndHQw1VeYE0veJuXAYoPWytPpt1PRcb9DRdDktdt+1ezqUUH3D4sUS3 1aiC9AnI3c1QSiEEi5pR35Oh6KcXGhco6qd9UCd0OFpr9c8AsqOIpq4SbCcQedNE7pSG FwJmgeY2JLrLxP6r9NFzVeAWwr4Ie4mnmcRJCZBsYTqe3CBsH4HNKxmFhDPNTbs1F0zR TF4qoCaHiAiPjbHbmUbvhYLExsJGV261mD3cydd59AJKRrDEsLOjqXtqJkcuVnhm1uX/ LIWQ== 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; bh=Hsr+7IuYZ22l7OIvx3fQa1mKuz2z9lcudCb1f5vrKBw=; b=JFhL1UdbUU71rvCgDpgomKnpODDrCV2keQo/tYK3evyBH2GJiPPTChxzIipJmQ3Phu ursZrLVSXptAF45yHdCyLVb0u/khtzegdfkdi9fAE7y1QaNinDEqYuTW3zivtMHZZZjG icc7oZ40YAgi013nNsfbWPEaoJHfrz0SooGKvqSmah1c2V9PyAEkky5DXJfDp2P9+oq6 IU1NT7C2Tgdq+bZoHxq/RmJLs8n4ZZyfLvLySXy2DFtgiXO1xpiyWrIKbVaFweiZWfFy m7lIcUt8AzLdwWrL/kFBC6t7sfjEWqORe4AmhBTHXdv/N3ZhBle2540ExEDS7V4eHM0l 53QA== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x21si35819281pgh.477.2019.08.07.13.53.10; Wed, 07 Aug 2019 13:53:26 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389224AbfHGUkg (ORCPT + 99 others); Wed, 7 Aug 2019 16:40:36 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:36047 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388428AbfHGUkg (ORCPT ); Wed, 7 Aug 2019 16:40:36 -0400 Received: by mail-ot1-f66.google.com with SMTP id r6so109675680oti.3; Wed, 07 Aug 2019 13:40:35 -0700 (PDT) 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=Hsr+7IuYZ22l7OIvx3fQa1mKuz2z9lcudCb1f5vrKBw=; b=lEhV3X4YTQyW9sc35BXtfzvcHrJqfkUliJ6bzuDTWcGFqYi21PFP5dHOqusDQW0vxL EJ/p2Gs3LKGEdSskQdd0La2eCtnAEvM6sgv9lyylrCIYr3xREzaFMyzjho0xzBBK5uxH F5J1oIfXhau/C0scn76ub9QbaZC/i7H4rQdPZq9z8fA5tV3G5Z/hS6uJQJ6jYkM+lS45 BA+UR6JnjLjrtjUwmxGz8HxZeNm/24qzjZZiDqIpc9NfSwH25p0G8nwJY36EqR291AmS C+PNEbObw2vKTWcEiHRQ+G492FRFGHDp89DiA0rmFKYlf+/8SPuYnLKIokTxxZ9yj7fg VWGg== X-Gm-Message-State: APjAAAUvSVkwbV2m2iy3NlgogmgwXqcPcQ/BaWXIoYXYxgf4X0XwryQP O8+L4Lr5ZFZTy3q83p/u927sTZn0MNXNWejgxms= X-Received: by 2002:a9d:6b96:: with SMTP id b22mr9983761otq.262.1565210435206; Wed, 07 Aug 2019 13:40:35 -0700 (PDT) MIME-Version: 1.0 References: <20190807153340.11516-1-douglas.raillard@arm.com> In-Reply-To: <20190807153340.11516-1-douglas.raillard@arm.com> From: "Rafael J. Wysocki" Date: Wed, 7 Aug 2019 22:40:23 +0200 Message-ID: Subject: Re: [PATCH] sched/cpufreq: Align trace event behavior of fast switching To: Douglas RAILLARD Cc: Linux Kernel Mailing List , Linux PM , "Rafael J. Wysocki" , Viresh Kumar , Ingo Molnar , Peter Zijlstra 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 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?