]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] ppc64: rework PPC64 cpu map setup
Paul Mackerras [Tue, 31 Aug 2004 03:33:11 +0000 (20:33 -0700)]
[PATCH] ppc64: rework PPC64 cpu map setup

Move all cpu map initializations to one place (except for the online map --
cpus mark themselves online as they come up).  This sets up
cpu_possible_map early enough that we can use num_possible_cpus for
allocating irqstacks instead of NR_CPUS.  Hopefully this should also help
set the stage for kexec.

Signed-off-by: Nathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Update PPC MAINTAINERS & CREDITS
Paul Mackerras [Tue, 31 Aug 2004 03:32:58 +0000 (20:32 -0700)]
[PATCH] Update PPC MAINTAINERS & CREDITS

David Engebretsen has moved on to other things and is no longer maintaining
ppc64.  This patch adds an entry in CREDITS to note his contribution in
leading the team that did the PPC64 port originally and updates various
PPC-related MAINTAINERS entries.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix the unnecessary entropy call in the irq handler
Takashi Iwai [Tue, 31 Aug 2004 03:32:46 +0000 (20:32 -0700)]
[PATCH] Fix the unnecessary entropy call in the irq handler

Currently add_interrupt_randomness() is called at each interrupt when one
of the handlers has SA_SAMPLE_RANDOM flag, regardless whether the interrupt
is processed by that handler or not.  This results in the higher latency
and perfomance loss.

The patch fixes this behavior to avoid the unnecessary call by checking the
return value from each handler.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Jumper Probes to provide function arguments
Prasanna S. Panchamukhi [Tue, 31 Aug 2004 03:32:33 +0000 (20:32 -0700)]
[PATCH] Jumper Probes to provide function arguments

A special kprobe type which can be placed on function entry points, and
employs a simple mirroring principle to allow seamless access to the
arguments of a function being probed.  The probe handler routine should
have the same prototype as the function being probed.  Currently
implemented for x86.

The way it works is that when the probe is hit, the breakpoint handler
simply irets to the probe handler's eip while retaining register and stack
state corresponding to the function entry.  After it is done, the probe
handler calls jprobe_return() which traps again to restore processor state
and switch back to the probed function.  Linus noted correctly at KS that
we need to be careful as gcc assumes that the callee owns arguments.  We
save and restore enough stack bytes to cover argument space.

Sample Usage:
static int jip_queue_xmit(struct sk_buff *skb, int ipfragok)
{
... whatever ...
jprobe_return();
return 0;
}

struct jprobe jp = {
{.addr = (kprobe_opcode_t *) ip_queue_xmit},
.entry = (kprobe_opcode_t *) jip_queue_xmit
};
register_jprobe(&jp);

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] kprobes base patch
Prasanna S. Panchamukhi [Tue, 31 Aug 2004 03:32:21 +0000 (20:32 -0700)]
[PATCH] kprobes base patch

This patch helps developers to trap at almost any kernel code address,
specifying a handler routine to be invoked when the breakpoint is hit.

Useful for analysing the Linux kernel by collecting debugging information
non-disruptively.  Employs single-stepping out-of-line to avoid probe
misses on SMP and may be especially useful in aiding debugging elusive
races and problems on live systems.  More elaborate dynamic tracing tools
such as DProbes can be built over the kprobes interface.

Helps developers to trap at almost any kernel code address, specifying a
handler routine to be invoked when the breakpoint is hit.  Useful for
analysing the Linux kernel by collecting debugging information
non-disruptively.  Employs single-stepping out-of-line to avoid probe
misses on SMP and may be especially useful in aiding debugging elusive
races and problems on live systems.  More elaborate dynamic tracing tools
such as DProbes can be built over the kprobes interface.

Sample usage:
To place a probe on __blockdev_direct_IO:
static int probe_handler(struct kprobe *p, struct pt_regs *)
{
... whatever ...
}
struct kprobe kp = {
.addr = __blockdev_direct_IO,
.pre_handler = probe_handler
};
register_kprobe(&kp);

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] i386 exceptions notifier for kprobes
Prasanna S. Panchamukhi [Tue, 31 Aug 2004 03:32:08 +0000 (20:32 -0700)]
[PATCH] i386 exceptions notifier for kprobes

