]> git.hungrycats.org Git - linux/log
linux
20 years agoLinux 2.6.10-rc1 v2.6.10-rc1
Linus Torvalds [Fri, 22 Oct 2004 07:30:50 +0000 (00:30 -0700)]
Linux 2.6.10-rc1

New and Improved! "Woozy Numbat!"

Pick up the phone in the next two minutes and phone in your
order, and we'll throw in a second copy of Woozy Numbat,
ABSOLUTELY FREE! You too could start a Numbat farm!

20 years ago[PATCH] UML IO sched support
Chris Wedgwood [Fri, 22 Oct 2004 06:43:47 +0000 (23:43 -0700)]
[PATCH] UML IO sched support

Signed-off-by: cw@f00f.org
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] remove unused arch/sh/tools/machgen.sh
Tom Rini [Fri, 22 Oct 2004 05:19:10 +0000 (22:19 -0700)]
[PATCH] remove unused arch/sh/tools/machgen.sh

arch/sh/tools/machgen.sh is no longer used as it has been replaced by
arch/sh/tools/gen-mach-types

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] pmac_cpufreq msleep cleanup/fixes
Nishanth Aravamudan [Fri, 22 Oct 2004 04:11:36 +0000 (21:11 -0700)]
[PATCH] pmac_cpufreq msleep cleanup/fixes

Uses msleep() instead of schedule_timeout() to guarantee the task delays
as expected.  Two of the changes are reworks of previous msleep() calls
which unnecessarily added a jiffy to the parameter.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix build for CONFIG_SECURITY=n
Andrew Morton [Fri, 22 Oct 2004 03:34:05 +0000 (20:34 -0700)]
[PATCH] Fix build for CONFIG_SECURITY=n

.. broken by the rename.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoFix up USB serial console for tty layer changes.
Linus Torvalds [Fri, 22 Oct 2004 03:05:12 +0000 (20:05 -0700)]
Fix up USB serial console for tty layer changes.

This didn't show up in my "allmodconfig" tests, because the
console requires things to be built-in, not modules.

20 years ago[PATCH] make __sigqueue_alloc() a general helper
Chris Wright [Fri, 22 Oct 2004 01:18:17 +0000 (18:18 -0700)]
[PATCH] make __sigqueue_alloc() a general helper

Posix timers preallocate siqueue structures during timer creation
and keep them for reuse.  This allocation happens in user context
with no locks held, however it's designated as an atomic allocation.
Loosen this restriction, and while we're at it let's do a bit of code
consolidation so signal sending uses same __sigqueue_alloc() helper.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] fix PXA270 compile errors
Nicolas Pitre [Fri, 22 Oct 2004 01:16:16 +0000 (18:16 -0700)]
[PATCH] fix PXA270 compile errors

missing #include (and placement cleanup)

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] lsm: Lindent security/security.c
Chris Wright [Fri, 22 Oct 2004 01:16:04 +0000 (18:16 -0700)]
[PATCH] lsm: Lindent security/security.c

Lindent security/security.c.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] lsm: reduce noise during security_register
Chris Wright [Fri, 22 Oct 2004 01:15:52 +0000 (18:15 -0700)]
[PATCH] lsm: reduce noise during security_register

Registering a security module can be a noisy operation, esp. when it
retries registration with the primary module.  Eliminate some noise, and
distinguish the return values for register_security so a module can tell
the difference between failure modes.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] lsm: rename security_scaffolding_startup to security_init
Chris Wright [Fri, 22 Oct 2004 01:15:39 +0000 (18:15 -0700)]
[PATCH] lsm: rename security_scaffolding_startup to security_init

Rename security_scaffolding_startup() to security_init().  It always
bothered me.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] PA-RISC sound update
Matthew Wilcox [Fri, 22 Oct 2004 01:10:17 +0000 (18:10 -0700)]
[PATCH] PA-RISC sound update

trivial sound/parisc updates:

 - substream->dma_device was removed (Stuart Brady)
 - Fix module unloading (Stuart Brady)
 - Fixed the off-by-one in snd_card_harmony_rate_bits (Stuart Brady)
 - Harmony is a GSC device, not available on pure PCI machines (Matthew Wilcox)
 - Fixed module parameter descriptions for ALSA Harmony (Stuart Brady)

20 years ago[PATCH] move io scheduler kconfig entries
Jens Axboe [Fri, 22 Oct 2004 01:02:01 +0000 (18:02 -0700)]
[PATCH] move io scheduler kconfig entries

Currently they are in the generic setup, pretty confusing. This patch
moves the io scheduler selection into a seperate menu under block
devices.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge
Linus Torvalds [Fri, 22 Oct 2004 01:01:03 +0000 (18:01 -0700)]
Merge

20 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
Linus Torvalds [Fri, 22 Oct 2004 00:56:54 +0000 (17:56 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://kernel.bkbits.net/jgarzik/libata-2.6
Linus Torvalds [Fri, 22 Oct 2004 00:54:00 +0000 (17:54 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] initio.c NULL noise removal
Alexander Viro [Fri, 22 Oct 2004 00:53:19 +0000 (17:53 -0700)]
[PATCH] initio.c NULL noise removal

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] aty iomem annotations
Alexander Viro [Fri, 22 Oct 2004 00:53:07 +0000 (17:53 -0700)]
[PATCH] aty iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] aic7xxx_old iomem annotations (for real, this time)
Alexander Viro [Fri, 22 Oct 2004 00:52:53 +0000 (17:52 -0700)]
[PATCH] aic7xxx_old iomem annotations (for real, this time)

annotated, ioremap() use simplified (it can deal with addresses that are
not page-aligned just fine).

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] qlogicisp iomem annotations
Alexander Viro [Fri, 22 Oct 2004 00:52:41 +0000 (17:52 -0700)]
[PATCH] qlogicisp iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix PREEMPT_ACTIVE definition
Paul Mackerras [Fri, 22 Oct 2004 00:35:33 +0000 (17:35 -0700)]
[PATCH] Fix PREEMPT_ACTIVE definition

When the generic IRQ stuff went in, it seems that HARDIRQ_BITS got bumped
from 9 (for ppc64) up to 12.  Consequently, the PREEMPT_ACTIVE bit is now
within HARDIRQ_MASK, and I get in_interrupt() falsely returning true when
PREEMPT_ACTIVE is set, and thus a BUG_ON tripping in arch/ppc64/mm/tlb.c.

The patch below fixes this by changing PREEMPT_ACTIVE to 0x10000000.  I
have changed the PREEMPT_ACTIVE definitions for each of the architectures
that define CONFIG_GENERIC_HARDIRQS (i386, ppc, ppc64, x86_64) and fixed
the comment in include/linux/hardirq.h.  We could perhaps move the
PREEMPT_ACTIVE definition to include/linux/hardirq.h - I don't know why it
is still per-arch.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc: Fix build of irq.c with CONFIG_TAU_INT
Benjamin Herrenschmidt [Fri, 22 Oct 2004 00:31:54 +0000 (17:31 -0700)]
[PATCH] ppc: Fix build of irq.c with CONFIG_TAU_INT

This patch fixes build of arch/ppc/kernel/irc.c when CONFIG_TAU_INT
is set.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc: Disable IRQ probe on ppc
Benjamin Herrenschmidt [Fri, 22 Oct 2004 00:31:42 +0000 (17:31 -0700)]
[PATCH] ppc: Disable IRQ probe on ppc

The current "generic" implementation of IRQ probing isn't well suited
for ppc in it's current form, and causes issues with yenta_socket
(and possibly others) on pmac laptops. We didn't have a probe implementation
in the past, we probably don't need one anyway, so for now, the fix is to
make this optional and enable it on x86 and x86_64 but not ppc and ppc64
(the 4 archs to use the generic IRQ code).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: Update G5 thermal control driver
Benjamin Herrenschmidt [Fri, 22 Oct 2004 00:31:28 +0000 (17:31 -0700)]
[PATCH] ppc64: Update G5 thermal control driver

This patch updates the G5 thermal control driver, the main change
is support for the new "PowerMac7,3" type desktops including the
dual 2.5Ghz with liquid cooling.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: Fix typo in zImage boot wrapper
Benjamin Herrenschmidt [Fri, 22 Oct 2004 00:31:15 +0000 (17:31 -0700)]
[PATCH] ppc64: Fix typo in zImage boot wrapper

This patch fixes a typo in the zImage boot wrapper (incorrect printf).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Matthew Dharm <mdharm@momenco.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: Fix boot on some non-LPAR pSeries
Benjamin Herrenschmidt [Fri, 22 Oct 2004 00:31:03 +0000 (17:31 -0700)]
[PATCH] ppc64: Fix boot on some non-LPAR pSeries

This patch fixes a problem when allocating the TCE tables (iommu) during
early boot on some non-LPAR machines with a lot of memory.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] PPC64 remove __ioremap_explicit() error message
Paul Mackerras [Fri, 22 Oct 2004 00:30:50 +0000 (17:30 -0700)]
[PATCH] PPC64 remove __ioremap_explicit() error message

This patch, from John Rose, is the counterpart of one recently
forwarded by Greg KH.  It has the same description, but isn't the same
patch - this is the arch/ppc64 part of the change.

As an unfortunate side effect of runtime addition/removal of PCI Host Bridges,
the RPA DLPAR driver can no longer depend on the success of ioremap_explicit()
(and therefore remap_page_range()) for the case of DLPAR adding an I/O Slot.

Without addressing this, an attempt to add the first child slot of a newly
added PHB will fail when __ioremap_explicit() determines the mappings for that
range to already exist.

For a little context, __ioremap_explicit() creates mappings for the range of a
newly added slot.  Here's why these calls will be expected to fail in some
cases.  Keep in mind that at boot-time, the PPC64 kernel calls ioremap() for
the entire range spanned by each PHB.  Consider the following scenarios of
DLPAR-adding an I/O slot.

1) Just after boot, one removes an I/O slot.  At this point the range
   associated with the parent PHB is fragmented, and the child range for the
   slot in question is iounmap()'ed.  One then re-adds the slot, at which point
   remap_page_range()/ioremap_explicit() restores the mappings that were
   previously removed.

2) One adds a new PHB, at which point the ppc64-specific addition ioremaps the
   entire PHB range.  One then performs a DLPAR-add of a child slot of that
   PHB.  At this point, mappings already exist for the range of the slot to
   be added.  So remap_page_range()/ioremap_explicit() will fail at this point.

The problem is, there's not a good way to distinguish between cases 1 and 2
from the perspective of the DLPAR driver.  Because of that, I believe the
correct solution to be:

- Removal of relevant error prints from iounmap_explicit(), which is only used
  for DLPAR.
- Removal of error code checks from the RPA driver

Here's the first of these.

Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge pobox.com:/garz/repo/libata-dev/export-simulator
Jeff Garzik [Thu, 21 Oct 2004 19:58:05 +0000 (15:58 -0400)]
Merge pobox.com:/garz/repo/libata-dev/export-simulator
into pobox.com:/garz/repo/libata-2.6

20 years agoMerge pobox.com:/garz/repo/netdev-2.6/b44
Jeff Garzik [Thu, 21 Oct 2004 15:46:12 +0000 (11:46 -0400)]
Merge pobox.com:/garz/repo/netdev-2.6/b44
into pobox.com:/garz/repo/net-drivers-2.6

20 years agoMerge pobox.com:/garz/repo/netdev-2.6/forcedeth
Jeff Garzik [Thu, 21 Oct 2004 15:45:19 +0000 (11:45 -0400)]
Merge pobox.com:/garz/repo/netdev-2.6/forcedeth
into pobox.com:/garz/repo/net-drivers-2.6

20 years agoMerge pobox.com:/garz/repo/netdev-2.6/sis900
Jeff Garzik [Thu, 21 Oct 2004 15:44:05 +0000 (11:44 -0400)]
Merge pobox.com:/garz/repo/netdev-2.6/sis900
into pobox.com:/garz/repo/net-drivers-2.6

20 years agoMerge pobox.com:/garz/repo/netdev-2.6/smc91x
Jeff Garzik [Thu, 21 Oct 2004 15:43:02 +0000 (11:43 -0400)]
Merge pobox.com:/garz/repo/netdev-2.6/smc91x
into pobox.com:/garz/repo/net-drivers-2.6

20 years agoMerge pobox.com:/garz/repo/netdev-2.6/prism54
Jeff Garzik [Thu, 21 Oct 2004 15:42:08 +0000 (11:42 -0400)]
Merge pobox.com:/garz/repo/netdev-2.6/prism54
into pobox.com:/garz/repo/net-drivers-2.6

20 years ago[PKT_SCHED]: Make tcp_proto_lookup_ops() static
Chris Wright [Thu, 21 Oct 2004 15:41:45 +0000 (08:41 -0700)]
[PKT_SCHED]: Make tcp_proto_lookup_ops() static

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: Trivial spelling fix in net/sched/Kconfig
Chris Wright [Thu, 21 Oct 2004 15:40:32 +0000 (08:40 -0700)]
[PKT_SCHED]: Trivial spelling fix in net/sched/Kconfig

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[TCP]: Fix tcp_trim_head() calculations.
Herbert Xu [Thu, 21 Oct 2004 15:37:44 +0000 (08:37 -0700)]
[TCP]: Fix tcp_trim_head() calculations.

