RE: [PATCH v13 06/12] KVM: x86: Add Intel PT virtualization work mode

2018-10-30 Thread Kang, Luwei
> > > >> This part is in the " Intel® Architecture Instruction Set Extensions > > > >> and Future Features Programming Reference" > > > >> https://software.intel.com/sites/default/files/managed/c5/15/arch > > > >> itec ture-instruction-set-extensions-programming-reference.pdf > > > >> > > > > Yet

RE: [PATCH v13 06/12] KVM: x86: Add Intel PT virtualization work mode

2018-10-30 Thread Thomas Gleixner
On Tue, 30 Oct 2018, Kang, Luwei wrote: > > >> This part is in the " Intel® Architecture Instruction Set Extensions and > > >> Future Features Programming Reference" > > >> https://software.intel.com/sites/default/files/managed/c5/15/architec > > >> ture-instruction-set-extensions-programming-ref

RE: [PATCH v13 06/12] KVM: x86: Add Intel PT virtualization work mode

2018-10-30 Thread Kang, Luwei
> >> This part is in the " Intel® Architecture Instruction Set Extensions and > >> Future Features Programming Reference" > >> https://software.intel.com/sites/default/files/managed/c5/15/architec > >> ture-instruction-set-extensions-programming-reference.pdf > >> > > Yet another PDF which will ch

Re: [PATCH v13 06/12] KVM: x86: Add Intel PT virtualization work mode

2018-10-30 Thread Paolo Bonzini
On 30/10/2018 10:30, Thomas Gleixner wrote: >> This part is in the " Intel® Architecture Instruction Set Extensions and >> Future Features Programming Reference" >> https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf >> > Y

RE: [PATCH v13 06/12] KVM: x86: Add Intel PT virtualization work mode

2018-10-30 Thread Thomas Gleixner
Kang, On Thu, 25 Oct 2018, Kang, Luwei wrote: > > > +#define SECONDARY_EXEC_PT_USE_GPA 0x0100 > > > +#define VM_EXIT_CLEAR_IA32_RTIT_CTL0x0200 > > > +#define VM_ENTRY_LOAD_IA32_RTIT_CTL0x0004 > > > > Where are all of these bits documented? I'm look

RE: [PATCH v13 06/12] KVM: x86: Add Intel PT virtualization work mode

2018-10-24 Thread Kang, Luwei
> > From: Chao Peng > > > > Intel Processor Trace virtualization can be work in one of 2 possible > > modes: > > > > a. System-Wide mode (default): > >When the host configures Intel PT to collect trace packets > >of the entire system, it can leave the relevant VMX controls > >clear to

Re: [PATCH v13 06/12] KVM: x86: Add Intel PT virtualization work mode

2018-10-24 Thread Jim Mattson
On Wed, Oct 24, 2018 at 1:05 AM, Luwei Kang wrote: > From: Chao Peng > > Intel Processor Trace virtualization can be work in one > of 2 possible modes: > > a. System-Wide mode (default): >When the host configures Intel PT to collect trace packets >of the entire system, it can leave the re