Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp458157imp; Wed, 20 Feb 2019 03:17:34 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ6tVe3M2+x18rmjn9EqEfUD7amTypqbP4hsN2P82aPR33NazGBw/7dzUQGYy7EyPyiK8fG X-Received: by 2002:a63:440d:: with SMTP id r13mr28554384pga.5.1550661454476; Wed, 20 Feb 2019 03:17:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550661454; cv=none; d=google.com; s=arc-20160816; b=Xmx6QY/vWwEv6YNdqR7ppMkssuG3AUDDyfVN+VLMB17dBFXz8dA+wLs7CemfEZ+CsN I6KGxvzjPHvZbJUQMwRbrK6qYN6eRkdcWdKtYnSSd7HHy0IkH0UkTLuD+rHG1q5rIHDQ lyQvU45MivNtLJLviRxQFvnsIo8HMAk87+L22ylFGvQDoytTNPZgtdgMzo5pS8etC7UA Tn/ZuZxFY2pPU0Vq/1RVEAH8e5vMjAedsebYqYL7JCJnXDaDt6IyZYTl9vMG/uGZCFLc nmEZH0Hq+BTkv/pc0Gfwrg6HTI4ENtN0Sg2uw0nlztppoFciz4wFtQPRa8vaVhAJ90Eb b8vg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=mlrGDBOiOR4xl9nSAGUWfJUUZXHZn1i9/jNPHObKDus=; b=oCAYbtiAPeEJ/5DJOJPnZj/zeouJsz9kFtkv5TrGHLUD+5tTUMe/PmCu3GRtvV7lwF FkOPHnPSN41z5SdxzQju9GgMAvOvy2z0jnTtiJBIIjEnAtLFdzEdAOtJfUq8TiErTRRy oX4o29xYRW7IMWPqhrOv/4rQzDCjq4sPXNrr3GqG8S7WbJWQ952fAqLOC/rwD3Qwy7zC efJsUR8gL7dGme2OicmLmZvFACzRTyWeY0h/jibpmNLiPBIrwtDYwe3yzb3EVSMeRlZt 6VhtxCyQvqR3IWRfN3Kx6Gg9BmJ6HoB6B3bniIat9ZSmQFL9JG2+eOkOfBfzdPLFsl7H uaKQ== 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 q189si18782886pfb.62.2019.02.20.03.17.19; Wed, 20 Feb 2019 03:17:34 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727967AbfBTLQt convert rfc822-to-8bit (ORCPT + 99 others); Wed, 20 Feb 2019 06:16:49 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:42876 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727322AbfBTLQs (ORCPT ); Wed, 20 Feb 2019 06:16:48 -0500 Received: by mail-ot1-f66.google.com with SMTP id i5so39470917oto.9; Wed, 20 Feb 2019 03:16:48 -0800 (PST) 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:content-transfer-encoding; bh=55LREwQIv0cNYvZOxzHBO8fr+JYV0bKQKbawM3aD7Eg=; b=YVNTUN8iR59tTxzUudz6kubrw5E25GbkjLP3q8mqkDJ11yzTZ5CFueCuien/oLB3ZO Ln9+GMOQKoOiovd24peTf2yoSvUZ4Cne7E46q/2kLEFZf0geh4zoHKkkvPrxmec9+Kkb RcecXmOJKsvptBk2dITTGYPv1lgZMvgsn1cCdk4uErIuo8q7eE7FyXRHVSFGrbQyhhhB YHHWpwVriSxOToMAFyrX/p5r2bcT8ZE9CRTv6oyHaUfSWCkfsSJoERUrd38hEcnTNfDB jdwpOO1cCKIF5vkDEoaOBL3yk9/ebUjv+ov/AJDJ1WWUiC7wqn+29tmciwZl3OtjoeAn 68cQ== X-Gm-Message-State: AHQUAuYGXJ3PYrVbyloh/hCAJXCn5ocMip2VjRRvulKklP9afmVgyRTA m7tk0dlLEQKEt9l9XSDPXz9ETu/g5bWDjhOK5sI= X-Received: by 2002:aca:ed0f:: with SMTP id l15mr5644428oih.76.1550661408015; Wed, 20 Feb 2019 03:16:48 -0800 (PST) MIME-Version: 1.0 References: <20190220101017.19587-1-e.velu@criteo.com> <1d9ff7a8-5f05-6554-d019-9665536aea84@criteo.com> In-Reply-To: <1d9ff7a8-5f05-6554-d019-9665536aea84@criteo.com> From: "Rafael J. Wysocki" Date: Wed, 20 Feb 2019 12:16:37 +0100 Message-ID: Subject: Re: [PATCH] cpufreq: Report if CPU doesn't report boost technologies To: Erwan Velu Cc: "Rafael J. Wysocki" , Erwan Velu , "Rafael J. Wysocki" , Viresh Kumar , "open list:CPU FREQUENCY SCALING FRAMEWORK" , open list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 20, 2019 at 11:52 AM Erwan Velu wrote: > > > Le 20/02/2019 à 11:41, Rafael J. Wysocki a écrit : > > On Wed, Feb 20, 2019 at 11:11 AM Erwan Velu wrote: > >> There is some rare cases where CPB (and possibly IDA) are missing on processors. > >> This is the case fixed by commit f7f3dc00f612 ("x86/cpu/AMD: Fix erratum 1076 (CPB bit)") and following. > >> > >> In such context, the boost status isn't reported by /sys/devices/system/cpu/cpufreq/boost. > > So I'm not really sure why the extra message is needed. It looks like > > this message will always be printed (with debug output enabled) if the > > current cpufreq driver is acpi-cpufreq and the boost attribute is not > > present in sysfs, which only is the case if CPB/IDA aren't there. > > > > Does it provide any additional information, then? > > When you know and read the code, yes this patch is too obvious. > > As a user when I was troubleshooting why the boost entry was _not_ > populated on one CPU and was populated on another. > > Running acpi-cpufreq with dyndbg, I would have found useful to get that > hint. > > So that could helps users that never read that part of the code and > which are tricked into that configuration. OK, I see your point. I'll queue up the patch, but I guess I'll change the message.