Dave, we need to use the skb's MSS in trim_head as otherwise the
counters will be screwed up.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NETFILTER]: Add iptables CLUSTERIP target, seq_file version
Harald Welte [Thu, 21 Oct 2004 15:35:43 +0000 (08:35 -0700)]
[NETFILTER]: Add iptables CLUSTERIP target, seq_file version

This enables you to build a static load sharing cluster between multiple
nodes - without the requirement to have a load balancer.  It uses a
series of [evil] tricks like replying with linklayer multicast addresses
to ARP requests, and using CONNMARK for stateful blocking all traffic
not intended for the local node.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: ATM: Use gnet_stats for class statistics and dump them
Thomas Graf [Thu, 21 Oct 2004 15:31:54 +0000 (08:31 -0700)]
[PKT_SCHED]: ATM: Use gnet_stats for class statistics and dump them

Makes ATM qdisc use gnet_stats for class statistic counters and
adds dumping bits to actually dump those. Althought the counters
were updated they never got dumped to userspace.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: HFSC: Use dump_stats for class statistics dumping
Thomas Graf [Thu, 21 Oct 2004 15:31:08 +0000 (08:31 -0700)]
[PKT_SCHED]: HFSC: Use dump_stats for class statistics dumping

Makes HFSC use dump_stats to dump class statistics, i.e.
moves the statistics dump code from hfsc_dump_class to
hfsc_dump_class_stats.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: HFSC: Use generic rate estimator
Thomas Graf [Thu, 21 Oct 2004 15:30:24 +0000 (08:30 -0700)]
[PKT_SCHED]: HFSC: Use generic rate estimator

Makes HFSC use the generic rate estimator.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: HTB: Use gnet_stats for class statistics
Thomas Graf [Thu, 21 Oct 2004 15:29:51 +0000 (08:29 -0700)]
[PKT_SCHED]: HTB: Use gnet_stats for class statistics

Converts HTB class statistic counters to gnet_stats
structures.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: HTB: Remove unneeded rate estimator bits
Thomas Graf [Thu, 21 Oct 2004 15:29:16 +0000 (08:29 -0700)]
[PKT_SCHED]: HTB: Remove unneeded rate estimator bits

Removes old generic unused rate estimator bits. HTB has its own
rate estimator routines and therefore no rate estimator is created
so there is no need to try and delete one. We might want to convert
it to the generic rate estimator at a later point.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: HTB: Use dump_stats for class statistics dumping
Thomas Graf [Thu, 21 Oct 2004 15:28:31 +0000 (08:28 -0700)]
[PKT_SCHED]: HTB: Use dump_stats for class statistics dumping

Makes HTB use dump_stats to dump class statistics, i.e.
moves the statistics dump code from htb_dump_class to
htb_dump_class_stats.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: HTB: Use gnet_stats for class statistics
Thomas Graf [Thu, 21 Oct 2004 15:27:58 +0000 (08:27 -0700)]
[PKT_SCHED]: HTB: Use gnet_stats for class statistics

Converts HTB class statistic counters to gnet_stats
structures.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: CBQ: Use generic rate estimator
Thomas Graf [Thu, 21 Oct 2004 15:27:25 +0000 (08:27 -0700)]
[PKT_SCHED]: CBQ: Use generic rate estimator

Makes CBQ use the generic rate estimator.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: CBQ: Use dump_stats for class statistics dumping
Thomas Graf [Thu, 21 Oct 2004 15:26:49 +0000 (08:26 -0700)]
[PKT_SCHED]: CBQ: Use dump_stats for class statistics dumping

Makes CBQ use dump_stats to dump class statistics, i.e.
moves the statistic dump code from cbq_dump_class to
cbq_dump_class_stats.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: CBQ: Use gnet_stats for class statistics
Thomas Graf [Thu, 21 Oct 2004 15:26:03 +0000 (08:26 -0700)]
[PKT_SCHED]: CBQ: Use gnet_stats for class statistics

Converts CBQ class statistics counters to gnet_stats
structures.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: Add dump_stats class op
Thomas Graf [Thu, 21 Oct 2004 15:25:28 +0000 (08:25 -0700)]
[PKT_SCHED]: Add dump_stats class op

