]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] Minor workqueue.c cleanup
Andrew Morton [Wed, 18 Feb 2004 12:47:29 +0000 (04:47 -0800)]
[PATCH] Minor workqueue.c cleanup

From: Rusty Russell <rusty@rustcorp.com.au>

Move duplicated code to __queue_work(), and don't set the CPU for
queue_delayed_work() until the timer goes off.  The second one only has an
effect on CONFIG_HOTPLUG_CPU where the CPU goes down and the timer goes off
on a different CPU than it was scheduled on.

22 years ago[PATCH] Remove kstat cpu notifiers
Andrew Morton [Wed, 18 Feb 2004 12:47:20 +0000 (04:47 -0800)]
[PATCH] Remove kstat cpu notifiers

From: Rusty Russell <rusty@rustcorp.com.au>

Some well-meaning person put a notifier in for CPUs to update the kstat
structures in sched.c.  However, it does nothing, and even with the full
hotplug CPU patch, it still does nothing.

Simple counters very rarely need anything done when CPUs come up or go
down.  If you have per-cpu caches, or per-cpu threads, you need to do
something.  But very rarely for stats.

22 years ago[PATCH] kthread primitive
Andrew Morton [Wed, 18 Feb 2004 12:47:11 +0000 (04:47 -0800)]
[PATCH] kthread primitive

From: Rusty Russell <rusty@rustcorp.com.au>

These two patches provide the framework for stopping kernel threads to
allow hotplug CPU.  This one just adds kthread.c and kthread.h, next
one uses it.

Most importantly, adds a Monty Python quote to the kernel.

Details:

The hotplug CPU code introduces two major problems:

1) Threads which previously never stopped (migration thread,
   ksoftirqd, keventd) have to be stopped cleanly as CPUs go offline.
2) Threads which previously never had to be created now have
   to be created when a CPU goes online.

Unfortunately, stopping a thread is fairly baroque, involving memory
barriers, a completion and spinning until the task is actually dead
(for example, complete_and_exit() must be used if inside a module).

There are also three problems in starting a thread:
1) Doing it from a random process context risks environment contamination:
   better to do it from keventd to guarantee a clean environment, a-la
   call_usermodehelper.
2) Getting the task struct without races is a hard: see kernel/sched.c
   migration_call(), kernel/workqueue.c create_workqueue_thread().
3) There are races in starting a thread for a CPU which is not yet
   online: migration thread does a complex dance at the moment for
   a similar reason (there may be no migration thread to migrate us).

Place all this logic in some primitives to make life easier:
kthread_create() and kthread_stop().  These primitives require no
extra data-structures in the caller: they operate on normal "struct
task_struct"s.

Other changes:

- Expose keventd_up(), as keventd and migration threads will use kthread to
  launch, and kthread normally uses workqueues and must recognize this case.

- Kthreads created at boot before "keventd" are spawned directly.  However,
  this means that they don't have all signals blocked, and hence can be
  killed.  The simplest solution is to always explicitly block all signals in
  the kthread.

- Change over the migration threads, the workqueue threads and the
  ksoftirqd threads to use kthread.

- module.c currently spawns threads directly to stop the machine, so a
  module can be atomically tested for removal.

- Unfortunately, this means that the current task is manipulated (which
  races with set_cpus_allowed, for example), and it can't set its priority
  artificially high.  Using a kernel thread can solve this cleanly, and with
  kthread_run, it's simple.

- kthreads use keventd, so they inherit its cpus_allowed mask.  Unset it.
  All current users set it explicity anyway, but it's nice to fix.

- call_usermode_helper uses keventd, so the process created inherits its
  cpus_allowed mask.  Unset it.

- Prevent errors in boot when cpus_possible() contains a cpu which is not
  online (ie.  a cpu didn't come up).  This doesn't happen on x86, since a
  boot failure makes that CPU no longer possible (hacky, but it works).

- When the cpu fails to come up, some callbacks do kthread_stop(), which
  doesn't work without keventd (which hasn't started yet).  Call it directly,
  and take care that it restores signal state (note: do_sigaction does a
  flush on blocked signals, so we don't need to repeat it).

22 years ago[PATCH] ACPI PM timer
Andrew Morton [Wed, 18 Feb 2004 12:47:01 +0000 (04:47 -0800)]
[PATCH] ACPI PM timer

From: Dominik Brodowski <linux@dominikbrodowski.de>,
      John Stultz <johnstul@us.ibm.com>,
      Dmitry Torokhov

Add the ACPI Powermanagement Timer as x86 kernel timing source.  Unlike the
Time Stamp Counter, it is a reliable timing source which does not get
affected by aggressive powermanagement features like CPU frequency scaling.

Some ideas and some code are based on Arjan van de Ven's implementation for
2.4, and on R.  Byron Moore's drivers/acpi/hardware/hwtimer.c.

We also replace the loop based delay_pmtmr with a TSC based delay_pmtmr,
which resolves a number of issues caused by the loop based delay.  Unsynced
TSCs as well frequency changing TSCs will effect the length of __delay(), but
it seems this method works best.

22 years ago[PATCH] loop: remove redundant initialisation
Andrew Morton [Wed, 18 Feb 2004 12:46:52 +0000 (04:46 -0800)]
[PATCH] loop: remove redundant initialisation

From: "Yury V. Umanets" <umka@namesys.com>

This removes a redundant assignment in loop.

22 years ago[PATCH] loop.c doesn't fail init gracefully
Andrew Morton [Wed, 18 Feb 2004 12:46:43 +0000 (04:46 -0800)]
[PATCH] loop.c doesn't fail init gracefully

From: BlaisorBlade <blaisorblade_spam@yahoo.it>

loop_init doesn't fail gracefully for two reasons:

1) If initialization of loop driver fails, we have an call to
   devfs_add("loop") without any devfs_remove; I add that.

