Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1264068pxb; Tue, 17 Aug 2021 07:40:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyh6jT3cFreA1sxM4zMy2wfy6WHLyrc1mK9FPinF9WByHd2PqdgM/AQ0/PqxptyTTzZp/lN X-Received: by 2002:a92:a008:: with SMTP id e8mr2601746ili.187.1629211203876; Tue, 17 Aug 2021 07:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629211203; cv=none; d=google.com; s=arc-20160816; b=dOBiX1yDWvyu16tnYGOC4fIurMUh6xUiutA0w751gVqBx8NsARNuy+extjdu2W5Cwe wM+fNlzh86VbXA0B53AQ/KS0NLLXjeKpzgzrRjcYbTi6I9jdl86X3wVaS5KbXvMY2yzP LI2BJz6Ha5ZrC0QCaFM7quGlj43NT4CYR2TbdbO6e9zH6gxRpC5HyFjop3cDkp2POgje TuGFTfiPbw5XVNuwUcW7PoPTPUG4ZOb8CJBaN0vZ5L7uY68i9cgDlm7TZYH3ynqIIj0R JGxhwne/+egIjHrnDUMT0D6DIv/87buvlEP+4r6KGbgV+ihPkagQe43JfCnUmYA/BW/Q C5xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=pPGAkNnpq6fsck6aXsEX9APzmsIXHViWwibkFDbDlM0=; b=Wo4fVsriusCXpnQHN1m63JMdt85dKO3ajA2qv4FzRhDeBx6PzIBL9hrbIRFoLMn5Fs DQDgEfAGtcujFHjigwIKTvWZJC6GzPvA5tjWRrCcA+kp24fGlQYg8I9WIHPfY5W5io8Q yEZ1Qw1Rdn/7gQuUYalClfWP5azP3FqUnk3/n8I4hUVb2M3nRVsbRvCrCqwiDjaS9iTL blUKPqsSZzRtKPsTn6uESsqRxtGzAgscmwf0SlbavWaCnYSnRrzxCvhRC6+iaNEqhnFJ GC0fVHxWUPYGiOqIlrZUsAkEXg7vnLVfIXOcy/lJUWGhHekHjigg87+URUBVe//t6fPr ESzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y9si2946952ilu.22.2021.08.17.07.39.52; Tue, 17 Aug 2021 07:40:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237821AbhHQOjU (ORCPT + 99 others); Tue, 17 Aug 2021 10:39:20 -0400 Received: from mx3.molgen.mpg.de ([141.14.17.11]:54895 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S237475AbhHQOjT (ORCPT ); Tue, 17 Aug 2021 10:39:19 -0400 Received: from localhost.localdomain (ip5f5aeb65.dynamic.kabel-deutschland.de [95.90.235.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 5268B61E5FE00; Tue, 17 Aug 2021 16:38:44 +0200 (CEST) From: Paul Menzel To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" Cc: "Rafael J . Wysocki" , Paul Menzel , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] x86: intel_epb: Mention firmware in ENERGY_PERF_BIAS warning Date: Tue, 17 Aug 2021 16:38:29 +0200 Message-Id: <20210817143830.34552-1-pmenzel@molgen.mpg.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The warning ENERGY_PERF_BIAS: Set to 'normal', was 'performance' is shown on all my Intel systems, and for a normal user it’s unclear what to do about it. Change it to ENERGY_PERF_BIAS: Set to 'normal', was 'performance' (unchanged by firmware) so it’s clear, that it might be possible to change the setting in the system firmware. Signed-off-by: Paul Menzel --- arch/x86/kernel/cpu/intel_epb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/intel_epb.c b/arch/x86/kernel/cpu/intel_epb.c index f4dd73396f28..3f8c0b59d08a 100644 --- a/arch/x86/kernel/cpu/intel_epb.c +++ b/arch/x86/kernel/cpu/intel_epb.c @@ -91,7 +91,7 @@ static void intel_epb_restore(void) val = epb & EPB_MASK; if (val == ENERGY_PERF_BIAS_PERFORMANCE) { val = ENERGY_PERF_BIAS_NORMAL; - pr_warn_once("ENERGY_PERF_BIAS: Set to 'normal', was 'performance'\n"); + pr_warn_once("ENERGY_PERF_BIAS: Set to 'normal', was 'performance' (unchanged by firmware)\n"); } } wrmsrl(MSR_IA32_ENERGY_PERF_BIAS, (epb & ~EPB_MASK) | val); -- 2.33.0