Re: [PATCH] x86: Fix definition and use of DR6_RESERVED

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

 



Hi,

On Fri, Oct 19, 2018 at 08:56:35AM +0800, Wanpeng Li wrote:
> Cc Thomas,
> On Fri, 19 Oct 2018 at 05:11, Christian Ehrhardt <lk@xxxxxxx> wrote:
> >
> >
> > Bit 16 in %dr6 (RTM) is no longer reserved.
> >
> > Adjust the definition of DR6_RESERVED and provide new constants
> > DR6_INIT (moved from kvm_host.h) and DR_RTM. Fix existing users
> > of DR6_RESERVED that want DR6_INIT instead.
> >
> > Signed-off-by: Christian Ehrhardt <lk@xxxxxxx>
> > ---
> >  arch/x86/include/asm/kvm_host.h      | 1 -
> >  arch/x86/include/uapi/asm/debugreg.h | 5 ++++-
> >  arch/x86/kernel/process_32.c         | 2 +-
> >  arch/x86/kernel/process_64.c         | 2 +-
> >  4 files changed, 6 insertions(+), 4 deletions(-)
> 
> You should Cc x86 maintainers for these changes. In addition, I think
> you don't need to update TSX stuff outside of KVM since TSX is
> unsupported by linux kernel until now.

Thanks for the reply.

The change is mostly nit-picking and changes UAPI and the %dr6 change
does not depend on this one. Thus I'll let this change drop as I have
no way to assess and deal with the userland impact.

     regards   Christian




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux