14 years ago[PKT_SCHED]: RED: Cleanup and remove unnecessary code
Thomas Graf [Sat, 5 Nov 2005 20:14:08 +0000]
[PKT_SCHED]: RED: Cleanup and remove unnecessary code

Removes the skb trimming code which is not needed since we never
touch the skb upon failure. Removes unnecessary includes,
initializers, and simplifies the code a bit. Removes Jamal's
obsolete email addresses upon his own request.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[PKT_SCHED]: RED: Dont start idle periods while already idling
Thomas Graf [Sat, 5 Nov 2005 20:14:07 +0000]
[PKT_SCHED]: RED: Dont start idle periods while already idling

We should not interrupt and restart an idle period while idling already.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[PKT_SCHED]: RED: Use generic queue management interface
Thomas Graf [Sat, 5 Nov 2005 20:14:06 +0000]
[PKT_SCHED]: RED: Use generic queue management interface

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[PKT_SCHED]: RED: Use new generic red interface
Thomas Graf [Sat, 5 Nov 2005 20:14:05 +0000]
[PKT_SCHED]: RED: Use new generic red interface

Simplifies code a lot by separating the red algorithm and the
queueing logic. We now differentiate between probability marks
and forced marks but sum them together again to not break
backwards compatibility.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[NET]: Introduce INET_ECN_set_ce() function
Thomas Graf [Sat, 5 Nov 2005 20:14:04 +0000]
[NET]: Introduce INET_ECN_set_ce() function

Changes IP_ECN_set_ce() and IP6_ECN_set_ce() to return 0 if the CE
bits could not bet set because none of the ECT bits are set or 1
if the CE bits are already set or have been successfully set.

Introduces INET_ECN_set_ce(skb) to enable CE bits for all supported
protocols.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[PKT_SCHED]: Generic RED layer
Thomas Graf [Sat, 5 Nov 2005 20:14:03 +0000]
[PKT_SCHED]: Generic RED layer

Extracts the RED algorithm from sch_red.c and puts it into include/net/red.h
for use by other RED based modules. The statistics are extended to be more
fine grained in order to differ between probability/forced marks/drops.
We now reset the average queue length when setting new parameters, leaving
it might result in an unreasonable qavg for a while depending on the value of W.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[NETFILTER] nf_queue: Fix Ooops when no queue handler registered
Harald Welte [Thu, 3 Nov 2005 19:03:24 +0000]
[NETFILTER] nf_queue: Fix Ooops when no queue handler registered

With the new nf_queue generalization in 2.6.14, we've introduced a bug
that causes an oops as soon as a packet is queued but no queue handler
registered.  This patch fixes it.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[NETFILTER]: CONNMARK target needs ip_conntrack
Harald Welte [Thu, 3 Nov 2005 18:25:56 +0000]
[NETFILTER]: CONNMARK target needs ip_conntrack

There's a missing dependency from the CONNMARK target to ip_conntrack.

Signed-off-by: Pablo Neira Ayuso <pablo@eurodev.net>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[NETFILTER] nfnetlink: Use kzalloc
Harald Welte [Thu, 3 Nov 2005 18:20:07 +0000]
[NETFILTER] nfnetlink: Use kzalloc

These is a cleanup patch, kzalloc can be used in a couple of cases

Signed-off-by: Samir Bellabes <sbellabes@mandriva.com>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[NETFILTER]: Fix double free after netlink_unicast() in ctnetlink
Harald Welte [Thu, 3 Nov 2005 18:05:37 +0000]
[NETFILTER]: Fix double free after netlink_unicast() in ctnetlink

It's not necessary to free skb if netlink_unicast() failed.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[NETFILTER] NAT: Fix module refcount dropping too far
Harald Welte [Thu, 3 Nov 2005 19:17:51 +0000]
[NETFILTER] NAT: Fix module refcount dropping too far

The unknown protocol is used as a fallback when a protocol isn't known.
Hence we cannot handle it failing, so don't set ".me".  It's OK, since we
only grab a reference from within the same module (iptable_nat.ko), so we
never take the module refcount from 0 to 1.

Also, remove the "protocol is NULL" test: it's never NULL.

Signed-off-by: Rusty Rusty <rusty@rustcorp.com.au>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[NETFILTER] PPTP helper: Fix endianness bug in GRE key / CallID NAT
Harald Welte [Thu, 3 Nov 2005 12:05:20 +0000]
[NETFILTER] PPTP helper: Fix endianness bug in GRE key / CallID NAT