Adds a new class operation dump_stats which classes can use
to dump statistics. Unlike in qdiscs, there are no common
statistics therefore classes must dump all statistics on their
own. The qdisc stats_lock is being used for locking.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: RED: use dump_stats
Thomas Graf [Thu, 21 Oct 2004 15:24:48 +0000 (08:24 -0700)]
[PKT_SCHED]: RED: use dump_stats

Makes RED use dump_stats qdisc op.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: CBQ: use dump_stats
Thomas Graf [Thu, 21 Oct 2004 15:24:14 +0000 (08:24 -0700)]
[PKT_SCHED]: CBQ: use dump_stats

Makes CBQ use dump_stats qdisc op to provide xstats.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: Add dump_stats qdisc op
Thomas Graf [Thu, 21 Oct 2004 15:23:26 +0000 (08:23 -0700)]
[PKT_SCHED]: Add dump_stats qdisc op

Adds a new qdisc operation dump_stats which qdiscs can use
to dump statistics. The op is invoked between gnet_stats_start_copy
and gnet_stats_finish_copy and therefore stats_lock is already
held. This is required to ensure proper locking throughout the
whole statistic dumping procedure.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: Max TLV types cleanup
Thomas Graf [Thu, 21 Oct 2004 15:22:42 +0000 (08:22 -0700)]
[PKT_SCHED]: Max TLV types cleanup

Cleans up maximum TLV type of existing definitions and adds
missing definitions for TBF, RED, GRED, and HTB.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PKT_SCHED]: Requeues statistics
Thomas Graf [Thu, 21 Oct 2004 15:21:43 +0000 (08:21 -0700)]
[PKT_SCHED]: Requeues statistics

Introduces requeue statistics for qdiscs. Patch is based on a
patch of Jamal Hadi Salim and adapted to new statistic API.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IRDA]: Stir netdev and messages cleanups
Jean Tourrilhes [Thu, 21 Oct 2004 15:19:51 +0000 (08:19 -0700)]
[IRDA]: Stir netdev and messages cleanups

<Patch from Stephen Hemminger>

o [FEATURE] stir4200: netdev_priv and message cleanup

Stir4200 driver cleanup's:
        * use netdev_priv
        * make sure messages identify the driver
        * get rid of unneeded message

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IRDA]: Stir driver suspend fix
Jean Tourrilhes [Thu, 21 Oct 2004 15:18:49 +0000 (08:18 -0700)]
[IRDA]: Stir driver suspend fix

<Patch from Stephen Hemminger>

o [FEATURE] stir4200: don't need suspend/resume if !CONFIG_PM

The suspend/resume code only needs to be compiled in if power management
is enabled.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IRDA]: Stir driver usb reset fix
Jean Tourrilhes [Thu, 21 Oct 2004 15:18:08 +0000 (08:18 -0700)]
[IRDA]: Stir driver usb reset fix

<Patch from Stephen Hemminger>

o [CORRECT] stir4200 - get rid of reset on speed change

The Sigmatel 4200 doesn't accept the address setting which gets done on
USB reset.  The USB core recently changed to resend address (or
something like that), so usb_reset_device is failing.

The device works without doing the USB reset on speed change, it just
will be less robust in recovering when things get wedged (like coming
out of FIR mode).

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IRDA]: Debug module param
Jean Tourrilhes [Thu, 21 Oct 2004 15:16:53 +0000 (08:16 -0700)]
[IRDA]: Debug module param

<Patch from Stephen Hemminger>

o [CORRECT] irda 2.6 - fix module info

The module parameter info for irda is incorrect.
The debug parameter is named debug, the variable is irda_debug.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IRDA]: via-ircc driver speed fixes
Jean Tourrilhes [Thu, 21 Oct 2004 15:16:04 +0000 (08:16 -0700)]
[IRDA]: via-ircc driver speed fixes

o [CORRECT] Speed change fixes in via-ircc driver
o [FEATURE] Add new dongle ID in via-ircc driver
o [FEATURE] Various code cleanups in via-ircc driver

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PATCH] Fix suspend/resume support in via-rhine2
Pavel Machek [Thu, 21 Oct 2004 15:11:45 +0000 (11:11 -0400)]
[PATCH] Fix suspend/resume support in via-rhine2

If I want via-rhine to work after resume, I need this patch. It stops
interrupts during suspend and reinitializes them after that.

