lkml.org 
[lkml]   [2016]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH v3 04/20] x86: Handle reduction in physical address size with SME
    On Tue, Nov 15, 2016 at 03:22:45PM -0600, Tom Lendacky wrote:
    > 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.

    if (c->extended_cpuid_level >= 0x8000001f) {
    cpuid(0x8000001f, &eax, &ebx, &ecx, &edx);

    ...

    just like the rest of get_cpu_cap() :)

    --
    Regards/Gruss,
    Boris.

    Good mailing practices for 400: avoid top-posting and trim the reply.

    \
     
     \ /
      Last update: 2016-11-15 22:34    [W:3.774 / U:0.272 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site