]> git.hungrycats.org Git - linux/log
linux
21 years agoLinux 2.6.4 v2.6.4
Linus Torvalds [Wed, 10 Mar 2004 10:52:41 +0000 (02:52 -0800)]
Linux 2.6.4

21 years ago[PATCH] Fix lockup accessing config space on G5
Benjamin Herrenschmidt [Wed, 10 Mar 2004 10:07:03 +0000 (02:07 -0800)]
[PATCH] Fix lockup accessing config space on G5

This patch fixes the code that workaround lockups when accessing
the config space of devices on K2 when they are shut down. The
code was there but in the wrong place ;) And a typo prevented the
ohci1394 version of it from working.

21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Wed, 10 Mar 2004 09:57:59 +0000 (01:57 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] pcnet32.c oops
Don Fry [Wed, 10 Mar 2004 15:32:25 +0000 (10:32 -0500)]
[PATCH] pcnet32.c oops

When adding an additional device, a variable which has been removed
is accessed.  Adding the first device or a 4-port card works.
Adding a second device was not done in PCI hot plug testing.  Now
tested on IA32.

21 years agoMake bad_page() print out the page address.
Linus Torvalds [Wed, 10 Mar 2004 09:11:46 +0000 (01:11 -0800)]
Make bad_page() print out the page address.

The bug turned out to be memory corruption by DMA, and
the corrupted address made it that much more obvious.

21 years ago[PATCH] Proper OHCI unlink fix.
David Brownell [Wed, 10 Mar 2004 08:42:49 +0000 (00:42 -0800)]
[PATCH] Proper OHCI unlink fix.

Getting some blood sugar made the real fix for that become
obvious! This replaces the preceding TEMPORARY hack.

Only unlink EDs that aren't already being unlinked!

Duh.

21 years ago[PATCH] USB: fix OHCI list corruption
David Brownell [Wed, 10 Mar 2004 07:31:03 +0000 (23:31 -0800)]
[PATCH] USB: fix OHCI list corruption

Fix some OHCI TD list corruption issues:

    - Don't rewrite HC registers holding ED pointers until the HC
      had a good chance to finish using them.

    - Don't ever modify ed->hwTailP

Adds text describing the different ED states.

Adds TEMPORARY hack that may make a "rm_list becomes circular" bug
continuable.

21 years agoRevert 8259 timer ack workaround
Linus Torvalds [Wed, 10 Mar 2004 07:12:33 +0000 (23:12 -0800)]
Revert 8259 timer ack workaround

This patch was trying to work around buggy SMM bios but causes problems
by not deasserting NMI irq line (reported by Thomas Schlicht) for some
integrated local apic.

This patch was written originally as an optimization (with the side
effect to fix those bugged bios) but was never applied to 2.4 tree.

The rational was: fix your bios instead.

Cset exclude: akpm@osdl.org|ChangeSet|20040219045328|16041

21 years ago[PATCH] tty oops fix
Andrew Morton [Wed, 10 Mar 2004 02:15:22 +0000 (18:15 -0800)]
[PATCH] tty oops fix

From: William Lee Irwin III <wli@holomorphy.com>

Remember to invalidate the task->tty of threads, otherwise prod_pid_stat()
later stumbles over the dangling pointers and crashes.

21 years agoMake bad_page() print out information about who triggered it.
Linus Torvalds [Wed, 10 Mar 2004 01:32:40 +0000 (17:32 -0800)]
Make bad_page() print out information about who triggered it.

The condition still seems to happen on ppc64.

21 years agoRemove 'const' from min/max, to avoid gcc warning about double usage.
Linus Torvalds [Wed, 10 Mar 2004 00:45:53 +0000 (16:45 -0800)]
Remove 'const' from min/max, to avoid gcc warning about double usage.

21 years ago[PATCH] ncpfs fails to correctly retry requests on timeout
Petr Vandrovec [Tue, 9 Mar 2004 23:58:42 +0000 (15:58 -0800)]
[PATCH] ncpfs fails to correctly retry requests on timeout

sock_sendmsg() modifies iovec passed to it - it sets all length members of
iovec array to zero on success transmission (and even on failed if it
fails after iovec copy, but...) and advances pointers to point at the end
of buffers used. This has an unfortunate effect that ncpfs's retry on
failure does not work for IPX/UDP connections - kernel refused to do anything
because length from iovec was 0 while length passed to sock_sendmsg() was
correct.

This simple fix gets rid of a problem by creating temporary iovec copy, which can
sock_sendmsg destroy if it has such wish.