20 years ago[IRDA]: IrCOMM IAS object fix
Jean Tourrilhes [Thu, 21 Oct 2004 15:10:21 +0000 (08:10 -0700)]
[IRDA]: IrCOMM IAS object fix

o [CORRECT] Restore properly the IAS object when IrCOMM disconnect.
Allow 'pppd passive persist' to work properly.

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IRDA]: Adaptive discovery query timer
Jean Tourrilhes [Thu, 21 Oct 2004 15:09:38 +0000 (08:09 -0700)]
[IRDA]: Adaptive discovery query timer

o [FEATURE] Adapt to the rate of the peer discovery (passive discovery)
o [FEATURE] Add extra safety margin in passive discovery
Allow to interoperate properly with device performing slow discovery

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IRDA]: IAS safety comments
Jean Tourrilhes [Thu, 21 Oct 2004 15:08:56 +0000 (08:08 -0700)]
[IRDA]: IAS safety comments

o [FEATURE] Make optional the del of IAS object when del IAS attrib
o [FEATURE] Clarify when/why it's safe to to the above

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IRDA]: IrNET char dev alias
Jean Tourrilhes [Thu, 21 Oct 2004 15:08:17 +0000 (08:08 -0700)]
[IRDA]: IrNET char dev alias

o [FEATURE] Add module alias for IrNET char dev

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IRDA]: Fix nsc-ircc dongle_id input
Jean Tourrilhes [Thu, 21 Oct 2004 15:07:40 +0000 (08:07 -0700)]
[IRDA]: Fix nsc-ircc dongle_id input

<Original patch from Maik Broemme>

o [CRITICA] Don't Oops on invalid dongle-id in nsc-ircc driver

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[IRDA]: Fix lmp_lsap_inuse()
Jean Tourrilhes [Thu, 21 Oct 2004 15:06:57 +0000 (08:06 -0700)]
[IRDA]: Fix lmp_lsap_inuse()

o [CRITICA] Fix locking in error path in IrLMP (Stanford checker)
o [CORRECT] Don't reuse unconnected LSAPs (listening sockets)
o [CORRECT] Make sure the LSAP we are picking has just not been grabed
o [CORRECT] Wrap around the LSAP space properly back to 0x10

Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[ATM]: [zatm] eliminate pci_find_device (from Francois Romieu <romieu@fr.zoreil.com>)
Chas Williams [Thu, 21 Oct 2004 15:05:04 +0000 (08:05 -0700)]
[ATM]: [zatm] eliminate pci_find_device (from Francois Romieu <romieu@fr.zoreil.com>)

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[ATM]: [firestream] remove dead code (from Francois Romieu <romieu@fr.zoreil.com>)
Chas Williams [Thu, 21 Oct 2004 15:04:07 +0000 (08:04 -0700)]
[ATM]: [firestream] remove dead code (from Francois Romieu <romieu@fr.zoreil.com>)

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[ATM]: [ambassador] eliminate pci_find_device()
Chas Williams [Thu, 21 Oct 2004 14:58:31 +0000 (07:58 -0700)]
[ATM]: [ambassador] eliminate pci_find_device()

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[ATM]: ambassador printk warning fix
Andrew Morton [Thu, 21 Oct 2004 14:57:02 +0000 (07:57 -0700)]
[ATM]: ambassador printk warning fix

From: Jesper Juhl <juhl-lkml@dif.dk>

drivers/atm/ambassador.c:2295: warning: unsigned int format, long unsigned int arg (arg 2)

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET]: Add new sysfs attribute 'carrier' for net devices.
Andrew Morton [Thu, 21 Oct 2004 14:55:58 +0000 (07:55 -0700)]
[NET]: Add new sysfs attribute 'carrier' for net devices.

From: Jesper Juhl <juhl-lkml@dif.dk>

The patch adds a new sysfs attribute called carrier for net devices that
exposes the result of netif_carrier_ok().  This allows a user to quickly
and easily determine if a given netdevice has carrier or not.  Reading
/sys/class/net/<interface>/carrier yields a '1' when there is a carrier and
a '0' when there is not.

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[CRYPTO]: Deinline large function in blowfish.c
Andrew Morton [Thu, 21 Oct 2004 14:52:23 +0000 (07:52 -0700)]
[CRYPTO]: Deinline large function in blowfish.c

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET]: neigh_stat preempt fix
Andrew Morton [Thu, 21 Oct 2004 14:51:31 +0000 (07:51 -0700)]
[NET]: neigh_stat preempt fix

