1. 25 May, 2004 40 commits
    • Paul Mackerras's avatar
      [PATCH] IRQ stacks for PPC64 · 0684d7d9
      Paul Mackerras authored
      Even with a 16kB stack, we have been seeing stack overflows on PPC64
      under stress.  This patch implements separate per-cpu stacks for
      processing interrupts and softirqs, along the lines of the
      CONFIG_4KSTACKS stuff on x86.  At the moment the stacks are still 16kB
      but I hope we can reduce that to 8kB in future.  (Gcc is capable of
      adding instructions to the function prolog to check the stack pointer
      whenever it moves it downwards, and I want to use that when I try
      using 8kB stacks so I can be confident that we aren't overflowing the
      stack.)
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      0684d7d9
    • Ingo Molnar's avatar
      [PATCH] x86-bigsmp: use fixed interrupt delivery · 8e2fd124
      Ingo Molnar authored
      This patch, from Venkatesh Pallipadi, changes x86 IO-APICs to use fixed
      interrupt delivery instead of lowest priority to support larger number
      of CPUs.  Only bigsmp is affected by this cleanup. 
      
      From: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      8e2fd124
    • Andrew Morton's avatar
      [PATCH] missing compat ioctl mapping for DM_REMOVE_ALL · 9bca388c
      Andrew Morton authored
      Signed-off-by: default avatarMarcus Meissner <meissner@suse.de>
      
      Added missing DM_REMOVE_ALL call.
      9bca388c
    • Andrew Morton's avatar
      [PATCH] sched_yield() microoptimisation · 14dadb2b
      Andrew Morton authored
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      
      We can avoid the local_irq_enable() in sched_yield() because schedule()
      unconditionally enables interrupts anyway.
      14dadb2b
    • Andrew Morton's avatar
      [PATCH] sched.h comment typo fix · 35834232
      Andrew Morton authored
      Signed-off-by: default avatarChristian Meder <chris@onestepahead.de>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      
      sched.h typo fix from Christian Meder.
      35834232
    • Andrew Morton's avatar
      [PATCH] Subject: Re: Help understanding slow down · c5c1e586
      Andrew Morton authored
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      
      Add a warning that "idle=poll" is a performance hit on hyperthreaded CPUs.
      c5c1e586
    • Andrew Morton's avatar
      [PATCH] No interpretation of HD spindown timeout in laptop mode ACPI binding script. · 6dc50ae9
      Andrew Morton authored
      From: Bart Samwel <bart@samwel.tk>
      
      Currently the ACPI binding script in the Laptop Mode doc always says "20
      seconds" and "2 hours" for the timeouts it uses.  This is incorrect if the
      user changed the config values, so we print something more general.
      6dc50ae9
    • Andrew Morton's avatar
      [PATCH] rmap build fix · 625ba457
      Andrew Morton authored
      From: William Lee Irwin III <wli@holomorphy.com>
      
      PMD_SIZE is not a compile-time constant on sparc.  Use min() in there so
      that the cluster size will be evaluated at runtime if the architecture
      insists on doing that.
      625ba457
    • Andrew Morton's avatar
      [PATCH] ir-kbd-gpio.c build fix · b1f5c118
      Andrew Morton authored
      It's initialising slot 24 in two places.  Gerd Knorr <kraxel@bytesex.org> says
      "This one should be 23.".
      b1f5c118
    • Andrew Morton's avatar
      [PATCH] Revert bogus x86-64 change · 4991c215
      Andrew Morton authored
      From: Andi Kleen <ak@muc.de>
      
      The 32bit generic nops added with a previous patch to x86-64 alternative()
      are not completely 64bit clean.  This caused crashes in some cases.  This
      patch reverts this broken change.
      4991c215
    • Andrew Morton's avatar
      [PATCH] isapnp sb16 virtual pc · 5ec9222a
      Andrew Morton authored
      From: David Sanders <linux@sandersweb.net>
      
      Patch adds support for the emulated Soundblaster 16 in Virtual PC 2004.
      5ec9222a
    • Andrew Morton's avatar
      [PATCH] ext2: fix build with DEBUG=y · 245d9156
      Andrew Morton authored
      From: FabF <fabian.frederick@skynet.be>
      245d9156
    • Andrew Morton's avatar
      [PATCH] minor sched.c cleanup · 2097f3a7
      Andrew Morton authored
      Signed-off-by: default avatarChristian Meder <chris@onestepahead.de>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      
      The following obviously correct patch from Christian Meder simplifies the
      DELTA() define.
      2097f3a7
    • Andrew Morton's avatar
      [PATCH] Really enable NUMA API on x86-64 · c8932afa
      Andrew Morton authored
      From: Andi Kleen <ak@muc.de>
      
      Really enable the NUMA API system calls on x86-64.
      c8932afa
    • Andrew Morton's avatar
      [PATCH] remap_file_pages: fix syscall declaration · 5f633f0c
      Andrew Morton authored
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      
      sys_remap_file_pages is declared as asmlinkage in mm/fremap.c, but is the one
      syscall declared without asmlinkage in include/linux/syscalls.h.
      5f633f0c
    • Andrew Morton's avatar
      [PATCH] remap_file_pages: implement MAP_POPULATE for all protections · 2c60fda2
      Andrew Morton authored
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      
      It seems eccentric to implement MAP_POPULATE only on PROT_NONE mappings:
      do_mmap_pgoff is passing down prot, then sys_remap_file_pages verifies it's
      not set.  I guess that's an oversight from when we realized that the prot arg
      to sys_remap_file_pages was misdesigned.
      
      There's another oddity whose heritage is harder for me to understand, so
      please let me leave it to you: sys_remap_file_pages is declared as asmlinkage
      in mm/fremap.c, but is the one syscall declared without asmlinkage in
      include/linux/syscalls.h.
      2c60fda2
    • Andrew Morton's avatar
      [PATCH] Fix for lockup in reiserfs acl/xattrs · 5ca68834
      Andrew Morton authored
      From: Jeff Mahoney <jeffm@suse.com>
      
      The following is a patch to fix a locking problem in ACL/xattr code. It
      manifests when a user attempts to set an xattr on a file which they do
      not own, and on which an ACL is applied.
      
      What happens is this:
      reiserfs_setxattr [write lock inode xattr sem]
        ->xattr_set
          -> lookup
             -> __reiserfs_permission [if conditions above are met, and need_lock=
       is
                unset, read lock inode xattr sem] *lockup*
      
      Since we already keep track of when to lock during permission calls, the
      fix is simple: just make the locking conditional as it was before.
      
      Credits to Andreas Gruenbacher <agruen@suse.de>
      5ca68834
    • Andrew Morton's avatar
      [PATCH] UDF: directory reading fix · 2804eb00
      Andrew Morton authored
      From: Ben Fennema <bfennema@falcon.csc.calpoly.edu>
      
      The problem occured when files were stored on the disc in 16-bit per
      character mode when all the upper bits were 0.  The fs module
      converted the file name given by the user to a 8-bit per character
      string to compare, so the comparison always failed.
      
      The patch maps the file from disc into the current locale and then
      compares it directly to the file name given by the user.
      2804eb00
    • Andrew Morton's avatar
      [PATCH] bk-kernel-howto reversion · 8c04bc34
      Andrew Morton authored
      From: Rusty Russell <rusty@rustcorp.com.au>
      
      This one snuck through - Jeff prefers the bk:// addresses.
      8c04bc34
    • Andrew Morton's avatar
      [PATCH] CREDITS is unmaintained · 318e2683
      Andrew Morton authored
      From: Adrian Bunk <bunk@fs.tum.de>
      
      This information seems to be quite outdated.
      318e2683
    • Andrew Morton's avatar
      [PATCH] H8/300 ne driver module fix · c8bfe3a1
      Andrew Morton authored
      From: Yoshinori Sato <ysato@users.sourceforge.jp>
      
      - module support fix
      c8bfe3a1
    • Andrew Morton's avatar
      [PATCH] H8/300 module fix · 04e9b59f
      Andrew Morton authored
      From: Yoshinori Sato <ysato@users.sourceforge.jp>
      
      - fix relocation
      - define SYMBOL_PREFIX
      04e9b59f
    • Andrew Morton's avatar
      [PATCH] Fix various memory leaks · 45577464
      Andrew Morton authored
      From: Yury Umanets <torque@ukrpost.net>
      
      Thanks to smatch I have found few memory leaks and other related issues.
      45577464
    • Andrew Morton's avatar
      [PATCH] v4l: use saa7111 i2c module in V4L MXB driver · 43b6594e
      Andrew Morton authored
      From: Michael Hunold <hunold@convergence.de>
      
      The attached patch changes my "Multimedia eXtension Board" (MXB)
      Video4Linux-driver to use the standard saa7111 video decoder infrastructure
      (to which I recently submitted changes through Ronald Bultje) instead of
      some home-brewn direct-access stuff.
      
      Nothing serious, but it removes code duplication and makes the code use the
      video decoder api.
      43b6594e
    • Andrew Morton's avatar
      [PATCH] initramfs uncpio fix · 385b866c
      Andrew Morton authored
      From: <viro@parcelfarce.linux.theplanet.co.uk>
      
      init/initramfs.c::do_skip() has an off-by-one that leads to unpacking
      failures for some gzipped cpio images.  We have
      
      static int __init do_skip(void)
      {
              if (this_header + count <= next_header) {
                      eat(count);
                      return 1;
              } else {
                      eat(next_header - this_header);
                      state = next_state;
                      return 0;
              }
      }
      
      and that <= should actually be <.  It almost never matters, since if we hit
      the boundary case (header ending exactly on the gunzip window end) the
      current variant will simply end up doing extra call of do_skip() when we
      get to the next window and that will finish the work (assign state).  The
      only exception is when we hit that in the last window.  That is, if there's
      nothing after the final header (trailer).  Then we miss the final state
      transition (Skip -> Reset) and get "junk in archive" panic.  Normally
      cpio(1) pads the image to multiple of 512, so we actually have a bunch of
      zeroes after the trailer.  And that almost always saves our butts - trailer
      is followed by zeroes, so we get to Reset state just fine.
      
      So we never see that on small in-kernel image (it's less than 512 bytes, so
      it gets a lot of padding) and we almost never see that on external ones
      (1:127 odds of hitting the bug).
      385b866c
    • Andrew Morton's avatar
      [PATCH] FAT: small fixes · 70c6e41e
      Andrew Morton authored
      From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
      
      - use fat_fs_panic() instead of BUG() if it read a corrupted inode.
      
      - add missing "\n".
      70c6e41e
    • Andrew Morton's avatar
      [PATCH] swsusp: fix swsusp with intel-agp · e7b1438a
      Andrew Morton authored
      From: Pavel Machek <pavel@suse.cz>
      
      swsusp contained rather nasty bug where it killed machine when intel-agp or
      anything else split kernel 4MB mapping.  Herbert Xu diagnosed this.  Fixed by
      switching to "known good" mapping for during suspend/resume.
      e7b1438a
    • Andrew Morton's avatar
      [PATCH] Don't use "cut" in laptop mode control script -- it is in /usr. · e7653a14
      Andrew Morton authored
      From: Bart Samwel <bart@samwel.tk>
      
      We don't want to use "cut" in the laptop mode control script, because that
      is in /usr.  This patch is from Jasper Spaans.
      e7653a14
    • Andrew Morton's avatar
      [PATCH] matroxfb: Add support for mapping CRTC<->outputs at boot time · d14672aa
      Andrew Morton authored
      Signed-off-by: default avatarPetr Vandrovec <vandrove@vc.cvut.cz>
      
      Some people expressed interest in having possibility to set CRTC <->
      outputs mapping at boot time, without having to use 'matroxset' later after
      kernel boots.
      
      This patch adds option 'video=matroxfb:outputs:XYZ', where X sets which
      CRTC will connect to primary output, Y sets secondary output and Z sets DVI
      output.
      
      In addition to that I also added missing memset() into maven, which was
      broken since i2c was kobjectified.
      d14672aa
    • Andrew Morton's avatar
      [PATCH] ext3: remove duplicated ext3_std_error() call · 377cb3de
      Andrew Morton authored
      From: Andi Kleen <ak@muc.de>
      
      When start_transaction() detects an error it already calls ext3_std_error. 
      No need to do it again in the caller.
      377cb3de
    • Andrew Morton's avatar
      [PATCH] make i386 dma-mapping.h includeable standalone · ff49aa82
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      From: Debian kernel package, author probably Herbert Xu
      
      Include asm/io.h and asm/scatterlist.h in include/asm-i386/dma-mapping.h to
      make it useable standalone, which is already true for most architectures.
      ff49aa82
    • Andrew Morton's avatar
      [PATCH] befs: typo fix · 2d5f63eb
      Andrew Morton authored
      From: "Sergey S. Kostyliov" <rathamahata@php4.ru>
      
      Fix a typo in an error message.
      2d5f63eb
    • Andrew Morton's avatar
      [PATCH] include linux/selection.h for color_table in drivers/video/tgafb.c · 77f8c801
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      From: Debian kernel package, author probably Herbert Xu
      77f8c801
    • Andrew Morton's avatar
      [PATCH] include linux/root_dev.h for ROOT_DEV in drivers/mtd/maps/uclinux.c · d0ab1ebc
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      * Include linux/root_dev.h for ROOT_DEV in drivers/mtd/maps/uclinux.c
      d0ab1ebc
    • Andrew Morton's avatar
      [PATCH] missing init.h in drivers/mtd/chips/sharp.c · 538981e4
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      again needed by most non-x86 arches.
      
       * Include linux/init.h for __init
      538981e4
    • Andrew Morton's avatar
      [PATCH] add one more neomagic audio device id · a9793731
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      From: Mattia Monga via Debian kernel package
      
      Add support for nm256xl+ in sound/oss/nm256_audio.c
      a9793731
    • Andrew Morton's avatar
      [PATCH] remove a dead variable from isofs · 1b4d4894
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      From: Debian kernel package, author is probably Herbert Xu
      
       * Do not get seqno since we will not use it in fs/isofs/inode.c
      1b4d4894
    • Andrew Morton's avatar
      [PATCH] fix a bash-ism in toplevel Makefile · ce683ef5
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      From: Debian kernel package, author probably Herbert Xu.
      
       * Fixed bashism in Makefile
      ce683ef5
    • Andrew Morton's avatar
      [PATCH] befs: nls fix · ff88d7da
      Andrew Morton authored
      From: "Sergey S. Kostyliov" <rathamahata@php4.ru>
      
      Fix nls support for character sets with character width large than 1.
      ff88d7da
    • Andrew Morton's avatar
      [PATCH] hfsplus: update dir time after change · 04af400e
      Andrew Morton authored
      From: Roman Zippel <zippel@linux-m68k.org>
      
      Update dir ctime/mtime when adding/removing an entry.
      04af400e