[PATCH] This patch against 2.4.18+ia64-020226 removes a legacy VGA
dependency. Non-legacy systems may have system memory
at 0xA0000, and if that's the case, we don't want to install the
VGA console.
Restructured conswitchp init slightly so that if both
CONFIG_DUMMY_CONSOLE and CONFIG_VGA_CONSOLE
are defined, conswitchp is always set to something, even if we
don't find VGA at 0xA0000.
This work is due to Alex Williamson (alex_williamson@hp.com).
Robert Love [Tue, 9 Apr 2002 11:02:50 +0000 (04:02 -0700)]
[PATCH] cpu affinity syscalls
This patch implements the following calls to set and retrieve a task's
CPU affinity:
int sched_setaffinity(pid_t pid, unsigned int len,
unsigned long *new_mask_ptr)
int ched_getaffinity(pid_t pid, unsigned int len,
unsigned long *user_mask_ptr)
a) part of open_namei() done after we'd found vfsmount/dentry of
the object we want to open had been split into a helper - may_open().
b) do_open() in fs/nfsctl.c didn't do any permission checks on
the nfsd file it was opening - sudden idiocy attack on my part (I missed
the fact that dentry_open() doesn't do permission checks - open_namei()
does). Fixed by adding obvious may_open() calls.
Cosmetic change: x86_capability. Makes it an unsigned long, and
removes the gratuitous & operators (it is already an array). These
produce warnings when set_bit() etc. takes an unsigned long * instead
of a void *.
i810_rng: add support for other i8xx chipsets to the Random Number Generator module.
This is being done by adding the detection of the 82801BA(M) and 82801CA(M) I/O Controller Hub's.
Martin Dalecki [Tue, 9 Apr 2002 04:08:04 +0000 (21:08 -0700)]
[PATCH] 2.5.8-pre2 IDE 29b
- Eliminate the mate member of the ata_channel structure. The information
provided by it is already present. This patch may have undesirable
effects on the ns87415.c and trm290.c host chip drivers, but it's worth
for structural reasons to have it.
- Kill unused code, which was "fixing" interrupt routing from ide-pci.c Don't
pass any "mate" between the functions there.
- Don't define SUPPORT_VLB_SYNC unconditionally in ide-taskfile.c
- Apply Vojtech Pavliks fix for piix host-chip driver crashes.
- Add linux/types.h to ide-pnp.c.
- Apply latest sis5513 host chip driver patch from by Lionel Bouton by hand.
- Apply patch by Paul Macerras for power-mac.
- Try to make the ns87415 driver a bit more reentrant.
David Brownell [Mon, 8 Apr 2002 08:01:34 +0000 (01:01 -0700)]
This patch is a more complete fix for the device refcount
sanity checking and cleanup on device disconnect.
- Splits apart usb_dec_dev_use(), for driver use, and
usb_free_dev(), for hub/hcd use. Both now have
kerneldoc, and will BUG() if the refcount and the
device tree get out of sync. (Except for cleanup of
root hub init errors, refcount must go to zero only
at the instant disconnect processing completes.)
- More usbcore-internal function declarations are
now moved out of <linux/usb.h> into hcd.h
- Driver-accessible refcounting is now inlined; minor
code shrinkage, it's using atomic inc/dec instructions
not function calls.
<note from greg k-h, there is still some work to be done with USB device
reference counting, but this patch is a step in the right direction.>
Andreas Schwab [Mon, 8 Apr 2002 06:25:06 +0000 (23:25 -0700)]
[PATCH] The kernel cannot cope with modules without unwind data, which happens
with data-only modules like the fs/nls modules when compiling with gcc
3.1. This patch fixes the problem.
Richard Gooch [Mon, 8 Apr 2002 05:24:38 +0000 (22:24 -0700)]
[PATCH] devfs patch for 2.5.8-pre2
- Documentation updates
- BKL removal (devfs doesn't need the BKL)
- Changed <devfs_rmdir> to allow later additions if not yet empty
- Added calls to <devfs_register_partitions> in drivers/block/blkpc.c
<add_partition> and <del_partition>
- Bug fixes in unique number and devnum allocators.
Brian Gerst [Mon, 8 Apr 2002 05:22:40 +0000 (22:22 -0700)]
[PATCH] Clean up x86 interrupt entry code
This patch moves the generation of the asm interrupt entry stubs from
i8259.c to entry.S. This allows it to be done with less code and
without needing duplicate definitions of SAVE_ALL, GET_CURRENT, etc.
It is a step on the road to removal of the arrays.
It also solves other things, like the fact that Linux
is unable to read the last sector of a disk or partition
with an odd number of sectors.
Anton Blanchard [Mon, 8 Apr 2002 04:31:16 +0000 (21:31 -0700)]
[PATCH] increase dynamic proc entries for ppc64
Unfortunately the proc filesystem has a limit on the number of dynamic
proc entries it can create. On large systems we can exhaust the default
(4096) very quickly. The following patch increases the default to
something more reasonable.
Anton Blanchard [Mon, 8 Apr 2002 04:30:51 +0000 (21:30 -0700)]
[PATCH] fix busy loop in migration thread init
Since we do not set the task state to TASK_INTERRUPTIBLE, we busy loop.
On larger SMP this can actually result in a lockup due to the way
migration thread initalisation is done (nr_cpus threads are created
and they all busy loop until the scheduler evenly distributes them,
one on each cpu. With this rogue thread busy looping things can become
unbalanced and the migration threads never distribute themselves onto
all cpus).
Dan Streetman [Mon, 8 Apr 2002 03:51:56 +0000 (20:51 -0700)]
[PATCH] usbfs disconnect
This was originally created by David many months ago and posted to the
list, but not put into the kernel.
I modified the original patch to:
-patch against the 2.5.7 kernel
-use the 'real' interface number, not position (to do this I added 2
methods in usb.c)
Anton Blanchard [Tue, 9 Apr 2002 03:58:44 +0000 (13:58 +1000)]
Make cond_syscall per arch. This is required on some architectures
(eg ppc64) where foo points to a function descriptor and .foo is
the address of the actual function.
This fixes a problem that I've not run into and is difficult to trigger,
but definately a bug. We locked urb->lock, when we meant u->lock. It also
cleans up the code a little to make it easier to understand and removes
an obsolete comment.
This patch merely cleans up the code a little and doesn't fix any bugs.
It makes a couple of code paths a bit easier to understand, removes an
unused variable (uhci_list) and some procfs variables when not using
procfs.
David Brownell [Sat, 6 Apr 2002 12:17:46 +0000 (04:17 -0800)]
USB usbnet driver update
- adds ethtool support (based on code from Brad Hards)
- makes diagnostic level configurable (ethtool, module param)
- fixes a minor mem_flags goof (thanks Oliver!)
- device identifers now use devpath (stable ID) not devnum
Ben Collins [Sat, 6 Apr 2002 00:36:43 +0000 (16:36 -0800)]
[PATCH] IEEE-1394 Updates
ieee1394 updates:
- New drivers: eth1394, admtp
- nodemgr cleanup
- Fixes for ohci
- fixed for node probes
- small misc performance fixes
- New /proc interface for subsystem, node listing, and dv1394
Andrew Morton [Sat, 6 Apr 2002 00:32:52 +0000 (16:32 -0800)]
[PATCH] ->setattr() locking changes
ext3 was missed - the removal of the BKL in notify_change
means that the filesytem fails quite quickly on SMP in -pre2.
Sorry, I should have spotted that when the patch floated past.