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

Re: [PATCH v2 1/3] x86/vmx: implement Bus Lock detection


  • To: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 7 Jun 2022 09:20:29 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=TIBerb7U2xn1dpbVt21+aw8L70djIOhJrN5m8BltoNc=; b=WGL2Zx2efmscwvboqLvLDNSNJK5+FPjJj+Vc9zyI4t3q/d2ff01RDM/jdqoywuSFDHMFIrGB0YKwosBiVx5gxxoXoWiB7mlp8xDXbq5yiHPrgGgFnnMfVyYkS9dDyuJYWoA47UhSSB86CAYHhWMhulHKUkV2f6C8n8AMmLUKdKR6rdGIx+xGpqiN0kVTLUzquQOcfrI2NRw+cMUvZfK3uCWOk+CFBQBuMpzOgXekEcZOpqQKe2SJMBmjDDmNMNmxHb9Co0lfO3ZQ79QX93+HRD3kVntrwVpRtxvq7eb23k1Jno0ZRhFE3ljuhe/bJllDNE7UTryMEaYFzcojy5PxIw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FAY/C1xaQqJ/xJunfaVyJw64mvkPe5wgOd0U5PDLs2NG1V5boIg60AN23iIYFs4TximUvIAzGLqDlvE6jtviYK/ltQY3TLm30NjPdMAS9mg+qAVwcqSAUxqlpPi/bDZzSXq+K5NKSaypPIX53jhApx+SDqp4n97n72q0N0Bf7ZMu2b06QzEcqtfBrmSgwHpo9S8VPXddzFpikelW8H7+6MN6R7Hwdz7/r7AVSIFOh1BmdZ6NdXUynujfWHRBbCr1Bv3fN2IS59eNz88JsVP6VEX6r2xFOge1nEWYqrjzsbg1ZNmtcHdhxQ8fSQivbq2KSrHyVElg8p+l/in0f6cThQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Jun Nakajima <jun.nakajima@xxxxxxxxx>, Kevin Tian <kevin.tian@xxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 07 Jun 2022 07:20:39 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 03.06.2022 16:29, Roger Pau Monné wrote:
> On Fri, Jun 03, 2022 at 02:16:47PM +0200, Jan Beulich wrote:
>> On 26.05.2022 13:11, Roger Pau Monne wrote:
>>> Add support for enabling Bus Lock Detection on Intel systems.  Such
>>> detection works by triggering a vmexit, which ought to be enough of a
>>> pause to prevent a guest from abusing of the Bus Lock.
>>>
>>> Add an extra Xen perf counter to track the number of Bus Locks detected.
>>> This is done because Bus Locks can also be reported by setting the bit
>>> 26 in the exit reason field, so also account for those.
>>>
>>> Suggested-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>>> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
>>
>> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
>>
>> This implements just the VMexit part of the feature - maybe the
>> title wants to reflect that? The vmx: tag could also mean there
>> is exposure to guests included for the #DB part of the feature.
> 
> Maybe:
> 
> "x86/vmx: add Bus Lock detection to the hypervisor"

Fine with me.

Jan




 


Rackspace

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