]> git.neil.brown.name Git - history.git/log
history.git
22 years ago[PATCH] Remove useless cruft from ATM HE driver.
Dave Jones [Fri, 23 Jan 2004 00:13:27 +0000 (16:13 -0800)]
[PATCH] Remove useless cruft from ATM HE driver.

Echoing changes done in 2.4. (It now has a pci_pool_create backport).

22 years ago[PATCH] Correct CPUs printout on boot.
Dave Jones [Fri, 23 Jan 2004 00:12:48 +0000 (16:12 -0800)]
[PATCH] Correct CPUs printout on boot.

This currently prints out the maximum number of CPUs the
kernel is configured to support, instead of the actual
number that the kernel brought up. Which results in odd
displays that look like you have more CPUs than you do.

22 years ago[PATCH] Reduce stack usage in ttusb driver.
Dave Jones [Fri, 23 Jan 2004 00:12:09 +0000 (16:12 -0800)]
[PATCH] Reduce stack usage in ttusb driver.

ARM_PACKET_SIZE is 4KB. Ouch.

22 years ago[PATCH] Remove unused CONFIG symbol.
Dave Jones [Fri, 23 Jan 2004 00:11:38 +0000 (16:11 -0800)]
[PATCH] Remove unused CONFIG symbol.

Grep of the tree only turned up these two uses.

22 years ago[PATCH] logic error in aty128fb
Dave Jones [Fri, 23 Jan 2004 00:11:10 +0000 (16:11 -0800)]
[PATCH] logic error in aty128fb

Negate the expression not the register seems more sensible?

22 years ago[PATCH] Restore 2.4 MTRR feature.
Dave Jones [Fri, 23 Jan 2004 00:10:47 +0000 (16:10 -0800)]
[PATCH] Restore 2.4 MTRR feature.

If the CPU doesn't support MTRRs, don't create a /proc/mtrr

22 years ago[PATCH] Reduce stack usage in w9966 driver.
Dave Jones [Fri, 23 Jan 2004 00:10:25 +0000 (16:10 -0800)]
[PATCH] Reduce stack usage in w9966 driver.

2KB onstack allocation. Nasty.

22 years ago[PATCH] OOSTORE needs MTRR.
Dave Jones [Fri, 23 Jan 2004 00:10:08 +0000 (16:10 -0800)]
[PATCH] OOSTORE needs MTRR.

The centaur CPU init code gets linking errors without it.

22 years ago[PATCH] PCI probing typo
Dave Jones [Fri, 23 Jan 2004 00:09:56 +0000 (16:09 -0800)]
[PATCH] PCI probing typo

22 years agoMerge http://xfs.org:8090/xfs-linux-2.6
Linus Torvalds [Fri, 23 Jan 2004 00:06:30 +0000 (16:06 -0800)]
Merge http://xfs.org:8090/xfs-linux-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[XFS] Fix for large allocation groups, so that extent
Eric Sandeen [Sat, 24 Jan 2004 03:41:38 +0000 (14:41 +1100)]
[XFS] Fix for large allocation groups, so that extent
sizes will not overflow pagebuf lengths.

SGI Modid: xfs-linux:xfs-kern:164827a

22 years ago[XFS] In xfs_bulkstat, we need to do the readahead loop always.
Dean Roehrich [Sat, 24 Jan 2004 03:38:25 +0000 (14:38 +1100)]
[XFS] In xfs_bulkstat, we need to do the readahead loop always.

SGI Modid: xfs-linux:xfs-kern:164517a

22 years ago[PATCH] Fix rq_for_each_bio() macro again
Andrew Morton [Fri, 23 Jan 2004 00:04:53 +0000 (16:04 -0800)]
[PATCH] Fix rq_for_each_bio() macro again

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

Looks like an obvious typo.  Works fine if "bio" is the name of the
iterator.

22 years ago[PATCH] ppc32: Fixes to the signal context code
Andrew Morton [Fri, 23 Jan 2004 00:04:44 +0000 (16:04 -0800)]
[PATCH] ppc32: Fixes to the signal context code

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

This patch (which has been in my tree for some time now) does 2 things to
the ppc32 signal code:

- The new sys_swapcontext() syscall that we added recently (and which is
  _not_ yet used by glibc, so it's ok to change it slightly at this point,
  glibc kernel version check will limit us to 2.6.2 or 2.6.3) gets a new
  context size argument, so we can deal with future context size changes.

