]> git.hungrycats.org Git - linux/log
linux
21 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

21 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.

21 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.

21 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.

21 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)

21 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.

21 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.

21 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.

21 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.

21 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>

21 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.

21 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.

21 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.

21 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.

21 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;

21 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.

21 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.

21 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>

21 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

21 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()

21 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>

21 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.

21 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

21 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

21 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

21 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

21 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

21 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.

21 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.

21 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.

21 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)

21 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)

21 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.

21 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

21 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.

21 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.

21 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 !!!

21 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.

21 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>

21 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.

21 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).

21 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)

21 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

21 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.

21 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.

21 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.

21 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)

21 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).

21 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.

21 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.

21 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).

21 years ago[PATCH] Fix for 32-bit execve() error path
Andrew Morton [Tue, 20 Jan 2004 11:10:20 +0000 (03:10 -0800)]
[PATCH] Fix for 32-bit execve() error path

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

The patch below fixes a bug in ppc64's 32-bit execve() path.  It duplicates
logic already in the normal fs/exec.c do_execve() to avoid dropping a NULL
mm.  The bprm.mm becomes NULL once the exec passes the "point of no
return".  Without this patch a failure past that point (e.g.  mmap()
failure) will cause an oops, with it just a killed process.

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
Linus Torvalds [Tue, 20 Jan 2004 09:57:04 +0000 (01:57 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] USB: Band-aid for mct_u232 in 2.6.1
Pete Zaitcev [Tue, 20 Jan 2004 08:53:52 +0000 (00:53 -0800)]
[PATCH] USB: Band-aid for mct_u232 in 2.6.1

On Sun, 18 Jan 2004 00:37:44 -0800
Pete Zaitcev <zaitcev@redhat.com> wrote:

> My Magic Control Technology adapter causes an oops in the following way.
> Connect the thing, run "cat < /dev/ttyUSB0", disconnect, kill cat with ^C.
> The result looks like this:

I played with it a little more, and pretty much got everything working,
thus fixing two Fedora bugs.
 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112889
 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=113700

21 years ago[PATCH] USB Storage: unusual_devs.h patch for Trumpion MP3 player
Felipe Alfaro Solana [Tue, 20 Jan 2004 08:13:21 +0000 (00:13 -0800)]
[PATCH] USB Storage: unusual_devs.h patch for Trumpion MP3 player

This patch is needed for the USB storage subsystem to recognize the
Trumpion MP3 player as a valid USB mass storage.

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=090a ProdID=1200 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=256mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=01 Prot=01 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   8 Ivl=255ms

21 years ago[PATCH] USB: fix memory bug in usb-skeleton.c
Axel Waggershauser [Tue, 20 Jan 2004 08:03:48 +0000 (00:03 -0800)]
[PATCH] USB: fix memory bug in usb-skeleton.c

21 years ago[PATCH] USB Storage: Sysfs attribute file for max_sectors
Matthew Dharm [Tue, 20 Jan 2004 08:03:17 +0000 (00:03 -0800)]
[PATCH] USB Storage: Sysfs attribute file for max_sectors

After much discussion with the SCSI folks, here's a patch to export
max_sectors as a sysfs attribute.  Turning this down makes some people's
devices more stable, but at a significant cost in performance.  Now, users
can adjust it without recompilation.

This is YAASP (yet another Alan Stern patch).

21 years ago[PATCH] USB Storage: Notify the SCSI layer about device resets
Alan Stern [Tue, 20 Jan 2004 08:02:47 +0000 (00:02 -0800)]
[PATCH] USB Storage: Notify the SCSI layer about device resets

According to James Bottomley, we need to notify the SCSI midlayer whenever
we issue a driver-initiated device reset.  That can happen in several
places, most notably following a transport error.  This patch adds
code to the reset routine to take care of it.  (Notifying about resets
requested by the midlayer itself is unnecessary but harmless.)

Alan Stern

On 15 Dec 2003, James Bottomley wrote:

> It looks like the driver sent a reset to the device on its own without
> reporting it to the mid-layer.
>
> There's an expecting_cc_ua flag in the scsi_device.  It gets set on
> error recovery actions, or if the device does something to detect or
> trigger a reset (that's the scsi_report_device_reset() and
> scsi_report_bus_reset() API's).
>
> James

21 years ago[PATCH] USB: hiddev HIDIOCGREPORT not blocking in 2.6
Adam Kropelin [Tue, 20 Jan 2004 08:02:17 +0000 (00:02 -0800)]
[PATCH] USB: hiddev HIDIOCGREPORT not blocking in 2.6

I've noticed in 2.6 kernels that HIDIOCGREPORT does not wait for io
completion before returning to the caller. This creates a few unpleasant
issues for userspace:

First, code sequences such as...

        ioctl(fd, HIDIOCGREPORT, &rinfo);
        ioctl(fd, HIDIOCGUSAGE, &uinfo);
        ioctl(fd, HIDIOCGSTRING, &sdesc);

...that used to work in 2.4 now fail in 2.6 if the device takes more
than a few milliseconds to respond to HIDIOCGREPORT. (I'm seeing this
issue on APC UPSes, FWIW.)

Second, userspace code can easily flood the kernel with control messages
since the kernel provides no "backpressure". The result is a lot of
"hid-core.c: control queue full" errors and lost reports.

2.6 hid-core.c appears to submit the request and return immediately.
Although the 2.4 code differs significantly, I traced the call path to
usb-core.c, which seems to block with a timeout, so the code supports my
userspace observation. (Assuming I didn't misread it.)

21 years ago[PATCH] USB: hook up the other (non-HID) input devices to the input system properly.
Greg Kroah-Hartman [Tue, 20 Jan 2004 07:37:47 +0000 (23:37 -0800)]
[PATCH] USB: hook up the other (non-HID) input devices to the input system properly.

21 years agoUSB: hook up the HID device's struct device to the input system properly.
Greg Kroah-Hartman [Tue, 20 Jan 2004 07:29:14 +0000 (23:29 -0800)]
USB: hook up the HID device's struct device to the input system properly.

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Tue, 20 Jan 2004 06:57:49 +0000 (22:57 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[ARM PATCH] 1703/1: SA Cerf update (cleanup)
Frank Becker [Tue, 20 Jan 2004 22:26:42 +0000 (22:26 +0000)]
[ARM PATCH] 1703/1: SA Cerf update (cleanup)

Patch from Frank Becker

Crud removal. Updated cerf doc.

The SA CerfPDA/CerfPOD have long been gone. I see no
community activity. The last official release was 2.4.9.

Removed ifdefs for CERF_CPLD (which referred to the PDA/POD), go figure.
Removed keyboard driver.
Removed default configs for PDA/POD.
Removed PDA/POD related LCD stuff.

21 years ago[ARM PATCH] 1735/1: correct memcpy return value on ARM
Nicolas Pitre [Tue, 20 Jan 2004 22:24:14 +0000 (22:24 +0000)]
[ARM PATCH] 1735/1: correct memcpy return value on ARM

Patch from Nicolas Pitre

21 years ago[ARM PATCH] 1741/1: Add ARM710T processor functions
Tony Lindgren [Tue, 20 Jan 2004 17:05:25 +0000 (17:05 +0000)]
[ARM PATCH] 1741/1: Add ARM710T processor functions

Patch from Tony Lindgren

Following patch adds ARM710T processor support to proc-arm720.S.

The preferred way to add support was discussed on the Linux-arm-kernel
mailing list in December, with a link to the thread here:

http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2003-October/017596.html

NEC ARM710T is used in Psion Windermere architecture, and possibly
other systems.

710T works fine with the 720T functions, except the high_mapping
does not work for vectors_base(). Even if the high bit register is
set, the vectors stay at 0x00000000 instead of 0xffff0000.

21 years ago[ARM PATCH] 1717/1: Add German umlauts to Acorn console font
Peter Teichmann [Tue, 20 Jan 2004 16:51:20 +0000 (16:51 +0000)]
[ARM PATCH] 1717/1: Add German umlauts to Acorn console font

Patch from Peter Teichmann

This adds German Umlauts (ÄÖÜäöüß) and some other Characters to the
Acorn 8x8 console font.

21 years ago[ARM PATCH] 1714/1: pxa2xx_udc (5/5) pxa2xx_udc driver
David Brownell [Tue, 20 Jan 2004 16:49:07 +0000 (16:49 +0000)]
[ARM PATCH] 1714/1: pxa2xx_udc (5/5) pxa2xx_udc driver

Patch from David Brownell

This patch adds the UDC driver itself.

Depends on the udc platform_data patch (#3 this series)
and on 1659/1 (kconfig/kbuild support).

SUPERCEDES patch 1658/1 (against test5)

21 years ago[ARM PATCH] 1713/1: pxa2xx_udc (4/5) mach-pxa/lubbock.c updates
David Brownell [Tue, 20 Jan 2004 16:46:33 +0000 (16:46 +0000)]
[ARM PATCH] 1713/1: pxa2xx_udc (4/5) mach-pxa/lubbock.c updates

Patch from David Brownell

This adds basic lubbock-specific customization for the UDC driver,
and makes it use INIT_MACHINE.

Depends on the INIT_MACHINE patch and the UDC platform_data patches
(#1, #3 in this series).

Be careful of patch conflicts applying to other kernels, mostly due
to different platform devices being listed.

21 years ago[ARM PATCH] 1711/1: pxa2xx_udc (3/5) add udc platform_device, platform_data
David Brownell [Tue, 20 Jan 2004 16:45:06 +0000 (16:45 +0000)]
[ARM PATCH] 1711/1: pxa2xx_udc (3/5) add udc platform_device, platform_data

Patch from David Brownell

This declares the pxa2xx_udc platform device, defines
the platform_data made available to that driver, and
allows different machines to customize that platform_data.

Same idea as in the FB driver.  Be careful of patch conflicts
applying to other kernels, mostly due to different platform
devices being listed.

21 years ago[ARM] Add PXA MCI resources and device structure.
Russell King [Tue, 20 Jan 2004 16:43:55 +0000 (16:43 +0000)]
[ARM] Add PXA MCI resources and device structure.

21 years ago[PATCH] USB UHCI: fix broken data toggles for queued control URBs
Alan Stern [Tue, 20 Jan 2004 06:50:56 +0000 (22:50 -0800)]
[PATCH] USB UHCI: fix broken data toggles for queued control URBs

This patch fixes a long-standing (albeit unidentified) problem in the
queueing code for the UHCI HCD.  The code propagates data toggle settings
between messages in a queue for control transfers just the same as bulk
and interrupt transfers.  That is a mistake, since control messages always
restart with data toggle 0.  With this patch, the UHCI driver now passes
test 10 (control URB queueing) in David Brownell's usbtest suite.

The patch appears to change more than it really does, because it alters
the indentation level of a large section of code.

21 years agoMerge kroah.com:/home/linux/BK/bleed-2.6
Greg Kroah-Hartman [Tue, 20 Jan 2004 06:33:30 +0000 (22:33 -0800)]
Merge kroah.com:/home/linux/BK/bleed-2.6
into kroah.com:/home/linux/BK/usb-2.6

21 years ago[PATCH] Prevent false positives in non-fatal MCE check.
Dave Jones [Tue, 20 Jan 2004 04:59:17 +0000 (20:59 -0800)]
[PATCH] Prevent false positives in non-fatal MCE check.

non-fatal didn't get the same change that k7.c did a few months
back, so it reads from banks that actually _cause_ MCEs.

This patch also adds a bunch of copyright headers whilst we're
in that neighborhood.

21 years agoMerge redhat.com:/spare/repo/linux-2.5
Jeff Garzik [Tue, 20 Jan 2004 08:57:32 +0000 (03:57 -0500)]
Merge redhat.com:/spare/repo/linux-2.5
into redhat.com:/spare/repo/libata-2.5

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Mon, 19 Jan 2004 15:39:54 +0000 (07:39 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMake sure we don't access "cmd" in ide-scsi after having
Linus Torvalds [Mon, 19 Jan 2004 15:29:44 +0000 (07:29 -0800)]
Make sure we don't access "cmd" in ide-scsi after having
started the command - it may not exist any more.

In particular, load the host early in order to do proper
locking without having to access the command structure later.

Noted by Andries Brouwer.

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Mon, 19 Jan 2004 14:00:53 +0000 (06:00 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge davem@nuts.ninka.net:/disk1/davem/BK/net-2.6
David S. Miller [Mon, 19 Jan 2004 13:49:32 +0000 (05:49 -0800)]
Merge davem@nuts.ninka.net:/disk1/davem/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

21 years ago[PATCH] sort exception tables
Paul Mackerras [Mon, 19 Jan 2004 13:49:29 +0000 (05:49 -0800)]
[PATCH] sort exception tables

This patch arranges for the exception tables to be sorted on most
architectures.  It sorts the main kernel exception table on startup
and the module exception tables when they get loaded.  The main table
is sorted reasonably early - just after kmem_cache_init - but that
could be moved even earlier if necessary.

There is now a lib/extable.c which includes the sort_extable()
function from arch/ppc/mm/extable.c and the search_extable() function
from arch/i386/mm/extable.c, which had been copied to many
architectures.  On many architectures, arch/$(ARCH)/mm/extable.c
became empty and so I have removed it.

There are four architectures which do things differently from i386:
alpha, ia64, sparc and sparc64.  Alpha and ia64 store the offset from
the offset from the exception table entry to the instruction, and
sparc and sparc64 have range entries in the table.  For those
architectures I have added empty sort_extable functions.  The
maintainers for those architectures can implement something better if
they care to.  As it is they are no worse off than before.

Although it is a moderately sizable patch, it ends up with a net
reduction of 377 lines in the size of the kernel source. :)

I have tested this on x86 and ppc with a module that uses __get_user
in an init function, deliberately laid out to get the exception table
out of order, and it works (whereas it oopsed without this patch).

21 years ago[PATCH] Restore missing ppc64 hash_low.S file
Andrew Morton [Mon, 19 Jan 2004 13:44:20 +0000 (05:44 -0800)]
[PATCH] Restore missing ppc64 hash_low.S file

This went missing somewhere.  Here's a patch which puts it back.

21 years ago[PATCH] pdc202xx_old.c: sanitize 66MHz clock use
Bartlomiej Zolnierkiewicz [Mon, 19 Jan 2004 13:44:11 +0000 (05:44 -0800)]
[PATCH] pdc202xx_old.c: sanitize 66MHz clock use

Sanitize 66MHz clock use: "enable" 66MHz clock before starting UDMA3/4/5
read/write transfer and "disable" it after finishing transfer.

- fixes timings for non-UDMA3/4/5 operations (correct 33MHz timings are used)

- allows using UDMA3/4/5 modes on a capable drive even if non-UDMA3/4/5 drive
  is present on the same channel

- fixes corner case when one drive on the channel was using UDMA66/100 + LBA48
  (so clock was enabled/disabled for each read/write) and other one was using
  UDMA66/100 + LBA28, it could happen that request on LBA48 drive disabled
  66MHz clock and it was not enabled for the next transfer on LBA28 drive

21 years ago[PATCH] pdc202xx_old.c: fix enabling 66MHz clock for modes > UDMA2
Bartlomiej Zolnierkiewicz [Mon, 19 Jan 2004 13:44:02 +0000 (05:44 -0800)]
[PATCH] pdc202xx_old.c: fix enabling 66MHz clock for modes > UDMA2

drive->id is now always present even if no device is attached,
therefore check for drive->present instead.

21 years ago[PATCH] pdc202xx_old.c: fix PIO autotuning
Bartlomiej Zolnierkiewicz [Mon, 19 Jan 2004 13:43:53 +0000 (05:43 -0800)]
[PATCH] pdc202xx_old.c: fix PIO autotuning

This fixes bugzilla bug #1431.

Always tune controller PIO timings.  This fixes lockup during PIO access
(ie. 'cat /proc/ide/hda/identify') when Promise BIOS is disabled.

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
Linus Torvalds [Mon, 19 Jan 2004 13:38:09 +0000 (05:38 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[IPV6]: Stricter checks on link-locals in bind and sendmsg
Ville Nuorvala [Mon, 19 Jan 2004 13:37:58 +0000 (05:37 -0800)]
[IPV6]: Stricter checks on link-locals in bind and sendmsg

When binding to a link-local address, inet6_bind() and raw6_bind() only
check that an interface is specified and that the address exists, but
they don't check if it actually exists on the specified interface.

Similarly, in datagram_sent_ctl() we don't check for the possibility of a
link-local address when we receive the source address from userspace.

21 years agoMerge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
Linus Torvalds [Mon, 19 Jan 2004 13:36:40 +0000 (05:36 -0800)]
Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://kernel.bkbits.net/gregkh/linux/driver-2.6
Linus Torvalds [Mon, 19 Jan 2004 13:36:00 +0000 (05:36 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/driver-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

21 years ago[NET]: Add proc_dointvec_userhz_jiffies, use it for proper handling of neighbour...
Hideaki Yoshifuji [Mon, 19 Jan 2004 13:31:35 +0000 (05:31 -0800)]
[NET]: Add proc_dointvec_userhz_jiffies, use it for proper handling of neighbour sysctls.

21 years ago[IPV6]: Set flow protocol correctly in SIT driver route lookups.
Michal Ludvig [Mon, 19 Jan 2004 13:23:30 +0000 (05:23 -0800)]
[IPV6]: Set flow protocol correctly in SIT driver route lookups.

21 years ago[ROSE]: Check error return from memcpy_fromiovec()
Chris Wright [Mon, 19 Jan 2004 13:19:34 +0000 (05:19 -0800)]
[ROSE]: Check error return from memcpy_fromiovec()

21 years ago[NETROM]: Check error return from memcpy_fromiovec()
Chris Wright [Mon, 19 Jan 2004 13:19:08 +0000 (05:19 -0800)]
[NETROM]: Check error return from memcpy_fromiovec()

21 years ago[IRDA]: Check error return from memcpy_fromiovec()
Chris Wright [Mon, 19 Jan 2004 13:18:47 +0000 (05:18 -0800)]
[IRDA]: Check error return from memcpy_fromiovec()

21 years ago[AX25]: Check error return from memcpy_fromiovec()
Chris Wright [Mon, 19 Jan 2004 13:18:24 +0000 (05:18 -0800)]
[AX25]: Check error return from memcpy_fromiovec()

21 years agoThis removes the old Eicon ISDN driver.
Linus Torvalds [Mon, 19 Jan 2004 13:18:14 +0000 (05:18 -0800)]
This removes the old Eicon ISDN driver.

The config entries etc were already removed earlier.

21 years ago[PATCH] reiserfs v3 should throttle writers
Andrew Morton [Mon, 19 Jan 2004 13:16:24 +0000 (05:16 -0800)]
[PATCH] reiserfs v3 should throttle writers

From: Chris Mason <mason@suse.com>

The v3 reiserfs_file_write func doesn't do any write throttling, which
leads to a variety of problems.  Here's a patch that makes
reiserfs_file_write call balance_dirty_pages_ratelimited, and exports that
func for module usage.

21 years ago[PATCH] video-buf.c cleanup
Andrew Morton [Mon, 19 Jan 2004 13:16:16 +0000 (05:16 -0800)]
[PATCH] video-buf.c cleanup

Remove now-unused 2.4 back-compat code.

21 years ago[PATCH] work around gcc bug in bitmap.c
Andrew Morton [Mon, 19 Jan 2004 13:16:07 +0000 (05:16 -0800)]
[PATCH] work around gcc bug in bitmap.c

gcc miscompiles this. Scary.

21 years ago[IPV6]: Add missing sentinel to ipv6_route_table.
Krishna Kumar [Mon, 19 Jan 2004 13:16:04 +0000 (05:16 -0800)]
[IPV6]: Add missing sentinel to ipv6_route_table.

21 years ago[PATCH] uninline bitmap functions
Andrew Morton [Mon, 19 Jan 2004 13:15:58 +0000 (05:15 -0800)]
[PATCH] uninline bitmap functions

- A couple of them are using alloca (via DECLARE_BITMAP) and this generates
  a cannot-inline warning with -Winline.

- These functions are too big to inline anwyay.

21 years ago[PATCH] Remove CLONE_DETACHED
Andrew Morton [Mon, 19 Jan 2004 13:15:48 +0000 (05:15 -0800)]
[PATCH] Remove CLONE_DETACHED

From: Andries.Brouwer@cwi.nl

Remove obsolete CLONE_DETACHED