This endianness bug slipped through while changing the 'gre.key' field in the
conntrack tuple from 32bit to 16bit.

None of my tests caught the problem, since the linux pptp client always has
'0' as call id / gre key.  Only windows clients actually trigger the bug.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[NETFILTER] PPTP helper: Fix compilation of conntrack helper without NAT
Harald Welte [Thu, 3 Nov 2005 13:27:07 +0000]
[NETFILTER] PPTP helper: Fix compilation of conntrack helper without NAT

This patch fixes compilation of the PPTP conntrack helper when NAT is
configured off.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years agoNFS,SUNRPC,NLM: fix unused variable warnings when CONFIG_SYSCTL is disabled
Chuck Lever [Tue, 1 Nov 2005 21:53:32 +0000]
NFS,SUNRPC,NLM: fix unused variable warnings when CONFIG_SYSCTL is disabled

 Fix some dprintk's so that NLM, NFS client, and RPC client compile
 cleanly if CONFIG_SYSCTL is disabled.

 Test plan:
 Compile kernel with CONFIG_NFS enabled and CONFIG_SYSCTL disabled.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

14 years agoSUNRPC: allow sunrpc.o to link when CONFIG_SYSCTL is disabled
Chuck Lever [Tue, 1 Nov 2005 17:24:48 +0000]
SUNRPC: allow sunrpc.o to link when CONFIG_SYSCTL is disabled

 The sunrpc module should build properly even when CONFIG_SYSCTL is
 disabled.

 Reported by Jan-Benedict Glaw.

 Test plan:
 Compile kernel with CONFIG_NFS as a module and built-in, and CONFIG_SYSCTL
 enabled and disabled.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

14 years agoNFSv4: Teach NFSv4 to cache locks when we hold a delegation
Trond Myklebust [Fri, 4 Nov 2005 20:39:36 +0000]
NFSv4: Teach NFSv4 to cache locks when we hold a delegation

 Now that we have a method of dealing with delegation recalls, actually
 enable the caching of posix and BSD locks.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

14 years agoNFSv4: Recover locks too when returning a delegation
Trond Myklebust [Fri, 4 Nov 2005 20:38:11 +0000]
NFSv4: Recover locks too when returning a delegation

 Delegations allow us to cache posix and BSD locks, however when the
 delegation is recalled, we need to "flush the cache" and send
 the cached LOCK requests to the server.

 This patch sets up the mechanism for doing so.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

14 years agoNFSv4: Fix recovery of flock() locks.
Trond Myklebust [Fri, 4 Nov 2005 20:35:30 +0000]
NFSv4: Fix recovery of flock() locks.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

14 years agoNFSv4: Return any delegations before sillyrenaming the file
Trond Myklebust [Fri, 4 Nov 2005 20:35:02 +0000]
NFSv4: Return any delegations before sillyrenaming the file

 I missed this one... Any form of rename will result in a delegation
 recall, so it is more efficient to return the one we hold before
 trying the rename.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

14 years agoNFSv4: Fix the handling of the error NFS4ERR_OLD_STATEID
Trond Myklebust [Fri, 4 Nov 2005 20:33:50 +0000]
NFSv4: Fix the handling of the error NFS4ERR_OLD_STATEID

 Ensure that we retry the failed operation...

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

14 years agoNFSv4: Fix problem with OPEN_DOWNGRADE
Trond Myklebust [Fri, 4 Nov 2005 20:33:38 +0000]
NFSv4: Fix problem with OPEN_DOWNGRADE

 RFC 3530 states that for OPEN_DOWNGRADE "The share_access and share_deny
 bits specified must be exactly equal to the union of the share_access and
 share_deny bits specified for some subset of the OPENs in effect for
 current openowner on the current file.

 Setattr is currently violating the NFSv4 rules for OPEN_DOWNGRADE in that
 it may cause a downgrade from OPEN4_SHARE_ACCESS_BOTH to
 OPEN4_SHARE_ACCESS_WRITE despite the fact that there exists no open file
 with O_WRONLY access mode.

 Fix the problem by replacing nfs4_find_state() with a modified version of
 nfs_find_open_context().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

14 years agoNFSv4: Fix a race between open() and close()
Trond Myklebust [Fri, 4 Nov 2005 20:32:58 +0000]
NFSv4: Fix a race between open() and close()

 We must not remove the nfs4_state structure from the inode open lists
 before we are in sequence lock.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

14 years ago[USB]: Make early handoff a final fixup instead of a header one.
David S. Miller [Fri, 4 Nov 2005 19:17:24 +0000]
[USB]: Make early handoff a final fixup instead of a header one.

