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

RE: [PATCH] x86/vmx: Partially revert "x86/vmx: implement Notify VM Exit"


  • To: "andrew.cooper3@xxxxxxxxxx" <andrew.cooper3@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Thu, 19 Jan 2023 05:52:31 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.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=ZwDno251y8g8lhGGleJtDy9ezZ9G7WUk5vdbPaatc0I=; b=EC06eQBciWN0SaNgxUnE9QEOAZ+4ntGzpIJn5L8lpngZtxf1X9hTdxqjT7+vfBRRlj16NHW9UbszpYtMVwkTbsOKU8kCIUkp1Zrck7dTTdu0pdRgapbbz2BWDLgmmpP+Cc/6ELV/JVQmwYj3jv4w/BcFLYqOhwmQ9kDIiQeevUeoezq2U4bridL1P3kT8MZYs7AmU4n/vb7kkGxRo6Xwh4sJjD9WyHd5vzT/onnDy3xb1JijC5Q7D+3FJ/uWC8sXlUwm9RPmWuUn4pupsyMcX3k4lSOwWoawxsuNoy8OUtXe8WmwGsd8HsrjKPCY7Jco4zdOHasOCdSzION2xvU7XA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZNStlZxjzWnCRzSxgW5CqlVkpznHrO8o4V1n/kTpdMs9v8T0XlFbMivEWQZYqzuHcZesdFHPkA6IitGsbTIHbkj8JKRCHKpvvUbgns1oJhXxkYi/CKgJw6O/Xel8Aw3Ed4apmAxIL3ZsZAxvBKO4nPK6e1Ca44hS6FYZ6XXInAjK/lIeNwuExQwF4ec+dvjoTUBqXzkAmDBEXmQbe2RJcPJHIIc7zOTeZ+NWiMa2W3o8PR/lzEgjWh89hLsS2LIFlt/XfflnVq7VEO6qv2nqL01auxpvopwGUds4WzEqAkQuFrzeoh89Tce/1TLdlGARD4IBWcPrX1VOysFvWuci1g==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com;
  • Cc: "andrew.cooper3@xxxxxxxxxx" <andrew.cooper3@xxxxxxxxxx>, "Beulich, Jan" <JBeulich@xxxxxxxx>, Pau Monné, Roger <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Thu, 19 Jan 2023 05:53:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHZK3RJ/0ZZPj3GFkGObjjpGm11Tq6lPW7Q
  • Thread-topic: [PATCH] x86/vmx: Partially revert "x86/vmx: implement Notify VM Exit"

> From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Sent: Thursday, January 19, 2023 3:37 AM
> 
> The original patch tried to do two things - implement VMNotify, and
> re-optimise VT-x to not intercept #DB/#AC by default.
> 
> The second part is buggy in multiple ways.  Both GDBSX and Introspection
> need
> to conditionally intercept #DB, which was not accounted for.  Also, #DB
> interception has nothing at all to do with cpu_has_monitor_trap_flag.
> 
> Revert the second half, leaving #DB/#AC intercepted unilaterally, but with
> VMNotify active by default when available.
> 
> Fixes: 573279cde1c4 ("x86/vmx: implement Notify VM Exit")
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>

 


Rackspace

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