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

Re: S0ix support in Xen


  • To: Simon Gaiser <simon@xxxxxxxxxxxxxxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Wed, 29 Mar 2023 16:38:01 +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=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=HkfeY+F2wGcHsJ1OmBQV1K3YmSGvL5DFvk9/rD+vxSw=; b=Q7ZM71ZfAihvFnzpegJYzRYDz8vWIC/X55VPdVgN107lqtQxgn6ML53ObzvqqlvscwPa+B/JLvpCq4SnfxgqHMqMlJUjBMie9pGbJA3FA/9QZWDPR3YeonuW+Gd5dNiO/G/6AWJScWEXEIed0sR7EW9EqAGcyohweOSygsCQitg9YJYkFqU1mES9n8U6r20nbmjp527zLeRfBx+O0nLex+d1iQnwdTEcOfKMhSgU7XSgg3SSil0WLZsTtr7Cb+nrWaMUfXbyGEra8v1XOooA+6P3u4Th+l5yJi1PuDaI8BDuuLWynlE652X6K0iMjbGAeKYKXdlVQGtSTTqnVRuC7w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WHWDeFPDcgCPPqmK2Ux8B2L46EZ9Wfypg+7Hcc6uw/34+pUlfx5znkhqvuWZSMwPIYJUZPzy0L6ao96raOyXWIEOM6wjvaRq9hnDL+qVsmoM3ENyTeKos24DfIJMPNxwtwo4yWTYu2sXdH6kY8zWyDrDYtSWiKYJX18/C2pHWZ7qKPWBaUD4zlhIoh3KT/7rmANqOwVhTEnCSMABmn+/Wr8E6VbvqsrwfkKtgEqEtGh96pAioypHNDrCNJfwvPzwZMvNMDrLElBlNUSY7nb3iUJkl7vRnQpxUzFoTW4Smwmr3KP81E6HOStD+6xOgTl/647/NAKSul8V5UgBxhUblA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 29 Mar 2023 14:38:25 +0000
  • Ironport-data: A9a23:QIyT66wUPEFo40mZprF6t+cQxyrEfRIJ4+MujC+fZmUNrF6WrkVUz zAbXmmHaPmMN2GnctF0bIS+oRgBupCDz4c1QQE6pSAxQypGp/SeCIXCJC8cHc8wwu7rFxs7s ppEOrEsCOhuExcwcz/0auCJQUFUjP3OHfykTrafYEidfCc8IA85kxVvhuUltYBhhNm9Emult Mj75sbSIzdJ4RYtWo4vw//F+UMHUMja4mtC5QRlP6ET5jcyqlFOZH4hDfDpR5fHatE88t6SH 47r0Ly/92XFyBYhYvvNfmHTKxBirhb6ZGBiu1IOM0SQqkEqSh8ai87XAME0e0ZP4whlqvgqo Dl7WT5cfi9yVkHEsLx1vxC1iEiSN4UekFPMCSDXXcB+UyQq2pYjqhljJBheAGEWxgp4KWdD2 aJbOhczVEGens6/m4zqSPM3t9t2eaEHPKtH0p1h5RfwKK9/BLrlE+DN79Ie2yosjMdTG/qYf 9AedTdkcBXHZVtIJ0sTD5U92uyvgxETcRUB8A7T+fVxvjiVlVIguFTuGIO9ltiiX8Jak1zev mvb12/4HgsbJJqUzj/tHneE37eUwX+lAdhNfFG+3vc7mWXDyk4xMgRIVwWms+u7t3++A80Kf iT4/QJr98De7neDVdj4WBuQoXiavwUdUd5dD+077g6WzqPepQ2eAwAsXjNHLdArqsIybTgrz UOS2cPkAyR1t7+YQm7b8a2bxQ5eIgAQJG4GICUCHQ0M5oC6pJlp10yeCNF+DKSyk9v5Xynqx CyHpzQ/gLNVitMX06K8/hbMhDfESoX1czPZLz7/BgqNhj6Vrqb+D2B0wTA3Ncp9Ebs=
  • Ironport-hdrordr: A9a23:KH8Etq/dVigruBzbnZNuk+DWI+orL9Y04lQ7vn2ZKCY4TiX8ra uTdZsguiMc5Ax+ZJhDo7C90di7IE80nKQdieN9AV7IZniEhILHFvAG0aLShxHmBi3i5qp8+M 5bAsxD4QTLfDpHsfo=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Feb 27, 2023 at 12:48:03PM +0100, Simon Gaiser wrote:
> Hi,
> 
> I have been looking into using S0ix with Xen. On systems with with 11th
> gen (Tiger Lake) Intel mobile CPUs or newer this is often the only
> supported suspend method, thus we want to support it in Qubes OS.
> 
> Below a summary of my current understanding of what's needed (and known
> unknowns). I would appreciate some feedback (what's missing, preferred
> solutions, etc.).
> 
> Note this topic is much above my previous experience with Xen and x86
> power management internals, so sorry if I'm missing things that are
> obvious to you.
> 
> PIT timer: During some previous private discussion it was mentioned that
> the PIT timer that Xen initializes for IO-APIC testing prevents S0ix
> residency and therefore that part needs to be reworked. But if I'm
> reading the current code correctly Xen can already use the HPET timer
> instead, either with an automatic fallback if PIT is unavailable or by
> forcing it via hpet=legacy-replacement=1. Looking at the rest I think
> the PIT isn't used if Xen finds another clocksource. Did I miss
> something?

Do you have some reference to documentation related to the S0ix
states?

I would like to understand exactly what's required in terms of
hardware devices the OS can use and still be able to enter such
states.

Thanks, Roger.



 


Rackspace

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