At header fixup time, it is not yet legal to ioremap() PCI
device registers, yet that is what this quirk code needs to
do.

Signed-off-by: David S. Miller <davem@davemloft.net>

14 years ago[PATCH] improve scheduler fairness a bit
Oleg Nesterov [Fri, 4 Nov 2005 15:54:30 +0000]
[PATCH] improve scheduler fairness a bit

Do not transfer remaining time slice to another cpu on process exit.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years agoMerge master.kernel.org:/home/rmk/linux-2.6-serial
Linus Torvalds [Fri, 4 Nov 2005 18:42:53 +0000]
Merge master.kernel.org:/home/rmk/linux-2.6-serial

14 years agoMerge master.kernel.org:/home/rmk/linux-2.6-arm
Linus Torvalds [Fri, 4 Nov 2005 18:40:11 +0000]
Merge master.kernel.org:/home/rmk/linux-2.6-arm

14 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6
Linus Torvalds [Fri, 4 Nov 2005 18:39:28 +0000]
Merge /pub/scm/linux/kernel/git/acme/net-2.6

14 years ago[PATCH] ARM: Reverted 2918/1: [update] Base port of Comdial MP1000 platfrom
Russell King [Fri, 4 Nov 2005 17:28:34 +0000]
[PATCH] ARM: Reverted 2918/1: [update] Base port of Comdial MP1000 platfrom

No longer maintained

14 years ago[PATCH] ARM: Reverted 2921/1: Support for the RTC / nvram on the Comdial MP1000
Russell King [Fri, 4 Nov 2005 17:26:57 +0000]
[PATCH] ARM: Reverted 2921/1: Support for the RTC / nvram on the Comdial MP1000

No longer maintained

14 years ago[PATCH] ARM: Reverted 2919/1: CS8900A ethernet driver modifications for the Comdial...
Russell King [Fri, 4 Nov 2005 17:26:56 +0000]
[PATCH] ARM: Reverted 2919/1: CS8900A ethernet driver modifications for the Comdial MP1000

No longer maintained

14 years ago[ARM] 3097/1: change library link ordering
Nicolas Pitre [Fri, 4 Nov 2005 17:17:30 +0000]
[ARM] 3097/1: change library link ordering

Patch from Nicolas Pitre

We have an optimized sha1 routine (arch/arm/lib/sha1.S) meant to
override the generic one in lib/sha1.c.

Unfortunately lib/lib.a is listed _before_ arch/arm/lib/lib.a in the
link argument list and therefore the architecture specific lib functions
are not picked up before the generic versions.

This patch is a quick fix to change that ordering for ARM.  Here's what
the kbuild maintainer had to say about it (was also CC'd on lkml):

On Wed, 2 Nov 2005, Sam Ravnborg wrote:
> This looks like an obvious way to achive correct ordering.
> We could change it so arch defines always took precedence but
> the above is so simple that it is not worth the effort.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] 3087/1: PXA2xx flash platform device conversion
Todd Poynor [Fri, 4 Nov 2005 17:15:45 +0000]
[ARM] 3087/1: PXA2xx flash platform device conversion

Patch from Todd Poynor

Add platform devices for flash to Lubbock and Mainstone board files.
Once in place, the two existing mtd map drivers for the boards will be
converted to use a single pxa2xx map driver in the linux-mtd tree.
Take 4: flash_platform_data .map_name vs. .name cleaned up, resync with
merged irda patch context.

Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] 3086/1: ixp2xxx error irq handling
Dave Jiang [Fri, 4 Nov 2005 17:15:44 +0000]
[ARM] 3086/1: ixp2xxx error irq handling

Patch from Dave Jiang

This provides support for IXP2xxx error interrupt handling. Previously there was a patch to remove this (although the original stuff was broken). Well, now the error bits are needed again. These are used extensively by the micro-engine drivers according to Deepak and also we will need it for the new EDAC code that Alan Cox is trying to push into the main kernel.

Re-submit of 3072/1, generated against git tree pulled today. AFAICT, this git tree pulled in all the ARM changes that's in arm.diff. Please let me know if there are additional changes. Thx!

Signed-off-by: Dave Jiang <djiang@mvista.com>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] 3094/1: remove PLD stuff from old uaccess code
Nicolas Pitre [Fri, 4 Nov 2005 17:15:43 +0000]
[ARM] 3094/1: remove PLD stuff from old uaccess code

Patch from Nicolas Pitre