21 years ago[PATCH] bttv input update
Gerd Knorr [Tue, 9 Mar 2004 23:58:32 +0000 (15:58 -0800)]
[PATCH] bttv input update

This adds infrared remote support for a few more bt878-based TV cards.

21 years ago[PATCH] set request fastfail bit correctly
Jens Axboe [Tue, 9 Mar 2004 23:58:22 +0000 (15:58 -0800)]
[PATCH] set request fastfail bit correctly

From Mike Christie <michaelc@cs.wisc.edu>

The first three bio and request flags are no longer identical.  The bio
barrier and rw flags are getting set in __make_request and get_request
respectively, and failfast is getting left out.

This sets the request's failfast flag in __make_request when the bio's
flag is set.

21 years ago[PATCH] ppc64 POWER3 segment table fix
Anton Blanchard [Tue, 9 Mar 2004 23:58:13 +0000 (15:58 -0800)]
[PATCH] ppc64 POWER3 segment table fix

The ppc64 fix last week (enforcing permissions on the kernel when
accessing userspace pages) uncovered a bug on POWER3/RS64. We werent
zeroing the segment table entry before overwriting it and it was possible
for the ks bit to be set on a kernel segment.

The VSID mask was also changed to match reality (we only use 13 bits).

21 years agoMerge bk://are.twiddle.net/axp-2.6
Linus Torvalds [Tue, 9 Mar 2004 23:44:05 +0000 (15:44 -0800)]
Merge bk://are.twiddle.net/axp-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years ago[ALPHA] Add stat64 syscalls.
Richard Henderson [Tue, 9 Mar 2004 13:05:04 +0000 (05:05 -0800)]
[ALPHA] Add stat64 syscalls.

21 years ago[PATCH] ppc64: Let OF initialize all displays in the system
Benjamin Herrenschmidt [Tue, 9 Mar 2004 12:14:48 +0000 (04:14 -0800)]
[PATCH] ppc64: Let OF initialize all displays in the system

This patch reworks the early boot calls to OF to initialize displays.

All present displays are now initialized in reverse order so the
OF console stays on the first one. Initializing them all is necessary
for dual head configurations as we need OF driver to properly setup
the secondary TMDS of the video card, XFree isn't able to do that
currently

21 years ago[PATCH] ppc64: Fix occasional crash at boot in OF interface
Benjamin Herrenschmidt [Tue, 9 Mar 2004 12:14:38 +0000 (04:14 -0800)]
[PATCH] ppc64: Fix occasional crash at boot in OF interface

The assembly code used to callback into Open Firmware client
interface in 32 bits mode used to backup the stack pointer in
the SPRG2 register.

That upsets Apple's implementation of Open Firmware significantly
and maybe others, causing them to crash in _some_ operations,
apparently the trigger is to cause a segment or hash table
fault, typically happens when letting that code initialize the
second display.

This patch fixes it, along with other cleanups of that asm code,
it did unnecessary register restores and backing up the stack
pointer is actually useless anyway.

21 years ago[PATCH] Fix PCI<->OF matching on G5 AGP bus
Benjamin Herrenschmidt [Tue, 9 Mar 2004 10:55:34 +0000 (02:55 -0800)]
[PATCH] Fix PCI<->OF matching on G5 AGP bus

Strangely, I though I fixed that a long time ago, but it was still
broken in the current tree...

Drivers like radeonfb fail to find the OF device matching a given PCI
device on the G5 AGP bus because of some bus renumbering tricks.  This
patch fixes the problem by fixing the bus numbers in the OF node.  This
corrects radeonfb and other drivers looking for EDID / PLL datas in the
OF node.

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Tue, 9 Mar 2004 09:03:55 +0000 (01:03 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years agoMake sure to include syscalls.h to get proper prototypes.
Linus Torvalds [Tue, 9 Mar 2004 09:03:28 +0000 (01:03 -0800)]
Make sure to include syscalls.h to get proper prototypes.

Especially with REGPARM these things actually matter.

21 years agoLinux 2.6.4-rc3 v2.6.4-rc3
Linus Torvalds [Tue, 9 Mar 2004 07:55:49 +0000 (23:55 -0800)]
Linux 2.6.4-rc3

21 years ago[PATCH] pmac_zilog 2/2 : Fix various bugs
Benjamin Herrenschmidt [Tue, 9 Mar 2004 07:47:33 +0000 (23:47 -0800)]
[PATCH] pmac_zilog 2/2 : Fix various bugs

This fixes possible lockups in pmac_zilog when beeing flooded with
incoming data (not that other serial drivers share the same race, I told
Russel about it already).  It also fixes some SCC initialization
problems, add some PM callback, and fix the irda setup code.

21 years ago[PATCH] pmac_zillog 1/2 : Cosmetic only, change "up" to "uap" to avoid collision
Benjamin Herrenschmidt [Tue, 9 Mar 2004 07:47:23 +0000 (23:47 -0800)]
[PATCH] pmac_zillog 1/2 : Cosmetic only, change "up" to "uap" to avoid collision

This does cosmetic changes the pmac_zilog, changing the use of "up" as
an identifier in favor "uap" to avoid collision with semaphores, use
proper debug macros, and a few other cosmetic bits.

21 years ago[PATCH] Print function names during do_initcall debugging
Andrew Morton [Tue, 9 Mar 2004 07:47:12 +0000 (23:47 -0800)]
[PATCH] Print function names during do_initcall debugging

From Jan-Benedict Glaw <jbglaw@lug-owl.de>

21 years ago[IPV6]: Do not report {multi,any}cast in inet6_dump_ifaddr().
Olaf Kirch [Tue, 9 Mar 2004 07:26:52 +0000 (23:26 -0800)]
[IPV6]: Do not report {multi,any}cast in inet6_dump_ifaddr().

21 years ago[IPV4/IPV6]: Add missing kmalloc failure checks.
Krishna Kumar [Tue, 9 Mar 2004 07:24:55 +0000 (23:24 -0800)]
[IPV4/IPV6]: Add missing kmalloc failure checks.

21 years ago[IRDA]: Move last of irsyms.c to irmod.c
Jean Tourrilhes [Tue, 9 Mar 2004 05:40:15 +0000 (21:40 -0800)]
[IRDA]: Move last of irsyms.c to irmod.c

Original patch from Stephen Hemminger

Move last bits of code out of irsyms and onto irmod.c where
initialization happens.

Move irda_debug parameter out of irsyms.c into irmod.c
and make it a new style module parameter.

21 years ago[IRDA]: Move irda_param related exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:37:29 +0000 (21:37 -0800)]
[IRDA]: Move irda_param related exports out of irsyms.

21 years ago[IRDA]: Move qos related exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:36:57 +0000 (21:36 -0800)]
[IRDA]: Move qos related exports out of irsyms.

21 years ago[IRDA]: Make irda_get_mtt et al. inline and not defines for better type checking.
Stephen Hemminger [Tue, 9 Mar 2004 05:36:28 +0000 (21:36 -0800)]
[IRDA]: Make irda_get_mtt et al. inline and not defines for better type checking.

irda_device_setup can now be static, only called from alloc_irdadev.

21 years ago[IRDA]: More irlap exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:35:32 +0000 (21:35 -0800)]
[IRDA]: More irlap exports out of irsyms.

21 years ago[IRDA]: Make irda_start_timer inline rather than exporting.
Stephen Hemminger [Tue, 9 Mar 2004 05:35:04 +0000 (21:35 -0800)]
[IRDA]: Make irda_start_timer inline rather than exporting.

21 years ago[IRDA]: Move crc16 exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:34:28 +0000 (21:34 -0800)]
[IRDA]: Move crc16 exports out of irsyms.

Also, make type __u16 rather than unsigned short to
match input parameter.

21 years ago[IRDA]: Move async_wrap function exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:33:26 +0000 (21:33 -0800)]
[IRDA]: Move async_wrap function exports out of irsyms.

21 years ago[IRDA]: Move irlmp routines out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:32:46 +0000 (21:32 -0800)]
[IRDA]: Move irlmp routines out of irsyms.

Also, make get_{saddr,daddr} inline and rename
lmp_reasons to irlmp_reasons.

21 years ago[IRDA]: Move iriap routines out of irsyms, rename missing to irias_missing.
Stephen Hemminger [Tue, 9 Mar 2004 05:32:00 +0000 (21:32 -0800)]
[IRDA]: Move iriap routines out of irsyms, rename missing to irias_missing.

21 years ago[IRDA]: Move irttp exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:31:15 +0000 (21:31 -0800)]
[IRDA]: Move irttp exports out of irsyms.

21 years ago[IRDA]: Move hashbin exports out of irsyms and into irqueue.
Stephen Hemminger [Tue, 9 Mar 2004 05:30:46 +0000 (21:30 -0800)]
[IRDA]: Move hashbin exports out of irsyms and into irqueue.

