]> git.hungrycats.org Git - linux/log
linux
21 years agoLinux 2.6.0-test3 v2.6.0-test3
Linus Torvalds [Fri, 8 Aug 2003 14:09:36 +0000 (07:09 -0700)]
Linux 2.6.0-test3

21 years ago[irda] Add VIA FIR driver, via-ircc
Jeff Garzik [Fri, 8 Aug 2003 17:17:35 +0000 (13:17 -0400)]
[irda] Add VIA FIR driver, via-ircc

Contributed by VIA, via Jean Tourrilhes.

21 years ago[PATCH] tekram-sir driver fix
Jean Tourrilhes [Fri, 8 Aug 2003 17:14:54 +0000 (13:14 -0400)]
[PATCH] tekram-sir driver fix

ir260_tekram-sir.diff :
~~~~~~~~~~~~~~~~~~~~~
<Patch from Martin Diehl>
o [CORRECT] Update tekram-sir dongle driver to common power-settling

21 years ago[PATCH] irda-usb probe fix
Jean Tourrilhes [Fri, 8 Aug 2003 17:14:30 +0000 (13:14 -0400)]
[PATCH] irda-usb probe fix

ir260_usb_probe-4.diff :
~~~~~~~~~~~~~~~~~~~~~~
<Patch from Oliver Neukum and Daniele Bellucci>
o [CORRECT] minor fix to the probe failure path of irda-usb.

21 years ago[PATCH] IrLAP retry count
Jean Tourrilhes [Fri, 8 Aug 2003 17:14:05 +0000 (13:14 -0400)]
[PATCH] IrLAP retry count

ir260_lap_retry_count.diff :
~~~~~~~~~~~~~~~~~~~~~~~~~~
o [CORRECT] add interoperability workaround for 2.4.X IrDA stacks

21 years ago[PATCH] Donauboe probe fix
Jean Tourrilhes [Fri, 8 Aug 2003 17:13:41 +0000 (13:13 -0400)]
[PATCH] Donauboe probe fix

