Thread (78 messages) 78 messages, 7 authors, 2016-12-09

Re: [RFC PATCH v3 04/20] x86: Handle reduction in physical address size with SME

From: Tom Lendacky <hidden>
Date: 2016-11-15 21:23:01
Also in: kvm, linux-efi, linux-iommu, linux-mm, lkml

On 11/15/2016 6:14 AM, Borislav Petkov wrote:
On Tue, Nov 15, 2016 at 01:10:35PM +0100, Joerg Roedel wrote:
quoted
Maybe add a comment here why you can't use cpu_has (yet).
So that could be alleviated by moving this function *after*
init_scattered_cpuid_features(). Then you can simply do *cpu_has().
Hmmm... I still need the ebx value from the CPUID instruction to
calculate the proper reduction in physical bits, so I'll still need
to make the CPUID call.

Thanks,
Tom
Also, I'm not sure why we're checking CPUID for the SME feature when we
have sme_get_me_mask() et al which have been setup much earlier...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help