ARM processors that have pld instructions are not using those copy_user
implementation anymore.  Let's remove the useless PLD lines which were
half wrong anyway.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years agoMerge git://oss.sgi.com:8090/oss/git/xfs-2.6
Linus Torvalds [Fri, 4 Nov 2005 00:25:58 +0000]
Merge git://oss.sgi.com:8090/oss/git/xfs-2.6

14 years ago[XFS] Remove no-longer-used qsort source.
Nathan Scott [Thu, 3 Nov 2005 23:51:01 +0000]
[XFS] Remove no-longer-used qsort source.

Signed-off-by: Nathan Scott <nathans@sgi.com>

14 years ago[XFS] Fix an inode32 regression - if no options are presented, must still
Nathan Scott [Thu, 3 Nov 2005 22:49:07 +0000]
[XFS] Fix an inode32 regression - if no options are presented, must still
set default flags.

SGI-PV: 945242
SGI-Modid: xfs-linux-melb:xfs-kern:24292a

Signed-off-by: Nathan Scott <nathans@sgi.com>

14 years ago[SERIAL] 8250_early.c passing 0 instead of NULL
Ben Dooks [Thu, 3 Nov 2005 21:07:37 +0000]
[SERIAL] 8250_early.c passing 0 instead of NULL

Fix sparse warning about passing `0` to  simple_strtoul()

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] Fix IXDP2x01 config files
Deepak Saxena [Thu, 3 Nov 2005 21:05:39 +0000]
[ARM] Fix IXDP2x01 config files

IXDP2401 config file has wrong baudrate and both boards have 3 UARTs.

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] Merge SMP tree
Russell King [Thu, 3 Nov 2005 21:02:39 +0000]
[ARM] Merge SMP tree

14 years ago[ARM] 3092/1: remove excessive print format padding
Nicolas Pitre [Thu, 3 Nov 2005 20:40:50 +0000]
[ARM] 3092/1: remove excessive print format padding

Patch from Nicolas Pitre

Using a llx format to print addresses that might possibly be (only) 36
bits wide make sense.  However making it a zero padded 16 char wide
field is a bit excessive and useless.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM SMP] Do not clear cpu_vm_mask for VIPT caches
Russell King [Thu, 3 Nov 2005 20:32:45 +0000]
[ARM SMP] Do not clear cpu_vm_mask for VIPT caches

Since we do not invalidate TLBs/caches on MM switches, we should not
clear the cpu_vm_mask for the CPU.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM SMP] Add configuration option for ARMv6K processors
Russell King [Thu, 3 Nov 2005 15:48:21 +0000]
[ARM SMP] Add configuration option for ARMv6K processors

The 'K' extension adds several new instructions to the ARMv6 ISA
which are primerily useful for SMP.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] Fix another build error with IOP3xx platforms
Russell King [Thu, 3 Nov 2005 11:04:53 +0000]
[ARM] Fix another build error with IOP3xx platforms

ld doesn't like comments starting with // in its scripts

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] Add Realview default configuration file
Russell King [Thu, 3 Nov 2005 10:17:44 +0000]
[ARM] Add Realview default configuration file

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] Fix more 3016/1 breakage
Russell King [Thu, 3 Nov 2005 10:06:35 +0000]
[ARM] Fix more 3016/1 breakage

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[XFS] Remove several no-longer-used files.
Nathan Scott [Thu, 3 Nov 2005 05:50:07 +0000]
[XFS] Remove several no-longer-used files.

Signed-off-by: Nathan Scott <nathans@sgi.com>

14 years ago[XFS] Cleanup cosmetic differences between source trees.
Nathan Scott [Thu, 3 Nov 2005 05:14:31 +0000]
[XFS] Cleanup cosmetic differences between source trees.

Signed-off-by: Nathan Scott <nathans@sgi.com>

14 years ago[PKT_SCHED]: Rework QoS and/or fair queueing configuration
Thomas Graf [Tue, 1 Nov 2005 14:13:02 +0000]
[PKT_SCHED]: Rework QoS and/or fair queueing configuration

Make "QoS and/or fair queueing" have its own menu, it's too big to be
inlined into "Network options". Remove the obsolete NET_QOS option.
Automatically select NET_CLS if needed. Do the same for NET_ESTIMATOR
but allow it to be selected manually for statistical purposes. Add
comments to separate queueing from classification. Fix dependencies
and ordering of classifiers. Improve descriptions/help texts and
remove outdated pieces.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[PATCH] x86-64: bitops fix for -Os
Alexandre Oliva [Mon, 31 Oct 2005 20:29:36 +0000]
[PATCH] x86-64: bitops fix for -Os

