]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] dm: dm-raid1.c: Enforce max of 9 mirrors
Kevin Corry [Thu, 1 Jul 2004 03:52:27 +0000 (20:52 -0700)]
[PATCH] dm: dm-raid1.c: Enforce max of 9 mirrors

dm-raid1.c: Since kcopyd can currently only handle 1 source and up to 8
destinations, enforce a max of 9 mirrors when creating a dm-mirror device.

Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dm: kcopyd.c: make client_add() return void
Kevin Corry [Thu, 1 Jul 2004 03:52:16 +0000 (20:52 -0700)]
[PATCH] dm: kcopyd.c: make client_add() return void

kcopyd.c: client_add() can return void instead of an int, which will eliminate
an unnecessary error path in kcopyd_client_create().

Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dm: kcopyd.c: Remove unused include
Kevin Corry [Thu, 1 Jul 2004 03:52:05 +0000 (20:52 -0700)]
[PATCH] dm: kcopyd.c: Remove unused include

kcopyd.c: Remove unused #include.

Signed-off-by: Kevin Corry <kevcorry@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix sound/isa/gus/* compile error without CONFIG_PNP
Mika Kukkonen [Thu, 1 Jul 2004 03:45:15 +0000 (20:45 -0700)]
[PATCH] Fix sound/isa/gus/* compile error without CONFIG_PNP

22 years ago[PATCH] zombie with CLONE_THREAD and strace
Andrea Arcangeli [Thu, 1 Jul 2004 02:25:45 +0000 (19:25 -0700)]
[PATCH] zombie with CLONE_THREAD and strace

'strace' shows a problem with a missing release_task for self-reaping
clones that have been traced.  We need to defer releasing them until the
tracer is done with them, but if the tracer dies, we need to handle that
case gracefully too.

We do that by having 'forget_original_parent()' generate a list of tasks
to release when this case happens.

Patch based on discussions on linux-kernel, and suggestions from Roland
McGrath <roland@redhat.com>.

22 years ago[PATCH] Can't open CDROM device for writing
Peter Osterlund [Thu, 1 Jul 2004 02:17:59 +0000 (19:17 -0700)]
[PATCH] Can't open CDROM device for writing

Opening a CDROM device for writing no longer works, because cdrom_open()
returns -EROFS even if cdrom_open_write() succeeds.

This fixes it.

Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] enable SMP Opterons boot an NX-enabled x86 kernel
Ingo Molnar [Thu, 1 Jul 2004 02:17:47 +0000 (19:17 -0700)]
[PATCH] enable SMP Opterons boot an NX-enabled x86 kernel

This fixes a corner-case NX bug: the x86 SMP kernel doesnt boot on SMP
Opterons if NX is enabled [and mem=nopentium is specified], due to
kernel-space NX protection preventing the SMP trampoline from being
executable.

Since the SMP trampoline is a rare case of 'dynamic code' executed by
the kernel (it has to be below 640K so it cannot be part of the kernel
text itself), i've added the necessary infrastructure to enable/disable
executability of specific kernel pages.

We cannot simply disable NX via the MSR because we've got the NX bits in
the kernel pagetables, which are set up before we do the SMP bootup.
The NX bit in the pagetables is undefined if EFER.NXE is 0, so we cannot
count on NX-capable CPUs not faulting when they encounter them.

I've tested the x86 kernel on a non-NX SMP x86 box and on an NX UP box,
on which i've also tested a simulated SMP trampoline, it all works fine.

- add infrastructure to enable/disable executability of kernel pages

- make the SMP trampoline page executable.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Wed, 30 Jun 2004 14:39:20 +0000 (07:39 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[netdrvr] add fec_8xx to Makefile
Jeff Garzik [Wed, 30 Jun 2004 19:45:32 +0000 (15:45 -0400)]
[netdrvr] add fec_8xx to Makefile

22 years ago[PATCH] skfddi - cleanup local and dead functions
Stephen Hemminger [Wed, 30 Jun 2004 19:40:05 +0000 (15:40 -0400)]
[PATCH] skfddi - cleanup local and dead functions

Cleanup the SK Fddi driver a little more.  Mark some functions as static,
and eliminate (or comment out) some that are defined but never used.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
22 years ago[PATCH] skfddi - fix warning
Stephen Hemminger [Wed, 30 Jun 2004 19:39:42 +0000 (15:39 -0400)]
[PATCH] skfddi - fix warning

The conversion to ANSI, caused a warning because the mulitcast code needs
a cast.  dmi->dmi_addr is a u8 array, and fddi_addr is just a wrapper around a u8 array.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
22 years ago[PATCH] add new fec_8xx network driver
Pantelis Antoniou [Wed, 30 Jun 2004 19:33:14 +0000 (15:33 -0400)]
[PATCH] add new fec_8xx network driver

22 years ago[PATCH] Patch 2/2 enable smc91x enet driver for use by PPC
Dale Farnsworth [Wed, 30 Jun 2004 19:30:38 +0000 (15:30 -0400)]
[PATCH] Patch 2/2 enable smc91x enet driver for use by PPC

Hi,

Patch 2 of 2 to enable the smc91x driver to be used by the IBM Redwood5
and Redwood6 boards.

Enable smc91x driver to support IBM Redwood5 and Redwood6 boards

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
22 years ago[PATCH] Patch 1/2 enable smc91x enet driver for use by PPC
Dale Farnsworth [Wed, 30 Jun 2004 19:30:01 +0000 (15:30 -0400)]
[PATCH] Patch 1/2 enable smc91x enet driver for use by PPC

Hi,

Patch 1 of 2 to enable the smc91x driver to be used by the IBM Redwood5
and Redwood6 boards.

Move drivers/net/arm/smc91x.[ch] to drivers/net

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
22 years ago[PATCH] PCMCIA net device unplugging ordering fix
Russell King [Wed, 30 Jun 2004 19:28:19 +0000 (15:28 -0400)]
[PATCH] PCMCIA net device unplugging ordering fix

This is a rather old patch which re-orders the teardown of PCMCIA
network devices.  Current device drivers remove the IO mappings,
interrupts, and free any PCMCIA windows before they unregister
themselves from the network layer.

This patch ensures that we first unregister from the network layer
before performing any teardown of resources or windows.

Note: the only card which has been tested in this patch is pcnet_cs.

22 years ago[PATCH] get rid of __OPTIMIZE__ requirement in net drivers
Stephen Hemminger [Wed, 30 Jun 2004 19:26:14 +0000 (15:26 -0400)]
[PATCH] get rid of __OPTIMIZE__ requirement in net drivers

Several network drivers have checks that they are only built with -O.
This breaks checking with sparse and other tools, and seems like a holdover from
when drivers were built out of tree and the kernel build system was less stable.
This patch gets rid of these.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
22 years ago[PATCH] [sparse] get rid of warnings about #if DEBUG
Stephen Hemminger [Wed, 30 Jun 2004 19:26:04 +0000 (15:26 -0400)]
[PATCH] [sparse] get rid of warnings about #if DEBUG

Several drivers use '#if DEBUG' which is a warning under the sparse checker.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
22 years ago[PATCH] (2/3) skfp -- sparse __user annotation
Stephen Hemminger [Wed, 30 Jun 2004 19:24:24 +0000 (15:24 -0400)]
[PATCH] (2/3) skfp -- sparse __user annotation

Add __user annotation to the device specific ioctl.

22 years ago[PATCH] (1/3) skfp - cleanup is_XXX functions
Stephen Hemminger [Wed, 30 Jun 2004 19:24:14 +0000 (15:24 -0400)]
[PATCH] (1/3) skfp - cleanup is_XXX functions

This started out from sparse warnings about calling with fddi_broadcast
that is declared const.  This fixes that and gets rid of some of the namespace
pollution of this driver by moving the predicate function is_individual, is_broadcast, ...
as inline's in the one file that uses them.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
22 years ago[PATCH] net/ne2.c needs MCA_LEGACY
Andrew Morton [Wed, 30 Jun 2004 19:21:48 +0000 (15:21 -0400)]
[PATCH] net/ne2.c needs MCA_LEGACY

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

drivers/net/ne2.c does not compile without CONFIG_MCA_LEGACY set.

As CONFIG_MCA_LEGACY depends on CONFIG_MCA, we can use only
CONFIG_MCA_LEGACY, insteed of "MCA && MCA_LEGACY".

Signed-off-by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[PATCH] net/at1700.c depends on MCA_LEGACY
Andrew Morton [Wed, 30 Jun 2004 19:21:39 +0000 (15:21 -0400)]
[PATCH] net/at1700.c depends on MCA_LEGACY

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

drivers/net/at1700.c does not compile without CONFIG_MCA_LEGACY set.

As CONFIG_MCA_LEGACY depends on CONFIG_MCA, we can use only
CONFIG_MCA_LEGACY, insteed of "MCA && MCA_LEGACY".

Signed-off-by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years ago[PATCH] pcnet32: change to use module_param
Don Fry [Wed, 30 Jun 2004 19:20:45 +0000 (15:20 -0400)]
[PATCH] pcnet32: change to use module_param

Change the pcnet32 driver to use module_param and module_param_array.

22 years ago[PATCH] pcnet32: correctly program bcr32.
Don Fry [Wed, 30 Jun 2004 19:20:36 +0000 (15:20 -0400)]
[PATCH] pcnet32:  correctly program bcr32.

The pcnet32 driver was not correctly enabling MII autonegotiation after
booting when ppc firmware forced the speed/duplex mode of the chip.
After several conversations with AMD this patch corrects the problem.

I have tested this on hardware I have available (ia32 and ppc64) but I
would like wider audience testing of this patch.

Signed-off-by: Don Fry <brazilnut@us.ibm.com>
22 years ago[PATCH] pcnet32: Add HomePNA parameter for 79C978.
Don Fry [Wed, 30 Jun 2004 19:20:27 +0000 (15:20 -0400)]
[PATCH] pcnet32: Add HomePNA parameter for 79C978.

This patch adds a module parameter to select HomePNA mode of operation for
the 79C978 version of the pcnet32.  Tested ia32 and ppc64.

signed-off-by: Patrick Simmons <psimmons@flash.net>
signed-off-by: Don Fry <brazilnut@us.ibm.com>

22 years ago[PATCH] pcnet32: acknowledge all interrupts early.
Don Fry [Wed, 30 Jun 2004 19:20:18 +0000 (15:20 -0400)]
[PATCH] pcnet32: acknowledge all interrupts early.

A recent change I made broke pcnet32 in a way that allowed real hardware
to work, but broke VMWare.  This patch acknowledges all interrupts early
in the pcnet32_interrupt while loop.  Without this patch on real hardware
the first transmit operation would clear the 'init' interrupt, but in
VMWare it would rain interrupts.  Keith Moore did more testing for me
on VMWare and I did a better job testing on hardware.  Petr Vandrovec
correctly pointed out the source of the problem on lkml.

This patch is not needed for 2.4.27-rc1 unless my patch labeled
"pcnet32: recover after rx hang" is applied (which it has not).

signed-off-by: Don Fry <brazilnut@us.ibm.com>

22 years ago[PATCH] prism54 use set_pci_mwi()
Margit Schubert-While [Wed, 30 Jun 2004 19:17:12 +0000 (15:17 -0400)]
[PATCH] prism54 use set_pci_mwi()

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Use set_pci_mwi()

22 years ago[PATCH] prism54 remove prog reg poke
Margit Schubert-While [Wed, 30 Jun 2004 19:17:03 +0000 (15:17 -0400)]
[PATCH] prism54 remove prog reg poke

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Don't poke around in the timeout registers

22 years ago[PATCH] prism54 device list cleanup
Margit Schubert-While [Wed, 30 Jun 2004 19:16:54 +0000 (15:16 -0400)]
[PATCH] prism54 device list cleanup

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Clean up the device table

22 years ago[PATCH] prism54 fix unlikely
Margit Schubert-While [Wed, 30 Jun 2004 19:16:45 +0000 (15:16 -0400)]
[PATCH] prism54 fix unlikely

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Fix a thinko by me

22 years ago[PATCH] prism54 missing error check
Margit Schubert-While [Wed, 30 Jun 2004 19:16:36 +0000 (15:16 -0400)]
[PATCH] prism54 missing error check

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Missing error check after dev_alloc_skb

22 years ago[PATCH] prism54 cleanup functions
Margit Schubert-While [Wed, 30 Jun 2004 19:16:26 +0000 (15:16 -0400)]
[PATCH] prism54 cleanup functions

2004-06-28 Margit Schubert-While <margitsw@t-online.de>

* Clean up function definitions (missing static, extraneous inline)

22 years agoMerge http://xfs.org:8090/xfs-linux-2.6
Linus Torvalds [Wed, 30 Jun 2004 13:16:17 +0000 (06:16 -0700)]
Merge http://xfs.org:8090/xfs-linux-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[XFS] Don't dereference buffer after pagebuf_iostrategy()
Christoph Hellwig [Thu, 1 Jul 2004 21:25:51 +0000 (07:25 +1000)]
[XFS] Don't dereference buffer after pagebuf_iostrategy()

SGI Modid: xfs-linux:xfs-kern:174326a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Wed, 30 Jun 2004 09:22:46 +0000 (02:22 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 1949/1: warning fix
Nicolas Pitre [Wed, 30 Jun 2004 22:11:22 +0000 (23:11 +0100)]
[ARM PATCH] 1949/1: warning fix

Patch from Nicolas Pitre

Missing prototype.

22 years ago[ARM PATCH] 1948/1: Mainstone compile fix
Nicolas Pitre [Wed, 30 Jun 2004 21:58:10 +0000 (22:58 +0100)]
[ARM PATCH] 1948/1: Mainstone compile fix

Patch from Nicolas Pitre

... and a comment fix in bonus

22 years ago[ARM PATCH] 1947/1: Remove unused async_struct in OMAP pm.h
Tony Lindgren [Wed, 30 Jun 2004 21:48:13 +0000 (22:48 +0100)]
[ARM PATCH] 1947/1: Remove unused async_struct in OMAP pm.h

Patch from Tony Lindgren

Removes some dead code as noted by Russell King.

22 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Wed, 30 Jun 2004 08:57:30 +0000 (01:57 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[AGPGART] K8T800 Pro support in amd64 driver.
Dave Jones [Wed, 30 Jun 2004 17:30:47 +0000 (18:30 +0100)]
[AGPGART] K8T800 Pro support in amd64 driver.

Signed-off-by: Kris Kersey <augustus@linuxhardware.org>
Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[PATCH] sparse: NULL vs 0 - the rest of it
Mika Kukkonen [Wed, 30 Jun 2004 08:52:08 +0000 (01:52 -0700)]
[PATCH] sparse: NULL vs 0 - the rest of it

22 years ago[PATCH] sparse: NULL vs 0 - sound/*
Mika Kukkonen [Wed, 30 Jun 2004 08:51:56 +0000 (01:51 -0700)]
[PATCH] sparse: NULL vs 0 - sound/*

22 years ago[PATCH] sparse: NULL vs 0 - net/*
Mika Kukkonen [Wed, 30 Jun 2004 08:51:44 +0000 (01:51 -0700)]
[PATCH] sparse: NULL vs 0 - net/*

22 years ago[PATCH] sparse: NULL vs 0 - filesystems
Mika Kukkonen [Wed, 30 Jun 2004 08:51:31 +0000 (01:51 -0700)]
[PATCH] sparse: NULL vs 0 - filesystems

22 years ago[PATCH] sparse: NULL vs 0 - drivers/usb
Mika Kukkonen [Wed, 30 Jun 2004 08:51:19 +0000 (01:51 -0700)]
[PATCH] sparse: NULL vs 0 - drivers/usb

22 years ago[PATCH] sparse: NULL vs 0 - rest of drivers
Mika Kukkonen [Wed, 30 Jun 2004 08:51:07 +0000 (01:51 -0700)]
[PATCH] sparse: NULL vs 0 - rest of drivers

22 years ago[PATCH] sparse: NULL vs 0 - drivers/char/*
Mika Kukkonen [Wed, 30 Jun 2004 08:50:54 +0000 (01:50 -0700)]
[PATCH] sparse: NULL vs 0 - drivers/char/*

22 years ago[PATCH] sparse: NULL vs 0 - drivers/acpi/*
Mika Kukkonen [Wed, 30 Jun 2004 08:50:43 +0000 (01:50 -0700)]
[PATCH] sparse: NULL vs 0 - drivers/acpi/*

22 years ago[PATCH] sparse: NULL vs 0 - arch/i386/*
Mika Kukkonen [Wed, 30 Jun 2004 08:50:31 +0000 (01:50 -0700)]
[PATCH] sparse: NULL vs 0 - arch/i386/*

22 years ago[AGPGART] Fix sparse NULL pointer warnings.
Dave Jones [Wed, 30 Jun 2004 00:29:58 +0000 (01:29 +0100)]
[AGPGART] Fix sparse NULL pointer warnings.

Signed-off-by: Dave Jones <davej@redhat.com>
22 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Tue, 29 Jun 2004 13:22:55 +0000 (06:22 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agosparse: get rid of more integer/pointer confusion
Linus Torvalds [Tue, 29 Jun 2004 13:22:07 +0000 (06:22 -0700)]
sparse: get rid of more integer/pointer confusion

Use NULL, not 0, where appropriate.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Tue, 29 Jun 2004 12:56:54 +0000 (05:56 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM] Miscellaneous fixes
Russell King [Tue, 29 Jun 2004 19:26:07 +0000 (20:26 +0100)]
[ARM] Miscellaneous fixes

- Remove 'arc' machine name from Makefile
- clk_set_rate() should return non-zero atm.
- proc-sa1100.S doesn't need asm/ptrace.h
- update mach-types
- kill line of spaces in clock.h

22 years ago[ARM] MMC mclk is no longer used, so remove it.
Russell King [Tue, 29 Jun 2004 19:06:12 +0000 (20:06 +0100)]
[ARM] MMC mclk is no longer used, so remove it.

22 years ago[ARM] Reliably update SIZEOF_MACHINE_DESC
Russell King [Tue, 29 Jun 2004 18:57:12 +0000 (19:57 +0100)]
[ARM] Reliably update SIZEOF_MACHINE_DESC

Generate SIZEOF_MACHINE_DESC using asm-offsets method rather than
relying on people updating the definition in asm/mach/arch.h

22 years ago[ARM] Move arch_adjust_zones to asm/memory.h
Russell King [Tue, 29 Jun 2004 17:48:23 +0000 (18:48 +0100)]
[ARM] Move arch_adjust_zones to asm/memory.h

This places arch_adjust_zones along side ISA_DMA_THRESHOLD.  These
two are related, but having them in separate files means its not
obvious that they are.

ISA_DMA_THRESHOLD is a DMA mask which must be defined such that it
matches the memory handed out by GFP_DMA, which in turn is controlled
by arch_adjust_zones.

22 years ago[ARM] Move ISA_DMA_THRESHOLD to asm/memory.h
Russell King [Tue, 29 Jun 2004 17:17:09 +0000 (18:17 +0100)]
[ARM] Move ISA_DMA_THRESHOLD to asm/memory.h

This allows machine classes to override ISA_DMA_THRESHOLD as
necessary.

22 years ago[ARM] arch/arm/Makefile cleanups
Russell King [Tue, 29 Jun 2004 16:21:15 +0000 (17:21 +0100)]
[ARM] arch/arm/Makefile cleanups

Clean up bzImage target, remove a couple of obsolete testing targets,
and add better bootpImage help text.

22 years ago[ARM] EBSA110 I/O and decompressor fixes.
Russell King [Tue, 29 Jun 2004 16:02:46 +0000 (17:02 +0100)]
[ARM] EBSA110 I/O and decompressor fixes.

This fixes the buggy decompressor assembly, and fixes PCMCIA IO
to use the correct byte lane when accessing certain PCMCIA cards.

22 years ago[ARM] Prevent static data in misc.o
Russell King [Tue, 29 Jun 2004 14:39:12 +0000 (15:39 +0100)]
[ARM] Prevent static data in misc.o

Static data causes GOTOFF relocations to be used, which won't work
because we want to relocate the .data section separately from the
.text section.  Therefore, force all data to be nonstatic.

22 years ago[ARM] Kernel boot decompressor updates
Russell King [Tue, 29 Jun 2004 13:33:49 +0000 (14:33 +0100)]
[ARM] Kernel boot decompressor updates

- use 'Image' target for kernel image to be compressed rather than
  duplicating its generation.
- use .incbin-based generation of ELF objects from binary data rather
  than 'ld'-based generation.

22 years ago[ARM] Convert bootp to use kbuild infrastructure.
Russell King [Tue, 29 Jun 2004 13:18:41 +0000 (14:18 +0100)]
[ARM] Convert bootp to use kbuild infrastructure.

22 years ago[ARM] Fix install/zinstall to work with separated source/build trees.
Russell King [Tue, 29 Jun 2004 13:05:41 +0000 (14:05 +0100)]
[ARM] Fix install/zinstall to work with separated source/build trees.

22 years ago[ARM] arch/arm/boot variable name consistency.
Russell King [Tue, 29 Jun 2004 12:54:28 +0000 (13:54 +0100)]
[ARM] arch/arm/boot variable name consistency.

For clarity and consistency, use the same name for makefile and
linker symbols.

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Tue, 29 Jun 2004 12:46:18 +0000 (05:46 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years ago[ARM] Move ZTEXTADDR/ZBSSADDR initialisation to compressed/Makefile
Russell King [Tue, 29 Jun 2004 12:38:54 +0000 (13:38 +0100)]
[ARM] Move ZTEXTADDR/ZBSSADDR initialisation to compressed/Makefile

Since this is where these two variables are used, it makes sense to
have them in that makefile.  Also, consolidate "targets"
initialisation, fixes a missing FORCE dependency for the uImage rule,
and remove more FTVPCI code.

22 years ago[PATCH] kill mm_struct.used_hugetlb
Oleg Nesterov [Tue, 29 Jun 2004 12:26:38 +0000 (05:26 -0700)]
[PATCH] kill mm_struct.used_hugetlb

mm_struct.used_hugetlb used to eliminate costly find_vma() from
follow_page().  Now it is used only in ia64 version of follow_huge_addr().
I know nothing about ia64, but this REGION_NUMBER() looks simple enough to
kill used_hugetlb.

There is debug version (commented out) of follow_huge_addr() in i386 which
looks at used_hugetlb, but it can work without this check.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] radeonfb: 16bpp copyarea() fix
David Eger [Tue, 29 Jun 2004 12:21:36 +0000 (05:21 -0700)]
[PATCH] radeonfb: 16bpp copyarea() fix

radeonfb: fix 16bpp copyarea() bug

It turns out the bug was due to my mis-copying a certain set of flags from
the x.org tree.

Signed-off-by: David Eger <eger@havoc.gtf.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix Alpha compilation
Peter Chubb [Tue, 29 Jun 2004 12:21:25 +0000 (05:21 -0700)]
[PATCH] Fix Alpha compilation

When using gcc 3.3.3 on alpha, the current BK head doesn't compile.

- there's an external declaration for abs() in the same scope as a macro
  definition in arch/alpha/time.c

- The compiler is picky about `const' declarations, which breaks on
  bitops.h.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix page->count discrepancy for zero page
Dave Hansen [Tue, 29 Jun 2004 12:21:13 +0000 (05:21 -0700)]
[PATCH] fix page->count discrepancy for zero page

While writing some analysis tools for memory hot-remove, we came across a
single page which had a ->count that always increased, without bound.  It
ended up always being the zero page, and it was caused by a leaked
reference in some do_wp_page() code that ends up avoiding PG_reserved
pages.

Basically what happens is that page_cache_release()/put_page() ignore
PG_reserved pages, while page_cache_get()/get_page() go ahead and take the
reference.  So, each time there's a COW fault on the zero-page, you get a
leaked page->count increment.

It's pretty rare to have a COW fault on anything that's PG_reserved, in
fact, I can't think of anything else that this applies to other than the
zero page.

In any case, it the bug doesn't cause any real problems, but it is a bit of
an annoyance and is obviously incorrect.  We've been running with this
patch for about 3 months now, and haven't run into any problems with it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Add <linux/compiler.h> to <linux/fd.h>
Tom Rini [Tue, 29 Jun 2004 12:21:02 +0000 (05:21 -0700)]
[PATCH] Add <linux/compiler.h> to <linux/fd.h>

<linux/fd.h> references __user which is defined in <linux/compiler.h>.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] small fixes to checkstack
Jörn Engel [Tue, 29 Jun 2004 12:20:51 +0000 (05:20 -0700)]
[PATCH] small fixes to checkstack

 - fix documentation
 - use $(src) in Makefile (fixes cross-compilation)

Both spottet by Geert Uytterhoeven

Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Add m68k support to checkstack
Jörn Engel [Tue, 29 Jun 2004 12:20:40 +0000 (05:20 -0700)]
[PATCH] Add m68k support to checkstack

Add m68k support to checkstack.pl

Regular expression combination by Andres Schwab

Signed-off-by: <geert@linux-m68k.org>
Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dma_get_required_mask()
James Bottomley [Tue, 29 Jun 2004 12:20:29 +0000 (05:20 -0700)]
[PATCH] dma_get_required_mask()

This patch implements dma_get_required_mask() which may be used by drivers
to probe the optimal DMA descriptor type they should be implementing on the
platform.

I've also tested it this time with the sym_2 driver...making it chose the
correct descriptors for the platform.  (although I don't have a 64 bit
platform with >4GB memory, so I only confirmed it selects the 32 bit
descriptors all the time...)

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Combined patch for remaining trivial sparse warnings in allnoconfig build
Mika Kukkonen [Tue, 29 Jun 2004 12:20:18 +0000 (05:20 -0700)]
[PATCH] Combined patch for remaining trivial sparse warnings in allnoconfig build

Well, one of these (fs/block_dev.c) is little non-trivial, but i felt
throwing that away would be a shame (and I did add comments ;-).

Also almost all of these have been submitted earlier through other
channels, but have not been picked up (the only controversial is again the
fs/block_dev.c patch, where Linus felt a better job would be done with
__ffs(), but I could not convince myself that is does the same thing as
original code).

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] EDD: store mbr_signature on first 16 int13 devices
Matt Domsch [Tue, 29 Jun 2004 12:20:06 +0000 (05:20 -0700)]
[PATCH] EDD: store mbr_signature on first 16 int13 devices

Currently, the x86/x86_64 real-mode kernel setup code reads and stores the
mbr_signature (4 bytes in the MBR at offset 440 decimal) for BIOS int13h
device 80h only.  This is useful, but not as useful as if we stored such
signatures for all int13h devices.  Think OS installer wanting to set up md
software RAID across several BIOS disks.

Patch below against 2.6.7 allows the storing of the mbr_signature for the
first 16 BIOS int13h devices, and exports them via
/sys/firmware/edd/int13_dev8x/mbr_signature as before.

This also merges the three EXPORT_SYMBOLs that setup.c exported for edd.c's
use into one.

Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] signed bug in drivers/video/console/fbcon.c con2fb_map[]
Olaf Hering [Tue, 29 Jun 2004 12:19:54 +0000 (05:19 -0700)]
[PATCH] signed bug in drivers/video/console/fbcon.c con2fb_map[]

drivers/video/console/fbcon.c:310: warning: comparison is always true due
to limited range of data type

char can be either signed or unsigned, depending on the target system.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cirrusfb: minor fixes
François Romieu [Tue, 29 Jun 2004 12:19:43 +0000 (05:19 -0700)]
[PATCH] cirrusfb: minor fixes

- fix unbalanced invocation of pci_enable_device();

- leaks plugged in cirrusfb_zorro_setup();

- move framebuffer_release() into cirrusfb_{pci/zorro}_unmap() to balance
  cirrusfb_{pci/zorro}_setup();

- make cirrusfb_{pci/zorro}_setup() return adequate error codes when
  something fails;

- cirrusfb_zorro_unmap: iounmap() now take as argument values previously
  returned by ioremap().

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David Eger <eger@havoc.gtf.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sh/sh64: MAINTAINERS update.
Paul Mundt [Tue, 29 Jun 2004 12:19:32 +0000 (05:19 -0700)]
[PATCH] sh/sh64: MAINTAINERS update.

This updates MAINTAINERS for sh/sh64 to match up with the 2.4 entries.

I've also removed NIIBE-san as an active sh maintainer, since he hasn't
been involved or submitted any code since 2002/06/26.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] kyrofb: Fix modedb usage when built as a module.
Paul Mundt [Tue, 29 Jun 2004 12:19:21 +0000 (05:19 -0700)]
[PATCH] kyrofb: Fix modedb usage when built as a module.

Since James confirmed that this doesn't need to be module specific, we get
rid of the #ifndef MODULE checks for both the modedb and the modedb lookup.

Additionally we also switch from memset_io() to fb_memset().

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sh64: Fix syscall table alignment
Paul Mundt [Tue, 29 Jun 2004 12:19:10 +0000 (05:19 -0700)]
[PATCH] sh64: Fix syscall table alignment

If the syscall table is in the text section, the movi that loads its
address into a register will at link time have its immediates resolved as
though it's an SHmedia symbol, i.e.  the LSB will be 1.  This is then
misaligned as a base address for loading the address to jump to.

This could be fixed either by moving the table back to the .data section
(as done here), or by masking off the LSB after loading the table address
into a register.

Signed-off-by: Richard Curnow <richard.curnow@superh.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sh64 support
Paul Mundt [Tue, 29 Jun 2004 12:18:58 +0000 (05:18 -0700)]
[PATCH] sh64 support

This patch adds sh64 support.

This is a bit overdue, as this was on the should-fix list, though we
weren't done debugging and finishing off the port until just recently (I
did a port against 2.5.68 but it wasn't in any shape to be merged).

sh64 is already in 2.4 and has been for quite awhile, so this is mostly
just a forward port of that code to 2.6 with appropriate bug fixes, etc.
along the way.  There isn't much in the way of new features that have been
added to the port yet, though I have added rough hugetlb and oprofile
support.

This patch doesn't really touch any common code, with the exception of an
ifdef or two for keyboard support and an ifdef in fb.h to omit sh64 from
the __raw_xxx() wrapping that sh does.

The only other common driver changes were to sh-sci for serial support, but
those bits were already merged with the latest batch of sh-sci updates.

Beyond that, the port is completely isolated.

Signed-off-by: Richard Curnow <richard.curnow@superh.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] hpet fixes
Robert Picco [Tue, 29 Jun 2004 12:18:44 +0000 (05:18 -0700)]
[PATCH] hpet fixes

Some hpet clean up and a fix to the RTC request_irq issue.

Signed-off-by: Bob Picco <Robert.Picco@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: viotape integration
Stephen Rothwell [Tue, 29 Jun 2004 12:18:33 +0000 (05:18 -0700)]
[PATCH] ppc64: viotape integration

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: viocd integration
Stephen Rothwell [Tue, 29 Jun 2004 12:18:22 +0000 (05:18 -0700)]
[PATCH] ppc64: viocd integration

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: viodasd integration
Stephen Rothwell [Tue, 29 Jun 2004 12:18:11 +0000 (05:18 -0700)]
[PATCH] ppc64: viodasd integration

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: iseries_veth integration
Stephen Rothwell [Tue, 29 Jun 2004 12:18:00 +0000 (05:18 -0700)]
[PATCH] ppc64: iseries_veth integration

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: vio infrastructure modifications
Stephen Rothwell [Tue, 29 Jun 2004 12:17:49 +0000 (05:17 -0700)]
[PATCH] ppc64: vio infrastructure modifications

The intention here is to have no effect on pSeries except:

1) vio_register_device is renamed to vio_register_device_node to better
   reflect is purpose and to allow me to introduce
   vio_register_device_iseries.

2) I have introduced the name and type fields in struct vio_dev to make
   these two fields independent of subarchitecture.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] PCDP console detection support fixes
Bjorn Helgaas [Tue, 29 Jun 2004 12:17:38 +0000 (05:17 -0700)]
[PATCH] PCDP console detection support fixes

Check for ioremap failure and use correct UPIO_{MEM,PORT} constants.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] CREDITS update
Luiz Capitulino [Tue, 29 Jun 2004 12:17:26 +0000 (05:17 -0700)]
[PATCH] CREDITS update

Luiz has ~40 patches to his name, go he gets a banana.

Signed-off-by: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fix to microcode driver for the old CPUs.
Tigran Aivazian [Tue, 29 Jun 2004 12:17:15 +0000 (05:17 -0700)]
[PATCH] fix to microcode driver for the old CPUs.

Here is a patch against Linux 2.6.7 which fixes the sigmatch() macro to
work for the relatively old processors as well, which have 'pf == 0'
(processor flags as read from MSR 0x17), For example, the processors
failing without this patch are Pentium II 300 MHz (Klamath) with
family/model/stepping 6/3/4 and 6/3/3.

The patch also contains minor cosmetic changes (to make source code more
uniform).

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] fbcon: fix display artifacts
Antonino Daplas [Tue, 29 Jun 2004 12:17:04 +0000 (05:17 -0700)]
[PATCH] fbcon: fix display artifacts

Fixed display artifacts present in the space reserved for the boot logo.
Use attributes of the background erase character instead of hardcoding the
color to zero.

Signed-off-by: Antonino A. Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] watchdog: indydog.c update
Wim Van Sebroeck [Tue, 29 Jun 2004 12:16:52 +0000 (05:16 -0700)]
[PATCH] watchdog: indydog.c update

<wim@iguana.be> (04/06/27 1.1770)
   [WATCHDOG] indydog.c-patch-20040627

   * Fix: since we use the new module_param's: make sure that
   linux/moduleparam.h stays included
   * in the release code we can just use indydog_stop();

The ChangeSets can also be looked at on:
http://linux-watchdog.bkbits.net:8080/linux-2.6-watchdog

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Provide console_suspend() and console_resume()
Russell King [Tue, 29 Jun 2004 12:16:41 +0000 (05:16 -0700)]
[PATCH] Provide console_suspend() and console_resume()

Add console_stop() and console_start() methods so the serial drivers
can disable console output before suspending a port, and re-enable output
afterwards.

We also add locking to ensure that we synchronise with any in-progress
printk.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Provide console_device()
Russell King [Tue, 29 Jun 2004 12:16:30 +0000 (05:16 -0700)]
[PATCH] Provide console_device()

[This patch series has also been separately sent to the architecture
 maintainers]

Add console_device() to return the console tty driver structure and the
index.  Acquire the console lock while scanning the list of console drivers
to protect us against console driver list manipulations.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Translate Japanese comments in arch/v850
Kalin Rumenov Kozhuharov [Tue, 29 Jun 2004 12:16:19 +0000 (05:16 -0700)]
[PATCH] Translate Japanese comments in arch/v850

Convert the Japanese comments in arch/v850.

I am not exactly 100% sure I translated it correctly since I have no idea
what exactly was that NEC v850 evaluation board, but should be OK (say 95%
sure).

Acked by Miles Bader <miles@lsi.nec.co.jp>

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] binfmt misc fd passing via ELF aux vector
Yoav Zach [Tue, 29 Jun 2004 12:16:08 +0000 (05:16 -0700)]
[PATCH] binfmt misc fd passing via ELF aux vector

The proposed patch uses the aux-vector to pass the fd of the open misc
binary to the interpreter, instead of using argv[1] for that purpose.

Previous patch - open_nonreadable_binaries, offered the option of
binfmt_misc opening the binary on behalf of the interpreter.  In case
binfmt_misc is requested to do that it would pass the file-descriptor of
the open binary to the interpreter as its second argument (argv[1]).  This
method of passing the file descriptor was suspected to be problematic,
since it changes the command line that users expect to see when using tools
such as 'ps' and 'top'.

The proposed patch changes the method of passing the fd of the open binary
to the translator.  Instead of passing it as an argument, binfmt_misc will
request the ELF loader to pass it as a new element in the aux-vector that
it prepares on the stack for ELF interpreter.  With this patch, argv[1]
will hold the full path to the binary regardless of whether it opened it or
not.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc64: fix deadlocks when oopsing while mmap_sem is held
Andy Whitcroft [Tue, 29 Jun 2004 12:15:56 +0000 (05:15 -0700)]
[PATCH] ppc64: fix deadlocks when oopsing while mmap_sem is held

If a fault in the kernel leads to an unexpected protection fault whilst in
a code path which holds mmap_sem we will deadlock in do_page_fault() while
trying to classify the fault.  By carefully testing the source of the fault
we can detect and OOPS on the vast majority of these, greatly enhancing
diagnosis of such bugs.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] x86_64 .init.setup alignment fix
Andrew Morton [Tue, 29 Jun 2004 12:15:45 +0000 (05:15 -0700)]
[PATCH] x86_64 .init.setup alignment fix

We're now putting 24-byte structures into .init.setup via __setup.  But
x86_64's compiler is emitting a `.align 16' in there, so they end up on
32-byte boundaries and do_early_param()'s pointer arithmetic goes wrong.

Fix that up by forcing the compiler to align these structures to sizeof(long).

Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Tue, 29 Jun 2004 12:06:07 +0000 (05:06 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux