]> git.neil.brown.name Git - history.git/log
history.git
22 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Thu, 16 Oct 2003 01:06:10 +0000 (18:06 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] Eicon ISDN driver: use work_struct instead of tasklet for dpc.
Armin Schindler [Thu, 16 Oct 2003 00:51:59 +0000 (17:51 -0700)]
[PATCH] Eicon ISDN driver: use work_struct instead of tasklet for dpc.

22 years ago[PATCH] reiserfs/procfs.c fix
Alexander Viro [Thu, 16 Oct 2003 00:51:49 +0000 (17:51 -0700)]
[PATCH] reiserfs/procfs.c fix

Fix breakage in reiserfs/procfs.c iterator.

Nikita had ACKed the patch.

22 years ago[PATCH] ide-floppy IOMEGA ZIP fix
Jens Axboe [Thu, 16 Oct 2003 00:51:41 +0000 (17:51 -0700)]
[PATCH] ide-floppy IOMEGA ZIP fix

From ramon_garcia_f@yahoo.com:

 "I am experiencing lost interrupts when writting (but not when reading)
  to an IOMEGA Zip drive with the ATAPI floppy driver.

  The driver seems to be aware of the problem and has a workaround for
  it.  Unfortunately my drive is not detected as an IOMEGA drive.  The
  reason is that the model of my drive is "IOMEGA ZIP 100 ATAPI Floppy"
  instead of "IOMEGA ZIP 100 ATAPI", that is what the driver expects. "

22 years ago[PATCH] current_is_kswapd() is a function
Andrew Morton [Thu, 16 Oct 2003 00:35:50 +0000 (17:35 -0700)]
[PATCH] current_is_kswapd() is a function

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

So call it rather than testing its address...

22 years ago[PATCH] saa7134-core.c compile fix for old gcc
Andrew Morton [Thu, 16 Oct 2003 00:34:56 +0000 (17:34 -0700)]
[PATCH] saa7134-core.c compile fix for old gcc

It is using token pasting in ways which confuse gcc-2.9x.

22 years ago[PATCH] ext2/ext3 acl signedness fixes
Andrew Morton [Thu, 16 Oct 2003 00:34:10 +0000 (17:34 -0700)]
[PATCH] ext2/ext3 acl signedness fixes

From: "Alexey Dobriyan" <adobriyan@mail.ru>,
      Andreas Gruenbacher <agruen@suse.de>