This fixes the x86-64 find_[first|next]_zero_bit() function for the
end-of-range case.  It didn't test for a zero size, and the "rep scas"
would do entirely the wrong thing.

Signed-off-by: Alexandre Oliva <oliva@lsd.ic.unicamp.br>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[IPV6]: inet6_ifinfo_notify should use RTM_DELLINK in addrconf_ifdown
Yan Zheng [Fri, 14 Oct 2005 10:31:15 +0000]
[IPV6]: inet6_ifinfo_notify should use RTM_DELLINK in addrconf_ifdown

Signed-off-by: Yan Zheng <yanzheng@21cn.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[XFS] fix XFS quota for modular XFS builds
Nathan Scott [Thu, 3 Nov 2005 02:55:06 +0000]
[XFS] fix XFS quota for modular XFS builds

Cannot build XFS filesystem support as module with quota support.  It
works only when the XFS filesystem support is compiled into the kernel.
Menuconfig prevents from setting CONFIG_XFS_FS=m and CONFIG_XFS_QUOTA=y.

How to reproduce: configure the XFS filesystem with quota support as
module.  The resulting kernel won't have quota support compiled into
xfs.ko.

Fix: Changing the fs/xfs/Kconfig file from tristate to bool lets you
configure the quota support to be compiled into the XFS module.  The
Makefile-linux-2.6 checks only for CONFIG_XFS_QUOTA=y.

Signed-off-by: Dimitri Puzin <tristan-777@ddkom-online.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Nathan Scott <nathans@sgi.com>

14 years ago[XFS] Add a mechanism for XFS to use the generic quota sync method.
Nathan Scott [Thu, 3 Nov 2005 02:53:34 +0000]
[XFS] Add a mechanism for XFS to use the generic quota sync method.
This is now used to issue a delayed allocation flush before reporting
quota, which allows the used space quota report to match reality.

Signed-off-by: Nathan Scott <nathans@sgi.com>

14 years ago[XFS] Add the project quota type into the XFS quota header.
Nathan Scott [Thu, 3 Nov 2005 02:51:23 +0000]
[XFS] Add the project quota type into the XFS quota header.

Signed-off-by: Nathan Scott <nathans@sgi.com>

14 years ago[XFS] Update XFS quota header license to match the SGI boilerplate.
Nathan Scott [Thu, 3 Nov 2005 02:50:05 +0000]
[XFS] Update XFS quota header license to match the SGI boilerplate.

Signed-off-by: Nathan Scott <nathans@sgi.com>

14 years ago[XFS] Update XFS documentation.
Nathan Scott [Thu, 3 Nov 2005 02:46:43 +0000]
[XFS] Update XFS documentation.

Signed-off-by: Nathan Scott <nathans@sgi.com>

14 years agoMerge master.kernel.org:/home/rmk/linux-2.6-arm
Linus Torvalds [Thu, 3 Nov 2005 02:38:22 +0000]
Merge master.kernel.org:/home/rmk/linux-2.6-arm

14 years agoMerge branch 'swiotlb' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
Linus Torvalds [Thu, 3 Nov 2005 02:36:15 +0000]
Merge branch 'swiotlb' of git://git./linux/kernel/git/aegl/linux-2.6

14 years ago[NET]: Fix zero-size datagram reception
Herbert Xu [Wed, 2 Nov 2005 07:55:00 +0000]
[NET]: Fix zero-size datagram reception

The recent rewrite of skb_copy_datagram_iovec broke the reception of
zero-size datagrams.  This patch fixes it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[ETHERNET]: Add ether stuff to docbook
Stephen Hemminger [Wed, 2 Nov 2005 01:05:09 +0000]
[ETHERNET]: Add ether stuff to docbook

Fix up etherdevice docbook comments and make them (and other networking stuff)
get dragged into the kernel-api. Delete the old 8390 stuff, it really isn't
interesting anymore.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[ETHERNET]: Optimize is_broadcast_ether_addr
Stephen Hemminger [Wed, 2 Nov 2005 00:52:11 +0000]
[ETHERNET]: Optimize is_broadcast_ether_addr

Optimize the match for broadcast address by using bit operations instead
of comparison. This saves a number of conditional branches, and generates
smaller code.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[XFS] Fixed the inconsistency between attribute b-tree intermidiate node
Yingping Lu [Wed, 2 Nov 2005 23:31:47 +0000]
[XFS] Fixed the inconsistency between attribute b-tree intermidiate node
and leaf blocks. The problem cam from xfsqa test 117.

