[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 Monne <roger.pau@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Fri, 3 Jun 2022 14:16:47 +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=vNnp1I8kCYNAff1ldvLNKBRhqqbKFNQtfE0RFdOvTMY=; b=hTtuoxuG/f9at2A/tuogpVskMHvN5s/qQwQPSvX85Mhhz7LEGv2hgBP49D4ctNj51OqatpTl0jp4+3A5sNuUnTgAmh8L8KUSbq8wFfnyT06tk039MKgtgliyCe6z4OdvyuhrkzihXCtDX5KPxLyZV8LGl9n9EG7XbGBGNgBd3Zb/xmzhWC7qmnW6jeUw+66bVZMnnhIFwgZeCONPmQLoPK7I+9i5//v3QvrZA+uXVcEAmczKXz8oTFoB8G6oEC2AawTtPuiXtsbDEGY9SGWZKLnAJp1gXAevvPW9CKgyOmyAyvsN4cJ2TqzlNoSEe25MFEqwLlD5gWRNpfcZ8hnMag==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gdONdbR6q8J45G6QkVpXOrjMOpGi5K6CCyf6ubupRiHQj4MtTkJu5nGOXCrc3zy+76xknuG7GYkWzvy9etp7PJQFhTUY5xbbuaaZ8G/CX6kMyKnSqL7V8Ya3Xc5iK+WrNcO1+BjHdtWhkuSNBWUADcuo1eyFKJgQrKy7z/85tiRmq85HTwRZeTQxVgz/ihs7edAWl7EvaEIAHjZtaQnRO4O3xl7frx/a7574R5uhnSaNFbwmhUhZbBze9OfvhFFbR2n+FN47zn09WnlA6/KX1nvi90VlrIHAiaeH6C+Oan/kaD2X8Kq9NZUlYsHoajTnpgb2FBTf+2Tu9UkM2sCprw==
- 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: Fri, 03 Jun 2022 12:17:11 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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.
Jan
|