Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1522634

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

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v3 04/20] x86: Handle reduction in physical address size with SME
Date 2016-11-15 13:20 +0100
Message-ID <sDKSt-4PB-13@gated-at.bofh.it> (permalink)
References <sBVfj-4HF-7@gated-at.bofh.it> <sDKSt-4PB-15@gated-at.bofh.it> <sDKSt-4PB-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 15, 2016 at 01:10:35PM +0100, Joerg Roedel wrote:
> 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().

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...

-- 
Regards/Gruss,
    Boris.

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH v3 04/20] x86: Handle reduction in physical address  size with SME Joerg Roedel <joro@8bytes.org> - 2016-11-15 13:20 +0100
  Re: [RFC PATCH v3 04/20] x86: Handle reduction in physical address  size with SME Borislav Petkov <bp@alien8.de> - 2016-11-15 13:20 +0100
    Re: [RFC PATCH v3 04/20] x86: Handle reduction in physical address  size with SME Borislav Petkov <bp@alien8.de> - 2016-11-15 16:40 +0100
      Re: [RFC PATCH v3 04/20] x86: Handle reduction in physical address  size with SME Borislav Petkov <bp@alien8.de> - 2016-11-15 17:40 +0100
    Re: [RFC PATCH v3 04/20] x86: Handle reduction in physical address  size with SME Borislav Petkov <bp@alien8.de> - 2016-11-15 22:40 +0100

csiph-web