This patch provides notifiers for i386 architecture exceptions.  This patch
has been ported from x86_64 architecture as suggested by Andi Kleen.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix oops with nmi-watchdog=2
Philippe Elie [Tue, 31 Aug 2004 03:31:55 +0000 (20:31 -0700)]
[PATCH] Fix oops with nmi-watchdog=2

Contributions from  Zarakin <zarakin@hotpop.com>

Intel removed two msrs: MSR_P4_IQ_ESCR_0|1 (0x3ba/0x3bb), P4 model >= 3.  See
Intel documentation Vol.  3 System Programming Guide Appendix B.

nmi_watchdog=2 oopsed at boot time and oprofile at driver load.

Avoid touching them when model >= 3.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] platform update for ES7000
Jason Davis [Tue, 31 Aug 2004 03:31:43 +0000 (20:31 -0700)]
[PATCH] platform update for ES7000

This update only applies to Unisys' ES7000 server machines.  The patch adds
a OEM id check to verify the current machine running is actually a Unisys
type box before executing the Unisys OEM parser routine.  It also increases
the MAX_MP_BUSSES definition from 32 to 256.  On the ES7000s, bus ID
numbering can range from 0 to 255.  Without the patch, the system panics if
booted with acpi=off.

This patch has been tested and verified on an authentic ES7000 machine.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Make assign_irq_vector() non-__init
Bjorn Helgaas [Tue, 31 Aug 2004 03:31:31 +0000 (20:31 -0700)]
[PATCH] Make assign_irq_vector() non-__init

Make assign_irq_vector() non-__init always (it's called from
io_apic_set_pci_routing(), which is used in the pci_enable_device() path).

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] prio-tree: remove function prototype inside function
Anton Blanchard [Tue, 31 Aug 2004 03:31:19 +0000 (20:31 -0700)]
[PATCH] prio-tree: remove function prototype inside function

I had a problem when compiling a 2.6 kernel with gcc 3.5 CVS.  The
prototype for prio_tree_remove in mm/prio_tree.c is inside another
function.  gcc 3.5 gets upset and removes the function completely.
Apparently this isnt valid C, so lets fix it up.

Details can be found here:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17205

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Fix up Centaur CPU feature enabling.
Dave Jones [Mon, 30 Aug 2004 10:15:58 +0000 (03:15 -0700)]
[PATCH] Fix up Centaur CPU feature enabling.

Nehemiah wasn't having the CX8 bit enabled before.
In fixing it up, I rewrote the code to be a little clearer.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Alpha: generic dma mapping
Richard Henderson [Mon, 30 Aug 2004 10:14:53 +0000 (03:14 -0700)]
[PATCH] Alpha: generic dma mapping

From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>

 - big functions moved out of line;
 - handle dev == NULL case, which apparently means the isa device.

As before, this is needed for Jensen. This also makes the isa sound
drivers working again with recent kernels.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 30 Aug 2004 10:09:46 +0000 (03:09 -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] 2061/1: S3C2410 - Drive strength control for s3c2440
Ben Dooks [Tue, 31 Aug 2004 01:21:36 +0000 (02:21 +0100)]
[ARM PATCH] 2061/1: S3C2410 - Drive strength control for s3c2440

Patch from Ben Dooks

Register definitions, and support for modifying the
Drive Strength Control registers on the S3C2440

Signed-off-by: Ben Dooks
22 years ago[ARM PATCH] 2056/1: S3C2410 - check for IRQ pending in gettimeoffset()
Ben Dooks [Tue, 31 Aug 2004 01:16:46 +0000 (02:16 +0100)]
[ARM PATCH] 2056/1: S3C2410 - check for IRQ pending in gettimeoffset()

Patch from Ben Dooks

Ensure we check for IRQ pending for the gettimeoffset()
function

22 years ago[ARM PATCH] 2055/1: S3C2410 - add timer0 deadzone definition
Ben Dooks [Tue, 31 Aug 2004 01:11:38 +0000 (02:11 +0100)]
[ARM PATCH] 2055/1: S3C2410 - add timer0 deadzone definition

Patch from Ben Dooks

