lkml.org 
[lkml]   [2021]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] KVM: VMX: Check if bus lock vmexit was preempted
From
Date
On 23/09/21 02:59, Hao Xiang wrote:
> EXIT_REASON.bus_lock_detected may or may not be set when
> exit_reason=EXIT_REASON_BUS_LOCK,  It clould depend on hardware
> implementaion. No matter when intel states it clearly, I think it is
> better that we avoid repeated assignment by adding additional check
> condition in vmx_handle_exit.  Of course , it is also ok that
> hand_bus_lock_vmexit do nothing , but the code is not clear, and the
> code logic will be inconsistent with spec description.

For 5.16 we'll go with something like Sean's sketch, that sets the
bus_lock_detected bit on EXIT_REASON_BUS_LOCK.

Paolo

\
 
 \ /
  Last update: 2021-09-23 08:38    [W:0.609 / U:0.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site