On some code paths this code is playing with per-cpu data with preemption
enabled.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[NET]: Replace dst_release refcount error with standard WARN_ON
Stephen Hemminger [Thu, 21 Oct 2004 14:49:37 +0000 (07:49 -0700)]
[NET]: Replace dst_release refcount error with standard WARN_ON

Replace the dst count underflow bug message with a standard WARN message.
This makes errors noticeable and also reduces the kernel text size by 600
since we aren't doing as much to setup the printk.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[CRYPTO]: Put khazad back into tcrypt table.
Aaron Grothe [Thu, 21 Oct 2004 14:47:48 +0000 (07:47 -0700)]
[CRYPTO]: Put khazad back into tcrypt table.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge pobox.com:/garz/repo/linux-2.6
Jeff Garzik [Thu, 21 Oct 2004 14:43:01 +0000 (10:43 -0400)]
Merge pobox.com:/garz/repo/linux-2.6
into pobox.com:/garz/repo/net-drivers-2.6

20 years ago[PATCH] depca removal of bogus virt_to_bus() uses
Alexander Viro [Thu, 21 Oct 2004 14:40:54 +0000 (10:40 -0400)]
[PATCH] depca removal of bogus virt_to_bus() uses

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
20 years ago[PATCH] missing includes of asm/irq.h
Alexander Viro [Thu, 21 Oct 2004 14:37:58 +0000 (10:37 -0400)]
[PATCH] missing includes of asm/irq.h

disable_irq() needs asm/irq.h and not everyone who needs it gets it
included indirectly.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
20 years ago[PATCH] added typechecking ot sparc64 ioremap()
Alexander Viro [Thu, 21 Oct 2004 11:04:56 +0000 (04:04 -0700)]
[PATCH] added typechecking ot sparc64 ioremap()

ioremap() made inlined function on sparc64; that had caught one bogosity in
drivers, actually - cpwatchdog.c passed sizeof(structure that was never
declared) as the second argument to ioremap().  It went unnoticed since
that argument was never used in the body of macro, so it disappeared without
a trace...

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc64 missing volatile in io.h prototypes
Alexander Viro [Thu, 21 Oct 2004 11:04:43 +0000 (04:04 -0700)]
[PATCH] sparc64 missing volatile in io.h prototypes

A bunch of places passes volatile pointers to readb() et.al.;
sparc64 has their arguments declared as void __iomem *.  Prototypes
changed to match other platforms.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc io.h annotations
Alexander Viro [Thu, 21 Oct 2004 11:04:30 +0000 (04:04 -0700)]
[PATCH] ppc io.h annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] alpha io_remap_page_range() compile fix
Alexander Viro [Thu, 21 Oct 2004 11:04:17 +0000 (04:04 -0700)]
[PATCH] alpha io_remap_page_range() compile fix

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] amd64 uaccess.h annotations
Alexander Viro [Thu, 21 Oct 2004 11:04:05 +0000 (04:04 -0700)]
[PATCH] amd64 uaccess.h annotations

sparse complains on casts from long to pointers; unsigned long is OK, though,
and it's OK with all numeric cases.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] amd64 io.h annotations
Alexander Viro [Thu, 21 Oct 2004 11:03:52 +0000 (04:03 -0700)]
[PATCH] amd64 io.h annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] alpha writeq fixes
Alexander Viro [Thu, 21 Oct 2004 11:03:39 +0000 (04:03 -0700)]
[PATCH] alpha writeq fixes

Some drivers do ifdef on writeq; alpha has it as inline function, so they
get confused.

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] fusion iomem annotations
Alexander Viro [Thu, 21 Oct 2004 11:03:27 +0000 (04:03 -0700)]
[PATCH] fusion iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] aacraid iomem annotations
Alexander Viro [Thu, 21 Oct 2004 11:03:14 +0000 (04:03 -0700)]
[PATCH] aacraid iomem annotations

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://bart.bkbits.net/ide-2.6
Linus Torvalds [Thu, 21 Oct 2004 10:45:49 +0000 (03:45 -0700)]
Merge bk://bart.bkbits.net/ide-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ide] kill CONFIG_IDE_TASKFILE_IO
Bartlomiej Zolnierkiewicz [Fri, 22 Oct 2004 03:34:19 +0000 (05:34 +0200)]
[ide] kill CONFIG_IDE_TASKFILE_IO

