From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 965BE324B10 for ; Thu, 6 Nov 2025 17:31:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762450305; cv=none; b=L1yOGbnH3MuQWWkBRMm+LqVMApw0L+L3ltpVRP+Z74bgXO1TGrgkorKxprrvklRjR+5kp05Yeq1N0P7tP5TnmUPDHkr6qByvuGjeU4JS62mxSYK14u09AUVdNI1TagYe5lM8UD7/aZu1EbixYXv38TduRnDEVjIUST4MnXz+dLo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762450305; c=relaxed/simple; bh=zvM6cdXMIl2o5YrUYpRcbskZAazZPGSPd0IzRPXWkXY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=phOtaeD732yknO8gqgbXz2uf2mP7lidJbJMf7iNDdWtud+YMVzP11JYnV6ayR2OjNC2QxnDepXTjl01U3Kv23qsOVO1ftEzfjlMH302islRAVTV+hppKTPQq3zErZ+9A1miuzTO1r5aS6RcqQU11BULElsqojWjYU9HLv+lc8RA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kfocus.org; spf=pass smtp.mailfrom=kfocus.org; dkim=pass (2048-bit key) header.d=kfocus-org.20230601.gappssmtp.com header.i=@kfocus-org.20230601.gappssmtp.com header.b=NlYFc3wb; arc=none smtp.client-ip=209.85.166.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kfocus.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kfocus.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kfocus-org.20230601.gappssmtp.com header.i=@kfocus-org.20230601.gappssmtp.com header.b="NlYFc3wb" Received: by mail-il1-f173.google.com with SMTP id e9e14a558f8ab-43321629a25so11019945ab.3 for ; Thu, 06 Nov 2025 09:31:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kfocus-org.20230601.gappssmtp.com; s=20230601; t=1762450302; x=1763055102; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=nh8x1k2Zf7IvtO+dGH7W6iW6tYC0mC1F9bM8nm3prqk=; b=NlYFc3wbbxXyc4dQnyp+qIZ8eAOKxSo53CmJ0eMxpJtPBLU7sz5mSFvb2YQuwTU7+5 3lwLq1nlgrh/Tj18Ic8fC51ao91R9NFItSt9+yuHqkFcf5klimfMRLi0SPHwxgQpie3X jKWFXbd6C3H7HNZLkAJkFqGrD1nK5Jk1XVJg1sRGaS1t/CJXrRhFoJUTp7bl2z5Ts/cO b1vnjQsF06JS7rqnvbh702IqDWE8vukL1aTICOREa5JGN5cHRP1vqdc5Jotu7G8/Raix agg54M6PuPxRunbmcOsRVy9ocsp/eMkLiA8RsCS3H3NlB7huWYJOQL46zyn+kl5S7PVv rfGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762450302; x=1763055102; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nh8x1k2Zf7IvtO+dGH7W6iW6tYC0mC1F9bM8nm3prqk=; b=o/G8S8MOqAaXZJR+Lc3Kij8XdzxRKMeyvsId//p4jsm/0fkZQQKMXtK4pjFYj1qMOZ lBXy+fjSZIoORw9Q+fzttuVJweS0cX3osEnB7DW6oLiVHgWS6rbQ30bk4FbbjDvsCUo/ +uZNr5JMHYdKHS4PrWMTh2XvKYZTN97fr7NeppHIKDolFS1FwTFBNVndXFgOVR56eUoc DMxcheEZuMcIBtUlHffvSEOYgQhKO4a3ZueBE88WnKTV3K/JkaJ4L6QCT1muNkLgw9IC OMYXefGojvWS6k34paySPtQUCb4RPAVxk1MQSCTl0MrDGAtCGMvZND0EXqVB2KS4zZNF h1Pg== X-Forwarded-Encrypted: i=1; AJvYcCX/3GTPmwMy7Ocg3YP/Z816K8EwVbUMGP9UOeTD1rW084IJ0VfX7TnDhXyGRQ5KhsA+jpjvvFPOow==@vger.kernel.org X-Gm-Message-State: AOJu0Yx/EXhLQ4PBc68Oj+9oMkRd7wjehyIxzqgd+zYLElV7ehGVxtyI G4nHw9vFK4LuCKQeru98+qpByZUXiXKUPy/8qN8gEcTJrL2r+OdBRYhSQs8rqU4vE5I= X-Gm-Gg: ASbGnct0wk5Fth2dtjr4PubRiTXjr972Ff+vIAhJG5pUPF9Ua9lbQGvsWi6cxeCkQK0 Zj4meP2niCUzSwpd/TQ3SYHmHMX4XzpZYMH5sYg0OzpnCBv8O2x8gh4MDX2FZSFKMysKq/8x3Cb PkgDlwKp6WXRgDJeHrBb4LAFDpE9tY0geU1GWYlQSNgfY9bcFMf9XQHbmZSSL9drSJny9EXZEvY /rQfroQ61o8swrTAJUKHQcV6tOVB+8X1JNqT6JFIYKj598h2xwWCRM8slp7BO2phzyfBHvHYzm4 bVG7A0rv/2qci8iYCsAiQjwS92PEWJ/5/CIhGlm1hU9EVnm33fcGJDTA9r45W4D61ynBDZG2Cse QAJW9FRXN4s1EPKOgamiGKmT72rOdu+MXciNmgPlekVQG6D7XqKexLhFLUIQeDQUV5Ars/IebYw == X-Google-Smtp-Source: AGHT+IFOf38k1P2MZKKvXM296nue+jFu8GBwBsGrU4QKGabNFqUeQWQ05rRExCsPshCvY3hti7+jIg== X-Received: by 2002:a05:6e02:188f:b0:433:298a:eb17 with SMTP id e9e14a558f8ab-4335f3a165emr3297095ab.4.1762450302486; Thu, 06 Nov 2025 09:31:42 -0800 (PST) Received: from kf-m2g5 ([2607:fb90:cf2c:12ad:f89e:38ef:3ffa:2ec1]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-4334f42cad7sm12823155ab.4.2025.11.06.09.31.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Nov 2025 09:31:42 -0800 (PST) Date: Thu, 6 Nov 2025 11:31:37 -0600 From: Aaron Rainbolt To: srinivas pandruvada Cc: "Rafael J. Wysocki" , viresh.kumar@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, mmikowski@kfocus.org Subject: Re: [REGRESSION] Intel Turbo Boost stuck disabled on some Clevo machines (was: [PATCH] cpufreq: intel_pstate: Unchecked MSR aceess in legacy mode) Message-ID: <20251106113137.5b83bb3f@kf-m2g5> In-Reply-To: References: <20250429210711.255185-1-srinivas.pandruvada@linux.intel.com> <20250910113650.54eafc2b@kf-m2g5> <20250910153329.10dcef9d@kf-m2g5> Organization: Kubuntu Focus X-Mailer: Claws Mail 4.3.1 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 06 Nov 2025 07:23:14 -0800 srinivas pandruvada wrote: > Hi Aaron, >=20 > On Wed, 2025-09-10 at 15:33 -0500, Aaron Rainbolt wrote: > > On Wed, 10 Sep 2025 10:15:00 -0700 > > srinivas pandruvada wrote: > > =20 > > > On Wed, 2025-09-10 at 11:36 -0500, Aaron Rainbolt wrote: =20 > > > > On Wed, 30 Apr 2025 16:29:09 +0200 > > > > "Rafael J. Wysocki" wrote: > > > > =C2=A0 =20 > > > > > On Tue, Apr 29, 2025 at 11:07=E2=80=AFPM Srinivas Pandruvada > > > > > wrote:=C2=A0 =20 > > > > > >=20 > > > > > > When turbo mode is unavailable on a Skylake-X system, > > > > > > executing > > > > > > the > > > > > > command: > > > > > > "echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo" > > > > > > results in an unchecked MSR access error: WRMSR to 0x199 > > > > > > (attempted to write 0x0000000100001300). =20 > Please try the attached patch, if this address this issue. I can confirm that this patch does resolve the issue when applied to Kubuntu Focus's 6.14 kernel. CPU frequencies are available that require turbo boost, and `cat /sys/devices/system/cpu/intel_pstate` returns `0`. The logs from `dmesg` also indicate that turbo was disabled earlier in boot, but the warnings about turbo being disabled stop appearing later on, even when manipulating the `no_turbo` file: [ 25.893012] intel_pstate: Turbo is disabled [ 25.893019] intel_pstate: Turbo disabled by BIOS or unavailable on proce= ssor [ 25.950587] NET: Registered PF_QIPCRTR protocol family [ 26.599013] Realtek Internal NBASE-T PHY r8169-0-6c00:00: attached PHY d= river (mii_bus:phy_addr=3Dr8169-0-6c00:00, irq=3DMAC) [ 26.725959] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD],= AE_NOT_FOUND (20240827/psargs-332) [ 26.725976] No Local Variables are initialized for Method [_OSC] [ 26.725978] Initialized Arguments for Method [_OSC]: (4 arguments defin= ed for method invocation) [ 26.725979] Arg0: 0000000030ddf166 Buffer(16) 5D A8 = 3B B2 B7 C8 42 35 [ 26.725991] Arg1: 0000000002bd3ac4 Integer 000000000= 0000001 [ 26.725996] Arg2: 0000000033eb047e Integer 000000000= 0000002 [ 26.725999] Arg3: 00000000de6cf5f1 Buffer(8) 00 00 0= 0 00 05 00 00 00 [ 26.726010] ACPI Error: Aborting method \_SB.IETM._OSC due to previous e= rror (AE_NOT_FOUND) (20240827/psparse-529) [ 26.726056] Consider using thermal netlink events interface [ 26.769209] r8169 0000:6c:00.0 enp108s0: Link is Down [ 26.857318] zram0: detected capacity change from 0 to 195035136 [ 26.864390] vboxdrv: Found 32 processor cores/threads [ 26.873227] Adding 97517564k swap on /dev/zram0. Priority:-2 extents:1 = across:97517564k SS [ 26.880588] vboxdrv: TSC mode is Invariant, tentative frequency 24191946= 40 Hz [ 26.880592] vboxdrv: Successfully loaded version 7.2.4 r170995 (interfac= e 0x00340001) [ 26.895725] intel_pstate: Turbo is disabled [ 26.895730] intel_pstate: Turbo disabled by BIOS or unavailable on proce= ssor [ 26.943715] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20 [ 26.943746] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f [ 26.943755] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90 [ 26.943765] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x0 [ 26.944901] iwlwifi 0000:00:14.3: RFIm is deactivated, reason =3D 5 [ 27.045437] iwlwifi 0000:00:14.3: Registered PHC clock: iwlwifi-PTP, wit= h index: 0 [ 27.098590] VBoxNetFlt: Successfully started. [ 27.101687] VBoxNetAdp: Successfully started. [ 27.153602] bridge: filtering via arp/ip/ip6tables is no longer availabl= e by default. Update your scripts to load br_netfilter if you need this. [ 27.851014] loop14: detected capacity change from 0 to 8 [ 27.895706] r8169 0000:6c:00.0: invalid VPD tag 0xff (size 0) at offset = 0; assume missing optional EEPROM [ 28.898015] intel_pstate: Turbo is disabled [ 28.898021] intel_pstate: Turbo disabled by BIOS or unavailable on proce= ssor [ 31.900781] intel_pstate: Turbo is disabled [ 31.900788] intel_pstate: Turbo disabled by BIOS or unavailable on proce= ssor [ 33.959448] Bluetooth: RFCOMM TTY layer initialized [ 33.959456] Bluetooth: RFCOMM socket layer initialized [ 33.959462] Bluetooth: RFCOMM ver 1.11 [ 36.903768] intel_pstate: Turbo is disabled [ 36.903777] intel_pstate: Turbo disabled by BIOS or unavailable on proce= ssor [ 38.054345] systemd-journald[883]: /var/log/journal/a9e8e3d2041547169b10= 7e1e1a23f2ce/user-1000.journal: Journal file uses a different sequence numb= er ID, rotating. [ 39.799560] warning: `kded5' uses wireless extensions which will stop wo= rking for Wi-Fi 7 hardware; use nl80211 [ 40.884365] wlp0s20f3: authenticate with 18:ee:86:8b:16:a2 (local addres= s=3D98:bd:80:8a:e9:27) [ 40.885147] wlp0s20f3: send auth to 18:ee:86:8b:16:a2 (try 1/3) [ 40.968595] wlp0s20f3: authenticate with 18:ee:86:8b:16:a2 (local addres= s=3D98:bd:80:8a:e9:27) [ 40.968603] wlp0s20f3: send auth to 18:ee:86:8b:16:a2 (try 1/3) [ 40.980941] wlp0s20f3: authenticated [ 40.981904] wlp0s20f3: associate with 18:ee:86:8b:16:a2 (try 1/3) [ 41.042933] wlp0s20f3: RX AssocResp from 18:ee:86:8b:16:a2 (capab=3D0x14= 31 status=3D0 aid=3D14) [ 41.046917] wlp0s20f3: associated If you post the patch, I'm happy to add a `Tested-by` tag for it. Thank you for your help! > Thanks, > Srinivas