Make local variable `count' an integer so the subsequent test for
negativeness makes sense.

22 years ago[PATCH] applicom: fix LEAK, unwind on errors
Andrew Morton [Thu, 16 Oct 2003 00:33:30 +0000 (17:33 -0700)]
[PATCH] applicom: fix LEAK, unwind on errors

From: "Randy.Dunlap" <rddunlap@osdl.org>

Fix a permanent resource leak and also some resource leaks on error paths.

22 years ago[PATCH] ext3: i_disksize locking fix
Andrew Morton [Thu, 16 Oct 2003 00:32:49 +0000 (17:32 -0700)]
[PATCH] ext3: i_disksize locking fix

From: Alex Tomas <alex@clusterfs.com>

The setting of i_disksize can race against concurrent invokations of
ext3_get_block().  Moving this inside i_truncate_sem fixes it up.

22 years ago[PATCH] silence smp_read_mpc_oem() declared static but never defined warning
Andrew Morton [Thu, 16 Oct 2003 00:32:16 +0000 (17:32 -0700)]
[PATCH] silence smp_read_mpc_oem() declared static but never defined warning

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

The forward static declaration in a header is a) weird and b) generates a
warning if the inline function which needs it is not expanded.

Move these things from .h into .c

22 years ago[PATCH] reiserfs documentation URL fixes
Andrew Morton [Thu, 16 Oct 2003 00:31:44 +0000 (17:31 -0700)]
[PATCH] reiserfs documentation URL fixes

From: Yury Umanets <umka@namesys.com>

Fix the reiserfs Kconfig URLs.

22 years ago[PATCH] Don't swap to files which do not implement readpage
Andrew Morton [Thu, 16 Oct 2003 00:31:16 +0000 (17:31 -0700)]
[PATCH] Don't swap to files which do not implement readpage

From: Zwane Mwaikambo <zwane@arm.linux.org.uk>

The swapon code uses read_cache_page() to access the swap header, so the
filesystem had better implement it.

22 years ago[PATCH] Correct case sensitivity in make mandocs
Andrew Morton [Thu, 16 Oct 2003 00:30:48 +0000 (17:30 -0700)]
[PATCH] Correct case sensitivity in make mandocs

From: Michael Still <mikal@stillhq.com>

The attached patch corrects case sensitivity in the mandocs make target.
XML is case insensitive, and a bunch of the kernel-doc assumes this.  The
makeman and splitman scripts incorrectly cared about case.  This patch also
updates the Docbook DTD version which the script generates.

22 years ago[PATCH] SELINUX: add policyvers to selinuxfs
Andrew Morton [Thu, 16 Oct 2003 00:30:28 +0000 (17:30 -0700)]
[PATCH] SELINUX: add policyvers to selinuxfs

From: James Morris <jmorris@redhat.com>

This patch adds a file to the root selinuxfs directory which returns the
security policy version associated with the currently running kernel.  Its
purpose is to allow scripts to determine which version of policy to load.

22 years ago[PATCH] Fix early __might_sleep() calls
Andrew Morton [Thu, 16 Oct 2003 00:30:11 +0000 (17:30 -0700)]
[PATCH] Fix early __might_sleep() calls

From: Roger Luethi <rl@hellgate.ch>

__might_sleep prints warnings only after jiffies wrap (typically after 5
minutes of uptime).

22 years ago[PATCH] Add missing sjcd uaccess checks
Andrew Morton [Thu, 16 Oct 2003 00:29:58 +0000 (17:29 -0700)]
[PATCH] Add missing sjcd uaccess checks

From: Felipe W Damasio <felipewd@terra.com.br>

Check the return of copy_from_user in a few places to not use buggy
structures if copy_from_user != 0.  Found by smatch.

22 years ago[PATCH] drivers/block/initrd.c removal
Andrew Morton [Thu, 16 Oct 2003 00:29:46 +0000 (17:29 -0700)]
[PATCH] drivers/block/initrd.c removal

From: viro@parcelfarce.linux.theplanet.co.uk

* drivers/block/initrd.c gone

* chunk of memory where the current tree would look for intird image is
  checked for being a valid initramfs image first; then, it is either
  unpacked (in addition to normal built-in image) or, if it wasn't a valid
  image, copied into a regular file on rootfs called /dev/initrd.  Then
  memory is freed.

Result:

a) we can put initramfs image in place of initrd one and kernel will DTRT.

b) initrd images still work as usual; code that shoves the thing to
   ramdisk, etc.  doesn't care whether it reads from a block device or
   regular file.

c) initrd.c is gone, so is fake block device and a lot of irregularities
   with it.

It has been in -mm for almost two weeks with no reported problems.

22 years ago[NET]: Grab RTNL semaphore in init_netdev() if we call dev_alloc_name().
Randy Dunlap [Wed, 15 Oct 2003 15:33:53 +0000 (08:33 -0700)]
[NET]: Grab RTNL semaphore in init_netdev() if we call dev_alloc_name().

22 years ago[TCP/IPV4]: Fix tcp_tw_bucket accessed as a sock in tcp_bind_conflict().
Arnaldo Carvalho de Melo [Wed, 15 Oct 2003 15:11:33 +0000 (08:11 -0700)]
[TCP/IPV4]: Fix tcp_tw_bucket accessed as a sock in tcp_bind_conflict().

22 years ago[NET]: Fix get_random_bytes() call in sunhme.c:get_hme_mac_nonsparc().
Madarasz Gergely [Wed, 15 Oct 2003 15:06:37 +0000 (08:06 -0700)]
[NET]: Fix get_random_bytes() call in sunhme.c:get_hme_mac_nonsparc().

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Wed, 15 Oct 2003 14:42:29 +0000 (07:42 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years ago[PATCH] Enable interrupts in faults from VM86 mode
Andi Kleen [Wed, 15 Oct 2003 12:25:07 +0000 (05:25 -0700)]
[PATCH] Enable interrupts in faults from VM86 mode

vm86 mode does a copy_to_user from the general protection fault handler
to update the process' vm86 state.

The problem is that the full GFP handler runs with interrupts off
currently and that trips the might_sleep() test in copy_to_user().

This happens very often in dosemu and once in a while while the X server
does its vm86 magic with the VGA bios.

See

http://bugzilla.kernel.org/show_bug.cgi?id=1339

for details

This patch fixes this by enabling interrupts when the original code ran
with interrupts on or ran in vm86 mode (vm86 can clear the IF flag)

22 years agoFix APIC address handling at bootup and restore.
Linus Torvalds [Wed, 15 Oct 2003 10:51:43 +0000 (03:51 -0700)]
Fix APIC address handling at bootup and restore.

Don't assume the APIC is at the power-on default address,
since the BIOS can have moved it somewhere else without
really ever telling us (ie we have an MP table or ACPI
that fixes it for us, but those are not always available)

22 years ago[PATCH] fix support for PIO modes w/o IORDY flow control
Bartlomiej Zolnierkiewicz [Wed, 15 Oct 2003 09:25:24 +0000 (02:25 -0700)]
[PATCH] fix support for PIO modes w/o IORDY flow control

hwif->ide_dma_on() was is in the wrong place in the mode tuning helper
and was also called for devices which do not support IORDY flow control
(such as CompactFlash cards).

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Wed, 15 Oct 2003 08:20:15 +0000 (01:20 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
Linus Torvalds [Wed, 15 Oct 2003 04:37:06 +0000 (21:37 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
Linus Torvalds [Wed, 15 Oct 2003 04:36:13 +0000 (21:36 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
Linus Torvalds [Wed, 15 Oct 2003 04:34:26 +0000 (21:34 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] update to microcode update driver
Tigran Aivazian [Wed, 15 Oct 2003 04:24:38 +0000 (21:24 -0700)]
[PATCH] update to microcode update driver

This contains the following changes:

a) changes from Intel to support the new microcode data format
   (backward compatible of course)

b) changes from me to remove the no longer needed features of the driver,
   namely we don't need to keep a copy of applied microcode in kernel
   memory.

   This feature was hardly useful in the days of regular devfs
   /dev/cpu/microcode file and now it is completely useless so I removed
   it (after taking into account all the feedback on linux-kernel I
   received since the announcement of the intention to do this)

These are rather critical because otherwise we can't really say Linux
fully supports the very latest Intel cpus (which require microcode in
the new format).

22 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Wed, 15 Oct 2003 03:30:34 +0000 (20:30 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/pci-2.6

22 years ago[PATCH] number of threads in /proc
Albert Cahalan [Wed, 15 Oct 2003 03:13:33 +0000 (20:13 -0700)]
[PATCH] number of threads in /proc

Having the number-of-threads value easily available turns out to be very
important for procps performance.

The /proc/*/stat thing getting reused has been zero since the 2.2.xx
days, and was the seldom-used timeout value before that.

22 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Wed, 15 Oct 2003 03:11:34 +0000 (20:11 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/usb-2.6

22 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Wed, 15 Oct 2003 03:05:30 +0000 (20:05 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/i2c-2.6

22 years ago[ARM] Fix div64 implementation.
Russell King [Tue, 14 Oct 2003 22:40:22 +0000 (23:40 +0100)]
[ARM] Fix div64 implementation.

Our do_div implementation can't correctly handle divisors with the
top bit set.  This cset fixes this up with a minimal change.

22 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
Linus Torvalds [Tue, 14 Oct 2003 08:30:29 +0000 (01:30 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] b44 enable interrupts after tx timeout (2.6-test version)
Pekka Pietikäinen [Tue, 14 Oct 2003 10:40:06 +0000 (06:40 -0400)]
[PATCH] b44 enable interrupts after tx timeout (2.6-test version)

Resending the patch I sent some time ago for b44.c that nukes the
2.4 compatibility cruft as well.

I'll do one for 2.4.23pre6 ASAP, hopefully being able sync the driver fully
with the one in 2.6 (free_netdev() etc.).

22 years ago[netdrvr natsemi] fix ring clean
Manfred Spraul [Tue, 14 Oct 2003 10:34:58 +0000 (06:34 -0400)]
[netdrvr natsemi] fix ring clean

Too much copy&paste in a call to pci_unmap_single.

22 years ago[netdrvr tulip] add pci id
Jeff Garzik [Tue, 14 Oct 2003 10:32:50 +0000 (06:32 -0400)]
[netdrvr tulip] add pci id

Contributed by Ken Zalewski.

22 years ago[PATCH] - atmel wireless driver
Simon Kelley [Tue, 14 Oct 2003 10:26:40 +0000 (06:26 -0400)]
[PATCH] - atmel wireless driver

1) Remove "#include <linux/version.h>" which was not needed and added
   bad extra compile dependencies.

2) Fix typo in module description.

3) Make card detection code cope with buggy SMC CIS entries.

22 years ago[netdrvr 8139too] another new PCI ID
Jeff Garzik [Tue, 14 Oct 2003 10:24:28 +0000 (06:24 -0400)]
[netdrvr 8139too] another new PCI ID

Contributed by Josh Litherland, Donald Becker, and others.

22 years ago[netdrvr 8139too] add pci id
Jeff Garzik [Tue, 14 Oct 2003 10:20:06 +0000 (06:20 -0400)]
[netdrvr 8139too] add pci id

contributed by "JaReK" and Donald Becker.

22 years ago[PATCH] hang on ZEROCOPY/TSO when hitting no-Tx-resources
Scott Feldman [Tue, 14 Oct 2003 10:15:35 +0000 (06:15 -0400)]
[PATCH] hang on ZEROCOPY/TSO when hitting no-Tx-resources

* Critical bug fix: under heavy Tx stress using ZEROCOPY or TSO, if we
  ran out of Tx descriptors, we didn't calculate for the context
  descritor used as the first of the ZEROCOPY/TSO send, nor do we clean
  up the context desriptor bits in the case where the send isn't going
  to fit, where we need to undo the mappings.  This bug was introduced
  with the 5.2.16 patch set which included a workaround for a hang
  on 82544 over PCI-X.  This workaround cause the check for no-Tx-
  rosource logic to change, and this bug slipped in.

22 years ago[PATCH] Fix warnings in defxx.c
Andi Kleen [Tue, 14 Oct 2003 10:14:10 +0000 (06:14 -0400)]
[PATCH] Fix warnings in defxx.c

Fix harmless 64bit warnings in defxx.c

22 years ago[PATCH] Fix warnings in hp100
Andi Kleen [Tue, 14 Oct 2003 10:14:02 +0000 (06:14 -0400)]
[PATCH] Fix warnings in hp100

Fix some harmless integer/pointer size mismatch warnings in hp100.c
on 64bit compiles

22 years ago[PATCH] Mark non 64bit clean network drivers
Andi Kleen [Tue, 14 Oct 2003 10:13:54 +0000 (06:13 -0400)]
[PATCH] Mark non 64bit clean network drivers

This marks some net drivers which are clearly not 64bit (judging from
the warnings) as !64BIT.

-Andi

22 years ago[hamradio bpqether] fix ancient debug line
Jeroen Vreeken [Tue, 14 Oct 2003 10:07:24 +0000 (06:07 -0400)]
[hamradio bpqether] fix ancient debug line

removes a verry old debug line from the bpqethernet driver that
only fills logs.

22 years ago[hamradio scc] fix probe function
Jeroen Vreeken [Tue, 14 Oct 2003 10:05:14 +0000 (06:05 -0400)]
[hamradio scc] fix probe function

fix for the probe function of the scc driver which now uses
an uninitialised scc struct for requesting an io region.

22 years ago[PATCH] ethtool_ops eeprom stuff
Scott Feldman [Tue, 14 Oct 2003 09:52:16 +0000 (05:52 -0400)]
[PATCH] ethtool_ops eeprom stuff

Finally got around to adding ethtool_ops to e100-3.0.x.  I found a bug
with get_eeprom() and it seems to work best if we add get_eeprom_len() to
the ops list.  Also moved check for offest + len < size into ethtool.c.

I was able to test [GS]EEPROM, PHYS_ID, GSTATS, GSTRINGS, and TEST, and
everything looks good.

Should I send same for 2.4?

22 years ago[PATCH] Fix pcnet_cs network hotplug
Russell King [Tue, 14 Oct 2003 09:40:23 +0000 (05:40 -0400)]
[PATCH] Fix pcnet_cs network hotplug

pcnet_cs registers the network device too early.  The effect of this
is that the networking hotplug scripts are unable to bring the device
up automatically.

There are two issues:
- we were registering the net device before we finished setting up
  the device (eg, reading the MAC address.)
- we were using DEV_CONFIG_PENDING to block the net device "open"
  callback, and as we know the other methods may be called prior
  to open.

My only concern with this patch is that we set info->node.dev_name
after we register the net device, so use of cardctl during the
hotplug scripts may give unexpected results.  However, I am not
aware of anyone using cardctl to read the device name in network
hotplug scripts.

Please review and merge.  Thanks.

22 years ago[netdrvr xircom_cb] fix race in statistics pointer setting
Stephen Hemminger [Tue, 14 Oct 2003 09:25:43 +0000 (05:25 -0400)]
[netdrvr xircom_cb] fix race in statistics pointer setting
by converting to use alloc_etherdev.

22 years ago[PATCH] USB: default input core support to y
John Levon [Tue, 14 Oct 2003 08:19:18 +0000 (01:19 -0700)]
[PATCH] USB: default input core support to y

It's quite easy to accidentally miss this option out. I think it makes
sense to default it to yes if HID support is enabled.

22 years ago[PATCH] USB: Conflicting definitions in keyspan driver
Benjamin Herrenschmidt [Tue, 14 Oct 2003 08:18:51 +0000 (01:18 -0700)]
[PATCH] USB: Conflicting definitions in keyspan driver

There's a small issue with drivers/usb/serial/keyspan_usa90msg.h

The definition for MSR_RI conflicts with some PowerPC CPU definition
(MSR is the Machine State Register on PPC and processor.h defines
MSR_RI globally). This definition doesn't seem to be used in any .c
in drivers/usr/serial though, so I beleive it could be easily renamed
to something a bit less prone to conflict ;) Changing the PPC definition
would be a lot nastier.

22 years ago[PATCH] I2C: fix more define problems in w83781d driver
Greg Kroah-Hartman [Tue, 14 Oct 2003 06:30:34 +0000 (23:30 -0700)]
[PATCH] I2C: fix more define problems in w83781d driver

22 years ago[IPV4/IPV6]: Clear security path for tunnel packets.
Herbert Xu [Tue, 14 Oct 2003 06:21:06 +0000 (23:21 -0700)]
[IPV4/IPV6]: Clear security path for tunnel packets.

22 years ago[NET]: Mark dev_alloc as deprecated.
Stephen Hemminger [Tue, 14 Oct 2003 06:20:19 +0000 (23:20 -0700)]
[NET]: Mark dev_alloc as deprecated.

22 years ago[EBTABLES]: Print size_t type properly in ebt_among.c
David S. Miller [Tue, 14 Oct 2003 03:58:22 +0000 (20:58 -0700)]
[EBTABLES]: Print size_t type properly in ebt_among.c

22 years ago[IPV4]: ip_fragment should not reassemble if all frags do not have owner
Julian Anastasov [Tue, 14 Oct 2003 03:50:35 +0000 (20:50 -0700)]
[IPV4]: ip_fragment should not reassemble if all frags do not have owner

22 years ago[TCP]: Fix numbering of lines in /proc/net/tcp
Tim Shepard [Tue, 14 Oct 2003 03:47:29 +0000 (20:47 -0700)]
[TCP]: Fix numbering of lines in /proc/net/tcp

22 years ago[TCP]: Fix missing connections in /proc/net/tcp
Tim Shepard [Tue, 14 Oct 2003 03:42:49 +0000 (20:42 -0700)]
[TCP]: Fix missing connections in /proc/net/tcp

22 years ago[PATCH] Fix dvb_net network subsystem usage
Michael Hunold [Tue, 14 Oct 2003 03:13:51 +0000 (20:13 -0700)]
[PATCH] Fix dvb_net network subsystem usage

This restores the changes to the dvb_net code done by
<shemminger@osdl.org>, which were wiped out by my last patchset.

22 years agoMake x86 do_div() macro evaluate its "base" argument only once.
Linus Torvalds [Tue, 14 Oct 2003 03:11:37 +0000 (20:11 -0700)]
Make x86 do_div() macro evaluate its "base" argument only once.

22 years agoAvoid unnecessary floating point calculations in amd8111e net driver
Linus Torvalds [Tue, 14 Oct 2003 01:35:30 +0000 (18:35 -0700)]
Avoid unnecessary floating point calculations in amd8111e net driver

22 years agoAvoid unnecessary floating point usage in av7110 DVB driver
Linus Torvalds [Tue, 14 Oct 2003 01:34:24 +0000 (18:34 -0700)]
Avoid unnecessary floating point usage in av7110 DVB driver

22 years agoMark timer as running in the timer base _before_ we clear the pending
Linus Torvalds [Mon, 13 Oct 2003 14:50:54 +0000 (07:50 -0700)]
Mark timer as running in the timer base _before_ we clear the pending
flag (and order it on SMP), so that del_timer_sync() always sees the
timer either pending or running if it is active.

22 years agoRevert recent SMP timer changes - they cause deadlocks
Linus Torvalds [Mon, 13 Oct 2003 09:30:26 +0000 (02:30 -0700)]
Revert recent SMP timer changes - they cause deadlocks

Cset exclude: mingo@elte.hu[torvalds]|ChangeSet|20031012025453|05000

22 years ago[PATCH] USB: ohci-hcd PM fixes
David Brownell [Mon, 13 Oct 2003 09:21:38 +0000 (02:21 -0700)]
[PATCH] USB: ohci-hcd PM fixes

This patch primarily fixes PM-related bugs in the OHCI driver.

It gets rid of some flags that duplicated state between usbcore
and the HCD.  The duplication wasn't correct, and wasn't tested
correctly ... this fixes both issues.  So now the driver avoids
writing to hardware when it's suspended (as required by older
PowerBook hardware) or halted, and treats all non-running states
the same (as required by all hardware).

This includes the last generic parts of a patch sent a while back
by Benjamin Herrenschmidt, which weren't at that time testable on a
x86 kernel because the generic PM code was in flux (and broken).
There may still be some PMAC-specific issues to resolve.

With this patch, and a device_resume() deadlock fix, I've seen
OHCI suspend/resume work on hardware it's not worked on since the
PM changes started to merge into the 2.6.0-test kernels.

22 years ago[PATCH] USB: ehci-hcd, misc bugfixes
David Brownell [Mon, 13 Oct 2003 09:21:20 +0000 (02:21 -0700)]
[PATCH] USB: ehci-hcd, misc bugfixes

This fixes some bugs observed in the EHCI code:

  - Byte-order confusion caused the wrong address to be set
    on big-endian hardware (reported last week on PPC and
    SPARC).   That bug's been there for about a year, with
    no problem reports ... hmm.

  - Used the wrong bitmask to determine max packet size
    for interrupt transfers, so they were limited to 1023
    bytes (not 1024 bytes) at high speed.

  - Because those two problems related to the masking,
    I sanity checked it and moved more of byteswapping
    to compile time.

  - Removes some oopsing in the (debug) periodic schedule
    dump, seen with patches that add more interesting
    behaviors (which folk are finally trying...).

  - Removed some now-pointless <linux/version.h> usage

22 years ago[PATCH] USB: fix visor driver to work with Palm OS 4+ devices
Greg Kroah-Hartman [Mon, 13 Oct 2003 07:22:50 +0000 (00:22 -0700)]
[PATCH] USB: fix visor driver to work with Palm OS 4+ devices

For some reason, they do not like the reset_config calls anymore.

22 years agoMerge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5
David S. Miller [Mon, 13 Oct 2003 07:03:56 +0000 (00:03 -0700)]
Merge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

22 years ago[NET]: Resolve device probe difference.
Stephen Hemminger [Mon, 13 Oct 2003 05:49:00 +0000 (22:49 -0700)]
[NET]: Resolve device probe difference.

22 years ago[EBTABLES]: Add ebt_among match.
Bart De Schuymer [Mon, 13 Oct 2003 05:47:57 +0000 (22:47 -0700)]
[EBTABLES]: Add ebt_among match.

22 years ago[NET]: Fix sealevel regression.
Stephen Hemminger [Mon, 13 Oct 2003 05:39:24 +0000 (22:39 -0700)]
[NET]: Fix sealevel regression.

My earlier change broke the if_ptr assumption used by SPPP drivers.
This makes sealevel driver do if_ptr like it used to.

22 years ago[NET]: Fix syncppp wan device regression.
Stephen Hemminger [Mon, 13 Oct 2003 05:38:13 +0000 (22:38 -0700)]
[NET]: Fix syncppp wan device regression.

In 2.6.0-test6, I put in a patch which fixed sealevel driver, but broke
all the other wan devices because it got rid of one level of indirection.

This puts back the indirection, and hopefully prevents others from
misreading it the same way. The SPPP drivers expect that
netdev->priv points to device local structure whose first element
is a pointer to the ppp device.

22 years ago[IPVS]: Fix to set the statistics of dest zero when bound to a new service
Wensong Zhang [Mon, 13 Oct 2003 05:36:12 +0000 (22:36 -0700)]
[IPVS]: Fix to set the statistics of dest zero when bound to a new service

22 years ago[PATCH] I2C: sensors/w83781d.c creates useless sysfs entries
Luca Tettamanti [Mon, 13 Oct 2003 05:31:27 +0000 (22:31 -0700)]
[PATCH] I2C: sensors/w83781d.c creates useless sysfs entries

Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> ha scritto:
> here is a trivial fix for Winbond sensor driver, which currently creates
> useless entries in sys/bus/i2c due to missing braces after if statements
> - author probably forgot about the macro expansion.

IMHO it's better to fix the macro:

22 years ago[IPVS]: Fix IPVS sync state check.
Wensong Zhang [Mon, 13 Oct 2003 05:28:21 +0000 (22:28 -0700)]
[IPVS]: Fix IPVS sync state check.

Patch from Horms <horms@vergenet.net>

Since both the primay and the backup sync daemon can be started in a box
at a time, we must just check if the MASTER bit is set in the sync state.

22 years ago[IPIP]: Decapsulate after checking policy.
Herbert Xu [Mon, 13 Oct 2003 05:21:36 +0000 (22:21 -0700)]
[IPIP]: Decapsulate after checking policy.

22 years ago[PATCH] avoid crashes due to unaligned stacks
Manfred Spraul [Mon, 13 Oct 2003 04:43:13 +0000 (21:43 -0700)]
[PATCH] avoid crashes due to unaligned stacks

This fixes the stack end detection properly, and verifies that the
stack content printing does not overflow into the next page even
partially.

This is required especially for x86 BIOSes that misalign the stack,
together with the page access debugging that unmaps unused kernel
pages to check for valid accesses.

Architectures with special needs (eg HPPA with stacks that grow up)
can override the kernel stack end test with __HAVE_ARCH_KSTACK_END
if they ever enable the anal slab debugging code.

22 years agoOSS: fix up MOD_INC and MOD_DEC usages to remove compiler warnings.
Greg Kroah-Hartman [Mon, 13 Oct 2003 04:42:19 +0000 (21:42 -0700)]
OSS: fix up MOD_INC and MOD_DEC usages to remove compiler warnings.

22 years agoCHAR: Remove unneeded MOD_INC and MOD_DEC calls.
Greg Kroah-Hartman [Mon, 13 Oct 2003 04:32:38 +0000 (21:32 -0700)]
CHAR: Remove unneeded MOD_INC and MOD_DEC calls.

22 years ago[PATCH] I2C: remove unneeded MOD_INC and MOD_DEC calls.
Greg Kroah-Hartman [Mon, 13 Oct 2003 04:28:27 +0000 (21:28 -0700)]
[PATCH] I2C: remove unneeded MOD_INC and MOD_DEC calls.

22 years ago[PATCH] Fixing mlockall & PROT_NONE
Andi Kleen [Mon, 13 Oct 2003 04:24:49 +0000 (21:24 -0700)]
[PATCH] Fixing mlockall & PROT_NONE

This is the minimal change to make "mlockall()" not complain about
the occasional PROT_NONE area.

PROT_NONE is commonly used on x86-64, and is no reason to not lock
in the rest of the mappings into memory.

22 years agoPCI: fix up probe functions for OSS drivers
Greg Kroah-Hartman [Mon, 13 Oct 2003 04:07:23 +0000 (21:07 -0700)]
PCI: fix up probe functions for OSS drivers

Can not be marked __init, must be marked __devinit or not at all.
If it is marked __init, then oops can happen by a user writing to the
"new_id" file from sysfs.

22 years agoPCI: fix up probe functions for synclink drivers
Greg Kroah-Hartman [Mon, 13 Oct 2003 04:06:38 +0000 (21:06 -0700)]
PCI: fix up probe functions for synclink drivers

Can not be marked __init, must be marked __devinit or not at all.
If it is marked __init, then oops can happen by a user writing to the
"new_id" file from sysfs.

22 years agoPCI: fix up probe functions for agp drivers
Greg Kroah-Hartman [Mon, 13 Oct 2003 04:05:52 +0000 (21:05 -0700)]
PCI: fix up probe functions for agp drivers

Can not be marked __init, must be marked __devinit or not at all.
If it is marked __init, then oops can happen by a user writing to the
"new_id" file from sysfs.

22 years ago[PATCH] Sun-3 compile fix
Geert Uytterhoeven [Mon, 13 Oct 2003 03:05:57 +0000 (20:05 -0700)]
[PATCH] Sun-3 compile fix

Sun-3: Add missing include (needed because of __attribute_used__ in
<linux/init.h>)

22 years ago[PATCH] M68k export csum_partial
Geert Uytterhoeven [Mon, 13 Oct 2003 03:05:32 +0000 (20:05 -0700)]
[PATCH] M68k export csum_partial

M68k: Export missing symbol csum_partial

22 years ago[PATCH] Kernel thread signal handling.
David Woodhouse [Mon, 13 Oct 2003 02:35:05 +0000 (19:35 -0700)]
[PATCH] Kernel thread signal handling.

 - add disallow_signal() to complement allow_signal(), rather than
   having different subsystems try to do it by hand.

 - add a version of dequeue_signal() which does the necessary locking on
   its own, again to avoid having modules have to care.

 - let allow_signal() to actually allow signals other than
   SIGKILL. Currently they get either converted to SIGKILL or
   silently dropped, according to whether your kernel thread
   happens to have sa_handler set for the signal in question.

   (Barf alert: we do this by just installing a dummy handler)

 - make jffs2 use the cleaned up infrastructure

22 years ago[PATCH] Fix software suspend compilation on x86-64
Andi Kleen [Sun, 12 Oct 2003 15:30:02 +0000 (08:30 -0700)]
[PATCH] Fix software suspend compilation on x86-64

From Pavel Machek. Make software suspend compile again on x86-64

22 years agoClear IRQ_INPROGRESS as part of "enable_irq()".
Linus Torvalds [Sun, 12 Oct 2003 12:09:55 +0000 (05:09 -0700)]
Clear IRQ_INPROGRESS as part of "enable_irq()".

It can have gotten set by a stray interrupt if there were
no handlers while the IRQ was disabled, and we shouldn't
confuse other parts (ie this is another safety-net for the
issues that Al Viro brought up about disable_irq() deadlocks
when no handlers exist).

22 years ago[PATCH] problems with USB memory pen
Matthew Dharm [Sun, 12 Oct 2003 12:00:39 +0000 (05:00 -0700)]
[PATCH] problems with USB memory pen

This fixes a bug which was introduced when the code was switched to use
atomic_read()s.

The bug prevents hot-unplugging of SCSI (or emulated SCSI) devices from
working.

From Patrick Mansfield.

22 years agoMake kernel stack dumps handle unaligned kernel stacks more gracefully.
Linus Torvalds [Sun, 12 Oct 2003 11:44:23 +0000 (04:44 -0700)]
Make kernel stack dumps handle unaligned kernel stacks more gracefully.

They can happen on x86 as a result of interrupts in BIOS calls.

Noted by Manfred Spraul.

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Sun, 12 Oct 2003 11:21:01 +0000 (04:21 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Sun, 12 Oct 2003 11:19:03 +0000 (04:19 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge samba.org:/stuff/paulus/kernel/linux-2.5
Paul Mackerras [Mon, 13 Oct 2003 06:39:18 +0000 (16:39 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc

22 years agoMerge master.kernel.org:/home/dwmw2/BK/jffs2-forlinus-2.5
Linus Torvalds [Sun, 12 Oct 2003 11:17:46 +0000 (04:17 -0700)]
Merge master.kernel.org:/home/dwmw2/BK/jffs2-forlinus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sun, 12 Oct 2003 11:07:02 +0000 (04:07 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[ARM] Add missing csum_partial export.
Russell King [Sun, 12 Oct 2003 11:19:31 +0000 (12:19 +0100)]
[ARM] Add missing csum_partial export.

22 years agoFix repeat delays in adbhit, they didn't make the transition to
Benjamin Herrenschmidt [Sat, 11 Oct 2003 18:28:40 +0000 (20:28 +0200)]
Fix repeat delays in adbhit, they didn't make the transition to
jiffies based values to ms. This fix crazy key repeat on ADB
based PowerMacs

22 years agoFix a crash on sleep in the OF platform core where we would
Benjamin Herrenschmidt [Sat, 11 Oct 2003 18:17:44 +0000 (20:17 +0200)]
Fix a crash on sleep in the OF platform core where we would
use a NULL "driver" pointer and actually try to call it after
casting it !