Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp731989lqj; Sun, 2 Jun 2024 20:57:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVGUXW5d0LB9Na/ndUZ4FGwnEnByiDlobJZbXS2vBeOLcQ+nS28GBqiYUMhDV8Uv7oCFZ8PdLdmkY+hVSM4it0HoxwE/ALGAyV6kD7HPQ== X-Google-Smtp-Source: AGHT+IG3HI0C4tonp3+ioTYrpaZz6Rsoqey9X4YNcPgkuYRh1LBT7KQnfSkp8HEbQLBBXkR7fzrD X-Received: by 2002:a17:906:a15a:b0:a5c:eafb:5288 with SMTP id a640c23a62f3a-a6820329706mr632637766b.31.1717387073605; Sun, 02 Jun 2024 20:57:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717387073; cv=pass; d=google.com; s=arc-20160816; b=1DeUO11uXigBcbU1Wih5DENaLBIcT0qinLS0dhf9h709wKYGRSdgoFWieQdnkEH+77 lSNl1xpHfVtk52QdMPWgg9d8ce0NjnhDLoczxeEDLwY+P2WRdi0YPDitZ5+qy/7sIoyG cECPTrDBTU7KDTdtWfizsJ7naIkj8uRNB8+eBmC4Dh8xYNLi6ZgRzYdnRfYnhZhq+Y7y vKcAbCKyrgcxyoTAoAz+4mcg77/c2rsHmwxyfw1xaG6GG8UaTXPZUlwuZdjr8tU7ICcO sfv4zd3tlPMmFQynvHPrHWxo8hJ3o1kcWvStPhuzHkEu27iS4yUrWdj0gicZNvLqh+pg ntuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=Ohc4o57WwRm8905MdOz8OHqoOCr1YwzrcVjklBY5Owk=; fh=xrkL5PxAQXhFicTamXjfKvqI05HKtutp2rAf13IMZFg=; b=tt1F01FbcnHGbRIyW/o8hU4qhgcypSBg26CLRh+9/yLV5XYknYPrzCts/mCnz3gMuJ tb5Urh4TumcVSmgT15ZOA+tBo/FwTG3lX2AhuuevgeuItz6XrhFN6ar+EJBY7y5bBIlB VwEJs8vVaamp1NcDSp+1H06DDqtBa8sdeKC54KDQ20exbMW9n1KxX91TzYZGMwvu59WJ XnuAm/J6M4x1zL09jZmsXa6C+pcY9bQDUYC3QXIonzK2FLIKIjSKirBomMIzTLrd1Qob 5+DDr1FTcI5AvVpcY0ofp2jZOZ3hB9b7n+Fh0qh25jSsNRpxT7ulYM4lVS13LmcLisDW kSCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SfTp3prg; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-198469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198469-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a68ec84df3bsi137331066b.716.2024.06.02.20.57.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 20:57:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SfTp3prg; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-198469-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198469-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 06C061F2132C for ; Sun, 2 Jun 2024 23:11:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD3037C086; Sun, 2 Jun 2024 23:11:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SfTp3prg" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FBF12232B; Sun, 2 Jun 2024 23:11:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717369876; cv=none; b=uvyTAF/jF8Y/JXWFmUcw4ZnR75nxPjooWC9JmtIH0gWF2gkcQRGIRqFrtloFe4Q677DkSVy8MJWBPW90uAtac1EbZTL7D7vtQMMY6REeF0Lz+FzYU0/4F993jXE7xCaXuUjdSs6dfW+hYJZ+q2xF3tNvXlGgSlGYyv9G/J0Rqkw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717369876; c=relaxed/simple; bh=G+BO0Z+dknT/l+4jFFwvutrUv5MMdEfxLs/57Q5sPEk=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=Fr31K8fhDvL6sZ8iJEzxtqe7Fx9nO5FSWcW+gxeoyvh8/TRRbN71Ho49etfxkey6ulw6ZkKfiHsXRvIPXtlB5Y6YGiXox4vf4IsDkA5NOGewon0QnoipJmU44ohdjzp3gMI8onNdVoJ0h01NLz8IAaDyaqzlztjCRdx5/OT1uIE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=SfTp3prg; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717369875; x=1748905875; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version; bh=G+BO0Z+dknT/l+4jFFwvutrUv5MMdEfxLs/57Q5sPEk=; b=SfTp3prgiAS9G3VZjZ0216+Xs6At4aXppzP8RflxdVnRx/1CWLiPcDKI /nlSD744k7ZnUOfpf3s0VhgFmTH+GCU9M73tvUbJDLrtjYeMpk1CBDBYL SArJymoP1BYGnN01Sflfok4NVk+mM2qXRubzsA5WN0PjX2Vh/SzMtf52q Ser2pKzyrP7VATP8D5CW5g9mbqV9Lz4WWv5gVMmp0Y9a5UAN78KFNi/ej LY0IVR6AbtvczHm5ZEjbLwfDjvKPr1ywQ2cbjtnI2Zjj0dvYgLoSAe9Z3 9pktx+Bh5pQeE3V4xxQHVUtBCFNezOMZgdd44eInlashDDS27SW+H80ka Q==; X-CSE-ConnectionGUID: kJcAK0GORoy4A7UwMrlPlQ== X-CSE-MsgGUID: X9OugpJCQiChBOE41KluRg== X-IronPort-AV: E=McAfee;i="6600,9927,11091"; a="24430162" X-IronPort-AV: E=Sophos;i="6.08,210,1712646000"; d="scan'208,223";a="24430162" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2024 16:11:14 -0700 X-CSE-ConnectionGUID: GUjidumVRpK/GGddraqdBg== X-CSE-MsgGUID: MntdgRQ7QlqyrQ7ZzOX3xg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,210,1712646000"; d="scan'208,223";a="36809666" Received: from kbommu-mobl3.gar.corp.intel.com ([10.213.107.13]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2024 16:11:11 -0700 Message-ID: <29d69252dcdc398f147c9139a8666d09e7bd831d.camel@linux.intel.com> Subject: Re: [PATCH v1 2/6] cpufreq: intel_pstate: Do not update global.turbo_disabled after initialization From: srinivas pandruvada To: Xi Ruoyao , "Rafael J. Wysocki" , Linux PM Cc: LKML Date: Sun, 02 Jun 2024 16:11:07 -0700 In-Reply-To: References: <13494237.uLZWGnKmhe@kreacher> <8366982.T7Z3S40VBb@kreacher> <6d5ee74605bd9574baa5ed111cb54e959414437a.camel@linux.intel.com> <6ebadacd8aaa307a5766cdb1b4d4a5c69acd87ac.camel@xry111.site> <30a30c5107a47a2cc3fd39306728f70dd649d7fe.camel@linux.intel.com> Content-Type: multipart/mixed; boundary="=-K9FIPFL/zQNiaVw5JTmo" User-Agent: Evolution 3.50.0-1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 --=-K9FIPFL/zQNiaVw5JTmo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2024-06-03 at 00:07 +0800, Xi Ruoyao wrote: > On Sun, 2024-06-02 at 06:40 -0700, srinivas pandruvada wrote: >=20 > /* snip */ >=20 > > This requires user action, > > Please add a > > pr_info() to > > https://elixir.bootlin.com/linux/v6.10-rc1/C/ident/acpi_processor_notif= y > >=20 > > Check if you got any message >=20 > With >=20 > diff --git a/drivers/acpi/processor_driver.c > b/drivers/acpi/processor_driver.c > index 67db60eda370..4585eb6566c8 100644 > --- a/drivers/acpi/processor_driver.c > +++ b/drivers/acpi/processor_driver.c > @@ -57,6 +57,8 @@ static void acpi_processor_notify(acpi_handle > handle, u32 event, void *data) > =C2=A0 struct acpi_processor *pr; > =C2=A0 int saved; > =C2=A0 > + pr_info("acpi_processor_notify: %d\n", event); > + > =C2=A0 if (device->handle !=3D handle) > =C2=A0 return; >=20 >=20 > I get nothing. >=20 What is the output of: grep . /sys/devices/system/cpu/intel_pstate/* Also=C2=A0 rdmsr 0x771 rdmsr 0x774 Try these three patches. Don't worry about the commit description for this issue. Please send me full dmesg after you see the issue. Thanks, Srinivas > > Also what is=20 > > cat /proc/cpuinfo > > and > > cpuid -1 >=20 > Attached. >=20 >=20 --=-K9FIPFL/zQNiaVw5JTmo Content-Disposition: attachment; filename*0=0003-cpufreq-intel_pstate-Update-turbo-flag-on-HWP-perf-c.pat; filename*1=ch Content-Type: text/x-patch; name="0003-cpufreq-intel_pstate-Update-turbo-flag-on-HWP-perf-c.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSBmNTcwODY4Mzg3NzU3MGUyOTkzYzkzNjRiODQyNjcyNTVmMDE2ZTdjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTcmluaXZhcyBQYW5kcnV2YWRhIDxzcmluaXZhcy5wYW5kcnV2 YWRhQGxpbnV4LmludGVsLmNvbT4KRGF0ZTogU3VuLCAyIEp1biAyMDI0IDE2OjAwOjM3IC0wNzAw ClN1YmplY3Q6IFtQQVRDSCAzLzNdIGNwdWZyZXE6IGludGVsX3BzdGF0ZTogVXBkYXRlIHR1cmJv IGZsYWcgb24gSFdQIHBlcmYKIGNoYW5nZQoKV2hlbiBIV1AgcGVyZm9ybWFuY2UgY2hhbmdlLCB1 cGRhdGUgdHVlYm8gZmxhZy4KClNpZ25lZC1vZmYtYnk6IFNyaW5pdmFzIFBhbmRydXZhZGEgPHNy aW5pdmFzLn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c2s6JWxseFxuIiwgX19mdW5jX18sIGludGVycnVwdF9tYXNrKTsKKwogCQkvKiB3cm1zcmxf b25fY3B1IGhhcyB0byBiZSBvdXRzaWRlIHNwaW5sb2NrIGFzIHRoaXMgY2FuIHJlc3VsdCBpbiBJ UEMgKi8KIAkJd3Jtc3JsX29uX2NwdShjcHVkYXRhLT5jcHUsIE1TUl9IV1BfSU5URVJSVVBULCBp bnRlcnJ1cHRfbWFzayk7CiAJCXdybXNybF9vbl9jcHUoY3B1ZGF0YS0+Y3B1LCBNU1JfSFdQX1NU QVRVUywgMCk7Ci0tIAoyLjQwLjEKCg== --=-K9FIPFL/zQNiaVw5JTmo Content-Disposition: attachment; filename*0=0002-cpufreq-intel_pstate-Support-highest-performance-cha.pat; filename*1=ch Content-Type: text/x-patch; name="0002-cpufreq-intel_pstate-Support-highest-performance-cha.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSBlYWYzMDQxNmNhYjc1OGZlZmNjNjVjYjA4OWVjMDc5NmE2NzMwYzdkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTcmluaXZhcyBQYW5kcnV2YWRhIDxzcmluaXZhcy5wYW5kcnV2 YWRhQGxpbnV4LmludGVsLmNvbT4KRGF0ZTogV2VkLCA1IEp1bCAyMDIzIDEzOjAyOjQxIC0wNzAw ClN1YmplY3Q6IFtQQVRDSCAyLzNdIGNwdWZyZXE6IGludGVsX3BzdGF0ZTogU3VwcG9ydCBoaWdo ZXN0IHBlcmZvcm1hbmNlIGNoYW5nZQogaW50ZXJydXB0CgpPbiBzb21lIHN5c3RlbXMsIEhXUCBo aWdoZXN0IHBlcmZvcm1hbmNlIGNhbiBjaGFuZ2UgZnJvbSB0aGUgYm9vdCB1cAp2YWx1ZS4gSXQg bGVhZHMgdG8gdHdvIGlzc3VlczoKLSBjcHVmcmVxIHN5c2ZzIGNwdWluZm9fbWF4X2ZyZXEgd2ls bCBub3Qgc2hvdyB0aGUgaGlnaGV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WFza19zZXRfY3B1KGNwdWRhdGEtPmNwdSwgJmh3cF9pbnRyX2VuYWJsZV9tYXNrKTsK IAkJc3Bpbl91bmxvY2tfaXJxKCZod3Bfbm90aWZ5X2xvY2spOwogCisJCWlmIChib290X2NwdV9o YXMoWDg2X0ZFQVRVUkVfSFdQX0hJR0hFU1RfUEVSRl9DSEFOR0UpKQorCQkJaW50ZXJydXB0X21h c2sgfD0gSFdQX0hJR0hFU1RfUEVSRl9DSEFOR0VfUkVROworCiAJCS8qIHdybXNybF9vbl9jcHUg aGFzIHRvIGJlIG91dHNpZGUgc3BpbmxvY2sgYXMgdGhpcyBjYW4gcmVzdWx0IGluIElQQyAqLwot CQl3cm1zcmxfb25fY3B1KGNwdWRhdGEtPmNwdSwgTVNSX0hXUF9JTlRFUlJVUFQsIDB4MDEpOwor CQl3cm1zcmxfb25fY3B1KGNwdWRhdGEtPmNwdSwgTVNSX0hXUF9JTlRFUlJVUFQsIGludGVycnVw dF9tYXNrKTsKIAkJd3Jtc3JsX29uX2NwdShjcHVkYXRhLT5jcHUsIE1TUl9IV1BfU1RBVFVTLCAw KTsKIAl9CiB9Ci0tIAoyLjQwLjEKCg== --=-K9FIPFL/zQNiaVw5JTmo Content-Disposition: attachment; filename*0=0001-x86-cpufeatures-Add-HWP-highest-perf-change-feature-.pat; filename*1=ch Content-Type: text/x-patch; name="0001-x86-cpufeatures-Add-HWP-highest-perf-change-feature-.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSA4MDQzYzFmNmE0Y2Q2Y2U1YmJiY2IxZjcyMDA2NTA0NGJiNzA2ZTEzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTcmluaXZhcyBQYW5kcnV2YWRhIDxzcmluaXZhcy5wYW5kcnV2 YWRhQGxpbnV4LmludGVsLmNvbT4KRGF0ZTogV2VkLCA1IEp1bCAyMDIzIDEyOjEyOjQ5IC0wNzAw ClN1YmplY3Q6IFtQQVRDSCAxLzNdIHg4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