Add the definition of timer 0's dead-zone capability

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/tg3-2.6
David S. Miller [Mon, 30 Aug 2004 16:02:01 +0000 (09:02 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/tg3-2.6
into kernel.bkbits.net:/home/davem/tg3-2.6

22 years ago[TG3]: Update driver version and reldate.
David S. Miller [Mon, 30 Aug 2004 08:46:34 +0000 (01:46 -0700)]
[TG3]: Update driver version and reldate.

22 years ago[TG3]: Fix clock control programming on 5705/5750.
David S. Miller [Mon, 30 Aug 2004 08:46:01 +0000 (01:46 -0700)]
[TG3]: Fix clock control programming on 5705/5750.

Need to clear one bit at a time, so if we are
clearing both 625_CORE_CLOCK and ALTCLOCK
we first clear the latter then the final
write will clear the former.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[TG3]: Add capacitive coupling support.
David S. Miller [Mon, 30 Aug 2004 08:43:38 +0000 (01:43 -0700)]
[TG3]: Add capacitive coupling support.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[TG3]: Check MAC_STATUS_SIGNAL_DET in serdes polling.
Michael Chan [Mon, 30 Aug 2004 08:43:00 +0000 (01:43 -0700)]
[TG3]: Check MAC_STATUS_SIGNAL_DET in serdes polling.

Otherwise we do not handle properly the case
where the switch/hub does not support auto-
negotiation.  This is what was breaking 5704
hw fiber autoneg.

Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[TG3]: Add 5750 A3 workaround.
David S. Miller [Mon, 30 Aug 2004 08:42:09 +0000 (01:42 -0700)]
[TG3]: Add 5750 A3 workaround.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Mon, 30 Aug 2004 07:12:59 +0000 (00:12 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] libata: ata_piix.c PIO fix
Bartlomiej Zolnierkiewicz [Mon, 30 Aug 2004 10:43:27 +0000 (06:43 -0400)]
[PATCH] libata: ata_piix.c PIO fix

[patch] libata: ata_piix.c PIO fix

"[libata] transfer mode cleanup" introduced bug in ata_piix.c:
previously PIO number (not mode) was passed to piix_set_piomode().
Fortunately this function is only used for (disabled) PATA support.

I bet that this is the reason why MWDMA didn't work for PATA.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
22 years ago[PATCH] megaraid warning fix
Andrew Morton [Mon, 30 Aug 2004 03:17:55 +0000 (20:17 -0700)]
[PATCH] megaraid warning fix

The ioctl32 conversion registration stubs are in ioctl32.h now.

Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Sun, 29 Aug 2004 16:52:02 +0000 (09:52 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge http://oss.sgi.com:8090/xfs-linux-2.6
Linus Torvalds [Sun, 29 Aug 2004 16:49:23 +0000 (09:49 -0700)]
Merge http://oss.sgi.com:8090/xfs-linux-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Sun, 29 Aug 2004 14:11:07 +0000 (07:11 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years ago[CIFS] Fix incorrect byte count in unlock SMB
Steve French [Sun, 29 Aug 2004 18:08:58 +0000 (13:08 -0500)]
[CIFS] Fix incorrect byte count in unlock SMB

22 years agoUndo UML mis-merge of jiffies initialization.
Linus Torvalds [Sun, 29 Aug 2004 08:05:32 +0000 (01:05 -0700)]
Undo UML mis-merge of jiffies initialization.

Paolo Giarrusso points out that the UML merge incorrectly
caused INITIAL_JIFFIES to be reset back to zero, instead
of the debug value for getting an early jiffies wrap.

Fix it back up.

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Sun, 29 Aug 2004 05:27:49 +0000 (22:27 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years ago[PATCH] sata_nv: fix CK804 support
Andrew Chew [Sat, 28 Aug 2004 15:29:32 +0000 (11:29 -0400)]
[PATCH] sata_nv: fix CK804 support

This patch fixes a problem introduced when CK804 support was added.  mmio_base can only be set in the CK804 case,
else libata will attempt to iounmap mmio_base, which isn't iomapped for the non-CK804 case.  Still need the bar 5
address, so steal from host_set->ports[0]->ioaddr.scr_addr.  Jeff, let me know if this is a bad thing to do.

22 years ago[PATCH] ISDN Eicon driver: maint/trace fix and update
Armin Schindler [Sat, 28 Aug 2004 15:04:26 +0000 (08:04 -0700)]
[PATCH] ISDN Eicon driver: maint/trace fix and update

Fix of the debug/trace driver and removal of irq locks.

 - Only spinlocks[bh] are used now.
 - Removed obsolete direct debug /proc interface.
 - Update of internal trace features and its API.
 - Use common definition of MAX_DESCRIPTORS.

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Sat, 28 Aug 2004 15:02:58 +0000 (08:02 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] ibm_emac driver updates
Matt Porter [Sat, 28 Aug 2004 15:22:26 +0000 (11:22 -0400)]
[PATCH] ibm_emac driver updates

Optimizes transmit windows for improved performance and to prevent
TX underruns. Fixes driver registration error handling. Fixes ZMII
and RGMII thinkos. Fixes for MDIO handling issues from Ralph
Siemsen. Please apply.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
22 years ago[PATCH] Fix DMA boundary overflow bug
Jeremy Higdon [Sat, 28 Aug 2004 15:02:49 +0000 (11:02 -0400)]
[PATCH] Fix DMA boundary overflow bug

We seem to have found an overflow problem in libata-core.c.
We were trying to DMA to the address range 0xffff8000-0xffffbfff.

In the original version of the code, given that address and
count (0xffff8000 and 0x4000), the variable "boundary" would be
set to 0, causing len to be set to 0x8000 (which is greater than
sg_len).  Then at the bottom of the loop, sg_len would be set
to 0xffffc000 (0x4000 - 0x8000), which would then cause the
loop never to terminate (until much of memory was scribbled
over or the kernel died).

The code below should be functionally identical, but not be
subject to the same overflow problem (boundary needs to be a
u33).

Signed-off-by: jeremy@sgi.com
===== drivers/scsi/libata-core.c 1.94 vs edited =====

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Sat, 28 Aug 2004 14:59:03 +0000 (07:59 -0700)]
Merge http://jfs.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://linux-voyager.bkbits.net/dma-declare-coherent-memory-2.6
Linus Torvalds [Sat, 28 Aug 2004 14:56:42 +0000 (07:56 -0700)]
Merge bk://linux-voyager.bkbits.net/dma-declare-coherent-memory-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[netdrvr e1000] disable DITR, which apparently hurts performance
Thayne Harbaugh [Sat, 28 Aug 2004 14:55:46 +0000 (10:55 -0400)]
[netdrvr e1000] disable DITR, which apparently hurts performance

22 years ago[PATCH] Problem with SiS900 - Unknown PHY
Andrew Morton [Sat, 28 Aug 2004 14:50:25 +0000 (10:50 -0400)]
[PATCH] Problem with SiS900 - Unknown PHY

From: Laurent <laurent@gobio2.net>

Some time ago, I sent on this list a mail about my strange problem with my
SiS900 network card (Subject was Sluggish performances with FreeBSD)

To sum up, when my card is in 100Mb mode, I have poor throughput but in
10Mb, all seems normal.

After some tests, it seems these results was due to a misdetection of the
PHY device.  mii-tool reports :

 product info: vendor 08:00:17, model 3 rev 0

and after some search on the web, I found it's a NS DP83847 which is very
similar.

Signed-off-by: Andrew Morton <akpm@osdl.org>
22 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Sat, 28 Aug 2004 11:41:22 +0000 (06:41 -0500)]
Merge jfs@jfs.bkbits.net:linux-2.5
into austin.ibm.com:/shaggy/bk/jfs-2.5

22 years agoJFS: fix memory leak in __invalidate_metapages
Dave Kleikamp [Sat, 28 Aug 2004 10:12:54 +0000 (05:12 -0500)]
JFS: fix memory leak in __invalidate_metapages

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Sat, 28 Aug 2004 07:10:40 +0000 (00:10 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Dave Kleikamp [Sat, 28 Aug 2004 06:54:26 +0000 (23:54 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/j/jfs/linux-2.5

22 years agoMerge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
Linus Torvalds [Sat, 28 Aug 2004 04:46:08 +0000 (21:46 -0700)]
Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] ide: remove unused IDETAPE_DEBUG_LOG_VERBOSE code from ide-tape.c
Bartlomiej Zolnierkiewicz [Sat, 28 Aug 2004 04:21:14 +0000 (21:21 -0700)]
[PATCH] ide: remove unused IDETAPE_DEBUG_LOG_VERBOSE code from ide-tape.c

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: remove CONFIG_IDE_TASKFILE_IO code from pdc4030.c
Bartlomiej Zolnierkiewicz [Sat, 28 Aug 2004 04:21:02 +0000 (21:21 -0700)]
[PATCH] ide: remove CONFIG_IDE_TASKFILE_IO code from pdc4030.c

It seems that CONFIG_IDE_TASKFILE_IO code in pdc4030.c was never tested
(i.e. writes don't work et all because of bogus rq->cmd check).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: small drivers/ide/legacy/Makefile cleanup
Bartlomiej Zolnierkiewicz [Sat, 28 Aug 2004 04:20:50 +0000 (21:20 -0700)]
[PATCH] ide: small drivers/ide/legacy/Makefile cleanup

Let's kill the obsolete CONFIG_BLK_DEV_HD98 entry.

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: check the return value of pci_set_dma_mask() in cs5520.c
Bartlomiej Zolnierkiewicz [Sat, 28 Aug 2004 04:20:39 +0000 (21:20 -0700)]
[PATCH] ide: check the return value of pci_set_dma_mask() in cs5520.c

From: Arjan van de Ven <arjanv@redhat.com>

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: identify non decoded master/slave by serial and model
Bartlomiej Zolnierkiewicz [Sat, 28 Aug 2004 04:20:27 +0000 (21:20 -0700)]
[PATCH] ide: identify non decoded master/slave by serial and model

From: Alan Cox <alan@redhat.com>

Some interfaces (notably PCMCIA ones) don't decode the master/slave select so
you get two copies of a device appearing and bad things happening if a user
accidentally uses both.

This checks for the model/serial matching but also knows about non ATA drives
ide=noprobe and a Maxtor problem that was found in Andrew's testing of an
earlier patch. Although M00000.. drives should be RMA'd to Maxtor (and with
info on where they were obtained...) we don't want to break anyone who has
them.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: fix bad disk geometry hang
Bartlomiej Zolnierkiewicz [Sat, 28 Aug 2004 04:20:15 +0000 (21:20 -0700)]
[PATCH] ide: fix bad disk geometry hang

From: Alan Cox <alan@redhat.com>

If you get invalid geometry (eg a failed drive) the box hangs on boot because
we try and unregister the registered driver and end up in a locking mess.

We change the behaviour to simply leave the device unattached which avoids
the mess.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: quiten hwif spin up
Bartlomiej Zolnierkiewicz [Sat, 28 Aug 2004 04:20:03 +0000 (21:20 -0700)]
[PATCH] ide: quiten hwif spin up

From: Alan Cox <alan@redhat.com>

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: do hwif spin up for all platforms
Bartlomiej Zolnierkiewicz [Sat, 28 Aug 2004 04:19:52 +0000 (21:19 -0700)]
[PATCH] ide: do hwif spin up for all platforms

From: Alan Cox <alan@redhat.com>

This was put in for PPC specifically and defined in the 2.4 tree to be
paranoid about breaking stuff. The actual wait for hwif spin up is however
perfectly correct for all drives. In the normal PC case the PC BIOS has done
this but with other embedded boxes and with things like LinuxBIOS it may not
have done. Thus it should always be done.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ide: remove /proc/ide/hd?/settings:ide-scsi & HDIO_SET_IDE_SCSI ioctl
Bartlomiej Zolnierkiewicz [Sat, 28 Aug 2004 04:19:40 +0000 (21:19 -0700)]
[PATCH] ide: remove /proc/ide/hd?/settings:ide-scsi & HDIO_SET_IDE_SCSI ioctl

As noticed by Alan Cox:

"It doesn't work now so it clearly isnt being used 8). We hold the lock
because its a proc function and we then replace the proc functions in the
attach method -> deadlock. It is also incredibly hard to fix without a
major rewrite."

The same is true for HDIO_SET_IDE_SCSI ioctl.

Both were broken 18 months ago in 2.5.63 as a side-effect of locking fixes.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[XFS] Fix compiler warnings on IA64 builds in ioctl compat code.
Nathan Scott [Sat, 28 Aug 2004 03:26:27 +0000 (13:26 +1000)]
[XFS] Fix compiler warnings on IA64 builds in ioctl compat code.

SGI Modid: xfs-linux:xfs-kern:177850a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Fix O_SYNC flushing in XFS which regressed with concurrent
Christoph Hellwig [Sat, 28 Aug 2004 03:21:43 +0000 (13:21 +1000)]
[XFS] Fix O_SYNC flushing in XFS which regressed with concurrent
O_SYNC write improvements recently.

Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Rework parts of the write path so that when a direct write
Christoph Hellwig [Sat, 28 Aug 2004 03:18:20 +0000 (13:18 +1000)]
[XFS] Rework parts of the write path so that when a direct write
needs to fallback to buffered in the generic code, we are able to
relock the XFS inode correctly.

Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sat, 28 Aug 2004 03:07:57 +0000 (20:07 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoRemove QIC-02 tape from Kconfig.
Linus Torvalds [Sat, 28 Aug 2004 03:04:12 +0000 (20:04 -0700)]
Remove QIC-02 tape from Kconfig.

Let's leave the code for a while yet, and see if somebody screams.
But both Red Hat and SuSE claim it is unused, so it probably is. The
driver hasn't gotten updated in years, and google doesn't seem to
show any usage either.

22 years ago[XFS] Export sync_page_range to fix O_SYNC in XFS.
Christoph Hellwig [Sat, 28 Aug 2004 02:31:33 +0000 (12:31 +1000)]
[XFS] Export sync_page_range to fix O_SYNC in XFS.

Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sat, 28 Aug 2004 02:20:10 +0000 (19:20 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[XFS] Ensure maxagi not updated early during growfs, conflicts with
Nathan Scott [Sat, 28 Aug 2004 01:58:55 +0000 (11:58 +1000)]
[XFS] Ensure maxagi not updated early during growfs, conflicts with
concurrent inode allocations.  Fix from ASANO Masahiro.

SGI Modid: xfs-linux:xfs-kern:177699a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Fix warnings in xfs_bmap.c
Christoph Hellwig [Sat, 28 Aug 2004 01:55:37 +0000 (11:55 +1000)]
[XFS] Fix warnings in xfs_bmap.c

SGI Modid: xfs-linux:xfs-kern:177663a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Support for default quota limits via the zero dquot (ala grace times).
Nathan Scott [Sat, 28 Aug 2004 01:48:54 +0000 (11:48 +1000)]
[XFS] Support for default quota limits via the zero dquot (ala grace times).

SGI Modid: xfs-linux:xfs-kern:177627a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years ago[XFS] Change DMAPI dm_punch_hole to punch holes, rather than just
Dean Roehrich [Sat, 28 Aug 2004 01:45:09 +0000 (11:45 +1000)]
[XFS] Change DMAPI dm_punch_hole to punch holes, rather than just
truncate files.

SGI Modid: xfs-linux:xfs-kern:177585a
Signed-off-by: Nathan Scott <nathans@sgi.com>
22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Sat, 28 Aug 2004 01:19:36 +0000 (18:19 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years ago[PATCH] NULL noise removal in usb/gadget
Alexander Viro [Fri, 27 Aug 2004 13:59:29 +0000 (06:59 -0700)]
[PATCH] NULL noise removal in usb/gadget

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ifdef fixes
Alexander Viro [Fri, 27 Aug 2004 13:59:17 +0000 (06:59 -0700)]
[PATCH] ifdef fixes

smc91x.c: missing ifdef CONFIG_ISA around ISA-only code.
asm-arm/apm.h: ifdef CONFIG_APM breaks if APM is a module.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] misc alpha bits
Alexander Viro [Fri, 27 Aug 2004 13:59:05 +0000 (06:59 -0700)]
[PATCH] misc alpha bits

* long constant in a.out.h
* missing cast to pointer in pgtable.h
* removed useless __chk_user_ptr() in get_user() and put_user() - with fixed
  typeof handling in sparse we are getting the check from
  __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
  anyway, so __chk_user_ptr() is redundant there.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] checksum.h annotations
Alexander Viro [Fri, 27 Aug 2004 13:58:54 +0000 (06:58 -0700)]
[PATCH] checksum.h annotations

missing annotations in csum_partial_copy_from_user() on arm and ppc

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] misc sound/oss bits
Alexander Viro [Fri, 27 Aug 2004 13:58:42 +0000 (06:58 -0700)]
[PATCH] misc sound/oss bits

 - a couple of PCI drivers made dependent on CONFIG_PCI
 - signed char fix in wavfront.c

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoFix "insert_resource()" nesting bug
Linus Torvalds [Fri, 27 Aug 2004 12:29:11 +0000 (05:29 -0700)]
Fix "insert_resource()" nesting bug

It used to create totally impossible resource trees in some
circumstances where it was asked to insert a conflicting
resource. We never noticed, because it wasn't used that much.

Make it return the proper error instead.

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Fri, 27 Aug 2004 12:23:47 +0000 (05:23 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] arm Kconfig fixes
Alexander Viro [Fri, 27 Aug 2004 12:13:44 +0000 (05:13 -0700)]
[PATCH] arm Kconfig fixes

ARM dependency and makefile fixes (ACKed by rmk)

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] 64bit portability fixes (pointer-to-int stuff)
Alexander Viro [Fri, 27 Aug 2004 12:13:32 +0000 (05:13 -0700)]
[PATCH] 64bit portability fixes (pointer-to-int stuff)

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] 64bit cleanup in bt878 and btaudio
Alexander Viro [Fri, 27 Aug 2004 12:13:20 +0000 (05:13 -0700)]
[PATCH] 64bit cleanup in bt878 and btaudio

~0x0UL passed in u32 argument will do what the authors wanted, but it's
a hell of a silly way to spell ~0U on 32bit boxen and it generates warnings on
64bit boxen (we get correct value after truncation, but compiler doesn't
know that ;-)

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] wf_midi check_region() removal
Alexander Viro [Fri, 27 Aug 2004 12:13:07 +0000 (05:13 -0700)]
[PATCH] wf_midi check_region() removal

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mpu401 check_region() removal
Alexander Viro [Fri, 27 Aug 2004 12:12:55 +0000 (05:12 -0700)]
[PATCH] mpu401 check_region() removal

mpu401 ports are claimed by callers now
probe_mpu401() gets pointer to resulting struct resource
callers updated, a bunch of check_region() calls eliminated

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cmpci cleanup
Alexander Viro [Fri, 27 Aug 2004 12:12:44 +0000 (05:12 -0700)]
[PATCH] cmpci cleanup

cmpci probing partially cleaned up in preparation to mpu401 fixes

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] maui cleanup, fixes and check_region() removal
Alexander Viro [Fri, 27 Aug 2004 12:12:31 +0000 (05:12 -0700)]
[PATCH] maui cleanup, fixes and check_region() removal

