From: "H. Peter Anvin" <hpa@zytor.com>
To: Borislav Petkov <bp@alien8.de>
Cc: Huaitong Han <huaitong.han@intel.com>,
tglx@linutronix.de, mingo@redhat.com, david.vrabel@citrix.com,
rusty@rustcorp.com.au, x86@kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2] x86: use enum cpuid_leafs instead of magic numbers
Date: Thu, 21 Jan 2016 13:25:22 -0800 [thread overview]
Message-ID: <56A14CC2.7090607@zytor.com> (raw)
In-Reply-To: <20160121212109.GK21930@pd.tnic>
On 01/21/16 13:21, Borislav Petkov wrote:
> On Thu, Jan 21, 2016 at 01:04:57PM -0800, H. Peter Anvin wrote:
>> I'm wondering, though, if it wouldn't be better to turn these into
>> macros so that they can be used in assembly code. That way the
>> definitions can be interspersed with the X86_FEATURE_ definitions,
>> too.
>
> What concrete use case do you have in mind, i.e., example?
>
See X86_CAPABILITY in head_32.S for example.
-hpa
next prev parent reply other threads:[~2016-01-21 21:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 11:02 [PATCH V2] x86: use enum cpuid_leafs instead of magic numbers Huaitong Han
2016-01-21 11:42 ` Borislav Petkov
2016-01-21 21:04 ` H. Peter Anvin
2016-01-21 21:21 ` Borislav Petkov
2016-01-21 21:25 ` H. Peter Anvin [this message]
2016-01-21 21:33 ` Borislav Petkov
2016-01-21 21:37 ` H. Peter Anvin
2016-01-21 21:47 ` Borislav Petkov
2016-01-21 21:52 ` H. Peter Anvin
2016-01-21 21:05 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56A14CC2.7090607@zytor.com \
--to=hpa@zytor.com \
--cc=bp@alien8.de \
--cc=david.vrabel@citrix.com \
--cc=huaitong.han@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rusty@rustcorp.com.au \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox