]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] CDROMREADAUDIO dma support
Jens Axboe [Thu, 11 Mar 2004 23:56:51 +0000 (15:56 -0800)]
[PATCH] CDROMREADAUDIO dma support

This small patch builds on top of the blk_rq_map_user() patch just sent,
and enables us to easily support DMA for CDROMREADAUDIO cdda extraction.
It's quite amazing how much cool stuff you can with the new block layer
:-)

Patch has intelligent fall back from multi frame dma to single frame
dma, and further to old-style pio ripping in case of hardware problems.

22 years ago[PATCH] user data -> request mapping
Jens Axboe [Thu, 11 Mar 2004 23:56:40 +0000 (15:56 -0800)]
[PATCH] user data -> request mapping

This patch allows you to map a request with user data for io, similarly
to what you can do with bio_map_user() already to a bio. However, this
goes one step further and populates the request so the user only has to
fill in the cdb (almost) and put it on the queue for execution. Patch
converts sg_io() to use it, next patch I'll send adapts cdrom layer to
use it for zero copy cdda dma extraction.

22 years ago[PATCH] fix PPC64 iSeries virtual console devices
Stephen Rothwell [Thu, 11 Mar 2004 23:56:29 +0000 (15:56 -0800)]
[PATCH] fix PPC64 iSeries virtual console devices

While playing with udev, I discovered that the virtual console
devices on iSeries had there minor numbers off by one i.e. /dev/tty1
was minor 2!

This fixes it.

22 years ago[PATCH] Fix a 64bit bug in kobject module request
Andi Kleen [Wed, 10 Mar 2004 13:02:29 +0000 (05:02 -0800)]
[PATCH] Fix a 64bit bug in kobject module request

From Takashi Iwai

kobj_lookup had a 64bit bug, which caused the request of a unknown
character device to burn CPU instead of failing quickly.

22 years ago[PATCH] x86-64 merge for 2.6.4
Andi Kleen [Wed, 10 Mar 2004 13:02:19 +0000 (05:02 -0800)]
[PATCH] x86-64 merge for 2.6.4

The biggest new feature is fixed 32bit vsyscall (SYSCALL+SYSENTER)
support, mostly from Jakub Jelinek.  This increases 32bit syscall
performance greatly (latency halved and better).  The SYSENTER for Intel
support required some infrastructure changes, but seems to work now too.

The 64bit vsyscall vtime() just references xtime.tv_sec now.  This
should make it a lot faster too.

A fix for some Intel IA32e systems.  Also a few long standing bugs in
NMI like exception handlers were fixed.

And a lot of other bug fixes.

Full changeLog:
 - Clean up 32bit address room limit handling, fix 3gb personality
 - Move memcpy_{from,to}io export to ksyms.c file. This seems to work
   around a toolchain bug (Andreas Gruenbacher)
 - Update defconfig
 - ACPI merges from i386 (SBF should work now, acpi=strict)
 - Implement mmconfig support based on i386 code (untested)
 - Fix i386/x86-64 pci source file sharing
 - Implement ptrace access for 32bit vsyscall page
 - Always initialize all 32bit SYSENTER/SYSCALL MSRs.
 - Export run time cache line size to generic kernel
 - Remove explicit CPUID in ia32 syscall code
 - Fill in most of boot_cpu_data early
 - Remove unused PER_LINUX32 setup
 - Fix syscall trace in fast 32bit calls (Suresh B. Siddha)
 - Tighten first line of the oops again.
 - Set up ptrace registers correctly for debug,ss,double fault exceptions
 - Fix 64bit bug in sys_time64
 - Optimize time syscall/vsyscall to only read xtime
 - Fix csum_partial_copy_nocheck
 - Remove last traces of FPU emulation
 - Check properly for rescheduling in exceptions with own stack
 - Harden exception stack entries (#SS,#NMI,#MC,#DF,#DB) against bogus GS
 - Use an exception stack for machine checks
 - Handle TIF_SINGLESTEP properly in kernel exit
 - Add exception stack for debug handler
 - Disable X86_HT for Opteron optimized builds because it pulls in ACPI_BOOT
 - Fix CONFIG_ACPI_BOOT compilation without CONFIG_ACPI
 - Fix eflags handling in SYSENTER path (Jakub Jelinek)
 - Use atomic counter for enable/disable_hlt
 - Support 32bit SYSENTER vsyscall too (Jakub Jelinek)
 - Don't redefine Dprintk
 - Change some cpu/apic id arrays to char
 - Support arbitary cpu<->apicid in hard_smp_processor_id (Surresh B Sidda)
 - Move K8 erratum #100 workaround into slow path of page fault handler.
 - Fix 32bit cdrom direct access ioctls (Jens Axboe)
 - Enable 32bit vsyscalls by default
 - Fix 32bit vsyscalls (Jakub Jelinek)

22 years ago[PATCH] G5 temperature control update
Benjamin Herrenschmidt [Wed, 10 Mar 2004 12:10:29 +0000 (04:10 -0800)]
[PATCH] G5 temperature control update

This makes the temperature control code more robust, putting less
pressure on i2c, and work around occasional misconfiguration of the ADC
chips leading to incorrect temperature readings.

22 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

22 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.

22 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

22 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.

22 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.

22 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.

22 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.

22 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

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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).

22 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

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

22 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

22 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.

22 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.

22 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

22 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.

22 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

22 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.

22 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.

22 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>

22 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().

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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

22 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.

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

22 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.

22 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.

22 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).

22 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.

22 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().

22 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.

22 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

22 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

22 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

22 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.

22 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

22 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

22 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

22 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

22 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.

22 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.

22 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.

22 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()".

22 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

22 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

22 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

22 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

22 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

22 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

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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

22 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.

22 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.

22 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>

22 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

22 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

22 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.

22 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.

22 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.

22 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

22 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

22 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

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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

22 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.