2) On lwn.net 2.6 kernel docs, Jonathan Corbet says: "If you are calling
   add_disk() in your driver initialization routine, you should not fail
   the initialization process after the first call."

So I make loop.c conform to this request by moving add_disk after all
memory allocations.

22 years ago[PATCH] loop: BIO handling fix
Andrew Morton [Wed, 18 Feb 2004 12:46:34 +0000 (04:46 -0800)]
[PATCH] loop: BIO handling fix

From: Ben Slusky <sluskyb@paranoiacs.org>

One more patch --- this fixes a minor bio handling bug in the filebacked
code path. I'd fixed it incidentally in the loop-recycle patch.

I don't think you could actually see damage from this bug unless you
run device mapper on top of loop devices, but still this is the correct
behavior.

22 years ago[PATCH] remove useless highmem bounce from loop/cryptoloop
Andrew Morton [Wed, 18 Feb 2004 12:46:25 +0000 (04:46 -0800)]
[PATCH] remove useless highmem bounce from loop/cryptoloop

From: Ben Slusky <sluskyb@paranoiacs.org>

The attached patch changes the loop device transfer functions (including
cryptoloop transfers) to accept page/offset pairs instead of virtual
addresses, and removes the redundant kmaps in do_lo_send, do_lo_receive,
and loop_transfer_bio. Per Andrew Morton's request a while back.

22 years ago[PATCH] loop: remove the bio remapping capability
Andrew Morton [Wed, 18 Feb 2004 12:46:16 +0000 (04:46 -0800)]
[PATCH] loop: remove the bio remapping capability

This patch removes the loop feature wherein we remap BIOs for block-backed
loop.  So file-backed and block-backed loop are handled identically.

It cleans up the code a lot and fixes the low-on-memory lockups which
block-backed loop currently suffers.

What we lose is the journalling ordering guarantees which
exts-on-loop-on-blockdev had.  But dm-crypt provides that.

22 years ago[PATCH] ppc64: iseries IRQ fix
Andrew Morton [Wed, 18 Feb 2004 12:46:08 +0000 (04:46 -0800)]
[PATCH] ppc64: iseries IRQ fix

From: Stephen Rothwell <sfr@canb.auug.org.au>

This patch lets 2.6.3-rc4 build and boot on an PPC64 iSeries box (at least
for my configuration).  The veth.o bit in the networking Makefile got there
by accident and should be removed anyway ...

There is more to make it work properly (note the "Temporary hack"), but
this gets us closer.

22 years ago[PATCH] ppc64: fix debugger() warnings
Andrew Morton [Wed, 18 Feb 2004 12:45:59 +0000 (04:45 -0800)]
[PATCH] ppc64: fix debugger() warnings

From: Anton Blanchard <anton@samba.org>

Fix compile warnings and add some type safety to debugger macros.

22 years ago[PATCH] ppc64: fix saved_command_line/cmd_line lengths
Andrew Morton [Wed, 18 Feb 2004 12:45:50 +0000 (04:45 -0800)]
[PATCH] ppc64: fix saved_command_line/cmd_line lengths

From: Anton Blanchard <anton@samba.org>

cmd_line was twice the size of saved_command_line but we did a strcpy from
the larger into the smaller.  Create COMMAND_LINE_SIZE and use it.

22 years ago[PATCH] ppc64: Fix prom.c warnings
Andrew Morton [Wed, 18 Feb 2004 12:45:41 +0000 (04:45 -0800)]
[PATCH] ppc64: Fix prom.c warnings

