Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1627749
| From | Borislav Petkov <bp@alien8.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 05/32] x86/CPU/AMD: Handle SME reduction in physical address size |
| Date | 2017-04-20 21:10 +0200 |
| Message-ID | <typCN-4oW-1@gated-at.bofh.it> (permalink) |
| References | <txTMB-1zl-13@gated-at.bofh.it> <tynKG-3dL-7@gated-at.bofh.it> <tynKG-3dL-5@gated-at.bofh.it> <typCN-4oW-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Apr 20, 2017 at 12:29:20PM -0500, Tom Lendacky wrote:
> Hmmm... and actually if cpu_has(X86_FEATURE_SME) is true then it's a
> given that extended_cpuid_level >= 0x8000001f. So this can be
> simplified to just:
>
> if (cpu_has(c, X86_FEATURE_SME)) {
> ... the rest of your suggestion (minus cpu_has()) ...
Cool, even better! :)
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH v5 05/32] x86/CPU/AMD: Handle SME reduction in physical address size Borislav Petkov <bp@alien8.de> - 2017-04-20 19:10 +0200 Re: [PATCH v5 05/32] x86/CPU/AMD: Handle SME reduction in physical address size Borislav Petkov <bp@alien8.de> - 2017-04-20 21:10 +0200
csiph-web