1. 08 9月, 2015 3 次提交
  2. 14 8月, 2015 1 次提交
  3. 19 5月, 2015 2 次提交
    • I
      x86/fpu: Rename xsave.header::xstate_bv to 'xfeatures' · 400e4b20
      Ingo Molnar 提交于
      'xsave.header::xstate_bv' is a misnomer - what does 'bv' stand for?
      
      It probably comes from the 'XGETBV' instruction name, but I could
      not find in the Intel documentation where that abbreviation comes
      from. It could mean 'bit vector' - or something else?
      
      But how about - instead of guessing about a weird name - we named
      the field in an obvious and descriptive way that tells us exactly
      what it does?
      
      So rename it to 'xfeatures', which is a bitmask of the
      xfeatures that are fpstate_active in that context structure.
      
      Eyesore like:
      
                 fpu->state->xsave.xsave_hdr.xstate_bv |= XSTATE_FP;
      
      is now much more readable:
      
                 fpu->state->xsave.header.xfeatures |= XSTATE_FP;
      
      Which form is not just infinitely more readable, but is also
      shorter as well.
      Reviewed-by: NBorislav Petkov <bp@alien8.de>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Cc: Dave Hansen <dave.hansen@linux.intel.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Oleg Nesterov <oleg@redhat.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      400e4b20
    • I
      x86/fpu: Rename 'xsave_hdr' to 'header' · 3a54450b
      Ingo Molnar 提交于
      Code like:
      
                 fpu->state->xsave.xsave_hdr.xstate_bv |= XSTATE_FP;
      
      is an eyesore, because not only is the words 'xsave' and 'state'
      are repeated twice times (!), but also because of the 'hdr' and 'bv'
      abbreviations that are pretty meaningless at a first glance.
      
      Start cleaning this up by renaming 'xsave_hdr' to 'header'.
      Reviewed-by: NBorislav Petkov <bp@alien8.de>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Cc: Dave Hansen <dave.hansen@linux.intel.com>
      Cc: Fenghua Yu <fenghua.yu@intel.com>
      Cc: H. Peter Anvin <hpa@zytor.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Oleg Nesterov <oleg@redhat.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      3a54450b
  4. 17 3月, 2015 2 次提交
  5. 15 12月, 2012 1 次提交
  6. 24 4月, 2012 1 次提交
  7. 21 2月, 2012 1 次提交
  8. 05 12月, 2009 1 次提交
  9. 12 4月, 2009 1 次提交
  10. 31 1月, 2009 1 次提交
  11. 23 10月, 2008 2 次提交
  12. 13 8月, 2008 1 次提交
    • I
      x86: fix xsave build error · 26d809af
      Ingo Molnar 提交于
      fix this build failure with certain glibc versions:
      
      In file included from /usr/include/bits/sigcontext.h:28,
                       from /usr/include/signal.h:333,
                       from Documentation/accounting/getdelays.c:24:
      /home/mingo/tip/usr/include/asm/sigcontext.h:191: error: expected specifier-qualifier-list before ‘u64’
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      26d809af
  13. 31 7月, 2008 1 次提交
  14. 23 7月, 2008 1 次提交
    • V
      x86: consolidate header guards · 77ef50a5
      Vegard Nossum 提交于
      This patch is the result of an automatic script that consolidates the
      format of all the headers in include/asm-x86/.
      
      The format:
      
      1. No leading underscore. Names with leading underscores are reserved.
      2. Pathname components are separated by two underscores. So we can
         distinguish between mm_types.h and mm/types.h.
      3. Everything except letters and numbers are turned into single
         underscores.
      Signed-off-by: NVegard Nossum <vegard.nossum@gmail.com>
      77ef50a5
  15. 17 4月, 2008 1 次提交
  16. 13 2月, 2008 1 次提交
    • I
      x86: fix sigcontext.h user export · 1cdde191
      Ingo Molnar 提交于
      Jakub Jelinek reported that some user-space code that relies on
      kernel headers has built dependency on the sigcontext->eip/rip
      register names - which have been unified in commit:
      
        commit 742fa54a
        Author: H. Peter Anvin <hpa@zytor.com>
        Date:   Wed Jan 30 13:30:56 2008 +0100
      
            x86: use generic register names in struct sigcontext
      
      so give the old layout to user-space. This is not particularly
      pretty, but it's an ABI so there's no danger of the two definitions
      getting out of sync.
      Reported-by: NJakub Jelinek <jakub@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      1cdde191
  17. 30 1月, 2008 1 次提交
  18. 24 10月, 2007 1 次提交
  19. 11 10月, 2007 1 次提交