[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 5/5] x86/mwait-idle: make SPR C1 and C1E be independent


  • To: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 13 Oct 2022 14:20:19 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8kEJl75AvkSMZCQz7ztX9awwOVBs46NebKrGHcye7XE=; b=mg4szHsBMi+6wzRnqoDUEELFRkYPw/oNDhVHMzPWSx6DYrlJ4BzhYYlHXI3270VSmgJBInih9YgOOy293nuKza/S2AKLDB52AjRc0T0RbBnlYSWmoxt7cu7c2qZvVejFDP+ocdf4lPoEf+ObbOkVUeOn4Xs2J/TAGdHwA5Zvd5ZAgk3CkDam4l/RV4+ni0dgWCyZWfovR8AZDJbXtsqqvPhJTLYuLov7EIISD0NOknFJTKEitZ57/xZLMb6wq2ZcXx34Cjy7wRdkQJQNTwnmXsqjmmrfnO9yY/4c/qYb7wiyaXYTW20+neaZcVsgT/w968AdHrvxHizx3w0gUX2fAg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K04w2s3lLrr7N7Uxk3TUtbpWrT6od+6WUDes995j17tdVhd+YUr2Q5l36dyp3wTg7iMHKpRcvr16XGEmIMOX3L05oaOfV/ktUxFCW0Ffo4uMondgEP1zABmb2jV3GnifrbI3NIxfNN7TBOcudsUoSPWKpFuHQlJw47IABMx4Y0kxNKePQNBjQe++Y8XtRo1kiGOgf12NMqigm6OAMNLp3KhS85fjFZIIoDwu1232cvV9H6jM28UWBWRnutSvNaF++PVTU4eLPW5xJT6OUEIxeH8a62XqnnaE0p8mJIJ9KbsYB6r8eFb+3it2vmr/qxmIwP28rYe+BicPyD76CjDsaQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Thu, 13 Oct 2022 12:20:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 13.10.2022 14:05, Roger Pau Monné wrote:
> On Thu, Aug 18, 2022 at 03:05:19PM +0200, Jan Beulich wrote:
>> From: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>
>>
>> This patch partially reverts the changes made by the following commit:
>>
>> da0e58c038e6 intel_idle: add 'preferred_cstates' module argument
>>
>> As that commit describes, on early Sapphire Rapids Xeon platforms the C1 and
>> C1E states were mutually exclusive, so that users could only have either C1 
>> and
>> C6, or C1E and C6.
>>
>> However, Intel firmware engineers managed to remove this limitation and make 
>> C1
>> and C1E to be completely independent, just like on previous Xeon platforms.
>>
>> Therefore, this patch:
>>  * Removes commentary describing the old, and now non-existing SPR C1E
>>    limitation.
>>  * Marks SPR C1E as available by default.
>>  * Removes the 'preferred_cstates' parameter handling for SPR. Both C1 and
>>    C1E will be available regardless of 'preferred_cstates' value.
>>
>> We expect that all SPR systems are shipping with new firmware, which includes
>> the C1/C1E improvement.
>>
>> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>
>> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>> Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
>> 1548fac47a11
>> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks.

> I guess we need to be careful of running this on pre-production
> hardware then?

Well, power savings may not be as expected there, but beyond that I don't
think there would be much of an observable effect.

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.