arch/ppc64/kernel/prom.c:200: warning: missing braces around initializer
arch/ppc64/kernel/prom.c:200: warning: (near initialization for `hmt_thread_data[0]')
arch/ppc64/kernel/prom.c: In function `prom_hold_cpus':
arch/ppc64/kernel/prom.c:1090: warning: implicit declaration of function `_get_PIR'

22 years ago[PATCH] msg.h needs list.h
Andrew Morton [Wed, 18 Feb 2004 12:45:32 +0000 (04:45 -0800)]
[PATCH] msg.h needs list.h

msg.h uses list_head.  (I'm not sure what config actually required this, but
it is legit).

22 years ago[PATCH] Remove BDEV_RAW and friends
Andrew Morton [Wed, 18 Feb 2004 12:45:23 +0000 (04:45 -0800)]
[PATCH] Remove BDEV_RAW and friends

These no longer do anything.

This patch changes modules API.  It was acked by Arjan@RH and Hubert@Suse.

22 years ago[PATCH] early printk tweaks
Andrew Morton [Wed, 18 Feb 2004 12:45:13 +0000 (04:45 -0800)]
[PATCH] early printk tweaks

- Use __pa() around the VGA base address: more friendly for the 4g/4g split.

- Use cpu_relax() rather than open-coding rep_nop().

- Default to 9600 baud

- Move documentation to Documentation/kernel-parameters.txt

- Make CONFIG_EARLY_PRINTK disableable if CONFIG_EMBEDDED

22 years ago[PATCH] ia32 early printk
Andrew Morton [Wed, 18 Feb 2004 12:45:04 +0000 (04:45 -0800)]
[PATCH] ia32 early printk

From: Andi Kleen <ak@muc.de>

Implement VGA and serial early printk on x86.  We just include the x86_64
version.

22 years ago[PATCH] Fix for PPP activ/passiv filter
Andrew Morton [Wed, 18 Feb 2004 12:44:55 +0000 (04:44 -0800)]
[PATCH] Fix for PPP activ/passiv filter

From: Karsten Keil <kkeil@suse.de>

I found a bug in the PPPIOCSPASS PPPIOCSACTIVE IOCTL implementation in
kernel 2.5/2.6.

The current pppd code use a empty filter (uprog.len=0) to detach the filter
in the kernel, but this code was removed in 2.5.71 while fixing a compiler
warning.

Here the new patch, also with better limit checking.

The second patch check for flen == 0 in the filter check too, since later
in this code a filter[flen - 1] access is done, which is not so funny with
flen 0.  Maybe it's not really needed anymore, since with the first patch
it would not longer called with flen=0.

paulus says:

    It looks correct.  Previously we had (and in 2.4 we still have)

        if (uprog.len > 0 && uprog.len < 65536) {
...

    which gave warnings since uprog.len is unsigned short.  So someone
    decided that both parts of the condition were redundant.

22 years ago[PATCH] i4l: hisax deadlock fix
Andrew Morton [Wed, 18 Feb 2004 12:44:45 +0000 (04:44 -0800)]
[PATCH] i4l: hisax deadlock fix

From: Karsten Keil <kkeil@suse.de>

This patch fix a deadlock in HiSax (reported from David Woodhouse
<dwmw2@infradead.org>).  upper layer was called back while holding the card
lock fix is to move the wakeup call into BH handler to avoid direct
callbacks.

22 years ago[PATCH] ISDN udpate
Andrew Morton [Wed, 18 Feb 2004 12:44:35 +0000 (04:44 -0800)]
[PATCH] ISDN udpate

From: Karsten Keil <kkeil@suse.de>

- new port of 2.4 I4L core to 2.6

- new port of 2.4 I4L HiSax to 2.6

- fixes for I4L CAPI subsystem to make it stable in 2.6

- fix parameter handling of AVM ISA cards (calle)

- cleanup ISDN config variables

- SMP in act2000 and pcbit driver

- remove check_region in act2000

- mark hysdn, isdnloop and divert as BROKEN_ON_SMP

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Wed, 18 Feb 2004 11:13:32 +0000 (03:13 -0800)]
Merge bk://linux-dj.bkbits.net/cpufreq
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[CPUFREQ] Add extra __init markers to longrun driver.
Dave Jones [Thu, 19 Feb 2004 02:48:43 +0000 (02:48 +0000)]
[CPUFREQ] Add extra __init markers to longrun driver.
Caught by Randy Dunlap.
longrun_cpu_init() only gets called during startup, and calls
other __init routines.

22 years ago[CPUFREQ] Add extra __init markers to longhaul driver.
Dave Jones [Thu, 19 Feb 2004 02:46:52 +0000 (02:46 +0000)]
[CPUFREQ] Add extra __init markers to longhaul driver.
Caught by Randy Dunlap.
longhaul_cpu_init only gets called during startup, and calls
other __init routines.

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 18 Feb 2004 09:58:12 +0000 (01:58 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

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

22 years ago[PATCH] tulip printk warning fix
Andrew Morton [Wed, 18 Feb 2004 14:52:03 +0000 (09:52 -0500)]
[PATCH] tulip printk warning fix

Don't assume the size of a dma_addr_t

22 years ago[PATCH] 2.6.3 - drivers/net/sis190.c - Tx desc overflow
François Romieu [Wed, 18 Feb 2004 14:34:42 +0000 (09:34 -0500)]
[PATCH] 2.6.3 - drivers/net/sis190.c - Tx desc overflow

Tx descriptor overflow - take II.

Assume tp->dirty_tx = NUM_TX_DESC/2, tp->cur_tx = NUM_TX_DESC - 1,
watch "entry" go beyond NUM_TX_DESC. Actually this is where the same
bug in r8169 driver comes from.

22 years ago[PATCH] tr/3c359: handle kmalloc failures during init
Randy Dunlap [Wed, 18 Feb 2004 14:29:38 +0000 (09:29 -0500)]
[PATCH] tr/3c359: handle kmalloc failures during init

From: Pablo Menichini <pablo@menichini.com.ar>
and maximilian attems <janitor@sternwelten.at>

while looking at kj mails from 200212 and 200301
this patch slept through
originally from: Pablo Menichini <pablo@menichini.com.ar>
rediffed and compile tested
patch applies on plain 2.6.0

maximilian attems <janitor@sternwelten.at>

handle kmalloc failures during init

diff -puN drivers/net/tokenring/3c359.c~tr3c_kmalloc drivers/net/tokenring/3c359.c

 linux-261-bk4-kj1-rddunlap/drivers/net/tokenring/3c359.c |   13 +++++++++++++
 1 files changed, 13 insertions(+)

22 years ago[PATCH] 2.6.3 pcnet32.c transmit hang fix
Don Fry [Wed, 18 Feb 2004 14:29:31 +0000 (09:29 -0500)]
[PATCH] 2.6.3 pcnet32.c transmit hang fix

The transmit routine will stop interrupting and hang, causing the
tx_timeout routine to attempt to restart the device when the 32-bit
cur_tx counter wraps below dirty_tx.  If the device had called
netif_stop_queue it will never call netif_wake_queue in the interrupt
routine (at least on an IA32 system) due to 32-bit wrap around arithmetic.

On my IA32 system 'dirty_tx > lp->cur_tx - TX_RING_SIZE + 2' would
always evaluate to false when dirty and cur_tx were less than 15,
preventing netif_wake_queue to be called.

By starting dirty_tx and cur_tx at 0xfffffff0 (to reduce test time) I
found that once cur_tx wrapped to zero, that transmitted buffers would
never be unmapped or freed because 'while (dirty_tx < lp->cur_tx) {'
was not true.  cur_tx would keep incrementing (in start_xmit) but dirty_tx
would not (in pcnet32_interrupt), thus leaking skb's and pci map entries.
On PPC machines, the system would quickly run out of pci maps.

Fix tested on PPC and IA32.

22 years ago[PATCH] depca: remove double semi-colon
Randy Dunlap [Wed, 18 Feb 2004 14:29:24 +0000 (09:29 -0500)]
[PATCH] depca: remove double semi-colon

description:      remove double semi-colon typo;

22 years ago[netdrvr sis900] fix multicast bug
Joseph Fannin [Wed, 18 Feb 2004 14:12:30 +0000 (09:12 -0500)]
[netdrvr sis900] fix multicast bug

22 years ago[PATCH] Add VLAN support in ALB mode
Shmulik Hen [Wed, 18 Feb 2004 13:59:35 +0000 (08:59 -0500)]
[PATCH] Add VLAN support in ALB mode

Add capability to tag self generated ARP packets that are required
for receive load balancing in bonding. VLAN Id's are saved and used
each time a new IP connection is established since 8021q currently
supports IP binding.

Update module version and comment blocks.

22 years ago[PATCH] Add VLAN support in TLB mode
Shmulik Hen [Wed, 18 Feb 2004 13:59:27 +0000 (08:59 -0500)]
[PATCH] Add VLAN support in TLB mode

Add capability to tag self generated learning packets that are
required to speed up port selection in the switch after a fail
over in bonding since some switches will only update their MAC
tables from tagged packets when VLAN support is turned on. All
VLAN Id's that have been configured on top of the bond interface
will be used in cyclic order.

22 years ago[PATCH] Add support for HW accel. slaves
Shmulik Hen [Wed, 18 Feb 2004 13:59:20 +0000 (08:59 -0500)]
[PATCH] Add support for HW accel. slaves

Now that David Miller accepted the first half of this set into 2.6,
I'm resending the last half to you for inclusion in netdev-2.6.

Tested against latest netdev-2.6. Summary:

Change the bond interface to publish full VLAN hardware acceleration
offloading capabilities, and add capability in all xmit functions to
take special care for VLAN HW accel. tagged skb's that are going out
through a slave that is not offloading capable.

Add a mechanism to collect and save the VLAN Id's that have been
added on top of a bond interface, and propagate the register/add/kill
operations to the slaves.

Add blocking mechanism to prevent adding VLAN interfaces on top of a
bond that contains VLAN challenged slaves and to prevent adding VLAN
challenged slaves to a bond that already has VLAN interfaces on top
of it.

Add a section about VLAN to Documentation/networking/bonding.txt and
also correct some minor spelling/grammer errors.

22 years ago[PATCH] 6pack reinit bug
Jeroen Vreeken [Wed, 18 Feb 2004 13:49:32 +0000 (08:49 -0500)]
[PATCH] 6pack reinit bug

This patch is the same as to mkiss a while ago, the current code triggers a
bug when reattaching a network device.

22 years ago[PATCH] [kernel 2.6] sk98lin: Insert revision version and date
Mirko Lindner [Wed, 18 Feb 2004 13:49:25 +0000 (08:49 -0500)]
[PATCH] [kernel 2.6] sk98lin: Insert revision version and date

to uniquely identify the files, it's necessary to add the version of
each file. Please, don't remove the revision infos. It's really
important for us.

Patch 2/2
[SK98LIN]: Insert revision version and date [back] into the files

22 years ago[PATCH] sk98lin: Added Support for Belkin adapter
Mirko Lindner [Wed, 18 Feb 2004 13:49:16 +0000 (08:49 -0500)]
[PATCH] sk98lin: Added Support for Belkin adapter

Patch 1/2
[SK98LIN]: Added Support for Belkin adapter
[SK98LIN]: Don't handle Yukon2 cards at the moment

22 years ago[PATCH] 2.6.3 pcnet32.c SLAB_DEBUG length error fix
Don Fry [Wed, 18 Feb 2004 13:49:09 +0000 (08:49 -0500)]
[PATCH] 2.6.3 pcnet32.c SLAB_DEBUG length error fix

The pcnet32 driver uses the incorrect length (of zero) in
pci_[un]map_single for receive buffers.  This is seen with SLAB_DEBUG
enabled.

Tested in IA32 system.  If this patch is not applied after my previous
one hunks #1, #3, and #5 will have an offset of -2 lines.

22 years ago[PATCH] hp100 pci probe problem
Stephen Hemminger [Wed, 18 Feb 2004 13:49:02 +0000 (08:49 -0500)]
[PATCH] hp100 pci probe problem

Jean discovered problem with my hp100 PCI changes.
This should fix the problem... The multi-bus probe logic error handling was
botched.

He validated it; so please apply

22 years ago[PATCH] 2.6.3 pcnet32.c bus master arbitration failure fix
Don Fry [Wed, 18 Feb 2004 13:48:55 +0000 (08:48 -0500)]
[PATCH] 2.6.3 pcnet32.c bus master arbitration failure fix

Here is the first of several individual patches to 2.6.3 for the pcnet32
driver.

The driver did not properly serialize accesses to chip registers, resulting
in reading/writing the wrong register.  This patch eliminates this problem
and gets rid of the cause of the symptom of 'bus master arbitration failure'.

It was easier to use generic_mii_ioctl than modify the current pcnet32_ioctl
routine with the necessary locks.  This has been re-tested on an IA32 system.

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Wed, 18 Feb 2004 09:08:20 +0000 (01:08 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[SELINUX]: Forgot to add these in previous commit.
David S. Miller [Wed, 18 Feb 2004 08:27:29 +0000 (00:27 -0800)]
[SELINUX]: Forgot to add these in previous commit.

22 years ago[SELINUX]: Event notifications via netlink.
James Morris [Wed, 18 Feb 2004 08:23:41 +0000 (00:23 -0800)]
[SELINUX]: Event notifications via netlink.

22 years agoFix up the microcode update on regular 32-bit x86. Our wrmsr()
Linus Torvalds [Wed, 18 Feb 2004 07:23:41 +0000 (23:23 -0800)]
Fix up the microcode update on regular 32-bit x86. Our wrmsr()
is a bit unforgiving and really doesn't like 64-bit values.

We should possibly make wrmsr() automatically truncate the
arguments, but regardless we should just fix microcode.c.

22 years ago[PKTSCHED]: Use queue limit of 1 when tx_queue_len is zero.
Patrick McHardy [Wed, 18 Feb 2004 05:18:53 +0000 (21:18 -0800)]
[PKTSCHED]: Use queue limit of 1 when tx_queue_len is zero.

22 years ago[DECNET]: Make second arg to dn_alloc_send_skb a size_t pointer.
David S. Miller [Wed, 18 Feb 2004 05:16:10 +0000 (21:16 -0800)]
[DECNET]: Make second arg to dn_alloc_send_skb a size_t pointer.

22 years ago[BLUETOOTH]: Use min_t to avoid warning in rfcomm sock.c
David S. Miller [Wed, 18 Feb 2004 05:13:22 +0000 (21:13 -0800)]
[BLUETOOTH]: Use min_t to avoid warning in rfcomm sock.c

22 years ago[APPLETALK]: Use '%Z' for size_t.
David S. Miller [Wed, 18 Feb 2004 05:11:42 +0000 (21:11 -0800)]
[APPLETALK]: Use '%Z' for size_t.

22 years ago[IPVS] tidy up the header files to include
Wensong Zhang [Wed, 18 Feb 2004 05:06:55 +0000 (21:06 -0800)]
[IPVS] tidy up the header files to include

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Wed, 18 Feb 2004 04:02:54 +0000 (20:02 -0800)]
Merge http://jfs.bkbits.net/linux-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Wed, 18 Feb 2004 07:14:02 +0000 (01:14 -0600)]
Merge jfs@jfs.bkbits.net:linux-2.5
into austin.ibm.com:/shaggy/bk/jfs-2.5

22 years ago[PATCH] Allow P4 oprofile code for x86-64
Andi Kleen [Wed, 18 Feb 2004 03:44:46 +0000 (19:44 -0800)]
[PATCH] Allow P4 oprofile code for x86-64

P4 support was previously ifdefed out for x86-64, remove that.

22 years ago[PATCH] Enable Intel AGP on x86-64
Andi Kleen [Wed, 18 Feb 2004 03:44:38 +0000 (19:44 -0800)]
[PATCH] Enable Intel AGP on x86-64

Enable the Intel AGP driver for x86-64 too.

22 years ago[PATCH] Update i386 microcode driver for x86-64
Andi Kleen [Wed, 18 Feb 2004 03:44:30 +0000 (19:44 -0800)]
[PATCH] Update i386 microcode driver for x86-64

The microcode driver needs to support 64bit physical addresses too.

22 years ago[PATCH] Intel x86-64 support merge
Andi Kleen [Wed, 18 Feb 2004 03:44:21 +0000 (19:44 -0800)]
[PATCH] Intel x86-64 support merge

This has all the x86-64 specific changes for Intel Prescott/Nocona
support.

It requires a few minor changes outside arch/x86_64, which I am sending
separately.

This patch is needed to boot an 64bit kernel on a 64-bit capable
Prescott machine.

The ugliest part is probably the swiotlb code.  In fact the code for
that is not even included, but just reused from IA64.  swiotlb
implements the PCI DMA API using bounce buffering.  I don't like this at
all, but there was no other way to support non DAC capable hardware
(like IDE or USB) on machines with >3GB.  Please redirect all flames for
that to the Intel chipset designers.

ChangeLog:
- Add Kconfig options for PSC
- Add support to reuse microcode driver from i386 (Suresh B Siddha)
- Try to optimize for the selected CPU
- Fix early CPUID check for Intel CPUs (Suresh B Siddha)
- Fix GDT to use the configured cache line size for padding
- Support monitor/mwait idle loop
- Support HyperThreading
- Support Intel CPUID flags
- Remove all 3dnow prefetches
- Add alternative() for the prefetchw prefetch inline.
- Include P4 driver in oprofile
- Support Intel NOPs in alternative

22 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.6
Linus Torvalds [Wed, 18 Feb 2004 01:00:47 +0000 (17:00 -0800)]
Merge bk://kernel.bkbits.net/davem/tg3-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 18 Feb 2004 00:56:10 +0000 (16:56 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/bonding-2
Jeff Garzik [Tue, 17 Feb 2004 20:15:51 +0000 (15:15 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/bonding-2
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-6
Jeff Garzik [Tue, 17 Feb 2004 20:09:13 +0000 (15:09 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-6
into redhat.com:/spare/repo/netdev-2.6/netdev-alloc-7

22 years agoMerge redhat.com:/spare/repo/linux-2.5
Jeff Garzik [Tue, 17 Feb 2004 20:06:52 +0000 (15:06 -0500)]
Merge redhat.com:/spare/repo/linux-2.5
into redhat.com:/spare/repo/netdev-2.6/netdev-alloc-6

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/tg3-2.6
David S. Miller [Tue, 17 Feb 2004 15:49:24 +0000 (07:49 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/tg3-2.6
into kernel.bkbits.net:/home/davem/tg3-2.6

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Tue, 17 Feb 2004 15:44:31 +0000 (07:44 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-6
Jeff Garzik [Tue, 17 Feb 2004 15:06:21 +0000 (10:06 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-6
into redhat.com:/spare/repo/netdev-2.6/netdev-alloc-7

22 years agoHand-merge pc300_tty.c conflicts with netdev.
Jeff Garzik [Tue, 17 Feb 2004 15:03:31 +0000 (10:03 -0500)]
Hand-merge pc300_tty.c conflicts with netdev.

22 years ago[NET]: Ditch TSO in loopback driver, it's had enough testing.
Martin J. Bligh [Tue, 17 Feb 2004 15:01:27 +0000 (07:01 -0800)]
[NET]: Ditch TSO in loopback driver, it's had enough testing.

22 years agoLinux 2.6.3 v2.6.3
Linus Torvalds [Tue, 17 Feb 2004 11:52:37 +0000 (03:52 -0800)]
Linux 2.6.3

22 years ago[PATCH] Tuner bugfix
Andrew Morton [Tue, 17 Feb 2004 11:32:13 +0000 (03:32 -0800)]
[PATCH] Tuner bugfix

From: Neal Stephenson <neal@bakerst.org>

In 2.6.2, I noticed that my modprobe.conf line for tuner "options tuner
type=2" no longer worked.  It even failed with insmod "insmod tuner.ko
type=2".  dmesg reported

vmunix: tuner: chip found @ 0xc0
vmunix: tuner: type set to 19 (Temic PAL* auto (4006 FN5))
vmunix: tuner: type forced to 19 (Temic PAL* auto (4006 FN5)) [insmod]

I noticed that the a line had been removed from 2.6.1 and when it is added
everything works again.

22 years agoMerge http://linux-lksctp.bkbits.net/lksctp-2.5.work
David S. Miller [Tue, 17 Feb 2004 11:16:03 +0000 (03:16 -0800)]
Merge http://linux-lksctp.bkbits.net/lksctp-2.5.work
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Tue, 17 Feb 2004 11:13:28 +0000 (03:13 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[IPV4]: Add sophisticated ARP reply control via arp_ignore sysctl.
Julian Anastasov [Tue, 17 Feb 2004 11:06:26 +0000 (03:06 -0800)]
[IPV4]: Add sophisticated ARP reply control via arp_ignore sysctl.

22 years ago[SCTP] Force enable Crypto options that are needed by SCTP config.
Sridhar Samudrala [Tue, 17 Feb 2004 09:37:27 +0000 (01:37 -0800)]
[SCTP] Force enable Crypto options that are needed by SCTP config.

22 years ago[PATCH] Fix radeon warning on 64-bit platforms
David Mosberger [Tue, 17 Feb 2004 08:59:51 +0000 (00:59 -0800)]
[PATCH] Fix radeon warning on 64-bit platforms

Disable the RADEON_PARAM_SAREA_HANDLE ioctl on 64-bit architectures,
since it is only used on some embedded platforms, and it isn't 64-bit
safe.

22 years agoFix the dependency chain for I2C_ALGOBIT from the FB
Linus Torvalds [Tue, 17 Feb 2004 08:57:17 +0000 (00:57 -0800)]
Fix the dependency chain for I2C_ALGOBIT from the FB
drivers that need it.

This allows us to have I2C as a module iff the FB driver
that needs it is a module.

22 years ago[PATCH] Avoid bogus warning about recursive dependencies
Roman Zippel [Tue, 17 Feb 2004 08:52:46 +0000 (00:52 -0800)]
[PATCH] Avoid bogus warning about recursive dependencies

This allows us to do something like

config FB_RADEON
select I2C_ALGOBIT if FB_RADEON_I2C

where FB_RADEON_I2C itself depends on FB_RADEON without getting a bogus
warning about recursive dependencies.

This matters because the select takes the default minimum dependancy
from the parent menu, so we want to do this under FB_RADEON rather than
under FB_RADEON_I2C (so that the I2C_ALGOBIT config depends properly
on the state of FB_RADEON)

22 years ago[PATCH] blkdev_put() data corruption
Alexander Viro [Tue, 17 Feb 2004 08:49:03 +0000 (00:49 -0800)]
[PATCH] blkdev_put() data corruption

We used to have sync_blockdev() on each normal (== non-raw)
blkdev_put() + kill_bdev() on the final blkdev_put().  That worked
fine until we'd moved sync_blockdev() to the final blkdev_put().

Now we have a nasty scenario:

open block device
open raw device
write on block device # data ends up in cache
close block device # no sync here, we still have the sucker opened
close raw device # no sync here either
# ... and cache is killed by kill_bdev()

IOW, if we postpone sync to final close, we must do it regardless of
kind of close.  Otherwise we are in for data corruption and yes, it is easy
to trigger.  Fix is obvious...

22 years ago[TG3]: Bump driver version and reldate.
David S. Miller [Tue, 17 Feb 2004 08:21:15 +0000 (00:21 -0800)]
[TG3]: Bump driver version and reldate.

22 years ago[TG3]: Fix early chip programming in tg3_setup_copper_phy().
David S. Miller [Tue, 17 Feb 2004 08:17:02 +0000 (00:17 -0800)]
[TG3]: Fix early chip programming in tg3_setup_copper_phy().

1) First action must be to set MAC_EVENT to zero.
2) Do not forget to clear MI_COMPLETION/LNKSTATE_CHANGED
   status bits in MAC_STATUS register.

This fixes the bug wherein the link does not come up at all
at the first ifup done after tg3 module load.

22 years ago[TG3]: Two more PHY bug workaround, plus fix DMA test on big-endian.
David S. Miller [Tue, 17 Feb 2004 08:08:12 +0000 (00:08 -0800)]
[TG3]: Two more PHY bug workaround, plus fix DMA test on big-endian.

22 years ago[PATCH] cifs: kunmap_atomic() takes a kernel address
Andrew Morton [Tue, 17 Feb 2004 06:40:47 +0000 (22:40 -0800)]
[PATCH] cifs: kunmap_atomic() takes a kernel address

kunmap_atomic() takes a kernel-virtual address, not a pageframe address.

(Very common problem.  We really should make the atomic kmap functions
type-safe).

22 years agoMerge bk://kernel.bkbits.net/davem/nf-2.6
Linus Torvalds [Tue, 17 Feb 2004 05:45:21 +0000 (21:45 -0800)]
Merge bk://kernel.bkbits.net/davem/nf-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] Fix fencepost error in x86_64 IOMMU
Jim Paradis [Tue, 17 Feb 2004 05:23:23 +0000 (21:23 -0800)]
[PATCH] Fix fencepost error in x86_64 IOMMU

There's a fencepost error in the GART IOMMU handling on x86_64
in the unmap path.  When testing to see if the bus address is
within the IOMMU window and needs to be unmapped, the start of
the first page *beyond* the window also passes the test.  This
can cause the first doubleword of the next page beyond the gatt
table to be smashed to zero, with unpredictable results depending
on what that page is used for.

22 years agoMerge nuts.davemloft.net:/disk1/BK/nfwork-2.6
David S. Miller [Tue, 17 Feb 2004 03:39:12 +0000 (19:39 -0800)]
Merge nuts.davemloft.net:/disk1/BK/nfwork-2.6
into nuts.davemloft.net:/disk1/BK/nf-2.6

22 years ago[PATCH] fix ia64 build failure
David Mosberger [Tue, 17 Feb 2004 03:34:09 +0000 (19:34 -0800)]
[PATCH] fix ia64 build failure

The attached trivial patch should fix the "i1-dig" build failure reported
on this page:

http://www.gelato.unsw.edu.au/kerncomp/

and should make it easier to build a properly configured ia64 kernel.

22 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Tue, 17 Feb 2004 02:49:33 +0000 (20:49 -0600)]
Merge jfs@jfs.bkbits.net:linux-2.5
into austin.ibm.com:/shaggy/bk/jfs-2.5

22 years ago[PATCH] mremap NULL pointer dereference fix
Andrew Morton [Tue, 17 Feb 2004 02:32:47 +0000 (18:32 -0800)]
[PATCH] mremap NULL pointer dereference fix

This is a cleaned-up version of a mremap() fix for "move_one_page()"
by Rajesh Venkatasubramanian <vrajesh@umich.edu>. We could use a NULL
"src" pointer.

Because while we do hold the MM semaphore over the whole sequence, the
destination page table allocation will possibly drop the page table
spinlock.  That in turn can cause a clean source page to be stolen by
page reclaim, causing the source-side "get_one_pte_map_nested()" to
return NULL the second time around even if it didn't on the first case.

So we just check "src" again, and get rid of the bogus TLB invalidate
while we're at it.

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Tue, 17 Feb 2004 00:06:41 +0000 (16:06 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] fix build with CONFIG_BLK_DEV_IDEDMA=n (once again)
Bartlomiej Zolnierkiewicz [Mon, 16 Feb 2004 23:39:36 +0000 (15:39 -0800)]
[PATCH] fix build with CONFIG_BLK_DEV_IDEDMA=n (once again)

My "__ide_dma_off()" cleanup uncovered some code that shouldn't be compiled
when CONFIG_BLK_DEV_IDEDMA=n.  Fix it and kill a warning in setup-pci.c.

Noticed by Martin Diehl <lists@mdiehl.de>.

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Mon, 16 Feb 2004 14:53:36 +0000 (06:53 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[IPV6]: Add sysctl to force MLD version.
David Stevens [Mon, 16 Feb 2004 14:49:24 +0000 (06:49 -0800)]
[IPV6]: Add sysctl to force MLD version.

22 years ago[NETFILTER]: Fix signedness overflow in ip{,6}_tables.c
Hideaki Yoshifuji [Mon, 16 Feb 2004 14:45:02 +0000 (06:45 -0800)]
[NETFILTER]: Fix signedness overflow in ip{,6}_tables.c

Bug discovered by Olaf Kirch.

22 years ago[CPUFREQ] bump copyrights.
Dave Jones [Mon, 16 Feb 2004 14:36:24 +0000 (14:36 +0000)]
[CPUFREQ] bump copyrights.

22 years ago[SPARC64]: Fix build with sysctl disabled.
David S. Miller [Mon, 16 Feb 2004 14:25:57 +0000 (06:25 -0800)]
[SPARC64]: Fix build with sysctl disabled.

22 years agoMerge bk://bk.phunnypharm.org/sparc-2.6
David S. Miller [Mon, 16 Feb 2004 14:12:39 +0000 (06:12 -0800)]
Merge bk://bk.phunnypharm.org/sparc-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years ago[SPARC64]: Add symbols to show_stack, and make oops stack output work
Ben Collins [Mon, 16 Feb 2004 18:35:59 +0000 (13:35 -0500)]
[SPARC64]: Add symbols to show_stack, and make oops stack output work

22 years agoMerge http://linux.bkbits.net/linux-2.5
Ben Collins [Mon, 16 Feb 2004 17:55:31 +0000 (12:55 -0500)]
Merge http://linux.bkbits.net/linux-2.5
into debian.org:/usr/src/kernel/sparc-2.6

22 years ago[SPARC64]: Fix warnings on non-PCI build.
David S. Miller [Mon, 16 Feb 2004 14:03:07 +0000 (06:03 -0800)]
[SPARC64]: Fix warnings on non-PCI build.

22 years ago[SPARC64]: Fix non-PCI build, reported by David Dillow.
David S. Miller [Mon, 16 Feb 2004 13:28:29 +0000 (05:28 -0800)]
[SPARC64]: Fix non-PCI build, reported by David Dillow.

22 years ago[PATCH] small fbmem.c fix
James Simmons [Mon, 16 Feb 2004 13:13:22 +0000 (05:13 -0800)]
[PATCH] small fbmem.c fix

The platinum framebuffer is repeated twice. Removed one of them.

22 years agoLinux 2.6.3-rc4 v2.6.3-rc4
Linus Torvalds [Mon, 16 Feb 2004 09:52:25 +0000 (01:52 -0800)]
Linux 2.6.3-rc4

22 years ago[PATCH] Fix ppc compile problem with gcc 3.4
Benjamin Herrenschmidt [Mon, 16 Feb 2004 09:49:23 +0000 (01:49 -0800)]
[PATCH] Fix ppc compile problem with gcc 3.4

There's an incorrect redefinition extern/static in prep_pci.

Just remove it.