1. 25 5月, 2010 1 次提交
    • J
      scripts/get_maintainer.pl: optionally ignore non-maintainer signatures · e4d26b02
      Joe Perches 提交于
      When using --git to determine who to send a patch to, get_maintainers will
      currently include all signatures.  This can include signers that simply
      report an issue or test a patch.  Signers that use this tag are not
      necessarily good candidates to review new patches.
      
      This patch allows get_maintainers to optionally restrict output to only
      signatures that use Signed-off-by:, Acked-by:, or Reviewed-by:.
      
      Signed-off-by: is included because those are people who are responsible
      for the code.
      
      Acked-by: is questionable, but as signers that use this tag tend to be
      active linux gatekeepers, false positives are tolerable.
      
      Reviewed-by: is included because signers responsible for the code thought
      that the review feedback for a changeset by that signer was valuable.
      
      This patch has been modified from Florian's original submission to change
      the supported signature types to the canonical forms and use slightly
      different spacing.  A couple of spacing issues were also corrected in the
      original source.  The command line argument was also renamed.
      Original-patch-by: NFlorian Mickler <florian@mickler.org>
      Signed-off-by: NFlorian Mickler <florian@mickler.org>
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e4d26b02
  2. 22 5月, 2010 1 次提交
  3. 19 5月, 2010 1 次提交
    • O
      MODULE_DEVICE_TABLE(isapnp, ...) does nothing · fedb3d27
      Ondrej Zary 提交于
      On Monday 23 November 2009 04:29:53 Rusty Russell wrote:
      > On Mon, 23 Nov 2009 07:31:57 am Ondrej Zary wrote:
      > > The problem is that
      > > scripts/mod/file2alias.c simply ignores isapnp.
      >
      > AFAICT it always has, and noone has complained until now.  Perhaps
      > something was still reading /lib/modules/`uname -r`/modules.isapnpmap?
      
      The patch below works fine (at least with Debian). It needs your first
      patch that moves the definitions to mod_devicetable.h. Verified that
      aliases for these modules are generated correctly:
      
      drivers/media/radio/radio-sf16fmi.c
      drivers/net/ne.c
      drivers/net/3c515.c
      drivers/net/smc-ultra.c
      drivers/pcmcia/i82365.c
      drivers/scsi/aha1542.c
      drivers/scsi/aha152x.c
      drivers/scsi/sym53c416.c
      drivers/scsi/g_NCR5380.c
      
      Tested with RTL8019AS (ne), AVA-1505AE (aha152x) and dtc436e (g_NCR5380)
      cards - they now work automatically.
      
      Generate pnp:d aliases for isapnp_device_tables. This allows udev to load
      these modules automatically.
      Signed-off-by: NOndrej Zary <linux@rainbow-software.org>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      fedb3d27
  4. 18 5月, 2010 1 次提交
  5. 07 4月, 2010 1 次提交
    • B
      x86: Add optimized popcnt variants · d61931d8
      Borislav Petkov 提交于
      Add support for the hardware version of the Hamming weight function,
      popcnt, present in CPUs which advertize it under CPUID, Function
      0x0000_0001_ECX[23]. On CPUs which don't support it, we fallback to the
      default lib/hweight.c sw versions.
      
      A synthetic benchmark comparing popcnt with __sw_hweight64 showed almost
      a 3x speedup on a F10h machine.
      Signed-off-by: NBorislav Petkov <borislav.petkov@amd.com>
      LKML-Reference: <20100318112015.GC11152@aftab>
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      d61931d8
  6. 03 4月, 2010 1 次提交
  7. 29 3月, 2010 1 次提交
  8. 25 3月, 2010 3 次提交
  9. 16 3月, 2010 1 次提交
  10. 15 3月, 2010 1 次提交
  11. 13 3月, 2010 1 次提交
  12. 07 3月, 2010 15 次提交
  13. 27 2月, 2010 2 次提交
  14. 09 2月, 2010 1 次提交
  15. 04 2月, 2010 1 次提交
  16. 03 2月, 2010 4 次提交
    • S
      kconfig: Add LSMOD=file to override the lsmod for localmodconfig · 615f0833
      Steven Rostedt 提交于
      Doing the following:
      
      	make LSMOD=file localmodconfig
      
      Will make the streamline-config code use the given file instead of
      lsmod. If the file is an executable, it will execute it, otherwise
      it will read it as text.
      
      	make LSMOD=/my/local/path/lsmod localmodconfig
      
      The above will execute the lsmod in /my/local/path instead of the
      lsmods that may be located elsewhere.
      
      	make LSMOD=embedded_board_lsmod localmodconfig
      
      The above will read the "embedded_board_lsmod" as a text file. This
      is useful if you are doing a cross compile and need to run the
      config against modules that exist on an embedded device.
      
      Note, if the LSMOD= file does is not a path, it will add the
      path to the object directory. That is, the above example will look
      for "embedded_board_lsmod" in the directory that the binary will
      be built in (the O=dir directory).
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      
       On branch config/linus
      615f0833
    • H
      markup_oops.pl: fix $func_offset error with x86_64 · ef2b9b05
      Hui Zhu 提交于
      When I use markup_oops.pl parse a x8664 oops, I got:
      
      objdump: --start-address: bad number: NaN
      No matching code found
      This is because:
      main::(./m.pl:228):	open(FILE, "objdump -dS --adjust-vma=$vmaoffset --start-address=$decodestart --stop-address=$decodestop $filename |") || die "Cannot start objdump";
        DB<3> p $decodestart
      NaN
      
      This NaN is from:
      main::(./m.pl:176):	my $decodestart = Math::BigInt->from_hex("0x$target") - Math::BigInt->from_hex("0x$func_offset");
        DB<2> p $func_offset
      0x175
      
      There is already a "0x" in $func_offset, another 0x makes it a NaN.
      
      The $func_offset is from line:
      
      	if ($line =~ /RIP: 0010:\[\<[0-9a-f]+\>\]  \[\<[0-9a-f]+\>\] ([a-zA-Z0-9\_]+)\+(0x[0-9a-f]+)\/0x[a-f0-9]/) {
      		$function = $1;
      		$func_offset = $2;
      	}
      
      I make a patch to change "(0x[0-9a-f]+)\/0x[a-f0-9]/)" to "0x([0-9a-f]+)\/0x[a-f0-9]/)".
      Signed-off-by: NHui Zhu <teawater@gmail.com>
      Cc: Arjan van de Ven <arjan@linux.intel.com>
      Cc: Michal Marek <mmarek@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      ef2b9b05
    • R
      get_maintainer.pl: teach git log to use --no-color · 99cf6116
      Richard Kennedy 提交于
      When git has been set to always use color in .gitconfig then I get the
      warning message
      
              Bad divisor in main::vcs_assign: 0
      
      This is caused by vcs_file_signoffs not matching any commits due to the
      pattern not understand the colour codes.  Fix this by telling git log to
      never use colour.
      Signed-off-by: NRichard Kennedy <richard@rsk.demon.co.uk>
      Acked-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      99cf6116
    • S
      kconfig: Look in both /bin and /sbin for lsmod in streamline_config.pl · 88f66ea9
      Steven Rostedt 提交于
      Distributions now have lsmod in /bin instead of /sbin. But to handle
      both cases, we look for it in /sbin /bin /usr/bin and /usr/sbin.
      If lsmod is not found in any of those paths, it defaults to use
      just lsmod and hopes that it lies in the path of the user.
      Tested-by: NXavier Chantry <shiningxc@gmail.com>
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      88f66ea9
  17. 18 1月, 2010 1 次提交
    • M
      modpost: fix segfault in sym_is() with prefixed arches · 3a5dd791
      Mike Frysinger 提交于
      The sym_is() compares a symbol in an attempt to automatically skip symbol
      prefixes.  It does this first by searching the real symbol with the normal
      unprefixed symbol.  But then it uses the length of the original symbol to
      check the end of the substring instead of the length of the symbol it is
      looking for.  On non-prefixed arches, this is effectively the same thing,
      so there is no problem.  On prefixed-arches, since this is exceeds by just
      one byte, a crash is rare and it is usually a NUL byte anyways.  But every
      once in a blue moon, you get the right page alignment and it segfaults.
      
      For example, on the Blackfin arch, sym_is() will be called with the real
      symbol "___mod_usb_device_table" as "symbol" when looking for the normal
      symbol "__mod_usb_device_table" as "name".  The substring will thus return
      one byte into "symbol" and store it into "match".  But then "match" will
      be indexed with the length of "symbol" instead of "name" and so we will
      exceed the storage.  i.e. the code ends up doing:
      	char foo[] = "abc"; return foo[strlen(foo)+1] == '\0';
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      3a5dd791
  18. 17 1月, 2010 1 次提交
  19. 13 1月, 2010 2 次提交