SGI-PV: 940655
SGI-Modid: xfs-linux:xfs-kern:201527a

Signed-off-by: Yingping Lu <yingping@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>

14 years ago[TCP]: BIC max increment too large
Stephen Hemminger [Tue, 1 Nov 2005 23:26:45 +0000]
[TCP]: BIC max increment too large

The max growth of BIC TCP is too large. Original code was based on
BIC 1.0 and the default there was 32. Later code (2.6.13) included
compensation for delayed acks, and should have reduced the default
value to 16; since normally TCP gets one ack for every two packets sent.

The current value of 32 makes BIC too aggressive and unfair to other
flows.

Submitted-by: Injong Rhee <rhee@eos.ncsu.edu>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Acked-by: Ian McDonald <imcdnzl@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[MCAST]: ip[6]_mc_add_src should be called when number of sources is zero
Yan Zheng [Fri, 28 Oct 2005 00:02:08 +0000]
[MCAST]: ip[6]_mc_add_src should be called when number of sources is zero

And filter mode is exclude.

Further explanation by David Stevens:

Multicast source filters aren't widely used yet, and that's really the only
feature that's affected if an application actually exercises this bug, as far
as I can tell. An ordinary filter-less multicast join should still work, and
only forwarded multicast traffic making use of filters and doing empty-source
filters with the MSFILTER ioctl would be at risk of not getting multicast
traffic forwarded to them because the reports generated would not be based on
the correct counts.

Signed-off-by: Yan Zheng <yanzheng@21cn.com
Acked-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>

14 years ago[ARM SMP] Add hotplug CPU infrastructure
Russell King [Wed, 2 Nov 2005 22:24:33 +0000]
[ARM SMP] Add hotplug CPU infrastructure

This patch adds the infrastructure to support hotplug CPU on ARM
platforms.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM SMP] Fix a couple of warnings
Russell King [Wed, 2 Nov 2005 21:54:14 +0000]
[ARM SMP] Fix a couple of warnings

Use *cpus_addr() to display the mask of pending/to be called CPUs.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM SMP] Track CPU idle threads
Russell King [Wed, 2 Nov 2005 21:51:40 +0000]
[ARM SMP] Track CPU idle threads

Track the idle thread task_struct for each CPU.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years agoMerge git://brick.kernel.dk/data/git/linux-2.6-block
Linus Torvalds [Wed, 2 Nov 2005 16:06:02 +0000]
Merge git://brick.kernel.dk/data/git/linux-2.6-block

14 years ago[ARM] Fix ARM rwlock implementations
Russell King [Wed, 2 Nov 2005 15:09:31 +0000]
[ARM] Fix ARM rwlock implementations

fb1c8f93d869b34cacb8b8932e2b83d96a19d720 broke the ARM rwlock code since
it only partially updated the rwlock implementation.  Properly update it.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] AMBA CLCD driver can drive PL110 and PL111 primecells
Russell King [Wed, 2 Nov 2005 14:40:35 +0000]
[ARM] AMBA CLCD driver can drive PL110 and PL111 primecells

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] Fix Realview machine for patch 3016/1
Russell King [Wed, 2 Nov 2005 14:14:37 +0000]
[ARM] Fix Realview machine for patch 3016/1

3016/1 changed the map_desc structure to take a PFN instead of a
physical address.  Fixup Realview machine support for this change.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] Fix mm initialisation with write buffered write allocate caches
Russell King [Wed, 2 Nov 2005 14:11:35 +0000]
[ARM] Fix mm initialisation with write buffered write allocate caches

It seems that without the extra tlb flush, we may end up faulting
during the early kernel initialisation because the TLB can't see
the updated page tables.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] 3083/1: include/asm-arm/arch-ixp4xx/io.h: eliminate warnings for pointer passed...
John Bowler [Wed, 2 Nov 2005 11:55:12 +0000]
[ARM] 3083/1: include/asm-arm/arch-ixp4xx/io.h: eliminate warnings for pointer passed to integral function argument

Patch from John Bowler

Fix for a compiler warning, this wasn't apparent in 2.6.12, I
believe the compiler options have been changed (somewhere) so
that passing a (void*) to a (u32) argument is now warned.

This accounts for the majority of the warnings in my builds of
the 2.6.14 kernel for NSLU2.

The patch changes pointer parameters declared as u32 to be
declared as either, for read parameters:

