]> git.hungrycats.org Git - linux/log
linux
22 years ago[ARM] Add config help and documentation for Intel IXP4xx platforms
Deepak Saxena [Thu, 13 May 2004 10:34:01 +0000 (03:34 -0700)]
[ARM] Add config help and documentation for Intel IXP4xx platforms

Patch from Deepak Saxena

22 years agoMTD driver for Intel IXP4xx platform (from MTD CVS tree)
Deepak Saxena [Thu, 13 May 2004 08:41:14 +0000 (01:41 -0700)]
MTD driver for Intel IXP4xx platform (from MTD CVS tree)

Patch from Deepak Saxena <dsaxena@plexity.net>

22 years ago[ARM] Remove Documentation/ARM/XScale
Deepak Saxena [Thu, 13 May 2004 08:12:54 +0000 (01:12 -0700)]
[ARM] Remove Documentation/ARM/XScale

Patch from Deepak Saxena <dsaxena@plexity.net>

Documentation/ARM/XScale has not been updated by anyone in a long time;
therefore, it is being deleted until someone volunteers to provide
updated versions.

22 years agoMerge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
Russell King [Thu, 13 May 2004 21:03:13 +0000 (22:03 +0100)]
Merge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-rmk

22 years ago[ARM PATCH] 1876/1: Removed apostrophes from asembler source
Ben Dooks [Thu, 13 May 2004 19:27:25 +0000 (20:27 +0100)]
[ARM PATCH] 1876/1: Removed apostrophes from asembler source

Patch from Ben Dooks

Removed two 's from assembly code (binutils has problems
with these)

22 years ago[ARM PATCH] 1875/1: SMDK2410 machine support
Ben Dooks [Thu, 13 May 2004 19:23:16 +0000 (20:23 +0100)]
[ARM PATCH] 1875/1: SMDK2410 machine support

Patch from Ben Dooks

Initial support for SMDK2410 and variants

22 years ago[ARM PATCH] 1874/1: S3C2410 - fix for selection of low-level debug UART
Ben Dooks [Thu, 13 May 2004 19:19:26 +0000 (20:19 +0100)]
[ARM PATCH] 1874/1: S3C2410 - fix for selection of low-level debug UART

Patch from Ben Dooks

Fix selection configuration entry for UART number for low-level debug

22 years ago[ARM PATCH] 1851/1: sa1100 fb support for collie
John Lenz [Thu, 13 May 2004 15:41:47 +0000 (16:41 +0100)]
[ARM PATCH] 1851/1: sa1100 fb support for collie

Patch from John Lenz

Add the sa1100fb_mach_info structure for collie

22 years agoMerge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
Russell King [Thu, 13 May 2004 15:05:27 +0000 (16:05 +0100)]
Merge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-ds

22 years ago[ARM PATCH] 1871/1: faster IRQ retrieval for PXA27x
Nicolas Pitre [Thu, 13 May 2004 13:59:34 +0000 (14:59 +0100)]
[ARM PATCH] 1871/1: faster IRQ retrieval for PXA27x

Patch from Nicolas Pitre

On the PXA27x it's also possible to get the IRQ info from CP6
and it has a much lower latency than the memory mapped equivalent.

22 years ago[ARM PATCH] 1865/1: DMA changes for PXA27x
Nicolas Pitre [Thu, 13 May 2004 13:55:33 +0000 (14:55 +0100)]
[ARM PATCH] 1865/1: DMA changes for PXA27x

Patch from Nicolas Pitre

22 years ago[ARM PATCH] 1864/1: separate PXA25x and PXA27x specific code
Nicolas Pitre [Thu, 13 May 2004 13:51:39 +0000 (14:51 +0100)]
[ARM PATCH] 1864/1: separate PXA25x and PXA27x specific code

Patch from Nicolas Pitre

22 years ago[ARM PATCH] 1863/2: definitions and mapping for the Intel PXA27x internal registers
Nicolas Pitre [Thu, 13 May 2004 13:47:12 +0000 (14:47 +0100)]
[ARM PATCH] 1863/2: definitions and mapping for the Intel PXA27x internal registers

Patch from Nicolas Pitre

This reworks PXA register mapping to accommodate the extra registers
of the PXA27x chips (aka Bulverde).

22 years ago[ARM PATCH] 1842/1: fix/clarify some comments
Nicolas Pitre [Thu, 13 May 2004 13:43:02 +0000 (14:43 +0100)]
[ARM PATCH] 1842/1: fix/clarify some comments

Patch from Nicolas Pitre

22 years ago[ARM PATCH] 1848/1: PXA suspend/resume improvements
John K. Luebs [Thu, 13 May 2004 13:27:15 +0000 (14:27 +0100)]
[ARM PATCH] 1848/1: PXA suspend/resume improvements

Patch from John K Luebs

This adds support to preserve the GPIO level across a suspend
and resume for PXA machine types. Removes the hack to preserve
the FFUART state as this is unnecessary with the 2.6 serial
driver code.

22 years ago[ARM PATCH] 1854/1: Remove old board specific OMAP files
Tony Lindgren [Thu, 13 May 2004 13:22:56 +0000 (14:22 +0100)]
[ARM PATCH] 1854/1: Remove old board specific OMAP files

Patch from Tony Lindgren

Removes old duplicate board specific files that have been renamed to
board-*.c

22 years ago[ARM PATCH] 1853/1: Update OMAP low level debug functions
Tony Lindgren [Thu, 13 May 2004 13:19:05 +0000 (14:19 +0100)]
[ARM PATCH] 1853/1: Update OMAP low level debug functions

Patch from Tony Lindgren