probing cleaned up
leaks on failure exits fixed
ports handling mostly cleaned up (will be completed later, when we do mpu401)

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ad1848 check_region() removal
Alexander Viro [Fri, 27 Aug 2004 12:12:19 +0000 (05:12 -0700)]
[PATCH] ad1848 check_region() removal

* ports for ad1848 are now claimed by callers
* ad1848_detect() gets pointer to struct resource in question
* ad1848_init() gets the same pointer and consumes it
* ports for mss are now claimed by callers (both config and ad1848 ones)
* probe_ms_sound() gets pointer to ad1848 ports
* attach_ms_sound() gets the same pointer and consumes both regions.
* callers updated.  That had killed a *lot* of check_region() and closed
  corresponding races.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] opl3 cleanup and check_region() removal
Alexander Viro [Fri, 27 Aug 2004 12:12:07 +0000 (05:12 -0700)]
[PATCH] opl3 cleanup and check_region() removal

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sgalaxy cleanup and check_region() removal
Alexander Viro [Fri, 27 Aug 2004 12:11:55 +0000 (05:11 -0700)]
[PATCH] sgalaxy cleanup and check_region() removal

probing cleaned up, handling of ports mostly fixed.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] pss cleanup, fixes and check_region() removal
Alexander Viro [Fri, 27 Aug 2004 12:11:42 +0000 (05:11 -0700)]
[PATCH] pss cleanup, fixes and check_region() removal