const volatile void __iomem *

and for write parameters:

volatile void __iomem *

Signed-off-by: John Bowler <jbowler@acm.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[ARM] Fix realview machine type for patch 3060/1
Russell King [Wed, 2 Nov 2005 11:51:15 +0000]
[ARM] Fix realview machine type for patch 3060/1

Realview was missed in this cleanup...

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

14 years ago[PATCH] blk: fix dangling pointer access in __elv_add_request
Tejun Heo [Tue, 1 Nov 2005 08:23:49 +0000]
[PATCH] blk: fix dangling pointer access in __elv_add_request

cfq's add_req_fn callback may invoke q->request_fn directly and
depending on low-level driver used and timing, a queued request may be
finished & deallocated before add_req_fn callback returns.  So,
__elv_add_request must not access rq after it's passed to add_req_fn
callback.

This patch moves rq_mergeable test above add_req_fn().  This may
result in q->last_merge pointing to REQ_NOMERGE request if add_req_fn
callback sets it but as RQ_NOMERGE is checked again when blk layer
actually tries to merge requests, this does not cause any problem.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] ibmveth fix panic in initial replenish cycle
Santiago Leon [Tue, 1 Nov 2005 19:15:09 +0000]
[PATCH] ibmveth fix panic in initial replenish cycle

This patch fixes a panic in the current tree caused by a race condition between the initial replenish cycle and the rx processing of the first packets trying to replenish the buffers.

Signed-off-by: Santiago Leon <santil@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] missing platform_device.h includes
Al Viro [Tue, 1 Nov 2005 15:14:05 +0000]
[PATCH] missing platform_device.h includes

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6
Linus Torvalds [Wed, 2 Nov 2005 05:49:07 +0000]
Merge /pub/scm/linux/kernel/git/airlied/drm-2.6

Manual fixups for some clashes due to re-indenting.

14 years ago[PATCH] tlclk build fix
Andrew Morton [Tue, 1 Nov 2005 07:44:30 +0000]
[PATCH] tlclk build fix

drivers/char/tlclk.c: In function `tlclk_init':
drivers/char/tlclk.c:775: warning: implicit declaration of function `platform_device_register_simple'

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] audit_sysctl_exit can only be used with CONF_AUDIT_SYSCTL
Horms [Tue, 1 Nov 2005 07:44:29 +0000]
[PATCH] audit_sysctl_exit can only be used with CONF_AUDIT_SYSCTL

This section of code calls .audit_syscal_exit, but is inside CONFIG_AUDIT,
so it will fail to build if CONFIG_AUDITSYSCALL is not defined.

After discussion with David Woodhouse, change the ifdef to
CONFIG_AUDITSYSCALL

Signed-off-by: Horms <horms@verge.net.au>
Acked-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] TPM compile fix
Chris Wright [Tue, 1 Nov 2005 07:44:28 +0000]
[PATCH] TPM compile fix

CC drivers/char/tpm/tpm_nsc.o
drivers/char/tpm/tpm_nsc.c:277: error: `platform_bus_type' undeclared here (not in a function)
...
CC drivers/char/tpm/tpm_atmel.o
drivers/char/tpm/tpm_atmel.c:175: error: `platform_bus_type' undeclared here (not in a function)

Make sure to include proper headers.

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: add 5208 ColdFire reset/reboot support
Greg Ungerer [Wed, 2 Nov 2005 05:12:42 +0000]
[PATCH] m68knommu: add 5208 ColdFire reset/reboot support

