1. 22 Feb, 2004 40 commits
    • Andrew Morton's avatar
      [PATCH] From: "Randy.Dunlap" <rddunlap@osdl.org> · a30bfc8e
      Andrew Morton authored
      From: <WHarms@bfs.de>(Walter Harms)
      
      Hi list,
      while checking 2.6.1 for missing checks(). fs/jffs/inode-v23.c
      got overlooked somehow.
      
      This patch fixes:
      2 unguarded kmem_cache_create
      1 unguarded proc_mkdir
      a30bfc8e
    • Andrew Morton's avatar
      [PATCH] security oops fix · 8a65e057
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      Looking at d_splice_alias, it appears that the security_d_instantiate call
      in the first case (where it ends up moving an entry in place of the given
      dentry) should be passing 'new' rather than 'dentry' to ensure that the
      passed dentry is associated with the inode.  This patch should fix the
      problem.
      
      (Addresses bugzilla #2153)
      8a65e057
    • Andrew Morton's avatar
      [PATCH] ext3: fix scheduling-in-spinlock bug · e84f0355
      Andrew Morton authored
      ext3_error() sleeps, so don't call it with the lock held.
      e84f0355
    • Andrew Morton's avatar
      [PATCH] Another x86-64 fix for problems from the recent merge · e4c77679
      Andrew Morton authored
      From: Andi Kleen <ak@suse.de>,
            From Suresh.B.Siddha
      
      Fix another bug caused by the recent IA32e merge.  The full L1 cache size
      padding of the GDT didn't work with smaller cache line sizes.  Just revert
      that.
      
      I must admit I still don't understand why it didn't work, but it's better
      to have a working system for now.
      e4c77679
    • Andrew Morton's avatar
      [PATCH] Fixes to CodingStyle · 5f029549
      Andrew Morton authored
      From: Xose Vazquez Perez <xose@wanadoo.es>
      
      Even master's books bring errors :-).  URL has the errata and more
      information about the books
      5f029549
    • Andrew Morton's avatar
      [PATCH] mtrr: init section usage · 66c7f95a
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      This patch tries to clean up init section usage in
      arch/i386/kernel/cpu/mtrr/*.c.
      66c7f95a
    • Andrew Morton's avatar
      [PATCH] IPMI warning fixes · db9a7868
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      When compiling the IPMI drivers on m68k, I needed a few more includes:
      
        - <asm/irq.h> (for disable_irq_nosync() and enable_irq())
      
        - <linux/types.h> (for size_t)
      
        - <asm/system.h> (for printk())
      db9a7868
    • Andrew Morton's avatar
      [PATCH] cleanup condsyscall for sysv ipc · ae0ecb66
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      Attached is a patch that replaces the #ifndef CONFIG_SYSV syscall stubs
      with cond_syscall stubs.
      ae0ecb66
    • Andrew Morton's avatar
      [PATCH] nbd: remove PARANOIA and other cleanups · 4d273aae
      Andrew Morton authored
      From: Paul Clements <Paul.Clements@SteelEye.com>
      
      This patch removes the PARANOIA define (it was always defined anyway).  It
      also removes the requests_in/out counters (which weren't always accurate,
      and are superfluous anyway, since the block layer keeps its own in_flight
      counter).  Also some minor cleanup of comments.
      4d273aae
    • Andrew Morton's avatar
      [PATCH] nbd: fix set_capacity call · 07172aea
      Andrew Morton authored
      From: Paul Clements <Paul.Clements@SteelEye.com>
      
      This patch fixes the initial set_capacity call so that it matches nbd's
      internal device size (nbd_device->bytesize).
      07172aea
    • Andrew Morton's avatar
      [PATCH] Kconfig help: dm-crypto && cryptoloop · 902415ed
      Andrew Morton authored
      From: bert hubert <ahu@ds9a.nl>
      
      Current bitkeeper features a cryptoloop which is not safe for journaled
      file systems and also a Device Mapper target which is.  The patch below
      updates Kconfig to that effect.
      902415ed
    • Andrew Morton's avatar
      [PATCH] add range checking to sys_sysctl() · df84e5eb
      Andrew Morton authored
      If you pass a huge nlen value into sys_sysctl() it will loop for hours
      printing billions of question marks, so range-check the arguments.
      
      Also, remove the code which informs the user that the sysctl is obsolete: it
      allows unprivileged users to spam the logs.
      df84e5eb
    • Andrew Morton's avatar
      [PATCH] m68k: M68k core spelling · 93d11872
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k core spelling fix (from Michael Hayes)
      93d11872
    • Andrew Morton's avatar
      [PATCH] m68k: Dummy dma mapping · cb74ba0d
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Add a dummy <asm-generic/dma-mapping-broken.h> for systems that don't support
      the new DMA API, and make m68k use it if !CONFIG_PCI
      cb74ba0d
    • Andrew Morton's avatar
      [PATCH] m68k: Mac IOP spelling · 297b5efb
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Mac IOP spelling fix (from Matthias Urlichs)
      297b5efb
    • Andrew Morton's avatar
      [PATCH] m68k: M68k FPU emu broken link · 8d7693f8
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k FPU emu: Remove reference to non-existing website
      8d7693f8
    • Andrew Morton's avatar
      [PATCH] m68k: M68k cmpxchg · 83e6a186
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k: Add missing implementation of cmpxchg() (from Andreas Schwab, Roman
      Zippel and me)
      83e6a186
    • Andrew Morton's avatar
      [PATCH] m68k: M68k call trace output · 8c6184f6
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k: Improve formatting of call trace output (from Matthias Urlichs)
      8c6184f6
    • Andrew Morton's avatar
      [PATCH] m68k: M68k module loader · eeaf3b6b
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k: Add missing relocation support to module loader (from Matthias Urlichs)
      eeaf3b6b
    • Andrew Morton's avatar
      [PATCH] m68k: arch/m68k/mm/Makefile cleanup · 1f768a03
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Clean up arch/m68k/mm/Makefile logic
      1f768a03
    • Andrew Morton's avatar
      [PATCH] m68k: M68k configuration · cc62c4f7
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Update M68k configuration logic:
        - Introduce CONFIG_MMU_MOTOROLA and CONFIG_MMU_SUN3
        - Move Sun-3 config selection to the top since all other platforms conflict
          with it
        - Sun-3 implies MMU_SUN3
        - All other platforms imply MMU_MOTOROLA
        - Sun-3 implies M68020
        - Sun-3x implies M68030
        - Sun-3 kernels cannot support 68030, 68040, or 68060
      cc62c4f7
    • Andrew Morton's avatar
      [PATCH] m68k: Amifb modedb bug · 21afbe0d
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Amifb: Fix bugs in the video mode database:
        - ntsc-lace lacks the yres value
        - a2024-15 is 15 Hz, not 10
      21afbe0d
    • Andrew Morton's avatar
      [PATCH] m68k: M68k uses drivers/Kconfig · 2732e425
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k: Use drivers/Kconfig and fix up some remaining dependencies:
        - M68k no longer uses rtc.c
        - M68k never has AGP
        - CONFIG_ZORRO depends on CONFIG_AMIGS
      2732e425
    • Andrew Morton's avatar
      [PATCH] m68k: M68k MCA cleanup · c697f655
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k: Remove obsolete MCA definition
      c697f655
    • Andrew Morton's avatar
      [PATCH] m68k: Atari name clashes · 9b714116
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Atari Falcon: Prepend falcon_ to some Atari Falcon definitions to solve name
      clashes in some drivers.
      9b714116
    • Andrew Morton's avatar
      [PATCH] m68k: Sun-3 missing sbus_readl() · 79db2b5f
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Sun-3 sbus: Add missing definition of sbus_readl() (from Sam Creasey)
      79db2b5f
    • Andrew Morton's avatar
      [PATCH] m68k: Sun-3 console fix · 92ddcd90
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      Sun-3: Use dummycon if CONFIG_DUMMY_CONSOLE is defined only (from Sam
      Creasey)
      92ddcd90
    • Andrew Morton's avatar
      [PATCH] m68k: mm init warning · 26c80c9f
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k mm: Kill warning (from Sam Creasey)
      26c80c9f
    • Andrew Morton's avatar
      [PATCH] m68k: offsets.h generation · 4a123187
      Andrew Morton authored
      From: Geert Uytterhoeven <geert@linux-m68k.org>
      
      M68k offsets.h: Move arch/m68k/kernel/m68k_defs.h to include/asm/offsets.h
      and use gen-asm-offsets framework (from Andreas Schwab and Ray Knight)
      4a123187
    • Andrew Morton's avatar
      [PATCH] NBD rmmod oops fix · 086a0782
      Andrew Morton authored
      From: Paul Clements <Paul.Clements@SteelEye.com>
      
      Fix a module unload oops, as well as fix some return codes (so nbd-client
      can exit with the proper error code, rather than 0, when an error occurs).
      086a0782
    • Andrew Morton's avatar
      [PATCH] dynamic pty allocation · 562123b5
      Andrew Morton authored
      From: "H. Peter Anvin" <hpa@transmeta.com>
      
      Remove the limit of 2048 pty's - allocate them on demand up to the 12:20
      dev_t limit: a million.
      562123b5
    • Andrew Morton's avatar
      [PATCH] fix shmat · d6ca3890
      Andrew Morton authored
      From: Nick Piggin <piggin@cyberone.com.au>
      
      sys_shmat() need to be declared asmlinkage.  This causes breakage when we
      actually get the proper prototypes into caller's scope.
      d6ca3890
    • Andrew Morton's avatar
      [PATCH] Intel i830 AGP fix · 7f22b58a
      Andrew Morton authored
      From: Terence Ripperda <tripperda@nvidia.com>
      
      When coming out of standby, some chipsets lose their configuration in pci
      config space.  this includes not just the agp master register being lost, but
      chipset-specific information, such as the physical address of the gatt table
      and other settings.  Calling this configure routine again restores those
      settings.
      
      Dave said he was adding chipsets to this list on an "as needed and tested"
      basis.  I ran across this problem I believe on a Dell Inspiron 4100 with
      nv11.  (there had been some similar problems with specific nv11 systems when
      doing apm with the 2.4 kernel, I suspect, but haven't been able to verify,
      it's the same problem).
      7f22b58a
    • Andrew Morton's avatar
      [PATCH] more serial driver fixups · 05fa7c2c
      Andrew Morton authored
      From: Russell King <rmk@arm.linux.org.uk>
      
      Here is a patch which updates various serial drivers in the kernel to make
      them less broken than they were before.  Nevertheless, they are still
      broken.
      
      The improvement is to make these drivers use the tiocmget/tiocmset methods,
      which are present in the 2.6 kernel.
      
      Many of these have been incorrectly converted from the old global IRQ
      locking without regard for SMP issues, or still use the old global IRQ
      locking methods which are no longer present in 2.6 kernels.
      
      The full message thread can be found at:
      
      http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=1dvnl-5Pr-1%40gated-at.bofh.it&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DISO-8859-1%26q%3DOutstanding%2Bfixups%26btnG%3DGoogle%2BSearch%26meta%3Dgroup%253Dlinux.kernel
      05fa7c2c
    • Andrew Morton's avatar
      [PATCH] serial fixups · 258b92e8
      Andrew Morton authored
      From: Russell King <rmk@arm.linux.org.uk>
      
      Convert a bunch of serial drivers to new-style ioctl handling.
      258b92e8
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · 84557b40
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      84557b40
    • Russell King's avatar
      [ARM] Remove non-existent Kconfig source statement. · bcc3181b
      Russell King authored
      A bit too over-eager to minimise the delta resulted in this Kconfig
      file trying to source a currently non-existent Kconfig file.
      bcc3181b
    • Russell King's avatar
      [ARM] Fix late abort handler for Thumb code. · 7d2f6ae8
      Russell King authored
      ARM720T processors use the "late" abort option, which means we have to
      correct the base address of any page fault ourselves.  However, we
      were mis-correcting the thumb "push" instruction, causing the retried
      instruction to fail in a spectacular way.
      7d2f6ae8
    • Peter Teichmann's avatar
      [ARM PATCH 1719/1] Acornfb update · 66d76f3e
      Peter Teichmann authored
      Patch from: Peter Teichmann, edited by Russell King.
      
      * a bugfix to the pseudo palette handling in 16/32 bit modes: the
        pseudo palette is always kept in 32 bit integers
      * a bugfix to setcolreg() in 16 bit modes: there have to be 32 colour
        registers (this has nothing to do with the 16 pseudo palette
        colours, it is a bit misleading that setcolreg() is used both for
        pseudo palette setup and DIRECTCOLOR colour translation)
        (The behaviour should be selected using the visual and the rgb
         representation rather than the current BPP setting. --rmk)
      * change 16 bit visual from TRUECOLOR to DIRECTCOLOR
      * take the limited bandwidth of the RiscPC video memory into account
        for acornfb_valid_pixrate()
      * acornfb_vidc20_find_rates() now takes into account the differences
        between VRAM and DRAM when setting the FIFO preload value. With
        VRAM, the FIFO can be set to the highest possible setting because
        there are no latency considerations for other memory accesses.
        However, in 64 bit bus mode the FIFO preload value must not be set
        to VIDC20_CTRL_FIFO_28 because this will let the FIFO overflow.
        See VIDC20 manual page 33 (6.0 Setting the FIFO preload value).
      
      * select Multifreq monitor as default, increase frequency range for
        Multifreq monitor (this is of course a philosophical question, but
        I believe a sensible default setting should not impose too much
        limits to the user)
        (I dropped this change because it is known that some monitor
         hardware shipped with Acorn machines does not take kindly to
         wrong timing signals.  If people really care, they should use
         the kernel command line to select the correct monitor type. --rmk) 
      66d76f3e
    • Russell King's avatar
      2a089f7e