[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1611081606310.3501@nanos>
Date: Tue, 8 Nov 2016 16:11:36 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Borislav Petkov <bp@...en8.de>
cc: He Chen <he.chen@...ux.intel.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, x86@...nel.org,
Paolo Bonzini <pbonzini@...hat.com>,
Radim Krčmář <rkrcmar@...hat.com>,
Ingo Molnar <mingo@...hat.com>,
"H . Peter Anvin" <hpa@...or.com>,
Luwei Kang <luwei.kang@...el.com>,
Piotr Luc <Piotr.Luc@...el.com>
Subject: Re: [PATCH v4 1/2] cpuid: Add a helper in scattered.c to return
cpuid leaf info
On Tue, 8 Nov 2016, Borislav Petkov wrote:
> On Tue, Nov 08, 2016 at 04:52:27PM +0800, He Chen wrote:
> > +struct cpuid_regs {
> > + u32 eax, ebx, ecx, edx;
> > +};
>
> Why do you export this? It is used in cpuid.c only.
Because I asked for it. We should have this stuff in one place to avoid the
next name clash.
What's worse with that patch is, that it does two things in one go:
- cleanup that whole cpuid_regs mess
- add the new function
That should clearly be seperated into two patches.
Thanks,
tglx
Powered by blists - more mailing lists