It is not needed any longer:
* PIO code is unified and converted to use scatterlists
* taskfile code doesn't support falling back to PIO
* it is much easier to convert non-taskfile version of
  __ide_do_rw_disk() to something sane than taskfile one

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years ago[block] remove bio walking
Bartlomiej Zolnierkiewicz [Fri, 22 Oct 2004 03:22:42 +0000 (05:22 +0200)]
[block] remove bio walking

All users of this code were fixed to use scatterlists.

Acked by Jens.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years ago[ide] remove broken pdc4030 driver
Bartlomiej Zolnierkiewicz [Thu, 21 Oct 2004 18:30:23 +0000 (20:30 +0200)]
[ide] remove broken pdc4030 driver

Sigh, I broke it by accident 16 months ago and nobody has noticed
(I suspect that it was non-functional even earlier).

Additionally, this driver:
* should be converted to use scatterlists
* has verbose debugging enabled by default
* needs hacks all over IDE code
* is guilty of crimes against ide_hwifs[]

Just remove it for now.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years agoMake core-dumps have all the relevant regions in it.
Linus Torvalds [Thu, 21 Oct 2004 08:26:51 +0000 (01:26 -0700)]
Make core-dumps have all the relevant regions in it.

Based on input from Roland McGrath and Hugh Dickins.

This simplifies the logic, and takes advantage of the
"new" VM information in the form of vma->anon_vma.

20 years agoMake drivers/char/mem.c use remap_pfn_range()
Linus Torvalds [Thu, 21 Oct 2004 08:25:17 +0000 (01:25 -0700)]
Make drivers/char/mem.c use remap_pfn_range()

Rather than the deprecated remap_page_range() function
that can't handle all of the PFN range anyway.

Also, since that will now mark the vma as being special,
there's no need to do it in mmap_mem() any more.

20 years agoremap_pfn_range: make the region special.
Linus Torvalds [Thu, 21 Oct 2004 08:23:16 +0000 (01:23 -0700)]
remap_pfn_range: make the region special.

VM_IO tells the rest fo the world that the pages may
have side effects on reads/writes etc, and VM_RESERVED
historically told swap-out not to bother with it.

20 years ago[PATCH] PA-RISC io_remap_page_range() fix
William Lee Irwin III [Thu, 21 Oct 2004 07:30:26 +0000 (00:30 -0700)]
[PATCH] PA-RISC io_remap_page_range() fix

It was pointed out to me that I typo'd and lost a backslash in the
PA-RISC io_remap_page_range() definition. This patch corrects the
one-character typo.

20 years ago[PATCH] ppp: disconnect on hangup (synctty)
Paul Fulghum [Thu, 21 Oct 2004 05:38:55 +0000 (22:38 -0700)]
[PATCH] ppp: disconnect on hangup (synctty)

Here is the hangup implementation for ppp_synctty.c (same as patch
previously for ppp_asynctty.c)

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://linux-mtd.bkbits.net/mtd-2.6
Linus Torvalds [Thu, 21 Oct 2004 04:28:22 +0000 (21:28 -0700)]
Merge bk://linux-mtd.bkbits.net/mtd-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMTD: dilnetpc: use %p for ptr printk arg.
Randy Dunlap [Thu, 21 Oct 2004 10:34:07 +0000 (11:34 +0100)]
MTD: dilnetpc: use %p for ptr printk arg.

Use %p to print a pointer, so that its length doesn't matter
and so that gcc won't complain.

drivers/mtd/maps/dilnetpc.c:416: warning: long unsigned int format, pointer arg (arg 2)

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
20 years ago[PATCH] ppp: terminate connection on hangup
Paul Fulghum [Thu, 21 Oct 2004 04:22:34 +0000 (21:22 -0700)]
[PATCH] ppp: terminate connection on hangup

I reviewed, patched, and tested ppp_async.c to implement
ldisc->hangup().  This correctly terminates the PPP connection on
hangup.

Paul Mackerras already did an excellent job of ensuring safe shutdown
and I/O completion in ldisc->close so the change is trivial: just add
the ldisc->hangup and call the existing close routine.

Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Thu, 21 Oct 2004 04:10:19 +0000 (21:10 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] Another ISA PnP modem (USR0009)
Adrian Bunk [Thu, 21 Oct 2004 03:59:06 +0000 (20:59 -0700)]
[PATCH] Another ISA PnP modem (USR0009)

Below is a patch from Denis Zaitsev <zzz@anda.ru> with the following two
adjustments:

- applies with -p1 (not -p0)

- USRobotics -> U.S. Robotics (consistent with the rest of the entries)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>