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

Re: [XEN PATCH] x86/hvm: make ACPI PM timer support optional


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • From: Sergiy Kibrik <sergiy_kibrik@xxxxxxxx>
  • Date: Wed, 18 Sep 2024 12:29:39 +0300
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.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=fuzsUcEESQtQi3bXICGFQPYw/pLOGbg2NJYSnTPuoS8=; b=lBsaUJ/nCPhqbQXZt/g5t9m2mqbKIT9/6v0Y5Xi1f561S12Rp3AiTAoT6msH4Pf+Y1Ky7tnUEAjB5TNHvrjLEGkdGRxHVOlABEgomLmDdMnW+Z116XoVfIQbEd236Y4BggwH0w9ENLyqL4UjkuD6IZ8ieo11rGPmliSobv3zG9d5dsMSWnWKUW1k5glRK63j8+Uy+M6PACCxLZk0oieZhzXLC2j8zAFRVlPyYGN2VuwHYXCV0Vmu9880NJj8hdSClSxO7mt31Ezz3wsJr/3cYjfMyH4ZFq2A9xjvXBAVs3LsAoWs1ekJenlPlCPe6j53AyV2kdbzEuVHuZYj/c5jdQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qw5afNvzdJeGFJrMIy+gERPn92aVp3LmRQlmvJTjDrII4sHd5Uukh11Zj8JGvWLT1DJk/xaTGxiGbelL3kAHtB4r0nAt3Aa5BMQXk8vlUv/s9+G5sUpSZkeg1srCRAHrxJELEDP6E/A2Ey6X344yet/eJB1jzIR1ZEnxDK/5G7zbJrurzpp0RiPvCU44S7/xyRrZ9XxvAgBiD/KTdEi+SQmdsLEMrz19nimwJAKnzZ6vwmUc+6VJDRIBaXXEwItz/NfksTnTyU5nZjtI+fsnq9i8nur4mxqrYxvYXviJrKn0qdCgTYfw1SJXaPxIokJwdj8lhzTl1NUuZ9h6ClY5Dw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Wed, 18 Sep 2024 09:29:53 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

16.09.24 22:57, Stefano Stabellini:
On Mon, 16 Sep 2024, Roger Pau Monné wrote:
On Mon, Sep 16, 2024 at 09:37:57AM +0300, Sergiy Kibrik wrote:
Introduce config option X86_PMTIMER so that pmtimer driver can be disabled on
systems that don't need it.

Same comment as in the VGA patch, you need to handle the user passing
X86_EMU_PM.  It's not OK to just ignore the flag if the hypervisor is
built without ACPI PM timer support.

I also think that the flag should not be ignored. I think that Xen
should return error if a user is passing a domain feature not supported
by a particular version of the Xen build. I don't think that libxl needs
to be changed as part of this patch necessarily.

It looks like toolstack always leaves X86_EMU_PM bit enabled, so that part may also require changes.

  -Sergiy



 


Rackspace

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