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

xen arm64 low power sleep support


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Anthony Chan <anthonychan@xxxxxxxxxx>
  • Date: Tue, 29 Aug 2023 17:18:20 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nureva.com; dmarc=pass action=none header.from=nureva.com; dkim=pass header.d=nureva.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=hk1Ga2xqhLC3Nr6HSOq4w0JF70qwQ6hTTTc72LioLE8=; b=l0qvXAzvCoPDfHJxnCOmJGBMoUOta3SRQM7/4TR3Q2OA1AVsbtqbwiMgMCiMALBS21lnB8LhqYSucfER8Ka/uHAfKElR0x4OfVNms9Mb+9X03LxlZAl5CF10p0B5/JmpDqB26v0nWW6Z+KO26tbDEYk17nK/usZdVoJsCypBWPu3ODGtpYIzGXPEPGUOLdh5M7VyHAKaSsXvW7KWFi+0HwPybz0MW3KEs70NBHIYIjiLTWVek3sU8O5jxZU0ntOg7gHEUlBJbjzAG6/cOeQTHw8ZKg4uQyPvu2XgyI1+E9mA7LU/tMk2dD3yr5A5SzFOFW2yQqxBTx3gIIOUVc8a7g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aUA02Eq4AvyOmeFSPG4zGQmJH6S02OwDL0+f6bfqwXO2V7O5acwMK71ECcmvYypb2ytpe2WHWP7tYcdCyezrGlYPez3sv1R1m4o0f+FZk+2HtyLMDO9WwT2g2fRqSUWvjhRt+x7bs0yqogO+72bO826JF52s0IWbkGdn6TpLa5X+Ra9ypDYjepAD+CBShr6eh371MWEM4YK3xgec7XTFyVkFpLd2R7O9dLf93I3wDGEiB7DzgrHhhWmHVy+aRSfn0rgSqrHDR66B6u/CgC9ZQcN5vq9z9bAdTVnNpo4TqNL0alFRnWSlcf2Z35lmATsKDcCmHqZaLz+78AzEofKbHA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nureva.com;
  • Delivery-date: Tue, 29 Aug 2023 17:18:46 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AdnanCj70Orzia5aQfSER7H0AUNnzg==
  • Thread-topic: xen arm64 low power sleep support

Hi all,

My name is Tony and I've been researching/developing using Xen for potential 
upcoming uses in our embedded systems.  I started with Xen using Xilinx tools 
about a year ago and still have lots to learn about what it can to do in the 
embedded space.  So far, I've managed to integrate Xen and Linux into an 
existing product that exclusively runs bare-metal code on a ZynqMP SoC and 
migrate some of the functionality into custom Linux driver/userspace.

I'm now looking at low power support, for now at least between Xen (4.16) and 
Linux (5.15) dom0.  I've tried a few different Linux kernel configs around 
power management and each time I try to suspend from linux dom0 (via sysfs or 
systemctl), Xen will watchdog on dom0 guest.  AFAIK, Xen should trap on a 'WFI' 
from guests, but from what I can tell debugging through the linux suspend 
process is it's spinning in a 'suspend-to-idle' loop before it can get to 
issuing a 'WFI' or using PSCI interface to notify Xen.  I'm beginning to 
suspect that 'low power' support for embedded arm64 just isn't quite there yet, 
or am I missing something in the configs?

I realize this could very well be a Linux 'issue' but checking here first.  I 
know Xen presents a flattened device tree to Linux without CPU idle-state nodes 
and maybe this is causing the linux guest to only do the suspend-to-idle mode?  
I should mention that I'm booting up using dom0less feature if that matters.

Appreciate the help, thanks.


CONFIDENTIALITY NOTICE: This e-mail, including any attachments, may contain 
information that is confidential and privileged. Any unauthorized disclosure, 
reproduction or use of this e-mail is prohibited. If you are not the intended 
recipient, please notify the sender by reply e-mail or telephone and 
permanently delete this e-mail and any reproductions immediately.



 


Rackspace

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