[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/3] x86/vmx: implement Bus Lock detection
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Date: Fri, 3 Jun 2022 16:29:17 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=RAPsFEWd6e/1cHrxy5c/bDfyKaS9E1r6zvQaDUEcdfY=; b=Ybw1cxDXouBiDMvJ99rMYDSm9GbZsViW1pyuzOmIuPdKivZ2tQlHtoBnvuoA9L4pfPUtwODCjY7/3KJk1s2/p6EBPrBpKAW1NpRD6aQ5szY+6tyLhXpdeRUGrBpXzWLTRt0Y6IyEJ/4KV0hN4MsI4wrxGx9cEpoxeHIJd6T1HesGrx0AFBHMk8R6vCOp1tBsjto4pNv5UH5xLA8L2setxDAeSBSndoZZlBcNdogfLPb/oyT8BizI4k7fk1ASLQ1I7s5r1XDY16vb/2E1n4OHH5DhPaw2JcqWcWZuOoG9bAx3mErQPdXNG9tx1xv6WfgYOXV0ctsYE7I0reOLITudNw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FD+0x/3JpLm2NC2cVypUbA1J1VSDzKLVhOyMQLWUHNac+gDyJ5vprfS8ke+vyuJA7fTOJWTnNsixAIqUvTFwXl6p0ZJQSVP99O/d3CVTCJjvgjqaxzpoIyEkzQStpvNMJRQ6WGl/b4PHNYPlOv6bL9YLT+NXvUuMHyfW2zrjKiyRjhmJNms/FCwpe9D+DM1TPfrxq/hXGJXfD7p+ul7sjJykQ6alLdfLiwwcm28F4EecmOKW0g9WVdRd1XKzCnfoo/UNZDStpY9wcWTn0uUNMlyRcCPlMKyLKX8F5U+a6hLVf/vxHqKyup+zZylld9p4FvmnUR2d/kHapxRG6W34CA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.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 14:29:47 +0000
- Ironport-data: A9a23:RR0jJagNdRXw+3kaUMgoN3QYX161ehEKZh0ujC45NGQN5FlHY01je htvWjzTPvmDMGDxctF1Pd7k9EIAv5aGmtJjGwNrqn83Enwb9cadCdqndUqhZCn6wu8v7a5EA 2fyTvGacajYm1eF/k/F3oDJ9CU6jefSLlbFILas1hpZHGeIcw98z0M68wIFqtQw24LhXVvW4 YmaT/D3YzdJ5RYlagr41IrbwP9flKyaVOQw5wFWiVhj5TcyplFNZH4tDfjZw0jQG+G4KtWSV efbpIxVy0uCl/sb5nFJpZ6gGqECaua60QFjERO6UYD66vRJjnRaPqrWqJPwwKqY4tmEt4kZ9 TlDiXC/YVcXAK79lb0jbxgCGnBEEbVn3ZnBA3fq5KR/z2WeG5ft69NHKRhveKc+qqNwC2wI8 uEEIjcQaBzFn/ix3L+wVuhrgIIkMdXvO4Qc/HpnyFk1D95/GcyFH/qMuI8ehWhv7ixNNa+2i 84xcz1gYQ6GexRSElwWFIg/jKGjgXyXnzhw9wjF/PFqsjO7IApZ9LGwH9nnX822SswNp1i8i DPspj/mHURPXDCY4X/fmp62vcfNly7mXIMZFJWj6+VnxlaUwwQ7CgAQE12yovC7i0u3c9NZN 0EQvCEpqMAa90G1T9+7QxyxplaFuAIRX5xbFOhSwB6J4rrZ5UCeHGdsZi5MbpkqudE7QRQu1 0SVhJX5CDp3qrqXRHmBsLCOoluP1TM9KGYDYWoOS1sD6ty6+YUr1EuQEZBkDbK/icDzFXfo2 TeWoSMihrIVy8kWy6G8+lOBiDWpznTUcjMICszsdjrNxmtEiESNPORENXCzAS58Ebuk
- Ironport-hdrordr: A9a23:8mUfZam67xDbZpy83pNyMtzArR3pDfOlimdD5ihNYBxZY6Wkfp +V8cjzhCWftN9OYhodcLC7V5Voj0mskKKdxbNhRYtKOzOWw1dATbsSlLcKpgeNJ8SQzI5gPM tbAstD4ZjLfCJHZKXBkXaF+rQbsb66GcmT7I+xrkuFDzsaDZ2Ihz0JdjpzeXcGIDWua6BJdq Z1saF81kedkDksH4yG7j5vZZmxm/T70LbdJTIWDR8u7weDyRuu9b7BChCdmjMTSSlGz7sO+X XM11WR3NToj9iLjjvnk0PD5ZVfn9XsjvNFGcy3k8AQbhHhkByhaohNU6CL+Bo1vOaswlA3l8 SkmWZqA+1Dr1fqOk2lqxrk3AftlB4o9n/Z0FedxUDupMToLQhKfPZptMZ8SF/0+kAgtNZz3O ZgxGSCradaChvGgWDU+8XIfwsCrDv7nVMS1cooy1BPW4oXb7Fc6aYF+llOLZsGFCXmrKg6De hVCt3G7vo+SyLUU5nghBgu/DWQZAVxIv/fKXJy+PB9kgIm0EyR9nFohfD2xRw7hdcAo5ot3Z WxDk0nrsALciYsV9MNOA4we7rINoXze2O9DIuzGyWQKEhVAQOFl3bIiI9Flt2CSdgv8KYYvq jnfRdxiVMSEniefPFmmqc7vyzwfA==
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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"
Thanks, Roger.
|