ir260_donau_cleanup.diff :
~~~~~~~~~~~~~~~~~~~~~~~~
<Patch from Christian Gennerat>
o [CORRECT] Disable chip probing that fail too often
o [FEATURE] Cleanup STATIC

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
Linus Torvalds [Fri, 8 Aug 2003 10:43:10 +0000 (03:43 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/i2c-2.5
Linus Torvalds [Fri, 8 Aug 2003 10:42:42 +0000 (03:42 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Fri, 8 Aug 2003 10:21:09 +0000 (03:21 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/pci-2.6

21 years ago[PATCH] PCI: pci_enable_device vs bridges bugs
Ivan Kokshaysky [Fri, 8 Aug 2003 10:03:19 +0000 (03:03 -0700)]
[PATCH] PCI: pci_enable_device vs bridges bugs

Bug #1 (found by Jay Estabrook).
On Alpha, under certain circumstances the firmware may close the IO
window of PCI-to-PCI bridge even if there is IO behind.
This wouldn't be a problem - linux PCI setup code does set up this
window properly, but in addition the firmware clears the IO-enable
bit in the PCI_COMMAND register of the bridge.
Since we don't call pci_enable_* routines for bridges in non-hotplug
path, we end up with disabled IO. Fixed by adding pci_enable_bridges()
to pci_assign_unassigned_resources().
Architectures which don't use the latter, but do use other setup-bus
code (parisc?) also should call pci_enable_bridges() for each root bus.

Bug #2 (closely related to #1).
As it turns out, pci_enable_device() doesn't work for bridges at all,
only for regular devices (header type 0) due to 0x3f mask passed to
pci_enable_device_bars(). The mask should be (1 << PCI_NUM_RESOURCES) - 1.

Bug #3 (quite a few archs, including i386).
pcibios_enable_device() does only check first 6 resources (regardless
of the mask) to decide whether or not to enable IO and MEM.
Bridge resources start at 7.

#2 and #3 affect hotplug. I wonder, has anybody ever tried *bridged*
PCI card behind a hot-plug controller?

21 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Fri, 8 Aug 2003 09:56:37 +0000 (02:56 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.6

21 years ago[PATCH] I2C: Additional P4B subsystem id for hidden asus smbus
Sean Estabrooks [Fri, 8 Aug 2003 09:36:42 +0000 (02:36 -0700)]
[PATCH] I2C: Additional P4B subsystem id for hidden asus smbus

  This patch adds another P4B motherboard subsystem identifier to the recent
asus sensor patch for the 2.6 kernel.

21 years ago[PATCH] USB: ftdi_sio - VID/PID for ID TECH IDT1221U USB to RS-232 adapter
Ian Abbott [Fri, 8 Aug 2003 09:35:07 +0000 (02:35 -0700)]
[PATCH] USB: ftdi_sio - VID/PID for ID TECH IDT1221U USB to RS-232 adapter

This patch adds support for ID TECH's IDT1221U USB to RS-232 adapter
(intended for use and/or supplied with some of their magnetic/smart
card readers).  The VID and PID were provided by Steve Briggs on
the ftdi-usb-sio-devel list.

21 years ago[PATCH] I2C: i2c sysfs rant
Wiktor Wodecki [Fri, 8 Aug 2003 09:33:00 +0000 (02:33 -0700)]
[PATCH] I2C: i2c sysfs rant

On Wed, Aug 06, 2003 at 04:22:44PM -0700, Greg KH wrote:
> On Wed, Aug 06, 2003 at 09:11:45PM +0200, Wiktor Wodecki wrote:
> > Hello folks,
> >
> > I just saw that I2C provides "/sys/bus/i2c/drivers/dev\ driver" in
> > 2.6.0-test2. It would be nice if you'd consider renaming this to
> > dev_driver, to avoid un-neccessary quoting in scripts.
> >
> > Thank You :-)
>
> Patches are always gladly accepted :)

here you go

21 years agoI2C: fix up driver model programming error.
Greg Kroah-Hartman [Fri, 8 Aug 2003 09:24:32 +0000 (02:24 -0700)]
I2C: fix up driver model programming error.

There was no release function for the objects.
bad greg, no biscuit...

21 years agoI2C: move the name field back into the i2c_client and i2c_adapter structures.
Greg Kroah-Hartman [Fri, 8 Aug 2003 09:15:11 +0000 (02:15 -0700)]
I2C: move the name field back into the i2c_client and i2c_adapter structures.

This is because the name field of struct device is going away, and the name
fields on these i2c structures are useful for people.

21 years agoMerge http://ncpfs.bkbits.net/matroxfb
Linus Torvalds [Fri, 8 Aug 2003 03:51:20 +0000 (20:51 -0700)]
Merge http://ncpfs.bkbits.net/matroxfb
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] floppy smp fix
Jens Axboe [Fri, 8 Aug 2003 03:27:25 +0000 (20:27 -0700)]
[PATCH] floppy smp fix

This is a port of some smp fixes I did for 2.4 floppy.c

Andrew did the re-diffing.

21 years ago[PATCH] remove unnecessary stubs from watchdog drivers
Rob Radez [Fri, 8 Aug 2003 03:26:27 +0000 (20:26 -0700)]
[PATCH] remove unnecessary stubs from watchdog drivers

This removes some function stubs from 6 watchdog drivers.

The VFS already returns -EINVAL in cases where fop->read == NULL, so
there's no need to duplicate the code 6 times.  This patch removes the
stubs and is compile tested.

21 years ago[PATCH] modify data types in efi.h
David Mosberger [Fri, 8 Aug 2003 03:26:18 +0000 (20:26 -0700)]
[PATCH] modify data types in efi.h

From Matt Tolentino:

  Here's a small patch to change several data types from u64 to
  unsigned long in efi.h.  These changes enable the use of the
  same data structures and function prototypes for ia32 EFI kernels.

21 years agoRemove bogus temporary file from revision control.
Linus Torvalds [Fri, 8 Aug 2003 03:23:10 +0000 (20:23 -0700)]
Remove bogus temporary file from revision control.

21 years agoMerge
Linus Torvalds [Fri, 8 Aug 2003 03:07:55 +0000 (20:07 -0700)]
Merge

21 years ago[PATCH] ia64: more ACPI/IOSAPIC cleanup
Bjorn Helgaas [Thu, 7 Aug 2003 16:49:31 +0000 (09:49 -0700)]
[PATCH] ia64: more ACPI/IOSAPIC cleanup

This applies on top of Takayoshi's interrupt polarity fix and just
makes things a tiny bit more consistent.

Is acpi_irq_to_vector() even needed anymore?  I don't see any
references to it.

21 years ago[PATCH] ia64: IOSAPIC .weak symbol cleanup
Bjorn Helgaas [Thu, 7 Aug 2003 16:48:13 +0000 (09:48 -0700)]
[PATCH] ia64: IOSAPIC .weak symbol cleanup

The patch below removes the .weak symbol stuff from iosapic.c.

As far as I can tell, iosapic.c is compiled for every flavor except
the simulator.  I tried to boot the HP_SIM kernel on ski, but it
seems to loop in find_save_locs().  This happens both with and
without this patch, so maybe I have a local problem.  (I started
with a clean tree, did make

21 years ago[PATCH] ia64: hardirq.h should include smp_lock.h when preempt enabled
Ian Wienand [Thu, 7 Aug 2003 16:40:03 +0000 (09:40 -0700)]
[PATCH] ia64: hardirq.h should include smp_lock.h when preempt enabled

As in_atomic() uses kernel_locked() which is in smp_lock.h.

21 years ago[PATCH] ia64: sn2 pci fixes (among others)
Jesse Barnes [Thu, 7 Aug 2003 16:38:44 +0000 (09:38 -0700)]
[PATCH] ia64: sn2 pci fixes (among others)

sn2 still doesn't use ACPI to describe PCI busses on the system (I'm
working on it), so we have to do it the old fashioned way.  This patch
also includes a few other fixes.

21 years ago[PATCH] ia64: compat_ioctl.c support
Arun Sharma [Thu, 7 Aug 2003 16:35:01 +0000 (09:35 -0700)]
[PATCH] ia64: compat_ioctl.c support

The attached patch (against 2.6) helps IA-32 applications take advantage of the
generic 32 bit (fs/compat_ioctl.c) ioctl handlers.

21 years ago[PATCH] ia64: epoll support for ia32 applications
Arun Sharma [Thu, 7 Aug 2003 16:31:18 +0000 (09:31 -0700)]
[PATCH] ia64: epoll support for ia32 applications

The patch was created by Matt Helsley <matthltc at us.ibm.com> for 2.4 and
has been changed slightly to match 2.6.

The implementation compromises performance for correctness.

21 years ago[PATCH] Make x86-64 compile again
Andi Kleen [Thu, 7 Aug 2003 12:03:48 +0000 (05:03 -0700)]
[PATCH] Make x86-64 compile again

Add include to fix compilation on x86-64

21 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
Linus Torvalds [Thu, 7 Aug 2003 10:55:05 +0000 (03:55 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[netdrvr airo] now that it builds, re-enable wireless_ext
Jeff Garzik [Thu, 7 Aug 2003 14:33:15 +0000 (10:33 -0400)]
[netdrvr airo] now that it builds, re-enable wireless_ext

21 years ago[netdrvr airo] Fix adhoc config
Javier Achirica [Thu, 7 Aug 2003 14:29:47 +0000 (10:29 -0400)]
[netdrvr airo] Fix adhoc config

21 years ago[netdrvr airo] safer unload code
Javier Achirica [Thu, 7 Aug 2003 14:29:15 +0000 (10:29 -0400)]
[netdrvr airo] safer unload code

21 years ago[netdrvr airo] MIC support with newer firmware
Javier Achirica [Thu, 7 Aug 2003 13:20:47 +0000 (09:20 -0400)]
[netdrvr airo] MIC support with newer firmware

21 years ago[netdrvr airo] add missing lines for Wireless Extensions 16
Javier Achirica [Thu, 7 Aug 2003 13:17:38 +0000 (09:17 -0400)]
[netdrvr airo] add missing lines for Wireless Extensions 16

21 years ago[netdrvr airo] MAC type changed to unsigned
Javier Achirica [Thu, 7 Aug 2003 13:11:58 +0000 (09:11 -0400)]
[netdrvr airo] MAC type changed to unsigned

21 years ago[netdrvr airo] Missing defines (only for documentation)
Javier Achirica [Thu, 7 Aug 2003 13:11:18 +0000 (09:11 -0400)]
[netdrvr airo] Missing defines (only for documentation)

21 years agoia64: Make elfcore32.h compile for 2.6.0-test2.
David Mosberger [Thu, 7 Aug 2003 09:20:29 +0000 (02:20 -0700)]
ia64: Make elfcore32.h compile for 2.6.0-test2.

21 years agoMerge with DRI CVS tree: fix use-after-free bug in DRM(takedown)
Linus Torvalds [Thu, 7 Aug 2003 08:37:30 +0000 (01:37 -0700)]
Merge with DRI CVS tree: fix use-after-free bug in DRM(takedown)

21 years ago[netdrvr pcmcia] remove the release timer from all pcmcia net drivers
Christoph Hellwig [Thu, 7 Aug 2003 08:18:14 +0000 (04:18 -0400)]
[netdrvr pcmcia] remove the release timer from all pcmcia net drivers

Ack'd by Russell King as well.

21 years ago[PATCH] ia64: make ia32 core dumps work
Arun Sharma [Thu, 7 Aug 2003 06:22:58 +0000 (23:22 -0700)]
[PATCH] ia64: make ia32 core dumps work

The attached patch implements core dump functionality for IA-32
applications running on ia64.

21 years ago[PATCH] fixes to zap_other_threads fix
Roland McGrath [Thu, 7 Aug 2003 06:06:12 +0000 (23:06 -0700)]
[PATCH] fixes to zap_other_threads fix

We should amend that test for zombies to include the "dead" state as
well.

21 years ago[PATCH] defxx: Maintenance + DMA API fixes
Maciej W. Rozycki [Thu, 7 Aug 2003 05:58:51 +0000 (22:58 -0700)]
[PATCH] defxx: Maintenance + DMA API fixes

 Having necessary resources, I've decided to take over the maintenance of
the defxx driver for the PDQ-based family of DEC FDDI controllers (the
DEFEA for EISA and the DEFPA for PCI are the models currently handled).

I've talked to Larry, the original author and the last maintainer of the
code, and he's said he'd be happy about it.  He's asked me to update his
long-outdated contact information.

Here is a patch to update the driver to the PCI version of the DMA API.

The patch includes appropriate status and contact information updates.

21 years agoMerge bk://are.twiddle.net/axp-2.5
Linus Torvalds [Thu, 7 Aug 2003 05:12:21 +0000 (22:12 -0700)]
Merge bk://are.twiddle.net/axp-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[ALPHA] Enhanced EV6/EV7 error management.
Richard Henderson [Thu, 7 Aug 2003 04:21:01 +0000 (21:21 -0700)]
[ALPHA] Enhanced EV6/EV7 error management.
From Jay Estabrook <Jay.Estabrook@compaq.com>.

21 years ago[ALPHA] Fix RTC init for LYNX.
Richard Henderson [Thu, 7 Aug 2003 04:19:28 +0000 (21:19 -0700)]
[ALPHA] Fix RTC init for LYNX.
From Jay Estabrook <Jay.Estabrook@compaq.com>.

21 years ago[ALPHA] IRQ updates to match x86 changes.
Richard Henderson [Thu, 7 Aug 2003 04:16:40 +0000 (21:16 -0700)]
[ALPHA] IRQ updates to match x86 changes.
From Jay Estabrook <Jay.Estabrook@compaq.com>.

21 years ago[PATCH] initialise page->private
Andrew Morton [Thu, 7 Aug 2003 04:15:16 +0000 (21:15 -0700)]
[PATCH] initialise page->private

From: Nathan Scott <nathans@sgi.com>

XFS wants to use page->private as a bitmap of uptodate indicators for
sub-page-sized blocks (which is one of the things ->provate was intended
for).

But someone needs to initialise ->private somewhere.  best to do it in the
page allocator, so the zeroness of a new page's ->private becomes a
system-wide thing.

21 years ago[PATCH] mtrr race fix
Andrew Morton [Thu, 7 Aug 2003 04:15:08 +0000 (21:15 -0700)]
[PATCH] mtrr race fix

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

I've found a race in the mtrr ipi_handler() and set_mtrr() functions.

Basically the server, set_mtrr() does the following:

  1.1 initialize a flag
  1.2 send ipi
  1.3 waits for all cpus to check in
  1.4 toggle flag
  1.5 do stuff
  1.6 wait for all cpus to check out
  1.7 toggle flag again
  1.8 return

While the clients, running ipi_handler() do the following:

  2.1 check in
  2.2 wait for flag
  2.3 do stuff
  2.4 check out
  2.5 wait for flag
  2.6 return

The problem is the flag is on the servers stack! So if 1.7 and 1.8
executes before 2.5 happens, the client's pointer to the flag becomes
invalid (likely overwritten) which causes the client to never see the
flag change, hanging the box.

The patch fixes that by adding a final synchronisation step in which the
controlling CPU waits for all the IPI'ed CPUs to complete.

21 years ago[PATCH] declare struct irq_desc
Andrew Morton [Thu, 7 Aug 2003 04:15:00 +0000 (21:15 -0700)]
[PATCH] declare struct irq_desc

From: Martin Pool <mbp@samba.org>

ia64_mv_irq_desc returns a 'struct irq_desc', which had a forward declaration
but did not actually exist.  We're currently using a silly anonymous struct
typedefed to irq_desc_t.

Now add the structure name as well.

21 years ago[PATCH] ext3: handle aborted journals in
Andrew Morton [Thu, 7 Aug 2003 04:14:52 +0000 (21:14 -0700)]
[PATCH] ext3: handle aborted journals in

Teach journal_get_write_access() and journal_get_undo_access() to handle
aborted trasaction handles.

21 years ago[PATCH] itimer resolution and rounding fixes
Andrew Morton [Thu, 7 Aug 2003 04:14:45 +0000 (21:14 -0700)]
[PATCH] itimer resolution and rounding fixes

From: george anzinger <george@mvista.com>

a) Fixes bug 858 (http://bugme.osdl.org/show_bug.cgi?id=858)

   The problem was caused by round off error in calculating the correct
   jiffies value in micro seconds to do the round up to jiffies.  The fix
   is to do the round up AFTER conversion to jiffies, rather than before.
   This only affected the timeval to jiffies calculation.

b) Changed the scale values to get the highest possible precision short
   of going to full 64-bit math.  This is particularly useful in the
   scaling of the seconds part of time.  The code now computes a trial
   value at compile time and adjusts the scaling if the result is less than
   32 bits.

c) Adds comments to time.h to remove (I hope) ALL the confusion that
   this file use to generate.

21 years ago[PATCH] Add do_setitimer prototype to linux/time.h
Andrew Morton [Thu, 7 Aug 2003 04:14:37 +0000 (21:14 -0700)]
[PATCH] Add do_setitimer prototype to linux/time.h

From: Peter Chubb <peterc@gelato.unsw.edu.au>

Currently, do_setitimer() is used in several files, but doesn't appear
in any header.  Thus its declaration is repeated in some files, and
its use causes a warning in others (because there is no declaration
present).

This patch:
     -- adds a couple of declarations to linux/times.h
     -- removes the (now duplicate) declarations from other files.

21 years ago[PATCH] NMI watchdog documentation for x86-64
Andrew Morton [Thu, 7 Aug 2003 04:14:29 +0000 (21:14 -0700)]
[PATCH] NMI watchdog documentation for x86-64

From: Ville Herva <vherva@niksula.hut.fi>

NMI watchdog is nowadays supported on x86-64, too. The nmi-watchdog.txt
document doesn't mention this. Here is a patch to add a few words on that.

21 years ago[PATCH] fix free_all_bootmem_core for virtual memmap
Andrew Morton [Thu, 7 Aug 2003 04:14:21 +0000 (21:14 -0700)]
[PATCH] fix free_all_bootmem_core for virtual memmap

From: jbarnes@sgi.com (Jesse Barnes)

Currently, free_all_bootmem_core() assumes that the bdata for a given
node will begin where the node's memory map begins.  This isn't
necessarily true on machines that use a virtual memory map (e.g. ia64
discontig machines), so we fix page to point to the first actual page of
RAM on the node, which _does_ contain the bdata struct.

21 years ago[PATCH] export lookup_create()
Andrew Morton [Thu, 7 Aug 2003 04:14:13 +0000 (21:14 -0700)]
[PATCH] export lookup_create()

From: jbarnes@sgi.com (Jesse Barnes)

hwgfs needs lookup_create(), and intermezzo already has copied it.

Document it, export it to modules and fix intermezzo.

21 years ago[PATCH] Don't trigger NMI watchdog for panic delay
Andrew Morton [Thu, 7 Aug 2003 04:14:06 +0000 (21:14 -0700)]
[PATCH] Don't trigger NMI watchdog for panic delay

From: Andi Kleen <ak@muc.de>

In some cases panic can be called with interrupts off.  Don't trigger the
NMI watchdog in this case when a panic= parameter is specified.

21 years ago[PATCH] might_sleep() checks for x86 usercopy functions
Andrew Morton [Thu, 7 Aug 2003 04:13:58 +0000 (21:13 -0700)]
[PATCH] might_sleep() checks for x86 usercopy functions

From: Matt Mackall <mpm@selenic.com>

This only checks in the non-__ versions, as those are occassionally
called inside things like kmap_atomic pairs which take a spinlock in
with highmem. It's all conditional on CONFIG_DEBUG_SPINLOCK_SLEEP
(which isn't quite the right name) so there's no overhead for normal
builds.

21 years ago[PATCH] ide-cd error handling oops fix
Andrew Morton [Thu, 7 Aug 2003 04:13:50 +0000 (21:13 -0700)]
[PATCH] ide-cd error handling oops fix

cdrom_decode_status() can call cdrom_end_request() twice.  The second call
oopses because the first call destroyed the request.

Fix it to only call cdrom_end_request() once.

Jens has acked this change.

21 years ago[PATCH] move_one_page() atomicity fix
Andrew Morton [Thu, 7 Aug 2003 04:13:43 +0000 (21:13 -0700)]
[PATCH] move_one_page() atomicity fix

move_one_page() is awkward.  It grabs an atomic_kmap of the source pte
(because it needs to know if there's really a page there) and then it needs
to allocate a pte for the dest.  But it cannot allocate the dest pte while
holding the src's atomic kmap.

So it performs this little dance peeking at pagetables to predict if
alloc_one_pte_map() might need to perform a pte page allocation.

When I wrote this code I made it conditional on CONFIG_HIGHPTE.  But that was
bogus: even in the !CONFIG_HIGHPTE case, get_one_pte_map_nested() will run
atomic_kmap() against the pte page, which disables preemption.

Net effect: with CONFIG_HIGHMEM && !CONFIG_HIGHPTE we can end up performing a
GFP_KERNEL pte page allocation while preemption is disabled.  It triggers a
might_sleep() warning and indeed is buggy.

So the patch removes the conditionality: even in the !CONFIG_HIGHPTE case we
still do the pagetable peek and drop the kmap if necessary.

(Arguably, we shouldn't be performing the atomic_kmap() at all if
!CONFIG_HIGHPTE: all it does is a pointless preemption disable).

(Arguably, kmap_atomic() should not be disabling preemption if the target
page is not highmem.  But we're doing it anyway at present for consistency
(ie: debug coverage) and because the filemap.c pagecache copying functions
rely on kmap_atomic() disabling do_no_page() for all pages: see
do_no_page()'s use of in_atomic()).

21 years ago[PATCH] remount_fs needs lock_kernel()
Andrew Morton [Thu, 7 Aug 2003 04:13:35 +0000 (21:13 -0700)]
[PATCH] remount_fs needs lock_kernel()

The new emergency remount path forgot to take lock_kernel(), which is
required for ->remount_fs().

21 years ago[PATCH] reiserfs: fix races between link and unlink on same
Andrew Morton [Thu, 7 Aug 2003 04:13:27 +0000 (21:13 -0700)]
[PATCH] reiserfs: fix races between link and unlink on same

From: Oleg Drokin <green@namesys.com>

This patch (originally by Chris Mason) fixes link/unlink races in reiserfs.

21 years ago[PATCH] reiserfs: fix problem when fs is out of space
Andrew Morton [Thu, 7 Aug 2003 04:13:19 +0000 (21:13 -0700)]
[PATCH] reiserfs: fix problem when fs is out of space

From: Oleg Drokin <green@namesys.com>

This patch fixes various bad stuff that happens when you write to full or
almost full reiserfs filesystem.

21 years ago[PATCH] reiserfs: fix savelinks on bigendian arches
Andrew Morton [Thu, 7 Aug 2003 04:13:11 +0000 (21:13 -0700)]
[PATCH] reiserfs: fix savelinks on bigendian arches

From: Oleg Drokin <green@namesys.com>

This small patch fixes a savelinks problem on bigendian platforms, where
savelinks were not working at all because of incorrect cpu->disk endianness
conversion.

Savelinks are used on reiserfs to remember "truncate" and "unlink" events
so that if crash happens in the middle of truncate/unlink, we do not endup
with lost or half truncated files.

21 years ago[PATCH] dm: resume() name clash
Andrew Morton [Thu, 7 Aug 2003 04:13:03 +0000 (21:13 -0700)]
[PATCH] dm: resume() name clash

From: Joe Thornber <thornber@sistina.com>

Some architectures define an extern function called resume(), which
clashes with a static function in dm-ioctl-v4.c.  Rename static one to
do_resume().

21 years ago[PATCH] [patch 7/25 dm: use sector_div()
Andrew Morton [Thu, 7 Aug 2003 04:12:55 +0000 (21:12 -0700)]
[PATCH] [patch 7/25 dm: use sector_div()

From: Joe Thornber <thornber@sistina.com>

Use sector_div() rather than defining own version.  [Christophe Saout]

21 years ago[PATCH] dm: missing #include
Andrew Morton [Thu, 7 Aug 2003 04:12:47 +0000 (21:12 -0700)]
[PATCH] dm: missing #include

From: Joe Thornber <thornber@sistina.com>

Missing #include

21 years ago[PATCH] dm: 64 bit ioctl fixes
Andrew Morton [Thu, 7 Aug 2003 04:12:39 +0000 (21:12 -0700)]
[PATCH] dm: 64 bit ioctl fixes

From: Joe Thornber <thornber@sistina.com>

Update the ioctl32 handlers for the 64-bit architectures to recognize
the new Device-Mapper version 4 ioctls. The version 1 ioctls are still
there.  If/When the version 1 ioctls are removed, these same files
will need to be updated again.

I have been unable to test this patch yet, since I have not had any
luck getting 2.6.0-test2 to compile on my ppc64 box (not a dm-related
problem).  But the patch is pretty trivial, so I'm pretty confident it
will work. If anyone else can test this (on mips64, sparc64, parisc,
or x86-64), let me know if you have any problems.  [Kevin Corry]

21 years ago[PATCH] dm: decimal device num sscanf
Andrew Morton [Thu, 7 Aug 2003 04:12:31 +0000 (21:12 -0700)]
[PATCH] dm: decimal device num sscanf

From: Joe Thornber <thornber@sistina.com>

The 2.4 version of Device-Mapper scans for device-numbers in decimal
instead of hex (in dm_get_device()). Update 2.6 so both versions use
the same behavior.  [Kevin Corry]

21 years ago[PATCH] dm: remove blk.h include
Andrew Morton [Thu, 7 Aug 2003 04:12:23 +0000 (21:12 -0700)]
[PATCH] dm: remove blk.h include

From: Joe Thornber <thornber@sistina.com>

Remove includes of <linux/blk.h>. This header is deprecated in 2.6.
[Kevin Corry]

21 years ago[PATCH] dm: don't use MODULE_PARM
Andrew Morton [Thu, 7 Aug 2003 04:12:14 +0000 (21:12 -0700)]
[PATCH] dm: don't use MODULE_PARM

From: Joe Thornber <thornber@sistina.com>

MODULE_PARM is deprecated in 2.6. Use the new module_param() macro.
[Kevin Corry]

21 years ago[PATCH] ax8817x.c build fix for older gcc's
Andrew Morton [Thu, 7 Aug 2003 04:12:07 +0000 (21:12 -0700)]
[PATCH] ax8817x.c build fix for older gcc's

Work around gcc-2.9x token-pasting bug by adding a space in front of the
comma.

21 years ago[PATCH] USB: remove dev.name usage from gadget code.
Greg Kroah-Hartman [Thu, 7 Aug 2003 04:00:56 +0000 (21:00 -0700)]
[PATCH] USB: remove dev.name usage from gadget code.

21 years ago[PATCH] v4l: bttv driver update
Gerd Knorr [Thu, 7 Aug 2003 03:19:22 +0000 (20:19 -0700)]
[PATCH] v4l: bttv driver update

 * the usual pile of tv card database updates.
 * various signed/unsigned fixups (fix gcc 3.3 warnings)
   and releated cleanups (use ARRAY_SIZE macro, ...).
 * moved some code which can be shared with the new,
   upcoming cx2388x driver to a separate module.
 * split the irq handler into smaller functions.
 * some new features (field rate capture support for example).
 * simplified i2c code a bit by removing redundant
   bookkeeping of attached i2c clients.
 * merged i2c changes back into my tree, there are some no-op
   changes due to this.
 * various other bugfixes.
 * fix build failure with CONFIG_FW_LOADER enabled

21 years ago[PATCH] v4l: sysfs'ify videodev
Gerd Knorr [Thu, 7 Aug 2003 03:19:14 +0000 (20:19 -0700)]
[PATCH] v4l: sysfs'ify videodev

This patch drops procfs code from videodev.c and adds sysfs support
instead.  It adds a new class where all v4l devices are listed.  It
also provides some new helper functions for v4l drivers.

21 years ago[PATCH] fix CONFIG_IDEDISK_STROKE support in ide-disk.c
Bartlomiej Zolnierkiewicz [Thu, 7 Aug 2003 03:17:00 +0000 (20:17 -0700)]
[PATCH] fix CONFIG_IDEDISK_STROKE support in ide-disk.c

Original patch from Erik Andersen <andersen@codepoet.org>:
- fix CONFIG_IDEDISK_STROKE by adding proper detection of HPA feature set
  and removing IDE_STROKE_LIMIT
- remove irrelevant idedisk_supports_host_protected_area()
- make the HPA detection actually display useful information

I've reworked it a bit:
- detect HPA before calculating drive's geometry
- move HPA detection outside init_idedisk_capacity()
  to idedisk_check_hpa_lba28() and idedisk_check_hpa_lba48()
- use sectors_to_MB()
- respect 80-column limit

21 years ago[PATCH] init_idedisk_capacity() cleanup()
Bartlomiej Zolnierkiewicz [Thu, 7 Aug 2003 03:16:53 +0000 (20:16 -0700)]
[PATCH] init_idedisk_capacity() cleanup()

- no need to zero drive->capacity48 and drive->select.b.lba
- don't call idedisk_read_native_max_address_ext() twice
  if drive uses LBA-48 and CONFIG_IDEDISK_STROKE is defined
- remove uneccessary setup of drive->capacity48/cyl/select.b.lba
  if drive uses LBA-48, maximum virtual LBA address needs to be set
  and CONFIG_IDEDISK_STROKE is defined
- set drive->cyl only once if drive uses LBA-48
- don't call idedisk_read_native_max_address() if drive uses LBA-48
  and don't call it twice if CONFIG_IDEDISK_STROKE is defined
- don't check for Host Protected Area if drive uses CHS addressing
  (such combination is not supported by a driver)
- remove duplicated code (at the end of the function) that is never executed

21 years ago[PATCH] capacity related fixes
Bartlomiej Zolnierkiewicz [Thu, 7 Aug 2003 03:16:45 +0000 (20:16 -0700)]
[PATCH] capacity related fixes

From Andries.Brouwer@cwi.nl:

- store capacities in sector_t
- add generic sectors_to_MB() helper to ide-disk.c
- fix drive->bios_cyls calculation (limiting it to 65535) for disks

21 years ago[PATCH] fix return value for idedisk_*_max_address_* functions
Bartlomiej Zolnierkiewicz [Thu, 7 Aug 2003 03:16:37 +0000 (20:16 -0700)]
[PATCH] fix return value for idedisk_*_max_address_* functions

From Andries.Brouwer@cwi.nl:

- these functions should return 0 not 1 on error

21 years ago[PATCH] ide_unregister() fixes
Bartlomiej Zolnierkiewicz [Thu, 7 Aug 2003 03:16:29 +0000 (20:16 -0700)]
[PATCH] ide_unregister() fixes

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

- avoid device list corruption and scheduling at interrupt time
  (more work needed on proper locking)
- make sure "hold" flag and ide_dma_queued_* ops are properly
  transferred from old to new interface

21 years ago[PATCH] fix ata_probe() driver autoloading
Bartlomiej Zolnierkiewicz [Thu, 7 Aug 2003 03:16:22 +0000 (20:16 -0700)]
[PATCH] fix ata_probe() driver autoloading

From Andrey Borzenkov <arvidjaar@mail.ru>:

Apparently drive->driver is never NULL now but defaults to the default driver.

21 years ago[PATCH] do not scan partitions twice for removable devices
Bartlomiej Zolnierkiewicz [Thu, 7 Aug 2003 03:16:14 +0000 (20:16 -0700)]
[PATCH] do not scan partitions twice for removable devices

fixes kobject_register() oops

21 years ago[PATCH] scsi_ioctl reference counting
Jens Axboe [Thu, 7 Aug 2003 02:58:43 +0000 (19:58 -0700)]
[PATCH] scsi_ioctl reference counting

Now that we properly track queue references, that showed a bug in
scsi_ioctl.c, where it was dropping queues that it had never properly
gotten in the first place.

21 years agoAdd support for panning at vertical blanking to the matroxfb. Now mplayer output
Petr Vandrovec [Wed, 6 Aug 2003 21:07:09 +0000 (23:07 +0200)]
Add support for panning at vertical blanking to the matroxfb. Now mplayer output
looks much better on primary output (secondary output is always synced with vbl).

21 years agomatroxfb: Initialize fbcon's cmap.
Petr Vandrovec [Wed, 6 Aug 2003 21:03:19 +0000 (23:03 +0200)]
matroxfb: Initialize fbcon's cmap.

21 years agoRemove write-only palette variable from matroxfb. Now it is possible to build
Petr Vandrovec [Wed, 6 Aug 2003 20:55:01 +0000 (22:55 +0200)]
Remove write-only palette variable from matroxfb. Now it is possible to build
matroxfb without fbcon support.

21 years agoMerge redhat.com:/garz/repo/linus-2.6
Jeff Garzik [Wed, 6 Aug 2003 18:47:05 +0000 (14:47 -0400)]
Merge redhat.com:/garz/repo/linus-2.6
into redhat.com:/garz/repo/net-drivers-2.6

21 years agoMerge bk://kernel.bkbits.net/acme/wl3501-2.5
Jeff Garzik [Wed, 6 Aug 2003 18:16:45 +0000 (14:16 -0400)]
Merge bk://kernel.bkbits.net/acme/wl3501-2.5
into redhat.com:/garz/repo/net-drivers-2.6

21 years ago[PATCH] Proper block queue reference counting
Jens Axboe [Wed, 6 Aug 2003 17:35:12 +0000 (10:35 -0700)]
[PATCH] Proper block queue reference counting

To be able to properly be able to keep references to block queues,
we make blk_init_queue() return the queue that it initialized, and
let it be independently allocated and then cleaned up on the last
reference.

I have grepped high and low, and there really shouldn't be any broken
uses of blk_init_queue() in the kernel drivers left.  The added bonus
being blk_init_queue() error checking is explicit now, most of the
drivers were broken in this regard (even IDE/SCSI).

No drivers have embedded request queue structures. Drivers that don't
use blk_init_queue() but blk_queue_make_request(), should allocate the
queue with blk_alloc_queue(gfp_mask). I've converted all of them to do
that, too. They can call blk_cleanup_queue() now too, using the define
blk_put_queue() is probably cleaner though.

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Wed, 6 Aug 2003 16:11:07 +0000 (09:11 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] Fix bio RW_AHEAD test
Jens Axboe [Wed, 6 Aug 2003 15:58:02 +0000 (08:58 -0700)]
[PATCH] Fix bio RW_AHEAD test

This patch fixes the BIO_RW_AHEAD being tested at the wrong end
in the bio layer.

21 years ago[PATCH] remove PF_READAHEAD
Andrew Morton [Wed, 6 Aug 2003 15:57:31 +0000 (08:57 -0700)]
[PATCH] remove PF_READAHEAD

The problem with PF_READAHEAD is that if someone does a non-GFP_ATOMIC memory
allocation we can enter page reclaim and then call writepage, while
PF_READAHEAD is set.  The block layer then drops writes or the wrong reads on
the floor.  It can cause data loss.

A fix is complex (well, intrusive).  Given that the readahead code is now
skipping the entire readahead attempt if the queue is congested, the setting
of PF_READAHEAD probably is not doing anything useful anyway, so simply
remove it.

21 years ago[PATCH] Athlon Machine Check fix
Dave Jones [Wed, 6 Aug 2003 15:57:23 +0000 (08:57 -0700)]
[PATCH] Athlon Machine Check fix

There seemed to be increase in Athlon users reporting MCEs in 2.6 that
they never saw in 2.4 and I didn't buy the "2.6 pushes hardware harder"
for a second given folks are running 2.4+preempt+O(1) etc patchkits
without problems.

So I did a mini-audit of the mcheck code.

How embarressing. Another fix that went into 2.4 that never made
it forward. Once I'm done with various Red Hat administrivia
I'll see if I can devote some time to going through the changesets
mailing list. I wonder just how many other really stupid bugs
like this got fixed and not brought forward.

21 years agoia64: Clean up trailing whitespace.
David Mosberger [Wed, 6 Aug 2003 15:32:29 +0000 (08:32 -0700)]
ia64: Clean up trailing whitespace.

21 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
David S. Miller [Wed, 6 Aug 2003 12:05:59 +0000 (05:05 -0700)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

21 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Wed, 6 Aug 2003 11:13:22 +0000 (04:13 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia
Linus Torvalds [Wed, 6 Aug 2003 10:14:05 +0000 (03:14 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PCMCIA] Report subsystem vendor/device IDs
Russell King [Thu, 7 Aug 2003 01:14:38 +0000 (02:14 +0100)]
[PCMCIA] Report subsystem vendor/device IDs

In order to properly track down who needs to program the IRQ MUX
register, add the subsystem vendor and device IDs to the kernel
message indicating discovery of the cardbus bridge.

21 years ago[PCMCIA] Disable IRQ steering and don't change the IRQ MUX register.
Russell King [Thu, 7 Aug 2003 01:00:41 +0000 (02:00 +0100)]
[PCMCIA] Disable IRQ steering and don't change the IRQ MUX register.

The IRQ steering code operates too early at present, and actually
prevents us detecting ISA interrupts.

We should not touch the IRQ MUX register on TI bridges - only the
machine itself knows the right value for this.  The kernel doesn't
have the knowledge to know what function the cardbus controllers
multi-function pins have been assigned by the hardware manufacturer.

21 years ago[PCMCIA] Fix cardbus init failure paths.
Russell King [Thu, 7 Aug 2003 00:53:14 +0000 (01:53 +0100)]
[PCMCIA] Fix cardbus init failure paths.

Currently, yenta does not try to clean up after an error occurs while
initialising a cardbus socket.  This cset ensures that we release
resources.  We also claim the cardbus MMIO memory resource.