deliverable/linux.git
19 years ago[CPUFREQ] ondemand: trivial clean-ups
Dave Jones [Wed, 1 Jun 2005 02:03:44 +0000 (19:03 -0700)] 
[CPUFREQ] ondemand: trivial clean-ups

Trivial ondemand governor clean-ups:
- change from sampling_rate_in_HZ() to the official function
usecs_to_jiffies().
- use for_each_online_cpu() to instead of using "if (cpu_online(i))"

Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Dave Jones <davej@redhat.com>
19 years ago[CPUFREQ] speedstep-centrino: Pentium 4 - M (HT) support
Dave Jones [Wed, 1 Jun 2005 02:03:43 +0000 (19:03 -0700)] 
[CPUFREQ] speedstep-centrino: Pentium 4 - M (HT) support

The Pentium 4 - Ms (HT) with CPUID 0xF34 and 0xF41 seem to support
centrino-like enhanced speedstep; however, no "table" support is possible.
Therefore, put NULL entries into speedstep-centrino.c

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Dave Jones <davej@redhat.com>
19 years ago[CPUFREQ] cpufreq-core: reduce warning messages.
Dave Jones [Wed, 1 Jun 2005 02:03:43 +0000 (19:03 -0700)] 
[CPUFREQ] cpufreq-core: reduce warning messages.

cpufreq core is printing out messages at KERN_WARNING level that the core
recovers from without intervention, and that the system administrator can
do nothing about.  Patch below reduces the severity of these messages to
debug.

Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>
19 years ago[CPUFREQ] powernow-k7: don't print khz element of FSB.
Dave Jones [Wed, 1 Jun 2005 02:03:42 +0000 (19:03 -0700)] 
[CPUFREQ] powernow-k7: don't print khz element of FSB.

Signed-off-by: Dave Jones <davej@redhat.com>
19 years ago[PATCH] UDF filesystem: array '__mon_yday' declared as not static
Goffredo Baroncelli [Tue, 31 May 2005 21:39:31 +0000 (14:39 -0700)] 
[PATCH] UDF filesystem: array '__mon_yday' declared as not static

in fs/udf/udftime.c the global array '__mon_yday' is not static, and it
conflicts with the glibc one when the kernel is compiled as user mode.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] pcdp.c build fix
Peter Chubb [Tue, 31 May 2005 21:39:30 +0000 (14:39 -0700)] 
[PATCH] pcdp.c build fix

