On 31/10/2016 12:05, Borislav Petkov wrote: > On Mon, Oct 31, 2016 at 11:47:48AM +0100, Paolo Bonzini wrote: >> The information is all in arch/x86/kernel/cpu/scattered.c's cpuid_bits >> array. Borislav, would it be okay to export the cpuid_regs enum? > > Yeah, and kill the duplicated one in arch/x86/events/intel/pt.c too > please, while at it. > > I'd still put it all in arch/x86/kernel/cpu/scattered.c so that it is > close-by and call it from outside.
Good. Chen, are you going to do this? Paolo