[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170110090415.46htye4aczidzvh2@pd.tnic>
Date: Tue, 10 Jan 2017 10:04:15 +0100
From: Borislav Petkov <bp@...e.de>
To: hpa@...or.com
Cc: linux-tip-commits@...r.kernel.org,
tip-bot for Borislav Petkov <tipbot@...or.com>,
mingo@...nel.org, linux-kernel@...r.kernel.org, tglx@...utronix.de
Subject: Re: [tip:x86/urgent] x86/CPU: Add native CPUID variants returning a
single datum
On Mon, Jan 09, 2017 at 04:19:29PM -0800, hpa@...or.com wrote:
> Any reason to not make these interfaces (leaf, subleaf) from the start?
Two, actually:
1. I modelled them after the cpuid_<reg>(op) versions
2. I don't think we need the subleaf variant right now.
But, when we do, we can do that when we cross that bridge and add
native_cpuid_<reg>(leaf, subleaf)
which gets called by the native_cpuid_<reg>(leaf) variants.
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
Powered by blists - more mailing lists