probing cleaned up, handling of ports mostly fixed.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mad16 cleanup, fixes and check_region() removal
Alexander Viro [Fri, 27 Aug 2004 12:11:31 +0000 (05:11 -0700)]
[PATCH] mad16 cleanup, fixes and check_region() removal

* probing cleaned up
* register ports claimed
* handling of other ports mostly fixed (will be completed later in series)

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] trix cleanup and check_region() removal
Alexander Viro [Fri, 27 Aug 2004 12:11:19 +0000 (05:11 -0700)]
[PATCH] trix cleanup and check_region() removal

probing cleaned up, claiming of ports mostly fixed (will be finished in
ad1848 patch later in series)

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sscape cleanup, fixes and check_region() removal
Alexander Viro [Fri, 27 Aug 2004 12:11:07 +0000 (05:11 -0700)]
[PATCH] sscape cleanup, fixes and check_region() removal

* general cleanup of probing code
* claim codec ports
* sizeof(char *) had been used instead of intended sizeof(char[4]); it even
  worked on x86...

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] soundblaster check_region() removal
Alexander Viro [Fri, 27 Aug 2004 12:10:54 +0000 (05:10 -0700)]
[PATCH] soundblaster check_region() removal

moved request_region() to callers of sb_dsp_...()

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] casts are not lvalues
Alexander Viro [Fri, 27 Aug 2004 12:10:42 +0000 (05:10 -0700)]
[PATCH] casts are not lvalues

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoAdd some missing NULL->0 and __user annotiations
Dave Airlie [Sat, 28 Aug 2004 20:05:33 +0000 (06:05 +1000)]
Add some missing NULL->0 and __user annotiations