Changes OMAP low level debug function to allow virtual IO != physical
IO.  Also removes waituart checking, as it only worked for first
serial port.

22 years ago[ARM PATCH] 1827/1: PXAFB patch updated based on comments in 1826
Ian Campbell [Thu, 13 May 2004 13:14:47 +0000 (14:14 +0100)]
[ARM PATCH] 1827/1: PXAFB patch updated based on comments in 1826

Patch from Ian Campbell

The patch includes the PXA FB driver discussed recently on the
arm-kernel mailing list, I have incorporated your (RMK's) comments
from patch 1826.

22 years agoprpmc1100-setup.c, ixdp425-setup.c, coyote-setup.c:
Deepak Saxena [Thu, 13 May 2004 03:40:24 +0000 (20:40 -0700)]
prpmc1100-setup.c, ixdp425-setup.c, coyote-setup.c:
  Add INIT_MACHINE() to ixp4xx platform setup code

22 years agocommon.c:
Deepak Saxena [Thu, 13 May 2004 03:37:50 +0000 (20:37 -0700)]
common.c:
  Remove unused flag variable from ixp4xx_timer_interrupt

22 years agocommon.c:
Deepak Saxena [Thu, 13 May 2004 03:20:39 +0000 (20:20 -0700)]
common.c:
  new file

22 years agopci_ids.h:
Deepak Saxena [Wed, 12 May 2004 08:24:58 +0000 (01:24 -0700)]
pci_ids.h:
  IXP4xx support

22 years agoAdd IXP4xx support
Deepak Saxena [Wed, 12 May 2004 08:02:42 +0000 (01:02 -0700)]
Add IXP4xx support

22 years agoproc-xscale.S, Kconfig:
Deepak Saxena [Wed, 12 May 2004 07:59:16 +0000 (00:59 -0700)]
proc-xscale.S, Kconfig:
  IXP4xx support

22 years agohead.S, Makefile:
Deepak Saxena [Wed, 12 May 2004 07:58:18 +0000 (00:58 -0700)]
head.S, Makefile:
  IXP4xx support

22 years agoentry-armv.S, debug.S, bios32.c:
Deepak Saxena [Wed, 12 May 2004 07:57:06 +0000 (00:57 -0700)]
entry-armv.S, debug.S, bios32.c:
  IXP4xx support

22 years agoFirst of a set of eight patches that adds support for Intel's
Deepak Saxena [Wed, 12 May 2004 07:55:17 +0000 (00:55 -0700)]
First of a set of eight patches that adds support for Intel's
IXP4xx family of network processors. The code still needs some
cleanup here and there, but it's to the point that it's should
be OK to push upstream.

Some of the remaining TODOs:

- Cleanup GPIO IRQ handling for edge-trigered HW (none exists ATM)
- Add IDE driver for various platforms
- Misc cleanups

This patch adds the changes to arch/arm/Makefile and arch/arm/Kconfig

22 years ago[PATCH] M68k superfluous whitespace
Geert Uytterhoeven [Tue, 11 May 2004 00:54:30 +0000 (17:54 -0700)]
[PATCH] M68k superfluous whitespace

M68k: Remove superfluous whitespace that hurts my eyes with `let
c_space_errors=1' in vim. This includes correcting trailing whitespace and
spaces in front of tabs. `diff -urNbB' shows no difference before/after.

22 years ago[libata] Maintainer annotations
Jeff Garzik [Mon, 10 May 2004 18:12:24 +0000 (14:12 -0400)]
[libata] Maintainer annotations

In MAINTAINERS and in individual low-level drivers.

22 years ago[libata] preparation for writeback caching support
Jeff Garzik [Mon, 10 May 2004 17:51:40 +0000 (13:51 -0400)]
[libata] preparation for writeback caching support

* bug fix: make sure 'nsect' member of struct ata_queued_cmd is
initialized each time a cmd is re-used.  Only affects PIO data xfers,
which nobody uses.
* slightly change the way a device's flags are printed out.  currently
the only flag is 'lba48', but soon 'wcache' will appear also.
* add WB-cache-related constants and macros to linux/ata.h

22 years ago[PATCH] radeon: fix overlapping copyarea
David Eger [Mon, 10 May 2004 09:54:27 +0000 (02:54 -0700)]
[PATCH] radeon: fix overlapping copyarea

This fixes a corruption problem with overlapping copyarea()'s
in the radeon driver.

22 years ago[PATCH] ppc64: extra barrier in I/O operations
Paul Mackerras [Mon, 10 May 2004 09:54:17 +0000 (02:54 -0700)]
[PATCH] ppc64: extra barrier in I/O operations

At the moment, on PPC64, the instruction we use for wmb() doesn't
order cacheable stores vs. non-cacheable stores.  (It does order
cacheable vs. cacheable and non-cacheable vs. non-cacheable.)  This
causes problems in the sort of driver code that writes stuff into
memory, does a wmb(), then a writel to the device to start a DMA
operation to read the stuff it has just written to memory.

This patch solves the problem by adding a sync instruction before the
store in the write* and out* macros.  The sync is a full barrier that
orders all loads and stores, cacheable or not.  The patch also moves
the eieio instruction that we had after the store to before the load
in the read* and in* macros.  With the sync before the store, we don't
need an eieio as well in a sequence of stores, but we still need an
eieio between a store and a load.

I think it is better to do this than to turn wmb() into a full memory
barrier (a sync instruction) because the full barrier is slow and
isn't needed with the sync in the write*/out* macros.  This way,
write*/out* are fully ordered with respect to preceding loads and
stores, which is what driver writers expect, and we avoid penalizing
users of wmb() who are only doing cacheable stores.

22 years agoMerge bk://drm.bkbits.net/drm-2.6
Linus Torvalds [Mon, 10 May 2004 09:35:59 +0000 (02:35 -0700)]
Merge bk://drm.bkbits.net/drm-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] PA-RISC updates for 2.6.6
Matthew Wilcox [Mon, 10 May 2004 09:30:02 +0000 (02:30 -0700)]
[PATCH] PA-RISC updates for 2.6.6

 - Split PA7300LC from PA7100LC (Matthew Wilcox)
 - Handle 32-bit firmware and 64-bit kernel at runtime (Ryan Bradetich)
 - Fix building in a separate tree (Matthew Wilcox)
 - Update defconfigs (Randolph Chung)
 - Make WCHAN work (Randolph Chung)
 - Initial support for SMP in 2.6 (Grant Grundler)
 - Use 8-byte PTEs on 32-bit kernels (James Bottomley)
 - Implement L2/L3 hybrid page tables for 64 bit kernels (James Bottomley)
 - Support 8TB of physical and virtual address space (James Bottomley)
 - Macro'ise the tlb miss handlers (James Bottomley)
 - Check the ptrace flags correctly in the syscall return path (Randolph Chung)
 - Eliminate many magic numbers (James Bottomley)
 - Work around linker bug in vmlinux.lds.S (James Bottomley)
 - Many cache flushing fixes (James Bottomley)
 - first baby step for PA8800 support (Grant Grundler)
 - Self-aligning spinlocks (Randolph Chung)

22 years ago[PATCH] M68k missing <linux/compiler.h>
Geert Uytterhoeven [Mon, 10 May 2004 09:25:28 +0000 (02:25 -0700)]
[PATCH] M68k missing <linux/compiler.h>

M68k: <asm/virtconvert.h> needs include <linux/compiler.h> for
__attribute_const__ (from Richard Zidlicky)

22 years ago[PATCH] Sun3x dummycon
Geert Uytterhoeven [Mon, 10 May 2004 09:25:18 +0000 (02:25 -0700)]
[PATCH] Sun3x dummycon

Sun3x: Like most other platforms, Sun3x needs conswitchp set if
CONFIG_DUMMY_CONSOLE is defined (from Sam Creasey)

22 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Mon, 10 May 2004 09:24:30 +0000 (02:24 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Mon, 10 May 2004 09:20:06 +0000 (02:20 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/pcnet32
Jeff Garzik [Mon, 10 May 2004 09:15:32 +0000 (05:15 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/pcnet32
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/b44
Jeff Garzik [Mon, 10 May 2004 09:13:59 +0000 (05:13 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/b44
into redhat.com:/spare/repo/net-drivers-2.6

22 years ago[PATCH] ntfs cleanup
Alexander Viro [Mon, 10 May 2004 09:13:18 +0000 (02:13 -0700)]
[PATCH] ntfs cleanup

ntfs_fill_super() and ntfs_read_inode_mount() cleaned up.  Removed
the kludges around the first iget() on NTFS.  Instead of playing with
(re)setting ->s_op we have the MFT_FILE inode set up by explicit new_inode()/
set ->i_ino/insert_inode_hash()/call ntfs_read_inode_mount() directly.
That kills the need of second super_operations and it allows to return
error from ntfs_read_inode_mount() without resorting to ugly "poisoning"
tricks.

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/8139too
Jeff Garzik [Mon, 10 May 2004 09:12:01 +0000 (05:12 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/8139too
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
Linus Torvalds [Mon, 10 May 2004 09:10:46 +0000 (02:10 -0700)]
Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoqla2100 fabric fixes
James Bottomley [Mon, 10 May 2004 12:29:29 +0000 (07:29 -0500)]
qla2100 fabric fixes

From: "Andrew Vasquez" <andrew.vasquez@qlogic.com>

Ok, well there aren't too many folks using an QLA2100 in a fabric
topology, if there were, they wouldn't have gotten very far in the
driver load sequence.  I've been able to scrape-up a QLA2100, 1Gig
switch, and an JBOD.  Upon loading the 8.00.00b12k driver, the
firmware successfully logs into the switch, the driver receives a
LOOP_UP event, but, the kernel panics due to NULL pointer dereference
while trying to perform an RFT_ID  -- the attached patch against
current scsi-misc-2.6 fixes that problem.

22 years ago[PATCH] fix LLD module refcounting in sr.c
James Bottomley [Mon, 10 May 2004 11:40:22 +0000 (06:40 -0500)]
[PATCH] fix LLD module refcounting in sr.c

The patch to close all the open/close/hotplug races in sr left the
module refcounting broken so that the ULD housing the CD device now
can't be removed until the device itself is removed.

This patch (structurally identical to the one for sd.c to perform the
same function) fixes the module refcounting.

22 years ago[PATCH] aacraid reset handler fix
Mark Haverkamp [Mon, 10 May 2004 10:38:00 +0000 (05:38 -0500)]
[PATCH] aacraid reset handler fix

This fixes a situation where the handler can exit too early.

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Mon, 10 May 2004 09:09:18 +0000 (02:09 -0700)]
Merge http://jfs.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Tue, 11 May 2004 00:22:46 +0000 (01:22 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

22 years agoNTFS: 2.1.9 release - Fix two bugs in the decompression engine
Anton Altaparmakov [Mon, 10 May 2004 10:56:02 +0000 (11:56 +0100)]
NTFS: 2.1.9 release - Fix two bugs in the decompression engine
      in handling of corner cases.

22 years agoMerge cantab.net:/home/src/bklinux-2.6
Anton Altaparmakov [Mon, 10 May 2004 10:29:45 +0000 (11:29 +0100)]
Merge cantab.net:/home/src/bklinux-2.6
into cantab.net:/home/src/ntfs-2.6

22 years agoMerge redhat.com:/spare/repo/linux-2.6
Jeff Garzik [Mon, 10 May 2004 08:26:26 +0000 (04:26 -0400)]
Merge redhat.com:/spare/repo/linux-2.6
into redhat.com:/spare/repo/libata-2.6

22 years agoAdd SCSI IPR PCI Ids to pci_ids.h
James Bottomley [Mon, 10 May 2004 08:17:31 +0000 (03:17 -0500)]
Add SCSI IPR PCI Ids to pci_ids.h

22 years ago[PATCH] get_thread_area macro fixes
Andrew Morton [Mon, 10 May 2004 07:25:52 +0000 (00:25 -0700)]
[PATCH] get_thread_area macro fixes

From: Adam Lackorzynski <adam@os.inf.tu-dresden.de>

one of the macros for get_thread_area extracts the wrong bit.  The
"32bit" field is in bit 22, not 23 (as can be seen in desc.h).

[ Fix ia64/x86-64 too, while we're at it. Linus ]

22 years ago[PATCH] Add SMT setup for domain scheduler on x86-64
Andrew Morton [Mon, 10 May 2004 07:25:41 +0000 (00:25 -0700)]
[PATCH] Add SMT setup for domain scheduler on x86-64

From: Andi Kleen <ak@muc.de>

Set up SMT for the domain scheduler on x86-64.  This way the scheduling
works better on HyperThreading aware systems; in particular it will use
both physical CPUs before sharing two virtual CPUs on the same package.
This improves performance considerably in some cases.

Based on the i386 code and a previous patch from Suresh B. Siddha.

22 years ago[PATCH] x86-64: convert sibling map to masks
Andrew Morton [Mon, 10 May 2004 07:25:30 +0000 (00:25 -0700)]
[PATCH] x86-64: convert sibling map to masks

From: Andi Kleen <ak@muc.de>

From: Suresh B. Siddha

Convert sibling map on x86-64 to cpumasks.

This is needed for the SMT patches.

22 years agoRemove intermezzo, per instructions from Peter Braam.
Linus Torvalds [Mon, 10 May 2004 07:14:39 +0000 (00:14 -0700)]
Remove intermezzo, per instructions from Peter Braam.

22 years ago[PATCH] Fix __down Tainting Kernel with CONFIG_MODVERSIONS=y
Andrew Morton [Mon, 10 May 2004 07:12:21 +0000 (00:12 -0700)]
[PATCH] Fix __down Tainting Kernel with CONFIG_MODVERSIONS=y

From: Rusty Russell <rusty@rustcorp.com.au>

PowerPC64 ABI has ".funcname" (the actual function) and "funcname" (the
function descriptor) and we strip off the dots in "dedotify" called from
module_frob_arch_sections().  We need to also de-dotify the corresponding
names in the __version section.

Actually has nothing to do with __down, it's just that we only print the
first symbol whose version is missing.

22 years ago[PATCH] PPC termio fix
Andrew Morton [Mon, 10 May 2004 07:12:10 +0000 (00:12 -0700)]
[PATCH] PPC termio fix

From: Paul Mackerras <paulus@samba.org>

It turns out that we are not handling the TABDLY bits of the termios
c_oflag field correctly on PPC, PPC64 and Alpha.  These three architectures
have a value for XTABS that is different from the TAB3 value.  POSIX
specifies that setting the TABDLY field to TAB3 should result in tabs being
expanded to spaces.  In n_tty.c:opost() we check for O_TABDLY(tty) ==
XTABS, which is fine on most architectures because they have XTABS == TAB3.

I think the right thing to do is just to change the definition of XTABS to
be the same as TAB3 on these architectures.  The patch below does this for
PPC and PPC64 (and I suggest the Alpha maintainer should do the same).  At
the moment, applications using either the XTABS or TAB3 values won't get
the expected behaviour.  With this patch, apps that use TAB3 will get the
expected behaviour.  Apps that use XTABS will need to be recompiled (but
note that the POSIX-specified name to use is TAB3 not XTABS).

22 years ago[PATCH] remove intermezzo
Andrew Morton [Mon, 10 May 2004 07:12:00 +0000 (00:12 -0700)]
[PATCH] remove intermezzo

Peter Braam said:

    I would just like to say that I have no difficulties with intermezzo
    being rm -rf'd.  There are probably only a handful of users.

    In the past 4 years nobody has supported InterMezzo sufficiently for
    it to become successful.  I have been fortunate to get really good support
    for the Lustre project.  So I have focussed on that.  Lustre 1.X has
    become really solid.

    The disconnected operation, caching and mirroring functionality of
    InterMezzo will become available in Lustre as a new feature in version 2.

     So I see no point in keeping InterMezzo if it is a nuisance.

The patch removes the references to intermezzo.  Please do a `bk rm' of
fs/intermezzo.

22 years ago[PATCH] make tags for selinux
Andrew Morton [Mon, 10 May 2004 07:11:49 +0000 (00:11 -0700)]
[PATCH] make tags for selinux

From: Olaf Hering <olh@suse.de>

make tags skips security/selinux/include because of find .  -name include
-prune This patch does just add it later.  No idea if it can be done
better.

22 years ago[PATCH] fix some typos in sound docs
Andrew Morton [Mon, 10 May 2004 07:11:38 +0000 (00:11 -0700)]
[PATCH] fix some typos in sound docs

From: Christoph Hellwig <hch@lst.de>

(partially from the debian kernel tree)

22 years ago[PATCH] telephony/ixj.h: remove kernel 2.2 #ifdef's
Andrew Morton [Mon, 10 May 2004 07:11:28 +0000 (00:11 -0700)]
[PATCH] telephony/ixj.h: remove kernel 2.2 #ifdef's

From: Adrian Bunk <bunk@fs.tum.de>

The patch below removes two #ifdef's for kernel 2.2 from
linux-2.6.2-mm1/drivers/telephony/ixj.h

22 years ago[PATCH] remove kernel 2.2 code from drivers/net/hamradio/dmascc.c
Andrew Morton [Mon, 10 May 2004 07:11:17 +0000 (00:11 -0700)]
[PATCH] remove kernel 2.2 code from drivers/net/hamradio/dmascc.c

From: Adrian Bunk <bunk@fs.tum.de>

The patch below removes some #ifdef'd kernel 2.2 code from
drivers/net/hamradio/dmascc.c.

22 years ago[PATCH] Crystal cs4235 mixer fix
Andrew Morton [Mon, 10 May 2004 07:11:07 +0000 (00:11 -0700)]
[PATCH] Crystal cs4235 mixer fix

From: Joseph Parmelee <jparmele@wildbear.com>

Fixes improper setup of the mixer on Crystal soundcards with the CS4235
chip.

22 years ago[PATCH] export con_set_default_unimap()
Andrew Morton [Mon, 10 May 2004 07:10:56 +0000 (00:10 -0700)]
[PATCH] export con_set_default_unimap()

fbcon needs this symbol.

22 years ago[PATCH] Make usermodehelper_init() use core_initcall()
Andrew Morton [Mon, 10 May 2004 07:10:46 +0000 (00:10 -0700)]
[PATCH] Make usermodehelper_init() use core_initcall()

We may as well make usermodehelper_init() core_initcall as well, to make
sure its services are avaialble to all the other initcall levels.

22 years ago[PATCH] use core_initcall for binfmt initialisation
Andrew Morton [Mon, 10 May 2004 07:10:35 +0000 (00:10 -0700)]
[PATCH] use core_initcall for binfmt initialisation

We need to register the binfmts earlier, so normal initcalls can successfully
run call_usermodehelper() to execute things.

22 years ago[PATCH] minor RCU optimization
Andrew Morton [Mon, 10 May 2004 07:10:24 +0000 (00:10 -0700)]
[PATCH] minor RCU optimization

From: Stephen Hemminger <shemminger@osdl.org>

Minor tweak to rcu, use __list_splice instead of list_splice because the
  list has already been checked for empty.

22 years ago[PATCH] remove MOD_INC_USE_COUNT usage in arch/um/drivers/harddog_kern.c
Andrew Morton [Mon, 10 May 2004 07:10:14 +0000 (00:10 -0700)]
[PATCH] remove MOD_INC_USE_COUNT usage in arch/um/drivers/harddog_kern.c

From: Christoph Hellwig <hch@lst.de>

->open already has a reference so use __module_get.  The file has no
maintainer noted in it, all credits are from the driver it's copied from.

22 years ago[PATCH] fix MOD_INC_USE_COUNT usage in mtd
Andrew Morton [Mon, 10 May 2004 07:10:03 +0000 (00:10 -0700)]
[PATCH] fix MOD_INC_USE_COUNT usage in mtd

From: Christoph Hellwig <hch@lst.de>

mtd driver need to get another reference if ->probe succeeds (strange design
if you ask me, but what the heck..), and while most drivers have been switched
to __module_get already two are still missing.

22 years ago[PATCH] drivers/video/* MOD_INC_USE_COUNT fixes
Andrew Morton [Mon, 10 May 2004 07:09:53 +0000 (00:09 -0700)]
[PATCH] drivers/video/* MOD_INC_USE_COUNT fixes

From: Christoph Hellwig <hch@lst.de>

A bunch of framebuffer drivers use MOD_INC_USE_COUNT to prevent themselves
from unloading completely - but we have a much easier way to do so, that is
simply removing the module_exit/cleanup_module handler.

22 years ago[PATCH] fix MOD_{INC,DEC}_USE_COUNT gunk in arch/um/drivers/net_kern.c
Andrew Morton [Mon, 10 May 2004 07:09:42 +0000 (00:09 -0700)]
[PATCH] fix MOD_{INC,DEC}_USE_COUNT gunk in arch/um/drivers/net_kern.c

From: Christoph Hellwig <hch@lst.de>

Well, UML is pretty out of date in mainline, but I'd like to squash the last
users of said beasts rather sooner than later.

22 years ago[PATCH] kill MOD_{INC,DEC}_USE_COUNT gunk in arch/cris/arch-v10/drivers/pcf8563.c
Andrew Morton [Mon, 10 May 2004 07:09:31 +0000 (00:09 -0700)]
[PATCH] kill MOD_{INC,DEC}_USE_COUNT gunk in arch/cris/arch-v10/drivers/pcf8563.c

From: Christoph Hellwig <hch@lst.de>

Driver already sets fops->owner so the open/close methods are entirely
superflous.

22 years ago[PATCH] kill useless MOD_{INC,DEC}_USE_COUNT in sound/oss/msnd.c
Andrew Morton [Mon, 10 May 2004 07:09:21 +0000 (00:09 -0700)]
[PATCH] kill useless MOD_{INC,DEC}_USE_COUNT in sound/oss/msnd.c

From: Christoph Hellwig <hch@lst.de>

Callers are exported register/unregister handlers so the module is locked in
core by users of said exports.

22 years ago[PATCH] cpqarray update for 2.6
Andrew Morton [Mon, 10 May 2004 07:09:10 +0000 (00:09 -0700)]
[PATCH] cpqarray update for 2.6

From: <mikem@beardog.cca.cpqcorp.net>

This patch fixes 2 minor issues that break our Array Configuration utility.
 my_io was changed to a pointer so the & had to removed when using it with
copy_to_user().

Sometime in 2.5 SG_MAX got changed to 31.  Maybe to copy cciss?  Now I'm
changing it back to 32 so our app can work.

22 years ago[PATCH] Add sysctl to define a hugetlb-capable group
Andrew Morton [Mon, 10 May 2004 07:09:00 +0000 (00:09 -0700)]
[PATCH] Add sysctl to define a hugetlb-capable group

From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>,
      "Seth, Rohit" <rohit.seth@intel.com>

This patch addresses the longstanding problem wherein Oracle needs
CAP_IPC_LOCK to allocate SHM_HUGETLB shm memory, but people don't want to run
Oracle as root, and capabilties are busted.

Various ideas with rlimits didn't work out, mainly because these objects live
beyond the lifetime of the user processes which establish them.

What we do is to create root-writeable /proc/sys/vm/hugetlb_shm_group which
specifies a single group ID.  Users who belong to that group may allocate
hugepages for SHM_HUGETLB shm segments.

So the sysadmin will greate a new group, say `hugepageusers', will add the
oracle user to that group and will write that group's ID into
/proc/sys/vm/hugetlb_shm_group.

22 years ago[PATCH] hugepage: fix add_to_page_cache() error handling
Andrew Morton [Mon, 10 May 2004 07:08:49 +0000 (00:08 -0700)]
[PATCH] hugepage: fix add_to_page_cache() error handling

From: David Gibson <david@gibson.dropbear.id.au>

add_to_page_cache() locks the given page if and only if it suceeds.  The
hugepage code (every arch), however, does an unlock_page() after
add_to_page_cache() before checking the return code, which could trip the
BUG() in unlock_page() if add_to_page_cache() failed.

In practice we've never hit this bug, because the only ways
add_to_page_cache() can fail are when we fail to allocate a radix tree node
(very rare), or when there is already a page at that offset in the radix
tree, which never happens during prefault, obviously.  We should probably
fix it anyway, though.

The analagous bug in some of the patches floating about to
demand-allocation of hugepages is more of a problem, because multiple
processes can race to instantiate a particular page in the radix tree -
that's been hit at least once (which is how I found this).

22 years ago[PATCH] fix wrong var used in hotplug/shpchp_ctrl.c.
Andrew Morton [Mon, 10 May 2004 07:08:38 +0000 (00:08 -0700)]
[PATCH] fix wrong var used in hotplug/shpchp_ctrl.c.

From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br>

Zhenmin's checker tool <zli4@cs.uiuc.edu> detected this:

 9. /drivers/pci/hotplug/shpchp_ctrl.c, Line 1575:
 err("%s: Failed to disable slot, error code(%d)\n", __FUNCTION__, rc);

 Maybe change to:
 err("%s: Failed to disable slot, error code(%d)\n", __FUNCTION__,
 retval);

I think it is right because at line 1564, the slot is turned off, and in
this line (1575) is checked the status to see if we got an error; if so,
the error number is shown.  This number is in 'retval', not in 'rc' ('rc'
does have the return of configure_new_device()).

22 years ago[PATCH] Lindent arch/i386/kernel/cpuid.c
Andrew Morton [Mon, 10 May 2004 07:08:27 +0000 (00:08 -0700)]
[PATCH] Lindent arch/i386/kernel/cpuid.c

From: Hanna Linder <hannal@us.ibm.com>

Per Greg's request this is a patch of having run Lindent on cpuid.c.  The
tabs were not the right number of spaces before.  I have verified it still
compiles and boots with this "change".

22 years ago[PATCH] pcmcia/tcic.c warning fix.
Andrew Morton [Mon, 10 May 2004 07:08:17 +0000 (00:08 -0700)]
[PATCH] pcmcia/tcic.c warning fix.

From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br>

drivers/pcmcia/tcic.c:63: warning: `version' defined but not used

22 years ago[PATCH] as-iosched barrier fix
Andrew Morton [Mon, 10 May 2004 07:08:06 +0000 (00:08 -0700)]
[PATCH] as-iosched barrier fix

From: Jens Axboe <axboe@suse.de>

AS does not correctly account requests inserted with INSERT_FRONT or
INSERT_BACK, barriers for example.  In other elevators, requeued requests also
go through the insert path, but AS has its own requeue handler which means the
code has never been tested.

Also, make inserting a barrier with INSERT_SORT imply INSERT_BACK, which is
the logical behaviour.  Previously such insertions weren't rigorously defined.

22 years ago[PATCH] Fix race on tty close
Andrew Morton [Mon, 10 May 2004 07:07:55 +0000 (00:07 -0700)]
[PATCH] Fix race on tty close

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

ldisc close can race with the flush_to_ldisc workqueue.

This patch fixes it by killing the workqueue first.

22 years ago[PATCH] SElinux interface for reporting size of printk buffer
Andrew Morton [Mon, 10 May 2004 07:07:45 +0000 (00:07 -0700)]
[PATCH] SElinux interface for reporting size of printk buffer

From: Olaf Dabrunz <od@suse.de>

Add the necessary hooks so that a SELinux-enabled kernel will allow the new
"report the size of the printk buffer" query to work.

22 years ago[PATCH] blk: cache queue_congestion_on/off_threshold values
Andrew Morton [Mon, 10 May 2004 07:07:34 +0000 (00:07 -0700)]
[PATCH] blk: cache queue_congestion_on/off_threshold values

From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>

It's kind of redundant that queue_congestion_on/off_threshold gets
calculated on every I/O and they produce the same number over and over
again unless q->nr_requests gets changed (which is probably a very rare
event).  We can cache those values in the request_queue structure.

22 years ago[PATCH] swsusp documentation updates
Andrew Morton [Mon, 10 May 2004 07:07:23 +0000 (00:07 -0700)]
[PATCH] swsusp documentation updates

From: Pavel Machek <pavel@ucw.cz>

22 years ago[PATCH] simplify mqueue_inode_info->messages allocation
Andrew Morton [Mon, 10 May 2004 07:07:13 +0000 (00:07 -0700)]
[PATCH] simplify mqueue_inode_info->messages allocation

From: Chris Wright <chrisw@osdl.org>

Currently, if a user creates an mqueue and passes an mq_attr, the
info->messages will be created twice (and the extra one is properly freed).
This patch simply delays the allocation so that it only ever happens once.
The relevant mq_attr data is passed to lower levels via the dentry->d_fsdata
fs private data.  This also helps isolate the areas we'd need to touch to do
rlimits on mqueues.

22 years ago[PATCH] bfs filesystem read past the end of dir
Andrew Morton [Mon, 10 May 2004 07:07:02 +0000 (00:07 -0700)]
[PATCH] bfs filesystem read past the end of dir

From: Jakub Jermar <jermar@itbs.cz>

I found out that BFS filesystem will eventually try to read and interpret
garbage past the end of directory in bfs_add_entry().  If the garbage
(interpreted as i-node number) is not set to zero (does it have to be?)
bfs_add_entry() will consider it a regular directory entry.

This causes weird things like this:
# touch a
# rm a
# ls
# touch b
# ls
a

My patch detects an attempt to read past the end of directory and explicitly
clears the garbage that represents i-node number.  Thus the correct behaviour
is achieved.

(was unable to contact Tigran)

22 years ago[PATCH] update Documentation/md.txt
Andrew Morton [Mon, 10 May 2004 07:06:52 +0000 (00:06 -0700)]
[PATCH] update Documentation/md.txt

From: <spam@altium.nl> (Dick Streefland)

The following patch documents the currently undocumented raid= kernel
parameter.

22 years ago[PATCH] es7000 subarch update for generic arch
Andrew Morton [Mon, 10 May 2004 07:06:42 +0000 (00:06 -0700)]
[PATCH] es7000 subarch update for generic arch

From: "Protasevich, Natalie" <Natalie.Protasevich@UNISYS.com>

This is ES7000 sub architecture update.  It makes ES7000 a part of the
generic architecture, so the single compiled kernel will be able to choose
a correct set of parameters, routines ("genapic"), and a boot path.  It
uses criteria provided by the subarch for platform identification.  In case
of ES7000, it is a unique product/vendor string in the ACPI/MP OEM table,
and server control registers.  The patch is confined to only es7000 subarch
and generic subarch.  It was tested on ES7000 as well as generic Intel 8x
Xeon system.  Andi Kleen has reviewed the changes.

22 years ago[PATCH] CLOCK_TICK_RATE: use CLOCK_TICK_RATE
Andrew Morton [Mon, 10 May 2004 07:05:51 +0000 (00:05 -0700)]
[PATCH] CLOCK_TICK_RATE: use CLOCK_TICK_RATE

From: Thorsten Kranzkowski <dl8bcu@dl8bcu.de>

use CLOCK_TICK_RATE where 1193180 was used in general timing calculations.
(optional)

22 years ago[PATCH] CLOCK_TICK_RATE: use PIT_TICK_RATE in *spkr.c
Andrew Morton [Mon, 10 May 2004 07:05:40 +0000 (00:05 -0700)]
[PATCH] CLOCK_TICK_RATE: use PIT_TICK_RATE in *spkr.c

From: Thorsten Kranzkowski <dl8bcu@dl8bcu.de>

22 years ago[PATCH] CLOCK_TICK_RATE: introduce asm-*/8253pit.h, #define PIT_TICK_RATE constant.
Andrew Morton [Mon, 10 May 2004 07:05:29 +0000 (00:05 -0700)]
[PATCH] CLOCK_TICK_RATE: introduce asm-*/8253pit.h, #define PIT_TICK_RATE constant.

From: Thorsten Kranzkowski <dl8bcu@dl8bcu.de>

The calculation of the counter values in drivers/input/misc/pcspkr.c is
incorrectly based on CLOCK_TICK_RATE.  This goes unnoticed in i386 because
there the system clock is driven by the same Programmable Interval Timer chip
as the speaker.  But this doesn't hold true on other archs, e.g.  Alpha.

To solve this problem I made these patches:

1/3:    introduce asm-*/8253pit.h, #define PIT_TICK_RATE constant.
        It seems this is not always the same value.
2/3:    use PIT_TICK_RATE in *spkr.c
3/3:    use CLOCK_TICK_RATE where 1193180 was used in general timing
        calculations. (optional)

There are still some places where the magic number is used instead of the
#define (vt_ioctl.c, gameport.c) but I left them as-is.  I got some responses
from arch maintainers to specifically not touch their respective architectures
so changing these places would mean breakage for them.

Tested on Alpha and i386, ack'ed by Ralf Baechle for MIPS.

This patch:

introduce asm-*/8253pit.h, #define PIT_TICK_RATE constant.

22 years ago[PATCH] readahead: keep file->f_ra sane
Andrew Morton [Mon, 10 May 2004 07:05:18 +0000 (00:05 -0700)]
[PATCH] readahead: keep file->f_ra sane

When two threads are simultaneously pread()ing from the same fd (which is a
legitimate thing to do), the readahead code thinks that a huge amount of
seeking is happening and shrinks the window, damaging performance a lot.

I don't see a sane way to avoid this within the readahead code, so take a
private copy of the readahead state and restore it prior to returning from the
read.

22 years ago[PATCH] jiffies-to-clockt fix
Andrew Morton [Mon, 10 May 2004 07:05:07 +0000 (00:05 -0700)]
[PATCH] jiffies-to-clockt fix

From: john stultz <johnstul@us.ibm.com>

This patch polishes up Tim Schmielau's (tim@physik3.uni-rostock.de) fix for
jiffies_to_clock_t() and jiffies_64_to_clock_t().  The issues observed was
w/ /proc output not matching up to wall time due to accumulated error
caused by HZ not being exactly 1000 on i386 systems.  The solution is to
correct that error by using the more accurate TICK_NSEC in our calculation.

Additionally, this patch corrects 3 warnings in the TCP layer uncovered by
this change.

22 years ago[PATCH] cyclades cleanups
Andrew Morton [Mon, 10 May 2004 07:04:56 +0000 (00:04 -0700)]
[PATCH] cyclades cleanups

From: Marcelo Tosatti <marcelo.tosatti@cyclades.com>

- cleanups for cyclades Kconfig entry (Adrian Bunk/me)
- janitors project: remove dead function (Don Koch)

From: aris@cathedrallabs.org (Aristeu Sergio Rozanski Filho)

Use the standard min/max macros

22 years ago[PATCH] fix ramdisk size assembler warning
Andrew Morton [Mon, 10 May 2004 07:04:46 +0000 (00:04 -0700)]
[PATCH] fix ramdisk size assembler warning

From: Jorn Engel <joern@wohnheim.fh-wedel.de>

 AS arch/i386/boot/setup.o
/usr/src/linux-2.6.5/arch/i386/boot/setup.S: Assembler messages:
/usr/src/linux-2.6.5/arch/i386/boot/setup.S:159: Warning: value 0x37ffffff truncated to 0x37ffffff

The warning is correct, the calculated value for ramdisk_max would be
0xb7ffffff instead of 0x37ffffff.  Truncating 0xb7ffffff to 0x37ffffff
is desired behaviour, so we should do it explicitly.

22 years ago[PATCH] ppc64: use generic ipc syscall translation
Andrew Morton [Mon, 10 May 2004 07:04:36 +0000 (00:04 -0700)]
[PATCH] ppc64: use generic ipc syscall translation

From: David Gibson <david@gibson.dropbear.id.au>

Currently ppc64 has its own code to convert 32-bit ipc() syscalls to 64-bit,
rather than using the common translation code from ipc/compat.c.  This patch,
tweaked slightly from an earlier version of Anton Blanchard's fixes that,
replacing the ppc64 code with calls to the common code.

I've run the LSB IPC tests, and as many of the LTP IPC tests as I could figure
out how to run easily, and it seems to pass them all.

22 years ago[PATCH] gcc-3.4.0 fixes for 2.6.6-rc3 x86_64 kernel
Andrew Morton [Mon, 10 May 2004 07:04:25 +0000 (00:04 -0700)]
[PATCH] gcc-3.4.0 fixes for 2.6.6-rc3 x86_64 kernel

From: Mikael Pettersson <mikpe@csd.uu.se>

Here are some patches to fix compilation warnings from
gcc-3.4.0 in the 2.6.6-rc3 x86_64 kernel.

- puts() type conflict in boot/compressed/misc.c:
  rename to putstr(), just like i386 did
- cast-as-lvalue in ia32_copy_siginfo_from_user():
  use temporary
- code before declaration in io_apic.c:
  move decl up
- code before declaration in ioremap.c:
  move existing #ifndef up
- cast-as-lvalue (tons of them) from UP version of per_cpu():
  merged asm-generic's version

22 years ago[PATCH] fixup 68360 module refcounting
Andrew Morton [Mon, 10 May 2004 07:04:14 +0000 (00:04 -0700)]
[PATCH] fixup 68360 module refcounting

From: Christoph Hellwig <hch@lst.de>

22 years ago[PATCH] Warn when smp_call_function() is called with interrupts disabled
Andrew Morton [Mon, 10 May 2004 07:04:03 +0000 (00:04 -0700)]
[PATCH] Warn when smp_call_function() is called with interrupts disabled

From: Keith Owens <kaos@sgi.com>

Almost every architecture has a comment above smp_call_function()

 * You must not call this function with disabled interrupts or from a
 * hardware interrupt handler or from a bottom half handler.

I have not seen any problems with calling smp_call_function() from a bottom
half handler, but calling it with interrupts disabled can definitely
deadlock.  This bug is hard to reproduce and even harder to debug.

CPU A                               CPU B
Disable interrupts
                                    smp_call_function()
                                    Take call_lock
                                    Send IPIs
                                    Wait for all cpus to acknowledge IPI
                                    CPU A has not responded, spin waiting
                                    for cpu A to respond, holding call_lock
smp_call_function()
Spin waiting for call_lock
Deadlock                            Deadlock

Change all smp_call_function() to WARN_ON(irqs_disabled()).  It should be
BUG_ON() but some buggy code like SCSI sg will break with BUG_ON, so just
warn for now.  Change it to BUG_ON after the buggy code has been fixed.