1. 31 Jul, 2012 2 commits
  2. 20 Jul, 2012 1 commit
  3. 27 Jun, 2012 1 commit
  4. 20 Jun, 2012 1 commit
  5. 16 Jun, 2012 1 commit
  6. 13 Jun, 2012 1 commit
    • Bjørn Mork's avatar
      USB: allow match on bInterfaceNumber · 81df2d59
      Bjørn Mork authored
      
      
      Some composite USB devices provide multiple interfaces
      with different functions, all using "vendor-specific"
      for class/subclass/protocol.  Another OS use interface
      numbers to match the driver and interface. It seems
      these devices are designed with that in mind - using
      static interface numbers for the different functions.
      
      This adds support for matching against the
      bInterfaceNumber, allowing such devices to be supported
      without having to resort to testing against interface
      number whitelists and/or blacklists in the probe.
      Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      81df2d59
  7. 01 Jun, 2012 2 commits
  8. 26 May, 2012 1 commit
  9. 25 May, 2012 2 commits
  10. 23 May, 2012 2 commits
  11. 19 May, 2012 1 commit
    • H. Peter Anvin's avatar
      x86, realmode: 16-bit real-mode code support for relocs tool · 6520fe55
      H. Peter Anvin authored
      
      
      A new option is added to the relocs tool called '--realmode'.
      This option causes the generation of 16-bit segment relocations
      and 32-bit linear relocations for the real-mode code. When
      the real-mode code is moved to the low-memory during kernel
      initialization, these relocation entries can be used to
      relocate the code properly.
      
      In the assembly code 16-bit segment relocations must be relative
      to the 'real_mode_seg' absolute symbol. Linear relocations must be
      relative to a symbol prefixed with 'pa_'.
      
      16-bit segment relocation is used to load cs:ip in 16-bit code.
      Linear relocations are used in the 32-bit code for relocatable
      data references. They are declared in the linker script of the
      real-mode code.
      
      The relocs tool is moved to arch/x86/tools/relocs.c, and added new
      target archscripts that can be used to build scripts needed building
      an architecture.  be compiled before building the arch/x86 tree.
      
      [ hpa: accelerating this because it detects invalid absolute
        relocations, a serious bug in binutils 2.22.52.0.x which currently
        produces bad kernels. ]
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      Link: http://lkml.kernel.org/r/1336501366-28617-2-git-send-email-jarkko.sakkinen@intel.com
      
      Signed-off-by: default avatarJarkko Sakkinen <jarkko.sakkinen@intel.com>
      Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
      Cc: <stable@vger.kernel.org>
      6520fe55
  12. 17 May, 2012 1 commit
    • Paul Gortmaker's avatar
      MCA: delete all remaining traces of microchannel bus support. · bb8187d3
      Paul Gortmaker authored
      
      
      Hardware with MCA bus is limited to 386 and 486 class machines
      that are now 20+ years old and typically with less than 32MB
      of memory.  A quick search on the internet, and you see that
      even the MCA hobbyist/enthusiast community has lost interest
      in the early 2000 era and never really even moved ahead from
      the 2.4 kernels to the 2.6 series.
      
      This deletes anything remaining related to CONFIG_MCA from core
      kernel code and from the x86 architecture.  There is no point in
      carrying this any further into the future.
      
      One complication to watch for is inadvertently scooping up
      stuff relating to machine check, since there is overlap in
      the TLA name space (e.g. arch/x86/boot/mca.c).
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: James Bottomley <JBottomley@Parallels.com>
      Cc: x86@kernel.org
      Acked-by: default avatarIngo Molnar <mingo@elte.hu>
      Acked-by: default avatarH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      bb8187d3
  13. 15 May, 2012 1 commit
    • Yann E. MORIN's avatar
      scripts/config: properly report and set string options · d6686da8
      Yann E. MORIN authored
      
      
      Currently, scripts/config removes the leading double-quote from
      string options, but leaves the trailing double-quote.
      
      Also, double-quotes in a string are escaped, but scripts/config
      does not unescape those when printing
      
      Finally, scripts/config does not escape double-quotes when setting
      string options.
      
      Eg. the current behavior:
          $ grep -E '^CONFIG_FOO=' .config
          CONFIG_FOO="Bar \"Buz\" Meh"
          $ ./scripts/config -s FOO
          Bar \"Buz\" Meh"
          $ ./scripts/config --set-str FOO 'Alpha "Bravo" Charlie'
          $ grep -E '^CONFIG_FOO=' .config
          CONFIG_FOO="Alpha "Bravo" Charlie"
      
      Fix those three, giving this new behavior:
          $ grep -E '^CONFIG_FOO=' .config
          CONFIG_FOO="Bar \"Buz\" Meh"
          $ ./scripts/config -s FOO
          Bar "Buz" Meh
          $ ./scripts/config --set-str FOO 'Alpha "Bravo" Charlie'
          $ grep -E '^CONFIG_FOO=' .config
          CONFIG_FOO="Alpha \"Bravo\" Charlie"
      Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
      Acked-by: default avatarAndi Kleen <andi@firstfloor.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      d6686da8
  14. 10 May, 2012 1 commit
  15. 08 May, 2012 3 commits
  16. 07 May, 2012 1 commit
    • Eric W. Biederman's avatar
      kbuild: all{no,yes,mod,def,rand}config only read files when instructed to. · 9f420bf0
      Eric W. Biederman authored
      
      
      Prevent subtle surprises to both people working on the kconfig code
      and people using make allnoconfig allyesconfig allmoconfig and
      randconfig by only attempting to read a config file if
      KCONFIG_ALLCONFIG is set.
      
      Common sense suggests attempting to read the extra config files does
      not make sense unless requested.  The documentation says the code
      won't attempt to read the extra config files unless requested.
      Current usage does not appear to include people depending on the code
      reading the config files without the variable being set So do the
      simple thing and stop reading config files when passed
      all{no,yes,mod,def,rand}config unless KCONFIG_ALLCONFIG environment
      variable is set.
      Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      9f420bf0
  17. 05 May, 2012 1 commit
    • Sam Ravnborg's avatar
      kbuild: link of vmlinux moved to a script · 1f2bfbd0
      Sam Ravnborg authored
      
      
      Move the final link of vmlinux to a script to improve
      readability and maintainability of the code.
      
      The Makefile fragments used to link vmlinux has over the
      years seen far too many changes and the logic had become
      hard to follow.
      
      As the process by nature is serialized there was
      nothing gained including this in the Makefile.
      
      "um" has special link requirments - and the
      only way to handle this was to hard-code the linking
      of "um" in the script.
      This was better than trying to modularize it only for the
      benefit of "um" anyway.
      
      The shell script has been improved after input from:
      Arnaud Lacombe <lacombar@gmail.com>
      Nick Bowler <nbowler@elliptictech.com>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Cc: Arnaud Lacombe <lacombar@gmail.com>
      Cc: Nick Bowler <nbowler@elliptictech.com>
      Cc: Richard Weinberger <richard@nod.at>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      1f2bfbd0
  18. 04 May, 2012 1 commit
    • Eric W. Biederman's avatar
      kconfig: Add error handling to KCONFIG_ALLCONFIG · 5efe241e
      Eric W. Biederman authored
      
      
      - Only try to read the file specified if KCONFIG_ALL_CONFIG is set to
        something other than the empty string or "1".
      
      - Don't use stat to check the name passed to conf_read_simple so that
        zconf_fopen can find the file in the current directory or in SRCTREE
        removing a extremely source of confusing failure, where KCONFIG_ALL_CONFIG
        was not interpreted with respect to the directory make was called in.
      
      - If conf_read_simple fails complain clearly and stop processing.
        Allowing the simple debugging of typos.
      
      - Clearly document the behavior so it is clear to users which
        values are treated as flags and which values are treated as
        filenames.
      Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      5efe241e
  19. 01 May, 2012 2 commits
  20. 24 Apr, 2012 1 commit
  21. 19 Apr, 2012 1 commit
  22. 18 Apr, 2012 2 commits
    • Lasse Collin's avatar
      xz: Enable BCJ filters on SPARC and 32-bit x86 · 0db7bd8c
      Lasse Collin authored
      
      
      The BCJ filters were meant to be enabled already on these
      archs, but the xz_wrap.sh script was buggy. Enabling the
      filters should give smaller kernel images.
      
      xz_wrap.sh will now use $SRCARCH instead of $ARCH to detect
      the architecture. That way it doesn't need to care about the
      subarchs (like i386 vs. x86_64) since the BCJ filters don't
      care either.
      Signed-off-by: default avatarLasse Collin <lasse.collin@tukaani.org>
      Acked-by: default avatarJan Beulich <jbeulich@suse.com>
      Acked-by: default avatarH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0db7bd8c
    • David Miller's avatar
      Fix modpost failures in fedora 17 · e88aa7bb
      David Miller authored
      
      
      The symbol table on x86-64 starts to have entries that have names
      like:
      
      _GLOBAL__sub_I_65535_0___mod_x86cpu_device_table
      
      They are of type STT_FUNCTION and this one had a length of 18.  This
      matched the device ID validation logic and it barfed because the
      length did not meet the device type's criteria.
      
      --------------------
      FATAL: arch/x86/crypto/aesni-intel: sizeof(struct x86cpu_device_id)=16 is not a modulo of the size of section __mod_x86cpu_device_table=18.
      Fix definition of struct x86cpu_device_id in mod_devicetable.h
      --------------------
      
      These are some kind of compiler tool internal stuff being emitted and
      not something we want to inspect in modpost's device ID table
      validation code.
      
      So skip the symbol if it is not of type STT_OBJECT.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      e88aa7bb
  23. 16 Apr, 2012 1 commit
  24. 15 Apr, 2012 1 commit
  25. 13 Apr, 2012 2 commits
  26. 10 Apr, 2012 1 commit
    • Frank Rowand's avatar
      modpost: Fix modpost license checking of vmlinux.o · 258f7426
      Frank Rowand authored
      Commit f02e8a65 ("module: Sort exported symbols") sorts symbols
      placing each of them in its own elf section.  This sorting and merging
      into the canonical sections are done by the linker.
      
      Unfortunately modpost to generate Module.symvers file parses vmlinux.o
      (which is not linked yet) and all modules object files (which aren't
      linked yet).  These aren't sanitized by the linker yet.  That breaks
      modpost that can't detect license properly for modules.
      
      This patch makes modpost aware of the new exported symbols structure.
      
      [ This above is a slightly corrected version of the explanation of the
        problem, copied from commit 62a26356
      
       ("modpost: Fix modpost's
        license checking V3").  That commit fixed the problem for module
        object files, but not for vmlinux.o.  This patch fixes modpost for
        vmlinux.o. ]
      Signed-off-by: default avatarFrank Rowand <frank.rowand@am.sony.com>
      Signed-off-by: default avatarAlessio Igor Bogani <abogani@kernel.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      258f7426
  27. 05 Apr, 2012 1 commit
  28. 02 Apr, 2012 1 commit
  29. 30 Mar, 2012 3 commits