Add reset/reboot code to support the ColdFire 5208 family.
Patch originally from Matt Wadell (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: add 5208 ColdFire UART support
Greg Ungerer [Wed, 2 Nov 2005 05:11:08 +0000]
[PATCH] m68knommu: add 5208 ColdFire UART support

Add support for the UARTs on the ColdFire 5208 family.
Patch originally from Matt Wadell (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: add 5208 ColdFire pit interrupt support
Greg Ungerer [Wed, 2 Nov 2005 05:10:22 +0000]
[PATCH] m68knommu: add 5208 ColdFire pit interrupt support

The PIT timer in the 5208 ColdFire has slightly different interrupt
bit definitions than the PIT timer used on other ColdFire parts.
Define the commonly used bit and mask numbers here, and let
part specific defines take precedence if they are defined.

Patch originally from Matt Wadell (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: add 5208 ColdFire pit timer support
Greg Ungerer [Wed, 2 Nov 2005 05:05:55 +0000]
[PATCH] m68knommu: add 5208 ColdFire pit timer support

Add support for the PIT timer used in the 5208 ColdFire fmaily.
Patch originally from Matt Wadell (from code originally modified by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: use board defines to distinguish boards
Greg Ungerer [Wed, 2 Nov 2005 05:04:37 +0000]
[PATCH] m68knommu: use board defines to distinguish boards

Use board name defines to distinguish boards, instead of combinations
of more generic defines.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: add 5208 ColdFire cache support
Greg Ungerer [Wed, 2 Nov 2005 05:03:09 +0000]
[PATCH] m68knommu: add 5208 ColdFire cache support

Add support for the cpu cache of the 5208 ColdFire fmaily.
Patch originally from Matt Wadell (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: add 5208 ColdFire support defines
Greg Ungerer [Wed, 2 Nov 2005 05:02:01 +0000]
[PATCH] m68knommu: add 5208 ColdFire support defines

Add support for the internal register map of the 5208 ColdFire fmaily.
Patch originally from Matt Wadell (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: add 5208 ColdFire support defines for its internal map
Greg Ungerer [Wed, 2 Nov 2005 04:59:09 +0000]
[PATCH] m68knommu: add 5208 ColdFire support defines for its internal map

Define the register space of the new 5208 ColdFire family (which includes
to 5207). It is mostly similar to the other ColdFire parts.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: use board name defines to differentiate board definitions
Greg Ungerer [Wed, 2 Nov 2005 04:56:46 +0000]
[PATCH] m68knommu: use board name defines to differentiate board definitions

Use board name define to differentiate boards, not combination
of more generic defines.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: updated defconfig
Greg Ungerer [Wed, 2 Nov 2005 04:53:58 +0000]
[PATCH] m68knommu: updated defconfig

Updated m68knommu defconfig. Part of changing the "Motorola" names
to their new name "Freescale".

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: remove unmaintained asm-m68knommu/ide.h
Greg Ungerer [Wed, 2 Nov 2005 04:52:21 +0000]
[PATCH] m68knommu: remove unmaintained asm-m68knommu/ide.h

Remove unmaintained asm-m68knommu/ide.h. It is completely out of
date - and there is no underlying support for it.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: remove auto-generated asm-offsets.h
Greg Ungerer [Wed, 2 Nov 2005 04:50:04 +0000]
[PATCH] m68knommu: remove auto-generated asm-offsets.h

Remove auto-generated file from source base.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years ago[PATCH] m68knommu: change use of extern inline to static inline in headers
Greg Ungerer [Wed, 2 Nov 2005 04:42:03 +0000]
[PATCH] m68knommu: change use of extern inline to static inline in headers

"extern inline" doesn't make much sense here.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

14 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6
Linus Torvalds [Wed, 2 Nov 2005 05:33:06 +0000]
Merge /pub/scm/linux/kernel/git/acme/net-2.6

14 years agoMerge master.kernel.org:/home/rmk/linux-2.6-serial
Linus Torvalds [Wed, 2 Nov 2005 05:32:46 +0000]
Merge master.kernel.org:/home/rmk/linux-2.6-serial

14 years agoMerge master.kernel.org:/home/rmk/linux-2.6-arm
Linus Torvalds [Wed, 2 Nov 2005 05:32:14 +0000]
Merge master.kernel.org:/home/rmk/linux-2.6-arm

14 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog
Linus Torvalds [Wed, 2 Nov 2005 05:29:57 +0000]
Merge /linux/kernel/git/wim/linux-2.6-watchdog

14 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6
Linus Torvalds [Wed, 2 Nov 2005 05:28:53 +0000]
Merge /pub/scm/linux/kernel/git/sfrench/cifs-2.6

14 years ago[PATCH] toshiba_ohci1394_dmi_table should be __devinitdata, not __devinit
Roland Dreier [Sat, 29 Oct 2005 04:50:35 +0000]
[PATCH] toshiba_ohci1394_dmi_table should be __devinitdata, not __devinit

I don't really understand why gcc gives the error it does, but without
this patch, when building with CONFIG_HOTPLUG=n, I get errors like:

CC arch/x86_64/pci/../../i386/pci/fixup.o
    arch/x86_64/pci/../../i386/pci/fixup.c: In function `pci_fixup_i450nx':
    arch/x86_64/pci/../../i386/pci/fixup.c:13: error: pci_fixup_i450nx causes a section type conflict

The change is obviously correct: an array should be declared
__devinitdata rather that __devinit.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Martin J. Bligh <mbligh@mbligh.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>