]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] PCI: fix bug in pci_setup_bridge()
Ivan Kokshaysky [Wed, 29 Oct 2003 07:20:38 +0000 (23:20 -0800)]
[PATCH] PCI: fix bug in pci_setup_bridge()

This bug prevents Alphas with older firmware from booting if there
is a card with PCI-PCI bridge that supports 32-bit IO.
This has happened on AS2100 with a quad-tulip card, for example:
 - initially, the I/O window of 21152 bridge was 0x10000-0x10fff,
   as set up by firmware;
 - pci_setup_bridge() is going to change this, say, to 0xa000-0xafff:
   first, it updates PCI_IO_BASE_UPPER16 and PCI_IO_LIMIT_UPPER16
   registers, so that IO window temporarily is at 0x0000-0x0fff,
   which effectively blocks up all legacy IO ports in the lower
   4K range, such as serial, floppy, RTC an so on;
   does debugging printk - machine dies here with recursive
   machine checks as the serial console has gone.

Moving (or disabling) the debugging printk is not a solution -
there is possibility that timer interrupt (which might access RTC
ports) occurs between writes to lower and upper parts of the
base/limit registers.

The patch temporarily disables the IO window of the bridge by
setting PCI_IO_BASE_UPPER16 > PCI_IO_LIMIT_UPPER16 before doing
an update. It's safe, as we don't have any active IO behind
the bridge at this point. Also, it's a NOP for bridges with
16-bit-only IO.
Similar (but simpler, as we always clear upper 32 bits) fix
for 64-bit prefetchable MMIO range.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Wed, 29 Oct 2003 06:01:11 +0000 (22:01 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://129.217.163.1/linux-2.5/
Russell King [Wed, 29 Oct 2003 09:12:20 +0000 (09:12 +0000)]
Merge bk://129.217.163.1/linux-2.5/
into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-serial

22 years agoMerge flint.arm.linux.org.uk:/usr/src/bk/linux-2.6
Russell King [Wed, 29 Oct 2003 08:32:00 +0000 (08:32 +0000)]
Merge flint.arm.linux.org.uk:/usr/src/bk/linux-2.6
into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-serial

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Wed, 29 Oct 2003 05:56:17 +0000 (21:56 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[netdrvr 3c527] add MODULE_LICENSE tag
Andrew Morton [Wed, 29 Oct 2003 10:43:44 +0000 (05:43 -0500)]
[netdrvr 3c527] add MODULE_LICENSE tag

22 years ago[PATCH] Fix wireless stats locking
Javier Achirica [Wed, 29 Oct 2003 10:40:27 +0000 (05:40 -0500)]
[PATCH] Fix wireless stats locking

22 years ago[PATCH] fix starfire 64-bit b0rkage
Arjan van de Ven [Wed, 29 Oct 2003 10:40:20 +0000 (05:40 -0500)]
[PATCH] fix starfire 64-bit b0rkage

(x >> 32) is undefined on a 32 bit integral variable in C; In contrast
(x >>16 >> 16) is fine (and gets optimized out to 0, while (x >> 32)
gets optimized out to a nop).

Fix for starfire below

22 years ago[netdrvr bonding] fix monitoring functions
Amir Noam [Wed, 29 Oct 2003 10:01:31 +0000 (05:01 -0500)]
[netdrvr bonding] fix monitoring functions

This fix got missed in the bonding patchset applied a while ago.

22 years ago[pcmcia fmvj18x_cs] share interrupts properly for TDK multifunction cards.
Jun Komuro [Wed, 29 Oct 2003 09:49:29 +0000 (04:49 -0500)]
[pcmcia fmvj18x_cs] share interrupts properly for TDK multifunction cards.

22 years ago[PATCH] 2.6.0-test8: fix ARM ether driver naming
Russell King [Wed, 29 Oct 2003 09:47:00 +0000 (04:47 -0500)]
[PATCH] 2.6.0-test8: fix ARM ether driver naming

Ensure that arm ether drivers print the correct ether device name rather
than "eth%d".

22 years ago[PATCH] Fix compatibily issue with some APs
Javier Achirica [Wed, 29 Oct 2003 09:41:21 +0000 (04:41 -0500)]
[PATCH] Fix compatibily issue with some APs

22 years ago[netdrvr starfire] include asm/io.h
Rik van Riel [Wed, 29 Oct 2003 09:39:27 +0000 (04:39 -0500)]
[netdrvr starfire] include asm/io.h

Fixes build on some platforms.

22 years ago[netdrvr 8139too] add pci id
Kawazoe Tomonori [Wed, 29 Oct 2003 09:36:34 +0000 (04:36 -0500)]
[netdrvr 8139too] add pci id

22 years ago[PATCH] r8169 module license tag
Arjan van de Ven [Wed, 29 Oct 2003 09:31:47 +0000 (04:31 -0500)]
[PATCH] r8169 module license tag

22 years ago[PATCH] initcall ordering fix for PNP NICs
Andrew Morton [Wed, 29 Oct 2003 09:28:49 +0000 (04:28 -0500)]
[PATCH] initcall ordering fix for PNP NICs

From: "M.H.VanLeeuwen" <vanl@megsinet.net>

The level of isapnp_init was moved to after apci sometime ago.  Since it is
now after net_dev_init, ISA PNP NICs fail to initialized at boot.  This is
particularily problematic for NFS root filesystems like mine, or none
modular systems.

This fix allows ISA PNP NIC cards to work during net_dev_init, and still
leaves isapnp_init after apci_init.

22 years ago[PATCH] sis900 skb free fix
Andrew Morton [Wed, 29 Oct 2003 09:28:40 +0000 (04:28 -0500)]
[PATCH] sis900 skb free fix

This driver is freeing skb's from timer context, with local irq's disabled.

It generates warnings from local_bh_enable() because local_bh_enable()
reenables interrupts, exposing the machine to deadlocks.

So use the deferred dev_kfree_skb_irq() instead.

22 years agoMerge bk://linux.bkbits.net/linux-2.5/
Matthias Andree [Wed, 29 Oct 2003 04:55:56 +0000 (05:55 +0100)]
Merge bk://linux.bkbits.net/linux-2.5/
into gmx.de:/suse/kernel/BK/linux-2.5

22 years agoMerge http://linux-acpi.bkbits.net/linux-acpi-release-2.6.0
Linus Torvalds [Tue, 28 Oct 2003 23:19:50 +0000 (15:19 -0800)]
Merge http://linux-acpi.bkbits.net/linux-acpi-release-2.6.0
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] direct-io typo fix
Andrew Morton [Tue, 28 Oct 2003 23:13:31 +0000 (15:13 -0800)]
[PATCH] direct-io typo fix

From: Klaas de Waal <klaas.de.waal@hccnet.nl>

Bug in parameter of ZERO_PAGE macro in line 679 of fb/direct-io.c Parameter
dio->cur_user_address has to be dio->curr_user_address.  This bug shows
when compling for MIPS little endian as target, not when compiling for X86.

22 years ago[PATCH] /proc/tty/driver/serial formatting fix
Andrew Morton [Tue, 28 Oct 2003 23:13:22 +0000 (15:13 -0800)]
[PATCH] /proc/tty/driver/serial formatting fix

From: Matthias Andree <matthias.andree@gmx.de>

Properly terminate /proc/tty/driver/serial output lines of known UARTS
when the caller has no CAP_SYS_ADMIN capability.

22 years ago[PATCH] Export some symbols on x86-64
Andrew Morton [Tue, 28 Oct 2003 23:13:14 +0000 (15:13 -0800)]
[PATCH] Export some symbols on x86-64

From: Andi Kleen <ak@muc.de>

Export two symbols on x86-64.  This is needed for the sk98lin driver and ipv6.

22 years ago[PATCH] bttv jiffies warning fix
Andrew Morton [Tue, 28 Oct 2003 23:13:05 +0000 (15:13 -0800)]
[PATCH] bttv jiffies warning fix

Use unsigned long for time_after(), not an int.

22 years ago[PATCH] WinTV-D patch to make tuner functional
Andrew Morton [Tue, 28 Oct 2003 23:12:56 +0000 (15:12 -0800)]
[PATCH] WinTV-D patch to make tuner functional

From: "Brad House" <brad_mssw@gentoo.org>

Quick patch to enable the Philips tuner on the WinTV-D boards.  Tested and
works fine.  (acked by Gerd)

22 years ago[PATCH] JBD: use-after-free fix
Andrew Morton [Tue, 28 Oct 2003 23:12:47 +0000 (15:12 -0800)]
[PATCH] JBD: use-after-free fix

The wait_event() in there can touch the memory at *transaction after
kjournald has freed it.

Rework the code to not wait until the transaction enters T_FLUSH state: just
loop back and try against after the wakeup.

22 years ago[PATCH] digi_accelport warning fix
Andrew Morton [Tue, 28 Oct 2003 23:12:38 +0000 (15:12 -0800)]
[PATCH] digi_accelport warning fix

Use the correct type for the workqueue callback.

22 years ago[PATCH] ibmtr_cs/ibmtr - get working again
Mike Phillips [Tue, 28 Oct 2003 23:09:57 +0000 (15:09 -0800)]
[PATCH] ibmtr_cs/ibmtr - get working again

Patch to get ibmtr_cs / ibmtr working again.  A change went in a while back
I missed that killed it.  Also fixed the timer to eliminate the
uninitialized timer error on close.

22 years ago[ACPI] REVERT ACPICA-20030918 CONFIG_ACPI_DEBUG printk that caused crash
Len Brown [Tue, 28 Oct 2003 17:07:38 +0000 (12:07 -0500)]
[ACPI] REVERT ACPICA-20030918 CONFIG_ACPI_DEBUG printk that caused crash
http://bugzilla.kernel.org/show_bug.cgi?id=1341

22 years agoMerge bk://linux.bkbits.net/linux-2.5/
Matthias Andree [Tue, 28 Oct 2003 17:06:20 +0000 (18:06 +0100)]
Merge bk://linux.bkbits.net/linux-2.5/
into gmx.de:/suse/kernel/BK/linux-2.5

22 years ago[ACPI] REVERT acpi_ec_gpe_query(ec) fix that crashed non-T40 boxes
Len Brown [Tue, 28 Oct 2003 16:40:08 +0000 (11:40 -0500)]
[ACPI] REVERT acpi_ec_gpe_query(ec) fix that crashed non-T40 boxes
http://bugme.osdl.org/show_bug.cgi?id=1171

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Tue, 28 Oct 2003 12:06:35 +0000 (04:06 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Tue, 28 Oct 2003 12:05:44 +0000 (04:05 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Tue, 28 Oct 2003 12:03:57 +0000 (04:03 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[SERIAL PATCH] 1672/1: Restore sizeof(struct serial_struct)
Andrew Victor [Tue, 28 Oct 2003 09:36:10 +0000 (09:36 +0000)]
[SERIAL PATCH] 1672/1: Restore sizeof(struct serial_struct)

Patch from SAN People

Patch 2.4.21-rmk1 added a "iomap_base" field to the serial_struct
structure (include/linux/serial.h).

Since that structure is exported to user-space it should be
consistent between revisions of the stable 2.4 kernels.

This patch removes 4 bytes (were "reserved") to restore the size
of the structure.

Without this patch, ioctl(TIOCGSERIAL) will copy_to_user() 4
bytes more than expected and possibly corrupt the application's
stack/heap.

22 years ago[PATCH] Fix alpha "white box" boot
Jay Estabrook [Tue, 28 Oct 2003 05:09:35 +0000 (21:09 -0800)]
[PATCH] Fix alpha "white box" boot

Here's a show-stopper patch for Alpha; missing it prevents several of
our platforms ("white box" 3000 and 5000 series) from booting.

22 years ago[TCP]: When SYN is set, the window is not scaled.
Kevin Lahey [Tue, 28 Oct 2003 00:38:12 +0000 (16:38 -0800)]
[TCP]: When SYN is set, the window is not scaled.

22 years ago[SPARC64]: Get preempt building and working again.
David S. Miller [Tue, 28 Oct 2003 00:24:23 +0000 (16:24 -0800)]
[SPARC64]: Get preempt building and working again.

- HAVE_DEC_LOCK depends on SMP
- Trap return preemption check needs interrupt disabled check
- Implement write_trylock
- Fix in_atomic() definition when PREEMPT enabled

22 years ago[IPV6]: Fix outdated and inaccurate information in Kconfig help.
Hideaki Yoshifuji [Mon, 27 Oct 2003 23:44:43 +0000 (15:44 -0800)]
[IPV6]: Fix outdated and inaccurate information in Kconfig help.

22 years ago[PCMCIA] Fix card detection.
Russell King [Mon, 27 Oct 2003 23:20:38 +0000 (23:20 +0000)]
[PCMCIA] Fix card detection.

Idea from David Hinds.

Some PCMCIA/Cardbus controllers seem to get upset when we ask
them to re-do card interrogation - they miss the next insertion
event.

We therefore avoid forcing needless card interrogations if a
card has already been succesfully detected and interrogated.

22 years ago[IPV4]: Remove out-of-date info CONFIG_INET help text.
Hideaki Yoshifuji [Mon, 27 Oct 2003 22:47:13 +0000 (14:47 -0800)]
[IPV4]: Remove out-of-date info CONFIG_INET help text.

22 years ago[IPV6]: Fix inappropriate usage of inet{,6}_sk().
Hideaki Yoshifuji [Mon, 27 Oct 2003 19:11:07 +0000 (11:11 -0800)]
[IPV6]: Fix inappropriate usage of inet{,6}_sk().

22 years ago[SPARC64]: Fix preempt handling in dec_and_lock.S
David S. Miller [Mon, 27 Oct 2003 18:33:27 +0000 (10:33 -0800)]
[SPARC64]: Fix preempt handling in dec_and_lock.S

22 years ago[SPARC]: Add AIO syscalls, 32-bit compat handling will come later.
David S. Miller [Mon, 27 Oct 2003 18:26:34 +0000 (10:26 -0800)]
[SPARC]: Add AIO syscalls, 32-bit compat handling will come later.

22 years ago[IPV4]: Make sure ipgre_tunnel_init() gets the correct ioctl settings.
Paul E. Erkkila [Mon, 27 Oct 2003 17:13:25 +0000 (09:13 -0800)]
[IPV4]: Make sure ipgre_tunnel_init() gets the correct ioctl settings.

22 years ago[LLC]: In llc_ui_connect(), return error properly when device not found.
Arnaldo Carvalho de Melo [Mon, 27 Oct 2003 17:11:37 +0000 (09:11 -0800)]
[LLC]: In llc_ui_connect(), return error properly when device not found.

22 years ago[LLC]: Fix array indexing in llc_add_pack().
Arnaldo Carvalho de Melo [Mon, 27 Oct 2003 17:10:42 +0000 (09:10 -0800)]
[LLC]: Fix array indexing in llc_add_pack().

22 years agoMerge bk://linux.bkbits.net/linux-2.5/
Matthias Andree [Mon, 27 Oct 2003 14:53:26 +0000 (15:53 +0100)]
Merge bk://linux.bkbits.net/linux-2.5/
into gmx.de:/suse/kernel/BK/linux-2.5

22 years ago[PATCH] ia64: fix 2 more perfmon2 bugs
Stéphane Eranian [Mon, 27 Oct 2003 14:45:37 +0000 (06:45 -0800)]
[PATCH] ia64: fix 2 more perfmon2 bugs

Here is the minimal patch that fixes things that do not work and that
can be noticed fairly easily:

        - remove a typo in pfm_check_task_state() which causes
          PFM_READ_PMDS to fail when context is in  PFM_MASKED state.

        - fix a typo in perfmon_mcklinley.h when checking the value
          combinations for when writing to PMC14. This could reject a
          valid request to program PMC14.

22 years agoProperly terminate /proc/tty/driver/serial output lines of known UARTS
Matthias Andree [Mon, 27 Oct 2003 07:29:34 +0000 (08:29 +0100)]
Properly terminate /proc/tty/driver/serial output lines of known UARTS
when the caller has no CAP_SYS_ADMIN capability.

22 years ago[PATCH] Fix binfmt_misc locking
Andrew Morton [Mon, 27 Oct 2003 05:37:04 +0000 (21:37 -0800)]
[PATCH] Fix binfmt_misc locking

This fixes a sleep-in-spinlock bug for binfmt_misc registration.

That lock is purely for the list, not for the dentry.

22 years agoDon't force PS/2 mouse rate or resolution by default.
Linus Torvalds [Mon, 27 Oct 2003 03:52:49 +0000 (19:52 -0800)]
Don't force PS/2 mouse rate or resolution by default.

Only set the rate/resolution if the user actually asked
for it. Some mice and KVM switches don't like to have
their rate forced.

22 years agoFix ZOMBIE race with self-reaping threads.
Linus Torvalds [Mon, 27 Oct 2003 03:50:03 +0000 (19:50 -0800)]
Fix ZOMBIE race with self-reaping threads.

exit_notify() used to leave a window open when a thread
died that made the thread visible as a ZOMBIE even though
the thread reaped itself. This closes that window by marking
the thread DEAD within the tasklist_lock.

22 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.6.0-test9
David Mosberger [Mon, 27 Oct 2003 03:47:25 +0000 (19:47 -0800)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.6.0-test9
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5

22 years ago[PATCH] ia64: fix perfmon UP breakage
Stéphane Eranian [Mon, 27 Oct 2003 02:44:55 +0000 (18:44 -0800)]
[PATCH] ia64: fix perfmon UP breakage

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Mon, 27 Oct 2003 01:25:23 +0000 (17:25 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Mon, 27 Oct 2003 01:16:45 +0000 (17:16 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] Fix DM on top of raid
Kevin Corry [Mon, 27 Oct 2003 00:37:48 +0000 (16:37 -0800)]
[PATCH] Fix DM on top of raid

Force Device-Mapper to use PAGE_SIZE or smaller I/O when the underlying
device has a bvec_merge_fn routine registered.  This will fix the
situation of Device-Mapper submitting I/Os to RAID-0 that span the
RAID-0 chunk boundaries.

Joe is working on a better solution that actually honors the MD
merge_bvec_fn routine.  But this minimal change will fix the problem for
the time being.

22 years agoPut the compiler barrier() on the right side of the preemption
Linus Torvalds [Mon, 27 Oct 2003 00:35:23 +0000 (16:35 -0800)]
Put the compiler barrier() on the right side of the preemption
enable on UP-PREEMPT.

Without this, the enable could "migrate" up into the critical
region (on SMP, the actual spinlock would act as an additional
barrier and PREEMPT was ok).

22 years ago[IPSEC]: Fix accidental too many ref drops on policies.
Herbert Xu [Sun, 26 Oct 2003 19:29:16 +0000 (11:29 -0800)]
[IPSEC]: Fix accidental too many ref drops on policies.

22 years ago[IPV6]: Do not virt_to_page() on stack addresses, fixes OOPS.
David S. Miller [Sun, 26 Oct 2003 16:56:29 +0000 (08:56 -0800)]
[IPV6]: Do not virt_to_page() on stack addresses, fixes OOPS.

22 years agoRevert "Zero initial timestamps are valid" changeset.
David S. Miller [Sun, 26 Oct 2003 16:29:03 +0000 (08:29 -0800)]
Revert "Zero initial timestamps are valid" changeset.

I am still not sure that this change all by itself is enough
to make us accept zero initial timestamps properly.

Cset exclude: davem@nuts.ninka.net|ChangeSet|20031025060257|60993

22 years agoRevert signal handling changes in tcp.c - they break SIGURG.
David S. Miller [Sun, 26 Oct 2003 16:28:16 +0000 (08:28 -0800)]
Revert signal handling changes in tcp.c - they break SIGURG.

Cset exclude: kuznet@ms2.inr.ac.ru|ChangeSet|20031021052951|52463

22 years ago[NETFILTER]: Fix potential OOPS in ipt_REDIRECT.
Bart De Schuymer [Sun, 26 Oct 2003 16:11:51 +0000 (08:11 -0800)]
[NETFILTER]: Fix potential OOPS in ipt_REDIRECT.

22 years ago[IPV6]: Fix bogus semicolon typo in mcast.c
Hideaki Yoshifuji [Sun, 26 Oct 2003 16:05:29 +0000 (08:05 -0800)]
[IPV6]: Fix bogus semicolon typo in mcast.c

22 years ago[NETFILTER]: Fix ipchains oops in NAT
Rusty Russell [Sun, 26 Oct 2003 16:01:25 +0000 (08:01 -0800)]
[NETFILTER]: Fix ipchains oops in NAT

We updated ip_nat_setup_info to set the initialized flag and call
place_in_hashes, but *didn't* change the call in ip_fw_compat_masq.c
which also calls place_in_hashes() itself (again!).  Result: corrupt
list, and next thing which lands in the same hash bucket goes boom.

Thanks to Andy Polyakov for chasing this down.

22 years ago[IPV6]: Process ipv4-mapped addresses properly on UDPv6 sockets.
Hideaki Yoshifuji [Sun, 26 Oct 2003 16:00:07 +0000 (08:00 -0800)]
[IPV6]: Process ipv4-mapped addresses properly on UDPv6 sockets.

22 years ago[IPV4,6]: Use common storage for cork'd flow, needed to handle mapped-ipv4 ipv6 addre...
Hideaki Yoshifuji [Sun, 26 Oct 2003 15:58:17 +0000 (07:58 -0800)]
[IPV4,6]: Use common storage for cork'd flow, needed to handle mapped-ipv4 ipv6 addresses properly.

22 years ago[IPV6]: Use real storage for cork'd packets, else MSG_MORE corrupts UDP packets.
Hideaki Yoshifuji [Sun, 26 Oct 2003 15:55:54 +0000 (07:55 -0800)]
[IPV6]: Use real storage for cork'd packets, else MSG_MORE corrupts UDP packets.

22 years ago[IPV6]: Typo in address comparison.
Hideaki Yoshifuji [Sun, 26 Oct 2003 15:52:56 +0000 (07:52 -0800)]
[IPV6]: Typo in address comparison.

22 years ago[NET]: Fix oops in ethertap_rx().
Andi Kleen [Sun, 26 Oct 2003 15:52:27 +0000 (07:52 -0800)]
[NET]: Fix oops in ethertap_rx().

22 years ago[NETFILTER]: Fix modular iptables build.
John Levon [Sun, 26 Oct 2003 15:51:48 +0000 (07:51 -0800)]
[NETFILTER]: Fix modular iptables build.

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/sparcwork-2.5
David S. Miller [Sun, 26 Oct 2003 15:44:52 +0000 (07:44 -0800)]
Merge nuts.ninka.net:/disk1/davem/BK/sparcwork-2.5
into nuts.ninka.net:/disk1/davem/BK/sparc-2.5

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Sun, 26 Oct 2003 15:33:41 +0000 (07:33 -0800)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years agoAdd a sticky "PF_DEAD" task flag to keep track of dead processes.
Linus Torvalds [Sun, 26 Oct 2003 11:16:23 +0000 (03:16 -0800)]
Add a sticky "PF_DEAD" task flag to keep track of dead processes.

Use this to simplify 'finish_task_switch', but perhaps more
importantly we can use this to track down why some processes
seem to sometimes not die properly even after having been
marked as ZOMBIE. The "task->state" flags are too fluid to
allow that well.

22 years ago[PATCH] fix __div64_32 to do division properly
Randolph Chung [Sun, 26 Oct 2003 06:27:04 +0000 (22:27 -0800)]
[PATCH] fix __div64_32 to do division properly

This fixes the generic __div64_32() to correctly handle divisions by
large 32-bit values (as used by nanosleep() and friends, for example).

It's a simple bit-at-a-time implementation with a reduction of the high
32-bits handled manually.  Architectures that can do 64/32-bit divisions
in hardware should implement their own more efficient versions.

22 years ago[PATCH] fix h8/300 support
Yoshinori Sato [Sun, 26 Oct 2003 01:23:40 +0000 (17:23 -0800)]
[PATCH] fix h8/300 support

 - add 'sched_clock'
 - delete smplock.h

22 years ago[PATCH] Essential x86-64 updates
Andi Kleen [Sun, 26 Oct 2003 01:17:34 +0000 (17:17 -0800)]
[PATCH] Essential x86-64 updates

The most important part is that it makes x86-64 compile again.
Without that 2.6 users won't be very happy.

It also works around a bug that allowed every user program to reboot the
system on B stepping K8.

Also update to match some recent i386 fixes.

Full ChangeLog:
 - Add acpi_pic_set_level_irq to make ACPI compile again
 - Work around compat mode K8 bug in IRET exception handling
 - Increase exception stack. The old 1k stack was too easy
   to overflow (from Jim Paradis, changed by me)
 - Replace safe_smp_processor_id with cpuid (needed for above)
 - When there is only one node always enable fake_node mode
 - Merge with i386 (NTP gettimeofday monoticity fix, irq nr_vectors change)
 - Fix compile problem for UP kernels in time/cpufreq
 - Set all nodes online at bootup
 - Define node_to_cpumask correctly

22 years ago[PATCH] meye: documentation
Stelian Pop [Sun, 26 Oct 2003 01:11:40 +0000 (17:11 -0800)]
[PATCH] meye: documentation

This documents the existence of a forth 'motioneye' camera plugged into
the USB bus, of course unsupported by the meye driver.

22 years ago[PATCH] sonypi: fix Zoom/Thumbphrase button events
Stelian Pop [Sun, 26 Oct 2003 01:11:20 +0000 (17:11 -0800)]
[PATCH] sonypi: fix Zoom/Thumbphrase button events

This corrects the Zoom and Thumbphrase button events.

22 years ago[PATCH] Relax FATFS validity tests
Andries E. Brouwer [Sun, 26 Oct 2003 01:11:03 +0000 (17:11 -0800)]
[PATCH] Relax FATFS validity tests

The first FAT entry should have the media byte (0xf0,0xf8,...,0xff)
extended with all 1 bits in the first FAT entry.

Checking this is a good idea, it prevents us from mounting garbage
as FAT - there is no good magic for FAT.

Unfortunately, Windows does not enforce this, and 2.4 doesn't either.
It turns out that there are filesystems around (two reports so far) that
have a zero first FAT entry, and work under Windows and 2.4 but fail to
mount under 2.6.

So, this weakens the test.

22 years ago[PATCH] atkbd: 0xfa is ACK
Andries E. Brouwer [Sun, 26 Oct 2003 01:10:52 +0000 (17:10 -0800)]
[PATCH] atkbd: 0xfa is ACK

The 0xfa code can be a key scancode or it can be a protocol scancode.

Only few keyboards use it as a key scancode, and if we always interpret
it as a protocol scancode then these rare keyboards will have a dead
key.  If we interpret it as a key scancode then we have a dead keyboard
in case it was protocol.

Clearly it is safer to prefer to interpret it as a protocol scancode.

This moves the test for ACK and NAK up, so that they are always seen as
protocol.

This is just a minimal patch.  What I did in 1.1.54 was to keep track of
commands sent with a flag reply_expected, so that 0xfa could be taken as
ACK when a reply is expected and as key scancode otherwise.  That is the
better solution, but requires larger surgery.

22 years agoLinux 2.6.0-test9 v2.6.0-test9
Linus Torvalds [Sat, 25 Oct 2003 04:38:01 +0000 (21:38 -0700)]
Linux 2.6.0-test9

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

22 years ago[IPV4]: Fix typo in ipmr.c
David S. Miller [Fri, 24 Oct 2003 17:45:09 +0000 (10:45 -0700)]
[IPV4]: Fix typo in ipmr.c

22 years agoia64: Fix/finish kernel module table support so it actually works.
David Mosberger [Fri, 24 Oct 2003 16:25:45 +0000 (09:25 -0700)]
ia64: Fix/finish kernel module table support so it actually works.

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Fri, 24 Oct 2003 16:04:48 +0000 (09:04 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years ago[TCP]: Zero initial timestamps are valid, Windows XP emits these.
David S. Miller [Fri, 24 Oct 2003 16:02:57 +0000 (09:02 -0700)]
[TCP]: Zero initial timestamps are valid, Windows XP emits these.

22 years ago[NET]: Limit SO_BSDCOMPAT warning.
Andi Kleen [Fri, 24 Oct 2003 12:53:40 +0000 (05:53 -0700)]
[NET]: Limit SO_BSDCOMPAT warning.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 24 Oct 2003 10:07:58 +0000 (03: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] Correct acornfb arguments for fb_set_var()
Russell King [Sat, 25 Oct 2003 01:49:16 +0000 (02:49 +0100)]
[ARM] Correct acornfb arguments for fb_set_var()

22 years ago[PATCH] setkeycode ioctl fix
Knut Petersen [Fri, 24 Oct 2003 01:30:34 +0000 (18:30 -0700)]
[PATCH] setkeycode ioctl fix

This is a bugfix for setkeycode() in /drivers/char/keyboard.c.

If we change a keycode the corresponding bit should be cleared if and
only if this keycode is not defined any longer.  I believe that this
also was intended with the original code, but the implementation is
faulty.

First off all the first three changed lines are obviously erroneus:
oldkey == truekey is false or true, you do not need to inclose this in a
for().  I believe the author intended INPUT_KEYCODE(dev,i) == oldkey.
But fixing this alone is not enough.

If somebody wants to interchange the definition of two keys A and B, the
normal way is to use two setkeycode calls:

    setkeycode (scancode A, keycode B);
    setkeycode (scancode B, keycode A);

The old code does a clearbit(oldkey ..) call even in situations where
two keys have the same definition, and this situation arises commonly in
the situation mentioned above.

Both errors are fixed with this patch.

22 years ago[PATCH] input / keyboard / Scancode Set 3 support broken
Knut Petersen [Fri, 24 Oct 2003 01:30:26 +0000 (18:30 -0700)]
[PATCH] input / keyboard / Scancode Set 3 support broken

If somebody uses keyboard scancode set 3 it is necessary to explicitly
program the keyboard to send make/break codes for all keys and to set
autorepeat for all keys.

This is critical for some people.  One example is the LK461/46W series
of keyboards from Digital Equipment Corporations.  These are VMS
keyboards that are also usable on a normal PC.

These keyboards support Scancode Set 2, but for some keys this support
is screwed up -- some function keys (e.g.  F18/F20) report the same
scancode sequence combined with both alt and shift keys.

Scancode Set 3 works perfectly if all keys are programmed to give
make/break codes.

A lot of keyboards manufactured by Cherry only make/break for some (not all!)
modifyer keys in scancode set 3 without this fix.

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
Linus Torvalds [Fri, 24 Oct 2003 01:19:42 +0000 (18:19 -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/davem/sparc-2.5
Linus Torvalds [Fri, 24 Oct 2003 01:17:15 +0000 (18:17 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoAdd a quirk for the Intel ICH-[45] to add special ACPI regions.
Linus Torvalds [Fri, 24 Oct 2003 00:52:25 +0000 (17:52 -0700)]
Add a quirk for the Intel ICH-[45] to add special ACPI regions.

This fixes resource conflicts due to IO decode that doesn't show
up with a normal PCI probe (we do similar quirks for most other
chipsets). Without it, the kernel doesn't know about some magic
IO decodes for the chips.

23 years ago[IPV6]: Fix IPSEC oops, RTF_NDISC flag gets dropped in __xfrm6_bundle_create().
Kazunori Miyazawa [Thu, 23 Oct 2003 22:39:48 +0000 (15:39 -0700)]
[IPV6]: Fix IPSEC oops, RTF_NDISC flag gets dropped in __xfrm6_bundle_create().

23 years ago[IPSEC]: Strengthen policy checks.
Herbert Xu [Thu, 23 Oct 2003 21:57:11 +0000 (14:57 -0700)]
[IPSEC]: Strengthen policy checks.

23 years ago[SPARC]: Fix emul paths to be root relative.
David S. Miller [Thu, 23 Oct 2003 21:41:17 +0000 (14:41 -0700)]
[SPARC]: Fix emul paths to be root relative.

23 years ago[NET]: Forward port iproute2 build fix from 2.4.23-preX
Hideaki Yoshifuji [Thu, 23 Oct 2003 21:36:03 +0000 (14:36 -0700)]
[NET]: Forward port iproute2 build fix from 2.4.23-preX

23 years ago[IRDA]: Fix references to dead mailing lists and URLs.
Stephen Hemminger [Thu, 23 Oct 2003 21:30:41 +0000 (14:30 -0700)]
[IRDA]: Fix references to dead mailing lists and URLs.