21 years ago[IRDA]: Flush irtty symbols that were exported but never used.
Jean Tourrilhes [Tue, 9 Mar 2004 05:30:09 +0000 (21:30 -0800)]
[IRDA]: Flush irtty symbols that were exported but never used.

21 years ago[IRDA]: Move proc_irda export out of irsyms.c into irproc.c
Stephen Hemminger [Tue, 9 Mar 2004 05:25:54 +0000 (21:25 -0800)]
[IRDA]: Move proc_irda export out of irsyms.c into irproc.c

21 years ago[PATCH] R128 DRI limits checking.
Dave Jones [Tue, 9 Mar 2004 01:09:21 +0000 (17:09 -0800)]
[PATCH] R128 DRI limits checking.

This got fixed in 2.4, but somehow got missed in 2.6.

21 years agoMerge.
Richard Henderson [Mon, 8 Mar 2004 16:23:58 +0000 (08:23 -0800)]
Merge.

21 years ago[PATCH] Clean up hotplug slab some more
Rusty Russell [Mon, 8 Mar 2004 14:49:26 +0000 (06:49 -0800)]
[PATCH] Clean up hotplug slab some more

This is a cleaner fix for the previous bogon fix.

21 years agoFix bogon in slab hotplug cleanup from Rusty.
Linus Torvalds [Mon, 8 Mar 2004 14:20:06 +0000 (06:20 -0800)]
Fix bogon in slab hotplug cleanup from Rusty.

21 years ago[PATCH] minor slab cleanups for hotplug CPUs
Rusty Russell [Mon, 8 Mar 2004 14:06:22 +0000 (06:06 -0800)]
[PATCH] minor slab cleanups for hotplug CPUs

- Move free_block prototype, and ac_entry and ac_data functions up in file.

- Use list_for_each_entry in cpuup_callback.

- Remove unneccessary g_cpucache_up in cpuup_callback.

- Make reap_timer_func take CPU number as data, and check if that is
  offline before rescheduing (noop without CONFIG_HOTPLUG_CPU).

21 years ago[PATCH] remove sparc64's num_possible_cpus()
Rusty Russell [Mon, 8 Mar 2004 14:06:12 +0000 (06:06 -0800)]
[PATCH] remove sparc64's num_possible_cpus()

Levent Serinol <levent.serinol@mynet.com> found that the hotplug cpu
patch broke Sparc64.  I introduced a num_possible_cpus(), which
Sparc64 already has.  Remove the Sparc64 one.

I also removed Sparc64's cpu_online() macro: it's in linux/cpumask.h
already.

21 years ago[PATCH] minor cleanups for hotplug CPUs
Rusty Russell [Mon, 8 Mar 2004 14:06:03 +0000 (06:06 -0800)]
[PATCH] minor cleanups for hotplug CPUs

Note that without CONFIG_HOTPLUG_CPU, online cpus == possible cpus, so
substitutions are a noop.

- Changes show_stat to print out stats for every possible cpu, not
  just online CPUs.

- Allocate mem in stat_open on possible, not online_cpus.

- Add conventient macros to cpu.h: especially cpu_is_offline() for
  testing if a cpu is still online.

- Add a num_possible_cpus() similar to num_online_cpus(), and define
  cpu_possible_mask for UP.

- Allow printk on down cpus once system is running.

- Mask cpumask with possible, not online cpus, for sys_getaffinity().

21 years ago[PATCH] introduce __drain_pages() to take a CPU number
Rusty Russell [Mon, 8 Mar 2004 14:05:53 +0000 (06:05 -0800)]
[PATCH] introduce __drain_pages() to take a CPU number

Extracts core of drain_pages() for hotcpu use.  Trivial.

Hotplug CPU needs to drain pages on a downed CPU (usually it's the
current cpu).  Introduce "__drain_pages", make the CPU an argument,
and expose it if CONFIG_HOTPLUG_CPU as well as CONFIG_PM.

21 years agoMerge bk://kernel.bkbits.net/jgarzik/via-crypto-2.5
Linus Torvalds [Mon, 8 Mar 2004 13:26:26 +0000 (05:26 -0800)]
Merge bk://kernel.bkbits.net/jgarzik/via-crypto-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge redhat.com:/spare/repo/linux-2.5
Jeff Garzik [Mon, 8 Mar 2004 18:52:07 +0000 (13:52 -0500)]
Merge redhat.com:/spare/repo/linux-2.5
into redhat.com:/spare/repo/via-crypto-2.5