Signed-off-by: Dave Airlie <airlied@linux.ie>
22 years ago[CREDITS]: Update my entry.
David S. Miller [Fri, 27 Aug 2004 11:55:48 +0000 (04:55 -0700)]
[CREDITS]: Update my entry.

22 years ago[SPARC64]: Update defconfig.
David S. Miller [Fri, 27 Aug 2004 11:48:38 +0000 (04:48 -0700)]
[SPARC64]: Update defconfig.

22 years ago[AMD7930]: Fix kcalloc() args.
David S. Miller [Fri, 27 Aug 2004 11:33:58 +0000 (04:33 -0700)]
[AMD7930]: Fix kcalloc() args.

22 years ago[NETLINK]: Remove duplicate declarations
Patrick McHardy [Fri, 27 Aug 2004 10:13:59 +0000 (03:13 -0700)]
[NETLINK]: Remove duplicate declarations

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years ago[NETLINK]: Improve behavior.
Pablo Neira [Fri, 27 Aug 2004 10:11:21 +0000 (03:11 -0700)]
[NETLINK]: Improve behavior.

Move sk->sk_data_ready() callback to a workqueue
when possible.  Makes app less likely to stall in
sendmsg().

Signed-off-by: Pablo Neira <pablo@eurodev.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Fri, 27 Aug 2004 10:09:08 +0000 (03:09 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Fri, 27 Aug 2004 10:08:47 +0000 (03:08 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years agoMerge bk://bk.skbuff.net:20609/linux-2.6-xfrm/
David S. Miller [Fri, 27 Aug 2004 09:46:45 +0000 (02:46 -0700)]
Merge bk://bk.skbuff.net:20609/linux-2.6-xfrm/
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[IPV6] XFRM: extract xfrm_lookup() from ip6_dst_lookup() to support source routing...
Kazunori Miyazawa [Sat, 28 Aug 2004 10:35:09 +0000 (19:35 +0900)]
[IPV6] XFRM: extract xfrm_lookup() from ip6_dst_lookup() to support source routing appropriately.

This patch extracts xfrm_lookup() from ip6_dst_lookup()
to support source routing appropriately.

This is because xfrm_lookup() should be performed with the final
destination while ip6_dst_lookup() is called with the next-hop.

Signed-off-by: Kazunori Miyazawa <kazunori@miyazawa.org>
Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
22 years ago[NETFILTER]: Remove unused file.
Hideaki Yoshifuji [Fri, 27 Aug 2004 09:43:45 +0000 (02:43 -0700)]
[NETFILTER]: Remove unused file.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>'