- When ucontext is get/set/swapped using the above syscall, the TLS (r2)
  is preserved (it's still saved/restored on signal entry & return though).

The equivalent of this patch is already in the ppc64 signal32.c emulation,
and it has no effect until glibc is updated to use the new syscall, which
should happen soon now, so please apply.

22 years ago[PATCH] RAID-6 fix for IA-64
Andrew Morton [Fri, 23 Jan 2004 00:04:36 +0000 (16:04 -0800)]
[PATCH] RAID-6 fix for IA-64

From: "H. Peter Anvin" <hpa@transmeta.com>

Fix for RAID-6 on IA-64, from Bjorn Helgaas, and verified by me.

22 years ago[PATCH] LSI Logic MegaRAID3 PCI ID
Andrew Morton [Fri, 23 Jan 2004 00:04:26 +0000 (16:04 -0800)]
[PATCH] LSI Logic MegaRAID3 PCI ID

From: Chris Meadors <clubneon@hereintown.net>

Add a missing PCI ID.

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Thu, 22 Jan 2004 08:01:30 +0000 (00:01 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] non-integrated local APIC LVTT init compatibility
Mikael Pettersson [Thu, 22 Jan 2004 06:11:46 +0000 (22:11 -0800)]
[PATCH] non-integrated local APIC LVTT init compatibility

Add back the old i82489DX bits to use timer scaling for the old
non-integrated APIC setup.

It's possible these bits don't need to be set on i82489DXs,
but not having this HW for testing I elected to maintain
the old behaviour on these old machines.

22 years ago[NET]: Simplify net/flow.c per-cpu handling.
Rusty Russell [Thu, 22 Jan 2004 02:14:37 +0000 (18:14 -0800)]
[NET]: Simplify net/flow.c per-cpu handling.

The cpu handling in net/core/flow.c is complex: it tries to allocate
flow cache as each CPU comes up.  It might as well allocate them for
each possible CPU at boot.

22 years agoFix APIC timer initialization.
Linus Torvalds [Thu, 22 Jan 2004 02:08:36 +0000 (18:08 -0800)]
Fix APIC timer initialization.

We used to write fields that were marked RESERVED and that
are apparently some old stale timer base. Stop doing that.

Verified with Mikael Pettersson, and confirmed to fix ACPI
boot-time lockups for a few people.

22 years ago[IPV6]: addrconf_sysctl_forward_strategy() needs to invoke rt6_purge_dflt_routers...
Ville Nuorvala [Thu, 22 Jan 2004 02:04:13 +0000 (18:04 -0800)]
[IPV6]: addrconf_sysctl_forward_strategy() needs to invoke rt6_purge_dflt_routers() too.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Thu, 22 Jan 2004 01:46:23 +0000 (17:46 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] ppc64: include i2c in config
Andrew Morton [Thu, 22 Jan 2004 00:15:37 +0000 (16:15 -0800)]
[PATCH] ppc64: include i2c in config

ppc64 doesn't use drivers/Kconfig (it should) so it needs to include i2c by
hand.

22 years ago[PATCH] ppc64: add missing sched_balance_exec() call
Andrew Morton [Thu, 22 Jan 2004 00:15:28 +0000 (16:15 -0800)]
[PATCH] ppc64: add missing sched_balance_exec() call

From: Anton Blanchard <anton@samba.org>

We were missing the sched_balance_exec call.  Could explain some NUMA
scheduling weirdness we were seeing.

22 years ago[PATCH] document RAID-6 support in mdadm-1.5.0
Andrew Morton [Thu, 22 Jan 2004 00:15:18 +0000 (16:15 -0800)]
[PATCH] document RAID-6 support in mdadm-1.5.0

From: "H. Peter Anvin" <hpa@zytor.com>

This is purely a doc patch saying RAID-6 support is available in
mdadm-1.5.0 and the patch is no longer necessary.

22 years ago[PATCH] RAID-6 fixes
Andrew Morton [Thu, 22 Jan 2004 00:15:09 +0000 (16:15 -0800)]
[PATCH] RAID-6 fixes

From: "H. Peter Anvin" <hpa@zytor.com>

As expected, when it hit mainline I started getting real bug reports...
the attached patch does the following:

- Fixes a few x86-64 specific bugs;

- Removes MMX and SSE-1 from x86-64 (if we have x86-64 we have SSE-2);

- Slightly astracts the integer code to make it easier to add
  architecture-specific optimizations later (e.g.  IA64 once gcc gets
  better IA64 intrinsics support);

- Resurrects the user-space testbench, and makes it not output the known
  false positive of the D+Q case (D+Q is equivalent to a RAID-5 recovery,
  so I didn't implement it in the user-space testbench.)

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

22 years ago[IPV6]: Add and use new 'strict' parameter to ip6_chk_addr().
Ville Nuorvala [Wed, 21 Jan 2004 14:38:52 +0000 (06:38 -0800)]
[IPV6]: Add and use new 'strict' parameter to ip6_chk_addr().

RFC 2461 requires that the source address of Neighbor Discovery messages
is an address assigned to the sending interface.

Duplicate Address Detection should also be interface specific. We don't,
for example, want a node to DoS itself just because it has two interfaces
on the same link and both happen to listen to the same multicast group. If
there is a true duplicate on the link, the interface doing DAD will notice
it anyway.

The attached patch adds a 'strict' parameter to ip6_chk_addr() and
ip6_get_ifaddr() to allow link-local protocols like ND and DAD to do
strict address checks even on addresses with greater scope than
link-local.

22 years ago[SPARC64]: Add missing sched_balance_exec() to 32-bit compat execve().
David S. Miller [Wed, 21 Jan 2004 14:28:56 +0000 (06:28 -0800)]
[SPARC64]: Add missing sched_balance_exec() to 32-bit compat execve().

22 years ago[ATM]: [horizon] avoid warning about limited range of data type
Chas Williams [Wed, 21 Jan 2004 14:19:54 +0000 (06:19 -0800)]
[ATM]: [horizon] avoid warning about limited range of data type

22 years ago[IPV6]: Explicity set *dst to NULL at top of ip6_dst_lookup().
Krishna Kumar [Wed, 21 Jan 2004 14:18:33 +0000 (06:18 -0800)]
[IPV6]: Explicity set *dst to NULL at top of ip6_dst_lookup().

22 years ago[IPV6]: More missing sysctl table sentinels in addrconf.c
Stephen Hemminger [Wed, 21 Jan 2004 14:16:11 +0000 (06:16 -0800)]
[IPV6]: More missing sysctl table sentinels in addrconf.c

22 years ago[IPV6]: Fix link-local address check in datagram.c
Ville Nuorvala [Wed, 21 Jan 2004 06:14:20 +0000 (22:14 -0800)]
[IPV6]: Fix link-local address check in datagram.c

22 years ago[NET]: Do not mark dummy_free_one() __exit in dummy.c driver.
Andrew Morton [Wed, 21 Jan 2004 06:13:31 +0000 (22:13 -0800)]
[NET]: Do not mark dummy_free_one() __exit in dummy.c driver.

22 years ago[PATCH] Elvis^H^H^H^H^HPaul has left the building
Tom Rini [Wed, 21 Jan 2004 03:39:53 +0000 (19:39 -0800)]
[PATCH] Elvis^H^H^H^H^HPaul has left the building

> Paul Mackerras:
>   o sort exception tables

And as more proof that Paul is leaving us ppc32 folks, *sniff*, the
following is needed for PPC32 to compile:

22 years ago[PATCH] Check for MCE ability before checking registers.
Dave Jones [Wed, 21 Jan 2004 02:32:03 +0000 (18:32 -0800)]
[PATCH] Check for MCE ability before checking registers.

Here's a novel idea, check the CPU has machine check capabilities
before we start polling registers.

I was wondering why my VIA C3 was starting this.  Who knows it may solve
some of the random crashes I saw there.

22 years ago[PATCH] video4linux driver documentation update
Gerd Knorr [Wed, 21 Jan 2004 01:07:20 +0000 (17:07 -0800)]
[PATCH] video4linux driver documentation update

This updates / adds documentation for the bttv, saa7134 and cx88
video4linux drivers.

22 years ago[PATCH] selinux build fix
Gerd Knorr [Wed, 21 Jan 2004 01:06:26 +0000 (17:06 -0800)]
[PATCH] selinux build fix

trivial one: uses __init and thus needs linux/init.h

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

22 years agoinput: If we get a byte with timeout or parity flags in psmouse.c,
Dmitry Torokhov [Wed, 21 Jan 2004 11:25:16 +0000 (12:25 +0100)]
input: If we get a byte with timeout or parity flags in psmouse.c,
       we take the appropriate action. (throw the byte away, reset
       byte counter, return NAK if acking, and complain).

22 years agoinput: Allow Synaptics packet rate to be controlled by the
Dmitry Torokhov [Wed, 21 Jan 2004 11:21:24 +0000 (12:21 +0100)]
input: Allow Synaptics packet rate to be controlled by the
       psmouse_rate= option.

22 years agoMerge ucw.cz:/home/vojtech/bk/linus into ucw.cz:/home/vojtech/bk/input
Vojtech Pavlik [Wed, 21 Jan 2004 10:29:55 +0000 (11:29 +0100)]
Merge ucw.cz:/home/vojtech/bk/linus into ucw.cz:/home/vojtech/bk/input

22 years agoinput: Manual merge.
Vojtech Pavlik [Tue, 20 Jan 2004 21:21:08 +0000 (22:21 +0100)]
input: Manual merge.

22 years agoinput: Properly recompute initial values upon recalibration in joydev.
Glenn Burkhardt [Tue, 20 Jan 2004 20:50:34 +0000 (21:50 +0100)]
input: Properly recompute initial values upon recalibration in joydev.

22 years agoMerge davem@nuts.ninka.net:/disk1/davem/BK/sparc-2.6
David S. Miller [Tue, 20 Jan 2004 16:43:54 +0000 (08:43 -0800)]
Merge davem@nuts.ninka.net:/disk1/davem/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[SPARC64]: Update defconfig.
David S. Miller [Tue, 20 Jan 2004 16:39:39 +0000 (08:39 -0800)]
[SPARC64]: Update defconfig.

22 years ago[TTUSB]: ttusb_dec.c needs linux/init.h
David S. Miller [Tue, 20 Jan 2004 16:10:44 +0000 (08:10 -0800)]
[TTUSB]: ttusb_dec.c needs linux/init.h

22 years ago[SPARC64]: Fix 32-bit execve out_mm error path.
David S. Miller [Tue, 20 Jan 2004 14:28:05 +0000 (06:28 -0800)]
[SPARC64]: Fix 32-bit execve out_mm error path.

Do not pass a NULL mm to mmdrop().

22 years agoMerge bk://are.twiddle.net/axp-2.6
Linus Torvalds [Tue, 20 Jan 2004 13:40:29 +0000 (05:40 -0800)]
Merge bk://are.twiddle.net/axp-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoLinux 2.6.2-rc1 v2.6.2-rc1
Linus Torvalds [Tue, 20 Jan 2004 11:38:07 +0000 (03:38 -0800)]
Linux 2.6.2-rc1

22 years ago[PATCH] new module args for ir-kbd-*.c
Andrew Morton [Tue, 20 Jan 2004 11:17:49 +0000 (03:17 -0800)]
[PATCH] new module args for ir-kbd-*.c

From: Gerd Knorr <kraxel@bytesex.org>

Use module_param() rather than the deprecated MODULE_PARM() in this driver.

22 years ago[PATCH] do not use shared extable code for ia64
Andrew Morton [Tue, 20 Jan 2004 11:17:40 +0000 (03:17 -0800)]
[PATCH] do not use shared extable code for ia64

From: Jes Sorensen <jes@trained-monkey.org>

The new sort_extable and shared search_extable code doesn't work on ia64.
I have introduced two new #defines that archs can define to avoid the
common code being built.  ARCH_HAS_SEARCH_EXTABLE and
ARCH_HAS_SORT_EXTABLE.

22 years ago[PATCH] afs: avoid ifdef inside macro expansion
Andrew Morton [Tue, 20 Jan 2004 11:17:31 +0000 (03:17 -0800)]
[PATCH] afs: avoid ifdef inside macro expansion

From: David Howells <dhowells@redhat.com>

Eliminate the printing of the cache token if present: using cpp
conditionals inside macro expansions is not legal and some gcc's fail it.

22 years ago[PATCH] NFS/RPC modprobe -r sunrpc causes an oops
Andrew Morton [Tue, 20 Jan 2004 11:17:23 +0000 (03:17 -0800)]
[PATCH] NFS/RPC modprobe -r sunrpc causes an oops

From: Steve Dickson <SteveD@redhat.com>

Here is a patch for the 2.6.1 kernel that fixes an oops that occurs when
the sunrpc module is unloaded.

The problem was the RPC cache_register() call was not saving entry pointers
to the procfs entries it was creating.  So when it came time to dismantle
the entires, a BUG_ON() was tripped in remove_proc_entry() since the tree
was not broken down completely.

(acked by neilb)

22 years ago[PATCH] smbfs: remove noisy printk's
Andrew Morton [Tue, 20 Jan 2004 11:17:14 +0000 (03:17 -0800)]
[PATCH] smbfs: remove noisy printk's

These printk's come out during normal usage, when accessing locked system
files on the windows machines.

22 years ago[PATCH] dquot: fix i_blocks accounting and locking
Andrew Morton [Tue, 20 Jan 2004 11:17:05 +0000 (03:17 -0800)]
[PATCH] dquot: fix i_blocks accounting and locking

From: Jan Kara <jack@ucw.cz>

A patch which fixes a problem that i_blocks are not updated for quota files
(when quota turned on) in 2.6.1.  The patch also fixes possible unlock of
not locked spin_lock.

22 years ago[PATCH] ratelimit I/O error printk's
Andrew Morton [Tue, 20 Jan 2004 11:16:56 +0000 (03:16 -0800)]
[PATCH] ratelimit I/O error printk's

Ratelimit a couple of potentially-stormy printk's in the writeback code.

22 years ago[PATCH] drivers/isdn/Kconfig URL update: caltech.edu
Andrew Morton [Tue, 20 Jan 2004 11:16:47 +0000 (03:16 -0800)]
[PATCH] drivers/isdn/Kconfig URL update: caltech.edu

From: Petri Koistinen <petri.koistinen@iki.fi>

Little URL fix.  Server requires www in front of URL, no automatic
forwarding.

22 years ago[PATCH] Document problems with USB legacy support
Andrew Morton [Tue, 20 Jan 2004 11:16:38 +0000 (03:16 -0800)]
[PATCH] Document problems with USB legacy support

From: Vojtech Pavlik <vojtech@suse.cz>

22 years ago[PATCH] reiserfs: cleanup_bitmap_list() check for NULL argument.
Andrew Morton [Tue, 20 Jan 2004 11:16:29 +0000 (03:16 -0800)]
[PATCH] reiserfs: cleanup_bitmap_list() check for NULL argument.

From: Nikita Danilov <Nikita@Namesys.COM>

fs/reiserfs/journal.c:cleanup_bitmap_list() can be called to cleanup
reiserfs_list_bitmap that was only partly initialized. Check that
jb->bitmaps array was actually allocated, before trying to free its
elements.

22 years ago[PATCH] exception table search fix
Andrew Morton [Tue, 20 Jan 2004 11:16:20 +0000 (03:16 -0800)]
[PATCH] exception table search fix

The exception table search code currently fails if addresses differ by more
than 2G.  This is only a problem when using the 4g/4g address space split,
but it's more robust this way.

Also, shuffle the comparison order n there so the least likely case comes
last.

22 years ago[PATCH] ext3: update a_ops when running `chattr +j'
Andrew Morton [Tue, 20 Jan 2004 11:16:11 +0000 (03:16 -0800)]
[PATCH] ext3: update a_ops when running `chattr +j'

From: Jan Kara <jack@suse.cz>

Journalled-data files need a different set of address_space_operations, so
we need to update the file's aops when someone runs `chattr +j' on the
file.

22 years ago[PATCH] correct floppy outb() macro arg names
Andrew Morton [Tue, 20 Jan 2004 11:16:03 +0000 (03:16 -0800)]
[PATCH] correct floppy outb() macro arg names

From: "Randy.Dunlap" <rddunlap@osdl.org>

This patch changes no code, just swaps macro arg names to match reality.

22 years ago[PATCH] remove unused flags arg from fs/stat64*
Andrew Morton [Tue, 20 Jan 2004 11:15:53 +0000 (03:15 -0800)]
[PATCH] remove unused flags arg from fs/stat64*

From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Michael Still <mikal@stillhq.com>

Viro and Andi Kleen agreed.  The <flags> argument isn't used at all and
cannot be used safely in the future.

remove third arg <long flags> from all 3 fs/stat.c stat64() calls since
it's not used and there's no way to use it safely;

22 years ago[PATCH] md: remove unneeded ifdef/endif
Andrew Morton [Tue, 20 Jan 2004 11:15:44 +0000 (03:15 -0800)]
[PATCH] md: remove unneeded ifdef/endif

From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

This #ifdef/#endif is not necessary.

22 years ago[PATCH] spell Unix98 the same everywhere
Andrew Morton [Tue, 20 Jan 2004 11:15:36 +0000 (03:15 -0800)]
[PATCH] spell Unix98 the same everywhere

From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Andreas Beckmann <sparclinux@abeckmann.de>

Patch is for consistency in spelling Unix98 (vs.  Unix 98).  This matches
the other 20 or so occurrences of it.

22 years ago[PATCH] vm overcommit documentation corrections
Andrew Morton [Tue, 20 Jan 2004 11:15:27 +0000 (03:15 -0800)]
[PATCH] vm overcommit documentation corrections

From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Patrick McLean <pmclean@linuxfreak.ca>

22 years ago[PATCH] md: fixes for !CONFIG_PROCFS
Andrew Morton [Tue, 20 Jan 2004 11:15:18 +0000 (03:15 -0800)]
[PATCH] md: fixes for !CONFIG_PROCFS

From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

It fixes these warnings when !CONFIG_PROC_FS:

drivers/md/md.c: In function `md_geninit':
drivers/md/md.c:3481: warning: unused variable `p'
drivers/md/md.c: At top level:
drivers/md/md.c:3007: warning: `md_seq_fops' defined but not used

22 years ago[PATCH] MCA: handle bus failure
Andrew Morton [Tue, 20 Jan 2004 11:15:09 +0000 (03:15 -0800)]
[PATCH] MCA: handle bus failure

From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Eugene TEO <eugeneteo@eugeneteo.net>

Handle OOM in mca_init()

22 years ago[PATCH] APM: handle kernel_thread failure
Andrew Morton [Tue, 20 Jan 2004 11:15:00 +0000 (03:15 -0800)]
[PATCH] APM: handle kernel_thread failure

From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Eugene TEO <eugeneteo@eugeneteo.net>

22 years ago[PATCH] amd74xx: fix for !CONFIG_PROCFS
Andrew Morton [Tue, 20 Jan 2004 11:14:51 +0000 (03:14 -0800)]
[PATCH] amd74xx: fix for !CONFIG_PROCFS

From: "Randy.Dunlap" <rddunlap@osdl.org>
From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

this patch fixes this warning:

drivers/ide/pci/amd74xx.c:80: warning: `amd_udma2cyc' defined
but not used

when !CONFIG_PROC_FS.

22 years ago[PATCH] dvb: TTUSB driver update
Andrew Morton [Tue, 20 Jan 2004 11:14:42 +0000 (03:14 -0800)]
[PATCH] dvb: TTUSB driver update

From: Michael Hunold <hunold@linuxtv.org>

- TTUSB-DEC update by Alex Woods:

  - fix USB timeout bug under 2.6

  - change some variable names to make it clearer what we are dealing
    with (PVA).  - support DEC2540-t and add info on it to the ttusb-dec
    docs.

  - add model number returned from DEC2540-t firmware.

  - add a module option to get the raw AVPES packets from the dvr
    device.

  - send audio packets to their filter rather than the videos.

  - handle the new empty packets that appear with the 2.16 firmware.

  - extra error checks.

  - handle the new firmwares that change the devices' USB IDs.

  - tidy up the STB initialisation process a little.

  - apply Hans-Frieder Vogt's patch for calculating firmware CRCs.

- make TTUSB budget card depend on USB subsystem

22 years ago[PATCH] dvb: av7110 driver splitup
Andrew Morton [Tue, 20 Jan 2004 11:14:33 +0000 (03:14 -0800)]
[PATCH] dvb: av7110 driver splitup

From: Michael Hunold <hunold@linuxtv.org>

- after the firmware removal, split av7110.c into separate modules:

  - av7110.c: initialization and demux stuff

  - av7110_hw.c: lowlevel hardware access and firmware interface

  - av7110_ca.c: CI and ECD

  - av7110_av.c: audio/video MPEG decoder and remuxing stuff

  - av7110_v4l.c: v4l interface

- av7110 fixes that were notcies during splitup

  - rename some non-static functions to enhance readability

  - lots of coding style & whitespace fixes

  - return -ERESTARTSYS from ci_ll_read/write() if interrupted

  - use time_after() for timeouts

  - added some comments about firmware interface

  - removed some unused fields from struct av7110, retabbing

- follow driver splitup in Makefile

22 years ago[PATCH] dvb: update core
Andrew Morton [Tue, 20 Jan 2004 11:14:23 +0000 (03:14 -0800)]
[PATCH] dvb: update core

From: Michael Hunold <hunold@linuxtv.org>

- demux: fix nasty bug where setting multiple filters resulted in ts
  packet duplication

- frontend: merge frontend improvements from 2.4 DVB tree:

  - schedule_timeout(1) in dvb_frontend.c after setting frontend and
    before waking up frontend thread

  - do FE_RESET in each iteration of frontend thread if !FE_HAS_LOCK

  - use aquire_signal flag to call FE_RESET only after tuning until
    FE_HAS_LOCK has been signalled, and not when FE_HAS_LOCK drops out for
    short periods of time later

- follow frontend changes in ves1x93 driver

22 years ago[PATCH] dvb: update saa7146 driver
Andrew Morton [Tue, 20 Jan 2004 11:14:14 +0000 (03:14 -0800)]
[PATCH] dvb: update saa7146 driver

From: Michael Hunold <hunold@linuxtv.org>

- fix memory leak in page table handling

- minor coding style changes

- add simple resource management for video dmas (borrowed from saa7134)

- use resource management to lock video and vbi access which sometimes
  share the same video dmas

- honour return codes of extension functions in various places, when
  resources could not be locked

- remove remains of dead code which were commented out anyway

- add new flag FORMAT_IS_PLANAR to indicate planar capture formats,
  needed for resource allocation

22 years ago[PATCH] dbv: update documentation
Andrew Morton [Tue, 20 Jan 2004 11:14:05 +0000 (03:14 -0800)]
[PATCH] dbv: update documentation

From: Michael Hunold <hunold@linuxtv.org>

- update contributors

- documentation update for recent DVB TTUSB driver changes

22 years ago[PATCH] pc300_tty.c is broken
Andrew Morton [Tue, 20 Jan 2004 11:13:56 +0000 (03:13 -0800)]
[PATCH] pc300_tty.c is broken

From: Russell King <rmk+lkml@arm.linux.org.uk>

Russell was unable to correctly migrate this driver to the new
modem-control-signal API because

 TIOCMBIS/TIOCMBIC do not control only the DTR signal, but also the RTS,
 OUT1 and OUT2 signals, or even maybe nothing at all.  Plus, these IOCTLs
 are no longer passed down to the driver.  Instead, drivers should
 implement tiocmget and tiocmset driver methods.

so mark it as broken so as to not break allmodconfig/allyesconfig.

22 years ago[PATCH] sendfile calls lock_verify_area with wrong parameters
Andrew Morton [Tue, 20 Jan 2004 11:13:47 +0000 (03:13 -0800)]
[PATCH] sendfile calls lock_verify_area with wrong parameters

From: Manfred Spraul <manfred@colorfullife.com>

sendfile supports reading from a given start offset for in_file, like
pread.  But for the locks_verify_area call, in_file->f_pos is always used,
even if a start offset is used.  Result: wrong area is checked for
mandatory locks.

22 years ago[PATCH] Fix x86-64 ptrace
Andrew Morton [Tue, 20 Jan 2004 11:13:39 +0000 (03:13 -0800)]
[PATCH] Fix x86-64 ptrace

From: Andi Kleen <ak@muc.de>

The EFLAGS checking was not correct.  This also fixes some problems with
32bit gdb who would sometimes make the kernel BUG.

22 years ago[PATCH] Default hooks protecting the XATTR_SECURITY_PREFIX namespace
Andrew Morton [Tue, 20 Jan 2004 11:13:29 +0000 (03:13 -0800)]
[PATCH] Default hooks protecting the XATTR_SECURITY_PREFIX namespace

From: Chris Wright <chrisw@osdl.org>

Add default hooks for both the dummy and capability code to protect the
XATTR_SECURITY_PREFIX namespace.  These EAs were fully accessible to
unauthorized users, so a user that rebooted from an SELinux kernel to a
default kernel would leave those critical EAs unprotected.

(Acked by Stephen Smalley)

22 years ago[PATCH] Move XATTR_SECURITY_PREFIX macro to common location
Andrew Morton [Tue, 20 Jan 2004 11:13:20 +0000 (03:13 -0800)]
[PATCH] Move XATTR_SECURITY_PREFIX macro to common location

From: Chris Wright <chrisw@osdl.org>

Move the XATTR_SECURITY_PREFIX macro to the xattr.h header so that it's in a
common location.

(Acked by Stephen Smalley)

22 years ago[PATCH] md: Use bd_disk->private data instead of bd_inode->u.generic_ip
Andrew Morton [Tue, 20 Jan 2004 11:13:10 +0000 (03:13 -0800)]
[PATCH] md: Use bd_disk->private data instead of bd_inode->u.generic_ip

From: NeilBrown <neilb@cse.unsw.edu.au>

..to access 'mddev' from the inode pointer.  This is already set up for us.

22 years ago[PATCH] md: Discard the mddev_map array.
Andrew Morton [Tue, 20 Jan 2004 11:13:01 +0000 (03:13 -0800)]
[PATCH] md: Discard the mddev_map array.

From: NeilBrown <neilb@cse.unsw.edu.au>

We only need it occasionally to map unit number to mddev, and we can use a
linear search for that.  This reduces dependance on MAX_MD_DEVS

22 years ago[PATCH] md: Remove the 'disks' array from md which holds the gendisk structures.
Andrew Morton [Tue, 20 Jan 2004 11:12:52 +0000 (03:12 -0800)]
[PATCH] md: Remove the 'disks' array from md which holds the gendisk structures.

From: NeilBrown <neilb@cse.unsw.edu.au>

Move the pointers into mddev.  The reduces dependance on MAX_MD_DEVS.

22 years ago[PATCH] md: Small fixes for timely writing of md superblocks.
Andrew Morton [Tue, 20 Jan 2004 11:12:44 +0000 (03:12 -0800)]
[PATCH] md: Small fixes for timely writing of md superblocks.

From: NeilBrown <neilb@cse.unsw.edu.au>

Currently a raid0 superblock is only written when the array is stopped, so a
crash between creation and stop can lose your data.

This patch marks a superblock 'dirty' at creation and forces a dirty
superblock to be written when the array is started.

Previously we would prod the per-array thread at this point, but as it avoids
certain chores when the array is locked, and the array is locked at this
point, that isn't guaranteed to do the right thing.  Instead we prod the
thread whenever the array is unlocked.

Finally, only write the superblock at array stop if it is needed to mark the
array as 'clean'.  raid0 which is never dirty, doesn't need this.

22 years ago[PATCH] md: Don't do_md_stop and array when do_md_run fails.
Andrew Morton [Tue, 20 Jan 2004 11:12:35 +0000 (03:12 -0800)]
[PATCH] md: Don't do_md_stop and array when do_md_run fails.

From: NeilBrown <neilb@cse.unsw.edu.au>

Current code calls do_md_stop to clean up if do_md_run fails, but this is

a/ not needed as do_md_run cleans up itself

b/ bad as it could try to clean up after an -EBUSY error !!!

22 years ago[PATCH] md: Make sure md recovery happens appropriately.
Andrew Morton [Tue, 20 Jan 2004 11:12:27 +0000 (03:12 -0800)]
[PATCH] md: Make sure md recovery happens appropriately.

From: NeilBrown <neilb@cse.unsw.edu.au>

Currently if there are two failed drives, and two spares are added, then
recovery starts onto the first spare, but never notices the second spare.  To
cope, we set RECOVERY_NEEDED when recovery finishes so that we re-check.

22 years ago[PATCH] md: Fix typo in comment
Andrew Morton [Tue, 20 Jan 2004 11:12:18 +0000 (03:12 -0800)]
[PATCH] md: Fix typo in comment

From: NeilBrown <neilb@cse.unsw.edu.au>

Thanks dann frazier <dannf@hp.com>

22 years ago[PATCH] md: Make sure an interrupted resync doesn't seem to have completed.
Andrew Morton [Tue, 20 Jan 2004 11:12:09 +0000 (03:12 -0800)]
[PATCH] md: Make sure an interrupted resync doesn't seem to have completed.

From: NeilBrown <neilb@cse.unsw.edu.au>

If the raid1 or raid5 thread gets to run md_check_recovery after the recovery
thread has been interupted, but before do_md_stop completes, a spare drive
can be incorporated into an array befure it is up-to-date.

This patch corrects the relevant test.

22 years ago[PATCH] md: Don't allow raid5 rebuild to swamp raid5 stripe cache
Andrew Morton [Tue, 20 Jan 2004 11:12:00 +0000 (03:12 -0800)]
[PATCH] md: Don't allow raid5 rebuild to swamp raid5 stripe cache

From: NeilBrown <neilb@cse.unsw.edu.au>

raid5 rebuild takes stripes so agressively that other access cannot get a
look-in.

With this patch, the rebuild pauses slightly if there is a shortage of
stripes to let other processes have a chance.

akpm: I was worried about starvation due to the harsh semantics of yield() in
2.6.  But Neil has performed specific testing for that and things seem OK.
If people do note CPU starvation problems we will need to replace the yield()
with a schedule_timeout(1).

22 years ago[PATCH] md: fix return code in set_disk_faulty()
Andrew Morton [Tue, 20 Jan 2004 11:11:51 +0000 (03:11 -0800)]
[PATCH] md: fix return code in set_disk_faulty()

From: NeilBrown <neilb@cse.unsw.edu.au>

 Following are 10 patches for md in 2.6.1-lastest.

 1-6 are simple bugfixes that I am confident should be in 2.6.2.

 7 is a bugfix that is fairly important, but could probably do with a
 bit more testing first.  It is not impossible that it could deadlock,
 though I think I have caught and fixed all the problems.

 8-10 are code simplication.

 So maybe 7-10 should only go in -mm for now, but if it is a while
 before 2.6.2, then maybe they can go in a 2.6.2-pre.

From: Mike Tran <mhtran@us.ibm.com>

 If cannot find the device, return error (ENODEV) Otherwise, return success
 (0)

22 years ago[PATCH] check for truncated modules
Andrew Morton [Tue, 20 Jan 2004 11:11:42 +0000 (03:11 -0800)]
[PATCH] check for truncated modules

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

I *do* want to add a check for a truncated module, since that's probably
the most common case (^C on "make modules_install").  But I don't want to
double the size of module.c with every check I can think of.

tested with:
# bs=0; while [ $bs -lt 3764 ]; do
   dd if=dummy.ko bs=$bs count=1 2>/dev/null | insmod -;
   bs=`expr $bs + 1`;
  done

22 years ago[PATCH] RAID-6
Andrew Morton [Tue, 20 Jan 2004 11:11:33 +0000 (03:11 -0800)]
[PATCH] RAID-6

From: "H. Peter Anvin" <hpa@zytor.com>

RAID6 implementation.  See Kconfig help for usage details.

The next release of `mdadm' has raid6 userspace support.

22 years ago[PATCH] One-shot support for epoll
Andrew Morton [Tue, 20 Jan 2004 11:11:23 +0000 (03:11 -0800)]
[PATCH] One-shot support for epoll

From: Davide Libenzi <davidel@xmailserver.org>

The attached patch implements the one-shot support for epoll.  Because of
the way epoll works (hooking f_op->poll()) the ET behavior is not really ET
because it might happen that, while data is still available to read (for
the EPOLLIN case), another chunk will become available triggering another
event.

While those conditions can be easily be handled in userspace, the absolute
triviality of the patch and the avoidance of user/kernel space switches and
f_op->poll() calls, make IMHO worth doing this inside epoll itself.

22 years ago[PATCH] loop: trivial error number fix
Andrew Morton [Tue, 20 Jan 2004 11:11:15 +0000 (03:11 -0800)]
[PATCH] loop: trivial error number fix

From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

This patch fixes the error number when invalid file is passed (neother
S_ISBLK nor S_ISREG is true).  We should return -EINVAL.

22 years ago[PATCH] loop needs MODULE_ALIAS_BLOCK
Andrew Morton [Tue, 20 Jan 2004 11:11:06 +0000 (03:11 -0800)]
[PATCH] loop needs MODULE_ALIAS_BLOCK

From: Erik van Konijnenburg <ekonijn@xs4all.nl>

There are two issues here:

- absense of a MODULE_ALIAS_BLOCK in loop.c

- mismatch between the patterns used in the MODULE_ALIAS_BLOCK define and
  the modprobe invokation in request_module.

(acked by Rusty)

22 years ago[PATCH] Asus L5 framebuffer fix
Andrew Morton [Tue, 20 Jan 2004 11:10:57 +0000 (03:10 -0800)]
[PATCH] Asus L5 framebuffer fix

From: Pontus Fuchs <pontus.fuchs@tactel.se>

I need the following patch for radeonfb to work on my Asus L5.  See
http://bugs.xfree86.org/show_bug.cgi?id=561 for more info.

(benh confirmed this with ATI).

22 years ago[PATCH] ppc64: iSeries virtual console
Andrew Morton [Tue, 20 Jan 2004 11:10:48 +0000 (03:10 -0800)]
[PATCH] ppc64: iSeries virtual console

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

This is a forward port of a 2.4 driver that has been present in a couple of
(enterprise) distributions for some time.  It works for me :-), I even get
console output :-) This makes the machine almost usable - next we will get
virtual disk.

It has been considerably tidied up, but if you have any further worries
with it, let me know.

22 years ago[PATCH] ppc64: Bug fix for hugepages on ppc64
Andrew Morton [Tue, 20 Jan 2004 11:10:38 +0000 (03:10 -0800)]
[PATCH] ppc64: Bug fix for hugepages on ppc64

From: David Gibson <david@gibson.dropbear.id.au>

Currently the flag indicating whether or not hugepages are allowed below
4GB is not correctly propagated across fork(), which can lead to oopses.
The patch below fixes this.

22 years ago[PATCH] get PPC64 iSeries closer to building
Andrew Morton [Tue, 20 Jan 2004 11:10:29 +0000 (03:10 -0800)]
[PATCH] get PPC64 iSeries closer to building

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

This patch allows iSeries to come much closer to building.

This is a precurser to my trying to merge the virtual device drivers for
iSeries (console, disk and cdrom).