21 years agoMerge bk://gkernel.bkbits.net/libata-2.5
Linus Torvalds [Mon, 8 Mar 2004 13:25:45 +0000 (05:25 -0800)]
Merge bk://gkernel.bkbits.net/libata-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years ago[libata sata_promise] provide proper SCSI completion function
Jeff Garzik [Mon, 8 Mar 2004 17:33:25 +0000 (12:33 -0500)]
[libata sata_promise] provide proper SCSI completion function

Promise driver uses a custom error handling function, so we need
the fix that was applied to the libata core:  the SCSI error
handling thread requires that we complete commands using a special
completion function, since the normal one doesn't work inside
the error handling thread.

21 years ago[libata ata_piix] Make sure annoying BIOSen don't disable our interrupts
Jeff Garzik [Mon, 8 Mar 2004 17:23:20 +0000 (12:23 -0500)]
[libata ata_piix] Make sure annoying BIOSen don't disable our interrupts

21 years ago[libata] Include linux/suspend.h
Jeff Garzik [Mon, 8 Mar 2004 17:06:54 +0000 (12:06 -0500)]
[libata] Include linux/suspend.h

21 years ago[PATCH] sata vs suspend-to-ram
Arjan van de Ven [Mon, 8 Mar 2004 16:56:57 +0000 (11:56 -0500)]
[PATCH] sata vs suspend-to-ram

The following patch is a very crude one to at least not make sata block
suspend-to-ram entirely. Probably you want more powermanagement handling as
well... but it's a start

21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Mon, 8 Mar 2004 13:25:02 +0000 (05:25 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] pcnet32 transmit hang fix
Don Fry [Mon, 8 Mar 2004 16:23:53 +0000 (11:23 -0500)]
[PATCH] pcnet32 transmit hang fix

