1. 30 Apr, 2004 11 commits
    • Andrew Morton's avatar
      [PATCH] task_struct alignment fix · 978b7ac2
      Andrew Morton authored
      The recent slab alignment changes broke an unknown number of architectures
      (parisc and x86_64 for sure) by causing task_structs to be insufficiently
      aligned.
      
      We need good alignemnt because architectures do things like dumping FP state
      into the task_struct with instructions which require particular alignment (I
      think).
      
      So change the default alignment to L1_CACHE_BYTES, which is what we used to
      have, via SLAB_HW_CACHE_ALIGN.
      978b7ac2
    • Russell King's avatar
      [PATCH] Update MTD concatenating driver · 5d3c500b
      Russell King authored
      This patch updates the MTD concatenating driver from MTD CVS, which
      fixes issues found with this driver which concatenates multiple MTD
      devices into one MTD device.
      
      From David Woodhouse, through CVS:
      
      	revision 1.8
      	date: 2003/06/30 11:01:26;  author: dwmw2;  state: Exp;  lines: +5 -5
      	I will not commit stuff whilst pissed
      	I will not commit stuff whilst pissed
      
      	revision 1.7
      	date: 2003/06/29 21:26:34;  author: dwmw2;  state: Exp;  lines: +9 -9
      	Fix ecc/oob subdev comparisions
      
      	revision 1.6
      	date: 2003/06/25 12:37:50;  author: dwmw2;  state: Exp;  lines: +14 -6
      	Don't pretend to have {read,write}_{oob,ecc} functions if subdevices don't
      
      	revision 1.5
      	date: 2003/06/25 12:21:16;  author: dwmw2;  state: Exp;  lines: +390 -397
      	coding style cleanup
      5d3c500b
    • Linus Torvalds's avatar
      Merge http://lia64.bkbits.net/to-linus-2.5 · 791c0db5
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      791c0db5
    • David Mosberger's avatar
    • Andrew Morton's avatar
      [PATCH] fadvise length handling fix · 4c04146f
      Andrew Morton authored
      POSIX sez: "If len is zero, all data following offset is specified."
      4c04146f
    • Andrew Morton's avatar
      [PATCH] ppc64: shmget() translation bugfix · e408f065
      Andrew Morton authored
      From: David Gibson <david@gibson.dropbear.id.au>
      
      The 32->64 bit syscall translation layer on ppc64 incorrectly sign-
      extends rather than zero-extending the second parameter to shmget(),
      which should be a size_t.  This means that it is impossible to shmget()
      more 2GB or more from a 32-bit process.
      e408f065
    • Andrew Morton's avatar
      [PATCH] make ikconfig quiet · 7ead32b4
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      From: Pavel Machek <pavel@ucw.cz>
      
      Kill uninformative boot-time message.
      7ead32b4
    • Andrew Morton's avatar
      [PATCH] s390: oprofile Kconfig fixes · 978cd874
      Andrew Morton authored
      From: Arnd Bergmann <arnd@arndb.de>
      
      Enable basic profiling code on s390 depending on CONFIG_PROFILING, not
      CONFIG_OPROFILE.
      
      CONFIG_PROFILING should enable the generic profiling code here, even if
      CONFIG_OPROFILE is not set.  Note that the identical code on i386 is always
      compiled in, regardless of CONFIG_PROFILING and CONFIG_OPROFILE.
      978cd874
    • Andrew Morton's avatar
      [PATCH] DVB:Fix adapter module removal bug · 0978a298
      Andrew Morton authored
      From: Michael Hunold <hunold@convergence.de>
      
      unfortunately it's possible to remove a DVB adapter module even if a DVB
      network device has been set up using this adapter.
      
      The attached patch fixes this problem.
      0978a298
    • Andrew Morton's avatar
      [PATCH] efivars sysfs fix · 8be18297
      Andrew Morton authored
      From: Matt Tolentino <metolent@snoqualmie.dp.intel.com>
      
      This trailing space in sysfs contents is not needed.
      8be18297
    • Andrew Morton's avatar
      [PATCH] nfs printk warning fix · bc66945a
      Andrew Morton authored
      From: Trond Myklebust <trond.myklebust@fys.uio.no>
      
      fs/nfs/direct.c: In function `nfs_direct_IO':
      fs/nfs/direct.c:458: warning: int format, different type arg (arg 2)
      bc66945a
  2. 29 Apr, 2004 29 commits
    • Andrew Morton's avatar
      [PATCH] parport pnp detection fix · 96289450
      Andrew Morton authored
      From: Adam Belay <ambx1@neo.rr.com>
      
      Fix http://bugme.osdl.org/show_bug.cgi?id=2540
      
      It prevents PnP detection if devices were already detected by SuperIO.
      96289450
    • Trond Myklebust's avatar
      [PATCH] NFSv3: Fix SETATTR call after O_EXCL create · f155a04d
      Trond Myklebust authored
      Ensure that when we send the SETATTR call after doing an O_EXCL create,
      we always set the atime and ctime fields.
      
      See RFC1813 for details on why the server is allowed to clobber these
      two fields in order to cache a verifier that protects CREATE in case of
      a timeout+resend from the client.
      
      Patch is by Olaf Kirch.
      f155a04d
    • Linus Torvalds's avatar
      Merge http://lia64.bkbits.net/to-linus-2.5 · 1daa1f21
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      1daa1f21
    • Pat Gefre's avatar
      [PATCH] ia64: SN2 fix · 1014e334
      Pat Gefre authored
      Move HW interrupt register init. to the proper place
      and don't force an interrupt if the IRQ is disabled
      or in progress.
      1014e334
    • David Mosberger's avatar
      ia64: Fix Exec-Only stack patch so X can work again. · b4c39b30
      David Mosberger authored
      No pun intended, but X can't work if it can't turn on eXecute-permission
      on the some data pages...
      b4c39b30
    • Hugh Dickins's avatar
      [PATCH] mremap offset type · bbf2b79a
      Hugh Dickins authored
      Just found I never changed type of move_page_tables when I changed it to
      return offset: einormous mremap moves would fail on 64-bit.
      bbf2b79a
    • David Mosberger's avatar
      Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5 · 1b0b1987
      David Mosberger authored
      into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
      1b0b1987
    • Andrew Morton's avatar
      [PATCH] writeback livelock fix · 294947ec
      Andrew Morton authored
      To avoid various livelocks, the writeback code parks all the dirty inodes onto
      sb->s_io and then works through that list until it is empty.  This assumes
      that each inode will be moved to some other list as it is processed.
      
      But there's a loophole: if the ->writepages() implementation does nothing at
      all, the inode is not redirtied (which would move it to s_dirty).  This causes
      s_io to not empty and pdflush goes nuts.
      
      So when this happens, move the inode onto s_dirty within
      __sync_single_inode().  Use list_move_tail() to attempt to preserve the
      time-ordering of the s_dirty list.
      294947ec
    • Andrew Morton's avatar
      [PATCH] gcc-3.4.0 fixes · ec5510b9
      Andrew Morton authored
      From: Mikael Pettersson <mikpe@user.it.uu.se>
      
      This patch fixes three warnings from gcc-3.4.0 in 2.6.6-rc3:
      
      - arch/i386/pci/pcbios.c: use of "+m" constraint
      
      - drivers/char/ftape/: use of cast-as-lvalue
      
      - drivers/char/ftape/: __attribute__((packed)) on something containing only
        bytes
      ec5510b9
    • Andrew Morton's avatar
      [PATCH] Fix support for the Motorola PrPMC800 · bd08b0a9
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      Makes the Motorola PrPMC800 platform functional again.  This comes from Randy
      Vinson <rvinson@mvista.com>.
      bd08b0a9
    • Andrew Morton's avatar
      [PATCH] static functions in as-iosched.c · 51a58c58
      Andrew Morton authored
      From: Stephen Hemminger <shemminger@osdl.org>
      51a58c58
    • Andrew Morton's avatar
      [PATCH] s390: oprofile for s390 · 6d8c651a
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Add oprofile support for s/390.
      6d8c651a
    • Andrew Morton's avatar
      [PATCH] s390: zfcp host adapter · eff7461e
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      zfcp host adapter change:
       - Fix addressing exception due to uninitialized host_scribble pointer.
      eff7461e
    • Andrew Morton's avatar
      [PATCH] s390: 3270 console driver · 942c6825
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      3270 device driver change:
       - Add missing irb error checking.
      942c6825
    • Andrew Morton's avatar
      [PATCH] s390: network driver · 1ca06429
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Network driver changes:
       - ctc: Add missing irb error checking.
       - iucv: Add name of net_device to iucvMagic to more than one
               connection between two guests.
       - qeth: Don't send IPA command if card is not in state SOFTSETUP or UP.
       - qeth: Fix number base in simple_strtoul call for buffer_count attribute.
       - qeth: Fix reallocating of buffers when buffer_count attribute is changed.
       - qeth: Correct handling of return codes in qeth_realloc_buffer_pool.
       - qeth: Don't call dev_close/dev_open on STOPLAN/STARTLAN commands.
               Use netif_carrier_off/netif_carrier_on instead.
      1ca06429
    • Andrew Morton's avatar
      [PATCH] s390: common i/o layer · 10281b07
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      Common i/o layer changes:
       - Don't use bus ids in crw debug feature.
       - Use cio_oper for oper notification to disconnected devices.
       - Remove __get_subchannel_by_stsch.
       - Make cio workqueue a single threaded workqueue.
       - Introduce addiotnal cio_notify workqueue for device driver notification.
       - Switch off path in vpm if cio_start returned -ENODEV.
       - Fix rescan for new subchannels after a logical vary on.
      10281b07
    • Andrew Morton's avatar
      [PATCH] s390: core s390 · 9dfdf818
      Andrew Morton authored
      From: Martin Schwidefsky <schwidefsky@de.ibm.com>
      
      s390 core changes:
       - Move setting/clearing of TIF_31BIT thread flag to SET_PERSONALITY.
       - Use TASK_UNMAPPED_BASE in elf_map32 for mmaps with address 0.
       - Define ARCH_KMALLOC_MINALIGN.
       - Define ARCH_MIN_TASKALIGN.
      9dfdf818
    • Andrew Morton's avatar
      [PATCH] cciss MAINTAINERS update · 60d53994
      Andrew Morton authored
      From: <mikem@beardog.cca.cpqcorp.net>
      
      Here's an update for the MAINTAINERS file.
      60d53994
    • Andrew Morton's avatar
      [PATCH] cciss build fix · 5a1b759d
      Andrew Morton authored
      From: <mikem@beardog.cca.cpqcorp.net>
      
      This patch fixes the linux/include/cciss_ioctl.h file.  When support for the
      cciss big ioctl was added the stucture in the header was put in the wrong
      place.  If an application includes the file it will fail to compile.
      5a1b759d
    • Andrew Morton's avatar
      [PATCH] Update kerneltraffic link in SubmittingDrivers and kernel-docs.txt · 2acf06fa
      Andrew Morton authored
      From: Coywolf Qi Hunt <coywolf@greatcn.org>
      
      This updates the kerneltraffic url link found in
      Documentation/SubmittingDrivers and Documentation/kernel-docs.txt.
      2acf06fa
    • Andrew Morton's avatar
      [PATCH] ppc32: compile error in signal.c · 37b35320
      Andrew Morton authored
      From: Meelis Roos <mroos@linux.ee>
      
      arch/ppc/kernel/signal.c: In function `handle_signal':
      arch/ppc/kernel/signal.c:518: error: `newspp' undeclared (first use in this function)
      arch/ppc/kernel/signal.c:518: error: (Each undeclared identifier is reported only once
      arch/ppc/kernel/signal.c:518: error: for each function it appears in.)
      arch/ppc/kernel/signal.c:518: warning: long unsigned int format, pointer arg (arg 3)
      37b35320
    • Andrew Morton's avatar
      [PATCH] cifssmb.c warning fix · c0951c41
      Andrew Morton authored
      On ppc64, __u64 is `unsigned long', so:
      
      fs/cifs/cifssmb.c: In function `CIFSSMBSetFileSize':
      fs/cifs/cifssmb.c:2466: warning: long long int format, __u64 arg (arg 2)
      c0951c41
    • Alexander Viro's avatar
      [PATCH] Fix might_sleep in /proc/swaps code · c6845c0c
      Alexander Viro authored
      This fixes a locking problem noted by Tim Hockin:
          * /proc/swaps uses seq_file code, calling seq_path() with swaplock held
          * seq_path() calls d_path()
          * d_path() calls mntput() which might_sleep()
      
      We add a new semaphore protecting insertions/removals in the set of swap
      components + switch of ->start()/->stop() to the same semaphore [fixes
      deadlocks] + trivial cleanup of ->next().
      c6845c0c
    • David Gibson's avatar
      [PATCH] POWER5 erratum workaround · ae08d237
      David Gibson authored
      Early POWER5 revisions (<DD2.1) have a problem requiring slbie
      instructions to be repeated under some circumstances.  The patch below
      adds a workaround (patch made by Anton Blanchard).
      ae08d237
    • David Gibson's avatar
      [PATCH] Fix overeager stack-expansion on ppc64 · e3756200
      David Gibson authored
      This fix is from Paul Mackerras and was applied in 2.4 sometime late
      last year.
      
      On ppc64, touching addresses between the highest other mapping and the
      stack can cause the stack to be extended way, way down, rather than
      causing a SEGV as you would expect.  This patch only allows the stack
      mapping to be extended to cover addresses actually within the stack
      (as determined by looking at the process's r1).  This fix is ported
      from 2.4
      
      This fixes failures on the LTP's shmdt01, munmap01 and munmap02 tests.
      e3756200
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] fix default IDE interfaces initialization for PPC32 · 4734c153
      Bartlomiej Zolnierkiewicz authored
      In ide_init_default_irq() patch I overlooked that ppc_ide_md.init_hwif_ports()
      called from generic ide_init_hwif_ports() can set hwif->irq and it will
      be overwritten by ide_init_default_irq() if CONFIG_PCI is defined.  Fix
      it.
      
      I will clean it up properly later after killing ide_init_hwif_ports() on
      ARM{26}.  Doing it now is just wasted effort.
      4734c153
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · cd6f2953
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      cd6f2953
    • Dirk Behme's avatar
      [ARM PATCH] 1835/1: Make ALTERA Excalibur work again in 2.6.5 · 70cc3dfa
      Dirk Behme authored
      Patch from Dirk Behme
      
      Make ALTERA Excalibur work again in 2.6.4. Update serial driver uart00.c and defconfig.
      
      This is an update of patch 1833/1.
      
      Remove #include <config/pld/hotswap.h>, it isn't necessary at all. 
      70cc3dfa
    • Russell King's avatar
      [ARM] Add Versatile default configuration · f3fea915
      Russell King authored
      f3fea915