In file included from drivers/firmware/pcdp.c:18:
drivers/firmware/pcdp.h:48: error: field `addr' has incomplete type
drivers/firmware/pcdp.c: In function `setup_serial_console':
drivers/firmware/pcdp.c:27: error:  `ACPI_ADR_SPACE_SYSTEM_MEMORY' undeclared (first use in this  function)

Cc: <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] flush icache in correct context
Roman Zippel [Tue, 31 May 2005 21:39:29 +0000 (14:39 -0700)] 
[PATCH] flush icache in correct context

flush_icache_range() is used in two different situation - in binfmt_elf.c &
co for user space mappings and module.c for kernel modules.  On m68k
flush_icache_range() doesn't know which data to flush, as it has separate
address spaces and the pointer argument can be valid in either address
space.

First I considered splitting flush_icache_range(), but this patch is
simpler.  Setting the correct context gives flush_icache_range() enough
information to flush the correct data.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] ppc64: allow timer based profiling on iseries
Anton Blanchard [Tue, 31 May 2005 21:39:29 +0000 (14:39 -0700)] 
[PATCH] ppc64: allow timer based profiling on iseries

We used to have an iseries specific profiler that used /proc/profile.  Now
thats gone we can use the generic timer based stuff.

Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] h8300 sleep problem
Nick Piggin [Tue, 31 May 2005 21:39:28 +0000 (14:39 -0700)] 
[PATCH] h8300 sleep problem

h8300 appears to sleep (halt) when need_resched IS set.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] acpi build fix: x86 setup.c
Alexander Nyberg [Tue, 31 May 2005 21:39:27 +0000 (14:39 -0700)] 
[PATCH] acpi build fix: x86 setup.c

This is a neverending story

linux/acpi.h contains empty declarations for acpi_boot_init() &
acpi_boot_table_init() but they are nested inside #ifdef CONFIG_ACPI.

So we'll have to #ifdef in arch/i386/kernel/setup.c: setup_arch()

Signed-off-by: Alexander Nyberg <alexn@telia.com>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] x86_64 CONFIG_ACPI=n build fix
Andi Kleen [Tue, 31 May 2005 21:39:26 +0000 (14:39 -0700)] 
[PATCH] x86_64 CONFIG_ACPI=n build fix

Make CONFIG_X86_PM_TIMER dependent on CONFIG_ACPI

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] x86_64: More fixes for compilation without CONFIG_ACPI
Andi Kleen [Tue, 31 May 2005 21:39:26 +0000 (14:39 -0700)] 
[PATCH] x86_64: More fixes for compilation without CONFIG_ACPI

Suggested by Alexander Nyberg

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years agoAutomatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
Linus Torvalds [Tue, 31 May 2005 18:07:54 +0000 (11:07 -0700)] 
Merge ... /pub/scm/linux/kernel/git/aegl/linux-2.6

19 years ago[IA64] Use "PER_CPU" form of EXPORT macro
Tony Luck [Tue, 31 May 2005 17:38:32 +0000 (10:38 -0700)] 
[IA64] Use "PER_CPU" form of EXPORT macro

I was gently reminded that there are per-cpu forms of the EXPORT_SYMBOL macros.

Signed-off-by: Tony Luck <tony.luck@intel.com>
19 years ago[PATCH] Relax idecd dma alignment check
Jens Axboe [Tue, 31 May 2005 15:47:36 +0000 (17:47 +0200)] 
[PATCH] Relax idecd dma alignment check

Only the address needs alignment of mask bits, length should work with
a relaxed alignment check.

Signed-off-by: Jens Axboe <axboe@suse.de>
[ This is take 2: make the length check be for 16-byte alignment, not
  just word alignment.  That should hopefully keep everybody happy,
  while still allowing CD writing with DMA ]

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] ppc64: actually call prom_send_capabilities
Paul Mackerras [Tue, 31 May 2005 07:01:11 +0000 (17:01 +1000)] 
[PATCH] ppc64: actually call prom_send_capabilities

When I sent in the patch adding the code for the kernel to tell the
firmware about its capabilities on pSeries machines, I included the
function to give the capabilities to firmware but somehow forgot the
hunk that adds the call to the new function.  This patch adds the
call.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years agoMerge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/tg3-2.6
Linus Torvalds [Mon, 30 May 2005 05:39:38 +0000 (22:39 -0700)] 
Merge ... /pub/scm/linux/kernel/git/davem/tg3-2.6

19 years agoMerge of /home/davem/src/GIT/tg3-2.6/
David S. Miller [Mon, 30 May 2005 04:25:01 +0000 (21:25 -0700)] 
Merge of /home/davem/src/GIT/tg3-2.6/

19 years ago[NET]: Use %lx for netdev->features sysfs formatting.
David S. Miller [Mon, 30 May 2005 03:28:25 +0000 (20:28 -0700)] 
[NET]: Use %lx for netdev->features sysfs formatting.

Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[IPV6]: Clear up user copy warning in flowlabel code.
David S. Miller [Mon, 30 May 2005 03:28:01 +0000 (20:28 -0700)] 
[IPV6]: Clear up user copy warning in flowlabel code.

We are intentionally ignoring the copy_to_user() value,
make it clear to the compiler too.

Noted by Jeff Garzik.

Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[NET]: Add ethtool support for NETIF_F_HW_CSUM.
Jon Mason [Mon, 30 May 2005 03:27:24 +0000 (20:27 -0700)] 
[NET]: Add ethtool support for NETIF_F_HW_CSUM.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[IPV4]: Kill MULTIPATHHOLDROUTE flag.
Pravin B. Shelar [Mon, 30 May 2005 03:26:44 +0000 (20:26 -0700)] 
[IPV4]: Kill MULTIPATHHOLDROUTE flag.

It cannot work properly, so just ignore it in drr
and rr multipath algorithms just like the random
multipath algorithm does.

Suggested by Herbert Xu.

Signed-off by: Pravin B. Shelar <pravins@calsoftinc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[NET]: Add is_multicast_ether_addr() in include/linux/etherdevice.h
Michael Ellerman [Mon, 30 May 2005 03:24:30 +0000 (20:24 -0700)] 
[NET]: Add is_multicast_ether_addr() in include/linux/etherdevice.h

This patch adds is_multicast_ether_addr() to go along with
is_valid_ether_addr() and friends. It then changes
is_valid_ether_addr() to use the new macro, and fixes up the comment
on that function to move implementation details out of the API doco.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[IPV4]: Primary and secondary addresses
Harald Welte [Mon, 30 May 2005 03:23:46 +0000 (20:23 -0700)] 
[IPV4]: Primary and secondary addresses

Add an option to make secondary IP addresses get promoted
when primary IP addresses are removed from the device.
It defaults to off to preserve existing behavior.

Signed-off-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years agoAutomatic merge of 'misc-fixes' branch from
Linus Torvalds [Mon, 30 May 2005 02:30:03 +0000 (19:30 -0700)] 
Automatic merge of 'misc-fixes' branch from

rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev

19 years ago[TG3]: Fix bug in tg3_load_firmware_cpu
Michael Chan [Sun, 29 May 2005 21:59:49 +0000 (14:59 -0700)] 
[TG3]: Fix bug in tg3_load_firmware_cpu

Add tg3_nvram_lock() and tg3_nvram_unlock() calls around tg3_halt_cpu().
It is possible that the bootcode may be loading code from nvram during
this call and stopping the cpu without getting the lock may cause
uncompleted nvram data to be left in the nvram data register. Subsequent
calls to read/write nvram data will fail.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: Add interrupt test
Michael Chan [Sun, 29 May 2005 21:59:20 +0000 (14:59 -0700)] 
[TG3]: Add interrupt test

This test uses the previously added tg3_test_interrupt() to perform the
test.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: Add loopback test
Michael Chan [Sun, 29 May 2005 21:58:59 +0000 (14:58 -0700)] 
[TG3]: Add loopback test

The test will loopback one packet in MAC loopback mode and verify the
packet data.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: Add memory test
Michael Chan [Sun, 29 May 2005 21:58:36 +0000 (14:58 -0700)] 
[TG3]: Add memory test

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: Add register test
Michael Chan [Sun, 29 May 2005 21:58:11 +0000 (14:58 -0700)] 
[TG3]: Add register test

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: Add parameter to tg3_halt
Michael Chan [Sun, 29 May 2005 21:57:48 +0000 (14:57 -0700)] 
[TG3]: Add parameter to tg3_halt

Add a reset kind parameter to tg3_halt() so that the RESET_KIND_SUSPEND
parameter can be passed to tg3_halt() before doing offline tests.

All other calls to tg3_halt() will use the RESET_KIND_SHUTDOWN
parameter.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: Add link test
Michael Chan [Sun, 29 May 2005 21:57:23 +0000 (14:57 -0700)] 
[TG3]: Add link test

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: Add nvram test
Michael Chan [Sun, 29 May 2005 21:56:58 +0000 (14:56 -0700)] 
[TG3]: Add nvram test

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[TG3]: Add basic selftest infrastructure
Michael Chan [Sun, 29 May 2005 21:56:34 +0000 (14:56 -0700)] 
[TG3]: Add basic selftest infrastructure

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[BRIDGE]: receive path optimization
Stephen Hemminger [Sun, 29 May 2005 21:16:48 +0000 (14:16 -0700)] 
[BRIDGE]: receive path optimization

This improves the bridge local receive path by avoiding going
through another softirq.  The bridge receive path is already being called
from a netif_receive_skb() there is no point in going through another
receiveq round trip.

Recursion is limited because bridge can never be a port of a bridge
so handle_bridge() always returns.

Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[BRIDGE]: prevent bad forwarding table updates
Stephen Hemminger [Sun, 29 May 2005 21:15:55 +0000 (14:15 -0700)] 
[BRIDGE]: prevent bad forwarding table updates

Avoid poisoning of the bridge forwarding table by frames that have been
dropped by filtering. This prevents spoofed source addresses on hostile
side of bridge from causing packet leakage, a small but possible security
risk.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[BRIDGE]: set features based on enslaved devices
Stephen Hemminger [Sun, 29 May 2005 21:15:17 +0000 (14:15 -0700)] 
[BRIDGE]: set features based on enslaved devices

Make features of the bridge pseudo-device be a subset of the underlying
devices.  Motivated by Xen and others who use bridging to do failover.

Signed-off-by: Catalin BOIE <catab at umrella.ro>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[BRIDGE]: make dev->features unsigned
Stephen Hemminger [Sun, 29 May 2005 21:14:35 +0000 (14:14 -0700)] 
[BRIDGE]: make dev->features unsigned

The features field in netdevice is really a bitmask, and bitmask's should
be unsigned.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years ago[BRIDGE]: features change notification
Stephen Hemminger [Sun, 29 May 2005 21:13:47 +0000 (14:13 -0700)] 
[BRIDGE]: features change notification

Resend of earlier patch (no changes) from Catalin used to provide
device feature change notification.

Signed-off-by: Catalin BOIE <catab at umbrella.ro>
Acked-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
19 years agolibata: bump version
Jeff Garzik [Sun, 29 May 2005 18:48:20 +0000 (14:48 -0400)] 
libata: bump version

19 years agoAutomatic merge of /spare/repo/netdev-2.6 branch use-after-unmap