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

Re: [PATCH 6/9] x86/mwait-idle: Remove the 'preferred_cstates' parameter


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Fri, 24 Apr 2026 17:37:00 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=EldwU2NDoCOxfFJIeFGWaTwWmfHSg+9wmWF4Tcw4so8=; b=c90iIJhOh0wApIP5/cHP8YyHerxF2ySbQJHxEH89ITx2COkPyiQ1orES3/xoMql6kDtE5SKCfPfdazI8kcdrosHoz2iEOj3MZTT8iFf43kkAqqzewGCx32xW11VWopvNBW6B3/Za0mVA9Syn823T/M/Nvo1KAQ3ZNDDcCIyIcr4wckGyRzIt/wtwlvJiW6nSujnHBtrhHANaIQI94Xd9m0gyVD0FKQdZFI6jq9a9bmXZZbOoPBimZwRoCSdHfA27EdPIaVza3FfP2zDKHnynSWmqsNy3IGpRPS5OpGatPteBHmOVIQ22jDTF4xPXIH1ev8NmtuQrEw32XuVlA4ampg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KCfYx9yyGkjif9se6rRlMtAi8nHnKHfmIzbK/uWlV2WBS8r7hqWTDficXHul+1wAVV2ew1NytIhUrDyFmtf52XOBex2isfzWPNnEwzNk/0TCvCphkSDhu8GPgi0dCDRRzXBbOOlte/URsavX1bCoAAJsFomzQe2xnKubpS6RpcJ5c7ca/v53ldojUCy9HFEKXtGVIHAU9nQpAr4+PiCCLd+CpVodKZmW0pz1Cp38/3HMTYeI56z3aDNmKQPLk/SP1nhJH6ZWSJ5NSf6aeTR7++MNxOTGCkJftwRGx49gw2j/YEoRgib66Nc4sKXGMmMcS8tiY1Pu0t4H+GIywLhRHg==
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=citrix.com header.i="@citrix.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Fri, 24 Apr 2026 15:37:14 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu, Mar 12, 2026 at 05:56:55PM +0100, Jan Beulich wrote:
> From: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>
> 
> Remove the 'preferred_cstates' module parameter as it is not really useful.
> 
> The parameter currently only affects Alder Lake, where it controls C1/C1E
> preference, with C1E being the default. The parameter does not support any
> other platform. For example, Meteor Lake has a similar C1/C1E limitation,
> but the parameter does not support Meteor Lake. This indicates that the
> parameter is not very useful.
> 
> Generally, independent C1 and C1E are important for server platforms where
> low latency is key. However, they are not as important for client platforms,
> like Alder Lake, where C1E providing better energy savings is generally
> preferred.
> 
> The parameter was originally introduced for Sapphire Rapids Xeon:
> da0e58c038e6 intel_idle: add 'preferred_cstates' module argument
> 
> Later it was added to Alder Lake:
> d1cf8bbfed1ed ("intel_idle: Add AlderLake support")
> 
> But it was removed from Sapphire Rapids when firmware fixed the C1/C1E
> limitation:
> 1548fac47a114 ("intel_idle: make SPR C1 and C1E be independent")
> 
> So Alder Lake is the only platform left where this parameter has any effect.
> Remove this parameter to simplify the driver and reduce maintenance burden.
> 
> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>
> Link: https://patch.msgid.link/20251215111300.132803-1-dedekind1@xxxxxxxxx
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> a36dc37b5672
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks, Roger.



 


Rackspace

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