The pcnet32 driver will hang after a few frames (<30) with the 79C971
(and probably the 79C972 though I don't have the hardware to prove it).
By interrupting slightly more frequently the hang will not occur.

21 years ago[PATCH] Fix hp100 EISA probing
Marc Zyngier [Mon, 8 Mar 2004 16:23:45 +0000 (11:23 -0500)]
[PATCH] Fix hp100 EISA probing

>>>>> "Pawel" == Pawel Sokolowski <falcon@muflon.linux.pl> writes:

Pawel> This machine has RAM BIOS booted from floppy. I ran it and EISA
Pawel> configure utility to check this once more. Card is enabled and not
Pawel> locked. I added eisa_bus.enable_dev=2 parameter but it didn't help much.
Pawel> I'm getting:

Pawel> EISA: Probing bus 0 at eisa0
Pawel> EISA: Mainboard HWPC061 detected.
Pawel> EISA: slot 2 : HWP1940 detected (forced enabled).
Pawel> EISA: Detected 1 card.

Pawel> I added this final entry you mailed but nothing changed. Still - module
Pawel> loads and unloads cleanly and without any warnings on 2.6.4-rc1. But
Pawel> does nothing - not a single line in logs/dmesg after it's loaded. Card
Pawel> does not work after modprobe, I can't get interface up.

Ok, found it.

It really looks like the new EISA probing code in hp100 never got
tested, since a precious offset has disappeared during the rewriting
process.

Please note that you still need to enable the device by hand, since
your BIOS (or maybe the EISA CFG file, since I'm seeing the exact same
problem on a Compaq machine here) doesn't properly enable the card.

Here is what I'm getting on my test system :

EISA: Probing bus 0 at 0000:00:0f.0
EISA: Mainboard CPQ0541 detected.
EISA: slot 1 : DEC4250 detected.
EISA: slot 2 : UNB0048 detected.
EISA: slot 3 : HWP1940 detected (forced enabled).
hp100: Using (slow) programmed i/o mode.
hp100: at 0x3c38, IRQ 3, EISA bus, 128k SRAM (rx/tx 75%).
hp100: Adapter is attached to 10Mb/s network (10baseT).
EISA: slot 4 : NVL0701 detected.

21 years ago[PATCH] make module code use stop_machine.c
Rusty Russell [Mon, 8 Mar 2004 09:12:54 +0000 (01:12 -0800)]
[PATCH] make module code use stop_machine.c

Now we've moved the bogolock code out to stop_machine.c and
generalized it a little, use it in module.c and delete the duplicate
code there.

21 years ago[PATCH] stop_machine_run: Move Bogolock Code Out of module.c
Rusty Russell [Mon, 8 Mar 2004 09:12:45 +0000 (01:12 -0800)]
[PATCH] stop_machine_run: Move Bogolock Code Out of module.c

The "bogolock" code was introduced in module.c, as a way of freezing
the machine when we wanted to remove a module.  This patch moves it
out to stop_machine.c and stop_machine.h.

Since the code changes affinity and proirity, it's impolite to hijack
the current context, so we use a kthread.  This means we have to pass
the function rather than implement "stop_machine()" and
"restart_machine()".

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Mon, 8 Mar 2004 08:07:55 +0000 (00:07 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Mon, 8 Mar 2004 07:49:20 +0000 (23:49 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Mon, 8 Mar 2004 07:41:45 +0000 (23:41 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

21 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Mon, 8 Mar 2004 07:29:40 +0000 (23:29 -0800)]
Merge http://jfs.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Mon, 8 Mar 2004 10:54:41 +0000 (04:54 -0600)]
Merge jfs@jfs.bkbits.net:linux-2.5
into austin.ibm.com:/shaggy/bk/jfs-2.5

21 years agoJFS: Add lots of missing statics and remove dead code
Dave Kleikamp [Mon, 8 Mar 2004 09:55:54 +0000 (03:55 -0600)]
JFS: Add lots of missing statics and remove dead code

Submitted by Christoph Hellwig

21 years agoJFS: Avoid incrementing i_count on file create
Dave Kleikamp [Mon, 8 Mar 2004 08:40:34 +0000 (02:40 -0600)]
JFS: Avoid incrementing i_count on file create

Committing a transaction creating a file required insuring that the
inode stayed in cache until the journal was written to.  i_count was
being incremented until the transaction was complete.

However, incrementing i_count caused fcntl(S_SETLEASE) to fail.  I
reworked the transaction code so that the inode does not have to
stay in-memory while the transaction is being committed.

Thanks to Steve French for figuring out why setlease was failing.

21 years agoJFS: warn users of inaccessible file names
Dave Kleikamp [Mon, 8 Mar 2004 07:24:03 +0000 (01:24 -0600)]
JFS: warn users of inaccessible file names

When no iocharset is specified, the default action is to trivially
map each byte into the low order of the 16-bit unicode character.
If an existing name exists that has a non-zero high order byte, the
file will be inaccessible without remounting with iocharset set to
a charset that supports the character.

This patch will cause a warning to be issued to the syslog (no more
than five times) suggesting that the volume be mounted with
iocharset=utf8 in order to access the file.

21 years ago[ALPHA] Fix gcc 3.4 build problems.
Richard Henderson [Mon, 8 Mar 2004 06:58:28 +0000 (22:58 -0800)]
[ALPHA] Fix gcc 3.4 build problems.

21 years ago[PATCH] gcc-3.5 io_apic.c build fix
Andrew Morton [Mon, 8 Mar 2004 06:42:46 +0000 (22:42 -0800)]
[PATCH] gcc-3.5 io_apic.c build fix

From: Valdis.Kletnieks@vt.edu

The send_IPI_self() in smp.c was fixed but the one in io_apic.c was not.

21 years ago[PATCH] vma corruption fix
Andrew Morton [Mon, 8 Mar 2004 06:42:37 +0000 (22:42 -0800)]
[PATCH] vma corruption fix

From: Hugh Dickins <hugh@veritas.com>

Fixes bugzilla #2219

fork's dup_mmap leaves child mm_rb as copied from parent mm while doing all
the copy_page_ranges, and then calls build_mmap_rb without holding
page_table_lock.

try_to_unmap_one's find_vma (holding page_table_lock not mmap_sem) coming
on another cpu may cause mm mayhem.  It may leave the child's mmap_cache
pointing to a vma of the parent mm.

When the parent exits and the child faults, quite what happens rather
depends on what junk then inhabits vm_page_prot, which gets set in the page
table, with page_add_rmap adding the ptep, but junk pte likely to fail the
tests for page_remove_rmap.

Eventually the child exits, the page table is freed and try_to_unmap_one
oopses on null ptep_to_mm (but in a kernel with rss limiting, usually
page_referenced hits the null ptep_to_mm first).

This took me days and days to unravel!  Big thanks to Matthieu for
reporting it with a good test case.

21 years ago[PATCH] update filemap_flush() comments
Andrew Morton [Mon, 8 Mar 2004 06:42:27 +0000 (22:42 -0800)]
[PATCH] update filemap_flush() comments

It provides a best-effort, minimum-latency "get all the writeout
underway" function.

21 years agoJFS: setting xattr should update ctime
Dave Kleikamp [Mon, 8 Mar 2004 06:37:12 +0000 (00:37 -0600)]
JFS: setting xattr should update ctime

21 years ago[ALPHA] Fix compressed bootp.
Richard Henderson [Mon, 8 Mar 2004 05:23:07 +0000 (21:23 -0800)]
[ALPHA] Fix compressed bootp.
From Jay.Estabrook@hp.com.

The bootstrap decompressor uses some libraries built for the kernel,
which include lib/lib.a and thus vsprintf.o, whose "vsnprintf"
contains an unresolved reference to "printk".

This is caused by Linus' changes to "vsnprintf" which will now issue a
(printk) warning message under certain conditions.

21 years agoAdd missing QUEUE_FLAG_REENTER bit from Jens'
Linus Torvalds [Mon, 8 Mar 2004 04:59:06 +0000 (20:59 -0800)]
Add missing QUEUE_FLAG_REENTER bit from Jens'
blk_start_queue() fix.

21 years ago[PATCH] fix CONFIG_PDC202XX_FORCE/BURST for modular pdc202xx new/old drivers
Bartlomiej Zolnierkiewicz [Mon, 8 Mar 2004 04:49:53 +0000 (20:49 -0800)]
[PATCH] fix CONFIG_PDC202XX_FORCE/BURST for modular pdc202xx new/old drivers

From: Jakub Bogusz <qboosh@pld-linux.org>

21 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.6
Linus Torvalds [Mon, 8 Mar 2004 04:48:00 +0000 (20:48 -0800)]
Merge bk://kernel.bkbits.net/davem/tg3-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Mon, 8 Mar 2004 04:32:25 +0000 (20:32 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years ago[PATCH] proper error cleanup on security_acct hook
Chris Wright [Mon, 8 Mar 2004 04:29:33 +0000 (20:29 -0800)]
[PATCH] proper error cleanup on security_acct hook

Noted by Stephen Smalley: sys_acct does not properly clean up the open
file when the security_acct hook returns an error.

Fixed thus.

21 years ago[PATCH] fix blk_start_queue()
Jens Axboe [Mon, 8 Mar 2004 04:29:23 +0000 (20:29 -0800)]
[PATCH] fix blk_start_queue()

Here's the second attempt at fixing blk_start_queue().  The only change
since last version is using proper atomic bitops.  If we moved the
read/write full to a different variable, we could rely on the queue lock
for plugging and stop/start of queue (by far the most used bit
operations there) and skip the atomic bitops.

21 years ago[IPV4/IPV6]: Add sysctl limits for mcast src filters.
David Stevens [Mon, 8 Mar 2004 04:15:15 +0000 (20:15 -0800)]
[IPV4/IPV6]: Add sysctl limits for mcast src filters.

21 years ago[IPVS]: Code tidy up.
Wensong Zhang [Mon, 8 Mar 2004 04:01:40 +0000 (20:01 -0800)]
[IPVS]: Code tidy up.

Patch from Horms <horms@vergenet.net>

1. The trailing '\n' was missing, it has been added
2. The protocol is already in host byte order,
   the ntohl() call has been removed

21 years ago[NETFILTER]: In ip_route_me_harder, don't forget to set fl.proto
Herbert Xu [Mon, 8 Mar 2004 03:55:42 +0000 (19:55 -0800)]
[NETFILTER]: In ip_route_me_harder, don't forget to set fl.proto

21 years agoMerge nuts.davemloft.net:/disk1/BK/tg3work-2.6
David S. Miller [Mon, 8 Mar 2004 03:32:00 +0000 (19:32 -0800)]
Merge nuts.davemloft.net:/disk1/BK/tg3work-2.6
into nuts.davemloft.net:/disk1/BK/tg3-2.6

21 years ago[TIGON3]: Update driver version and reldate.
David S. Miller [Mon, 8 Mar 2004 03:25:39 +0000 (19:25 -0800)]
[TIGON3]: Update driver version and reldate.

21 years ago[TIGON3]: Always force PHY reset after major hw config changes.
David S. Miller [Mon, 8 Mar 2004 03:24:08 +0000 (19:24 -0800)]
[TIGON3]: Always force PHY reset after major hw config changes.

21 years ago[TIGON3]: Allow MAC address changing even when iface is up.
David S. Miller [Mon, 8 Mar 2004 03:08:13 +0000 (19:08 -0800)]
[TIGON3]: Allow MAC address changing even when iface is up.

21 years ago[PATCH] blk_insert_request() buglet
Jens Axboe [Mon, 8 Mar 2004 00:03:34 +0000 (16:03 -0800)]
[PATCH] blk_insert_request() buglet

blk_insert_request() unconditionally calls q->request_fn(q) regardless
of the plug state of the queue. This means that we could invoke
request_fn with a plugged queue, which is an invalid state.

Also fix a Jamesism style in there.

21 years ago[PATCH] xfs: filemap_flush() unresolved
Nathan Scott [Mon, 8 Mar 2004 00:03:25 +0000 (16:03 -0800)]
[PATCH] xfs: filemap_flush() unresolved

filemap_flush() needs exporting for modular XFS builds.

21 years ago[PATCH] small iSeries cleanup
Stephen Rothwell [Mon, 8 Mar 2004 00:03:15 +0000 (16:03 -0800)]
[PATCH] small iSeries cleanup

This got missed in my cleanup if iSeries_vio_dev.

21 years ago[PATCH] 2.6.x wanXL driver update
Krzysztof Halasa [Sun, 7 Mar 2004 14:28:25 +0000 (09:28 -0500)]
[PATCH] 2.6.x wanXL driver update

The attached patch updates wanXL card driver. Please apply to Linux 2.6.
Thanks.

Changes:
* fixed initialization kernel panic, introduced with recent alloc_netdev()
  wan patch,
* wanxl_rx_intr() port# now checked before accessing port structure,
* cleanups etc.
--
Krzysztof Halasa, B*FH

21 years ago[PATCH] missing setup for National DP83840 PHY rev b/c
Scott Feldman [Sun, 7 Mar 2004 14:28:18 +0000 (09:28 -0500)]
[PATCH] missing setup for National DP83840 PHY rev b/c

* Add National DP83840 PHY rev b/c setup.  Only rev a was being setup.

21 years ago[PATCH] tulip printk cleanup
Andrew Morton [Sun, 7 Mar 2004 14:28:10 +0000 (09:28 -0500)]
[PATCH] tulip printk cleanup

From: Joe Perches <joe@perches.com>

Use %08llx for a dma_addr_t, not the recently-added %llx.

21 years ago[PATCH] add blk_queue_stopped() helper function
Jens Axboe [Sun, 7 Mar 2004 00:02:56 +0000 (16:02 -0800)]
[PATCH] add blk_queue_stopped() helper function

The carmel driver will want to use this rather
than muck around in queue internals directly.

21 years ago[PATCH] arc4.c compile fix for older gcc's
Andrew Morton [Sun, 7 Mar 2004 00:02:47 +0000 (16:02 -0800)]
[PATCH] arc4.c compile fix for older gcc's

Declarations come before statements, please.

Current gcc warns about this too, bless them:

crypto/arc4.c: In function `arc4_crypt':
crypto/arc4.c:65: warning: ISO C90 forbids mixed declarations and code

21 years ago[PATCH] floppy oops fix
Andrew Morton [Sat, 6 Mar 2004 16:52:03 +0000 (08:52 -0800)]
[PATCH] floppy oops fix

From: Zwane Mwaikambo <zwane@linuxpower.ca>

It looks like a block request snuck through before we had initialised the
motor_off_timer timers.  So I pushed the timer init earlier.

21 years ago[PATCH] OSS Sound Driver Forte needs ac97_codec
Andrew Morton [Sat, 6 Mar 2004 16:51:53 +0000 (08:51 -0800)]
[PATCH] OSS Sound Driver Forte needs ac97_codec

From: Marc-Christian Petersen <m.c.p@wolk-project.de>

OSS Sound Driver Forte needs ac97_codec.

21 years ago[PATCH] fix i2c compile warnings
Andrew Morton [Sat, 6 Mar 2004 16:51:43 +0000 (08:51 -0800)]
[PATCH] fix i2c compile warnings

drivers/i2c/busses/i2c-elv.c: In function `i2c_bitelv_init':

drivers/i2c/busses/i2c-elv.c:155: warning: unsigned int format, long int arg (arg 2)
drivers/i2c/busses/i2c-elv.c:155: warning: unsigned int format, long int arg (arg 2)
drivers/i2c/busses/i2c-velleman.c: In function `i2c_bitvelle_init':
drivers/i2c/busses/i2c-velleman.c:141: warning: unsigned int format, long int arg (arg 2)
drivers/i2c/busses/i2c-velleman.c:141: warning: unsigned int format, long int arg (arg 2)