]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] ppc64: add hcall interface
Andrew Morton [Mon, 19 Jan 2004 02:21:31 +0000 (18:21 -0800)]
[PATCH] ppc64: add hcall interface

From: Anton Blanchard <anton@samba.org>

add hcall interface

22 years ago[PATCH] ppc64: Small cleanups to iSeries virtual ethernet driver, from Dave Gibson
Andrew Morton [Mon, 19 Jan 2004 02:21:15 +0000 (18:21 -0800)]
[PATCH] ppc64: Small cleanups to iSeries virtual ethernet driver, from Dave Gibson

From: Anton Blanchard <anton@samba.org>

Small cleanups to iSeries virtual ethernet driver, from Dave Gibson

22 years ago[PATCH] ppc64: Tidy up various bits of the iSeries code. No significant code changes...
Andrew Morton [Mon, 19 Jan 2004 02:21:03 +0000 (18:21 -0800)]
[PATCH] ppc64: Tidy up various bits of the iSeries code. No significant code changes, from Stephen Rothwell

From: Anton Blanchard <anton@samba.org>

Tidy up various bits of the iSeries code.  No significant code changes, from
Stephen Rothwell

22 years ago[PATCH] ppc64: fix a couple small OF device tree bugs which were overlooked, from...
Andrew Morton [Mon, 19 Jan 2004 02:20:45 +0000 (18:20 -0800)]
[PATCH] ppc64: fix a couple small OF device tree bugs which were overlooked, from Joel Schopp

From: Anton Blanchard <anton@samba.org>

fix a couple small OF device tree bugs which were overlooked, from Joel Schopp

22 years ago[PATCH] ppc64: iSeries fixes, from Stephen Rothwell
Andrew Morton [Mon, 19 Jan 2004 02:20:25 +0000 (18:20 -0800)]
[PATCH] ppc64: iSeries fixes, from Stephen Rothwell

From: Anton Blanchard <anton@samba.org>

iSeries fixes, from Stephen Rothwell

22 years ago[PATCH] ppc64: Add additional hypervisor call constants, from Dave Boutcher
Andrew Morton [Mon, 19 Jan 2004 02:20:01 +0000 (18:20 -0800)]
[PATCH] ppc64: Add additional hypervisor call constants, from Dave Boutcher

From: Anton Blanchard <anton@samba.org>

Add additional hypervisor call constants, from Dave Boutcher

22 years ago[PATCH] ppc64: preliminary iseries support, from Paul Mackerras
Andrew Morton [Mon, 19 Jan 2004 02:19:35 +0000 (18:19 -0800)]
[PATCH] ppc64: preliminary iseries support, from Paul Mackerras

From: Anton Blanchard <anton@samba.org>

Preliminary iSeries support.  Still a bit hackish in parts but it does
compile.  The viodasd driver is almost completely untested so don't trust it
with your data.

22 years ago[PATCH] ppc64: NVRAM error logging/buffering patch, from Jake Moilanen
Andrew Morton [Mon, 19 Jan 2004 02:19:16 +0000 (18:19 -0800)]
[PATCH] ppc64: NVRAM error logging/buffering patch, from Jake Moilanen

From: Anton Blanchard <anton@samba.org>

This is a port of the nvram buffering/error logging code from 2.4 to 2.6.  It
includes moving /proc/rtas to /proc/ppc64/rtas and making /proc/rtas a
symlink to /proc/ppc64/rtas.  It also splits up the /dev/nvram device
read/write functions from the basic nvram access functions, and adds ppc_md
fields for the nvram access functions.

22 years ago[PATCH] ppc64: one instruction fix for synchronization bug found during cpu DLPAR...
Andrew Morton [Mon, 19 Jan 2004 02:18:58 +0000 (18:18 -0800)]
[PATCH] ppc64: one instruction fix for synchronization bug found during cpu DLPAR development, from Joel Schopp

From: Anton Blanchard <anton@samba.org>

one instruction fix for synchronization bug found during cpu DLPAR
development, from Joel Schopp

22 years ago[PATCH] ppc64: Add VMX registers to sigcontext, from Steve Munroe
Andrew Morton [Mon, 19 Jan 2004 02:18:40 +0000 (18:18 -0800)]
[PATCH] ppc64: Add VMX registers to sigcontext, from Steve Munroe

From: Anton Blanchard <anton@samba.org>

Add VMX registers to sigcontext, from Steve Munroe

22 years ago[PATCH] ppc64: UP compile fixes, from Paul Mackerras
Andrew Morton [Mon, 19 Jan 2004 02:18:21 +0000 (18:18 -0800)]
[PATCH] ppc64: UP compile fixes, from Paul Mackerras

From: Anton Blanchard <anton@samba.org>

Minor fixes to make the UP case compile, export cpu_possible_map, fix up
whitespace etc.

22 years ago[PATCH] ppc64: SMT processor support and logical cpu numbering, from Dave Engebretsen
Andrew Morton [Mon, 19 Jan 2004 02:18:04 +0000 (18:18 -0800)]
[PATCH] ppc64: SMT processor support and logical cpu numbering, from Dave Engebretsen

From: Anton Blanchard <anton@samba.org>

And SMT processor support & move back to a logical cpu numbering
in support of DLPAR work.

22 years ago[PATCH] ppc64: shared processor support, from Dave Engebretsen
Andrew Morton [Mon, 19 Jan 2004 02:17:48 +0000 (18:17 -0800)]
[PATCH] ppc64: shared processor support, from Dave Engebretsen

From: Anton Blanchard <anton@samba.org>

Initial round of code to add shared processor support into 2.6.  This adds
h_call interfaces, paca/VPA fields, and vpa register.  Add adds new idle loop
code.

22 years ago[PATCH] ppc64: add rtas syscall, from John Rose
Andrew Morton [Mon, 19 Jan 2004 02:17:30 +0000 (18:17 -0800)]
[PATCH] ppc64: add rtas syscall, from John Rose

From: Anton Blanchard <anton@samba.org>

Added RTAS syscall.  Reserved lowmem rtas_rmo_buf for userspace use.  Created
"rmo_buffer" proc file to export bounds of rtas_rmo_buf.

22 years ago[PATCH] ppc64: compat layer update, from Paul Mackerras, Olaf Hering and myself
Andrew Morton [Mon, 19 Jan 2004 02:17:15 +0000 (18:17 -0800)]
[PATCH] ppc64: compat layer update, from Paul Mackerras, Olaf Hering and myself

From: Anton Blanchard <anton@samba.org>

- Switch to using the new compat aio syscalls
- add compat timer/clock syscalls
- use compat_statfs64
- add compat fadvise64_64

22 years ago[PATCH] ppc64: fix sched_clock, from Paul Mackerras:
Andrew Morton [Mon, 19 Jan 2004 02:17:03 +0000 (18:17 -0800)]
[PATCH] ppc64: fix sched_clock, from Paul Mackerras:

From: Anton Blanchard <anton@samba.org>

Currently the sched_clock implementation for PPC64 is bogus.  It just reads
the timebase register, which counts at some fixed rate, typically around
100MHz.  This patch adds code to calculate a suitable multiplier from the
timebase frequency, and use that in sched_clock().

22 years ago[PATCH] ppc64: Add _syscall6, from Olaf Hering
Andrew Morton [Mon, 19 Jan 2004 02:16:48 +0000 (18:16 -0800)]
[PATCH] ppc64: Add _syscall6, from Olaf Hering

From: Anton Blanchard <anton@samba.org>

Add _syscall6, from Olaf Hering

22 years ago[PATCH] ppc64: Add exports and change some __init to __devinit for dynamic OF and...
Andrew Morton [Mon, 19 Jan 2004 02:16:29 +0000 (18:16 -0800)]
[PATCH] ppc64: Add exports and change some __init to __devinit for dynamic OF and pci hotplug, from John Rose and Linda Xie

From: Anton Blanchard <anton@samba.org>

Add exports and change some __init to __devinit for dynamic OF and pci
hotplug, from John Rose and Linda Xie

22 years ago[PATCH] ppc64: fix sign extension bug in NUMA code
Andrew Morton [Mon, 19 Jan 2004 02:16:01 +0000 (18:16 -0800)]
[PATCH] ppc64: fix sign extension bug in NUMA code

From: Anton Blanchard <anton@samba.org>

The ppc64 NUMA code has a sign extension problem.  We would sign extend tmp1
when assigning it to start.  Fix this by making tmp1 unsigned.

22 years ago[PATCH] ppc64: rename the rtas event classes to avoid namespace collisions, from...
Andrew Morton [Mon, 19 Jan 2004 02:15:40 +0000 (18:15 -0800)]
[PATCH] ppc64: rename the rtas event classes to avoid namespace collisions, from John Rose

From: Anton Blanchard <anton@samba.org>

rename the rtas event classes to avoid namespace collisions, from John Rose

22 years ago[PATCH] ppc64: Add some rtas calls, from John Rose
Andrew Morton [Mon, 19 Jan 2004 02:15:16 +0000 (18:15 -0800)]
[PATCH] ppc64: Add some rtas calls, from John Rose

From: Anton Blanchard <anton@samba.org>

Added functions for 3 RTAS calls
get-power-level
get-sensor-state
set-indicator

22 years ago[PATCH] ppc64: iSeries fixups, from Stephen Rothwel
Andrew Morton [Mon, 19 Jan 2004 02:14:52 +0000 (18:14 -0800)]
[PATCH] ppc64: iSeries fixups, from Stephen Rothwel

From: Anton Blanchard <anton@samba.org>

iSeries fixups, from Stephen Rothwel

22 years ago[PATCH] ppc64: cputable cleanup, from Dave Engebretsen:
Andrew Morton [Mon, 19 Jan 2004 02:14:27 +0000 (18:14 -0800)]
[PATCH] ppc64: cputable cleanup, from Dave Engebretsen:

From: Anton Blanchard <anton@samba.org>

Formatting cleanup, fix for firmware_features init, use cpu_features
to display processor names.

22 years ago[PATCH] ppc64: cputable update, from Dave Engebretsen
Andrew Morton [Mon, 19 Jan 2004 02:14:11 +0000 (18:14 -0800)]
[PATCH] ppc64: cputable update, from Dave Engebretsen

From: Anton Blanchard <anton@samba.org>

Sync 2.4 & 2.6 cputable code.  Adds 970 and Power5 processor support
plus new firmware features.

22 years ago[PATCH] ppc64: extended flash changes, from Mike Wolf
Andrew Morton [Mon, 19 Jan 2004 02:13:57 +0000 (18:13 -0800)]
[PATCH] ppc64: extended flash changes, from Mike Wolf

From: Anton Blanchard <anton@samba.org>

extended flash changes, from Mike Wolf

22 years ago[PATCH] ppc64: Mem-map I/O changes, from Mike Wolf
Andrew Morton [Mon, 19 Jan 2004 02:13:37 +0000 (18:13 -0800)]
[PATCH] ppc64: Mem-map I/O changes, from Mike Wolf

From: Anton Blanchard <anton@samba.org>

Mem-map I/O changes, from Mike Wolf

22 years ago[PATCH] ppc64: Open Firmware device tree manipulation support, from Nathan Lynch
Andrew Morton [Mon, 19 Jan 2004 02:13:20 +0000 (18:13 -0800)]
[PATCH] ppc64: Open Firmware device tree manipulation support, from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

Implementation of /proc/ppc64/ofdt, for manipulation of Open Firmware
device tree (/proc/device-tree).  Supports addition and removal of
OF device nodes.

22 years ago[PATCH] ppc64: various trivial patches
Andrew Morton [Mon, 19 Jan 2004 02:13:05 +0000 (18:13 -0800)]
[PATCH] ppc64: various trivial patches

From: Anton Blanchard <anton@samba.org>

various trivial patches

22 years ago[PATCH] ppc64: base support for dynamic update of OF device, tree from Nathan Lynch
Andrew Morton [Mon, 19 Jan 2004 02:12:49 +0000 (18:12 -0800)]
[PATCH] ppc64: base support for dynamic update of OF device, tree from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

base support for dynamic update of OF device, tree from Nathan Lynch

22 years ago[PATCH] ppc64: support for runtime updates of /proc/device-tree, from Nathan Lynch
Andrew Morton [Mon, 19 Jan 2004 02:12:33 +0000 (18:12 -0800)]
[PATCH] ppc64: support for runtime updates of /proc/device-tree, from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

support for runtime updates of /proc/device-tree, from Nathan Lynch

22 years ago[PATCH] ppc64: Make IPI receivers survive a late arrival after the sender has given...
Andrew Morton [Mon, 19 Jan 2004 02:12:16 +0000 (18:12 -0800)]
[PATCH] ppc64: Make IPI receivers survive a late arrival after the sender has given up waiting, from Olof Johansson

From: Anton Blanchard <anton@samba.org>

Make IPI receivers survive a late arrival after the sender has given up
waiting, from Olof Johansson

22 years ago[PATCH] ppc64: use device_is_compatible() instead of manual strcmp, from Hollis Blanchard
Andrew Morton [Mon, 19 Jan 2004 02:12:00 +0000 (18:12 -0800)]
[PATCH] ppc64: use device_is_compatible() instead of manual strcmp, from Hollis Blanchard

From: Anton Blanchard <anton@samba.org>

use device_is_compatible() instead of manual strcmp, from Hollis Blanchard

22 years ago[PATCH] ppc64: hvc_console can only handle vty nodes compatible with "hvterm1", from...
Andrew Morton [Mon, 19 Jan 2004 02:11:40 +0000 (18:11 -0800)]
[PATCH] ppc64: hvc_console can only handle vty nodes compatible with "hvterm1", from Hollis Blanchard

From: Anton Blanchard <anton@samba.org>

hvc_console can only handle vty nodes compatible with "hvterm1", from Hollis
Blanchard

22 years ago[PATCH] ppc64: vty updates, from Hollis Blanchard
Andrew Morton [Mon, 19 Jan 2004 02:11:24 +0000 (18:11 -0800)]
[PATCH] ppc64: vty updates, from Hollis Blanchard

From: Anton Blanchard <anton@samba.org>

vty updates, from Hollis Blanchard

22 years ago[PATCH] ppc64: Change to new OF device tree API, from Nathan Lynch
Andrew Morton [Mon, 19 Jan 2004 02:11:09 +0000 (18:11 -0800)]
[PATCH] ppc64: Change to new OF device tree API, from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

Attached is a patch which replaces all the uses of the old device tree API in
arch/ppc64.  Patch is against 2.6.0-test5 (cset 1.1328) from ameslab bk, plus
the patch from my previous message.  I've tested this on a pSeries LPAR.

22 years ago[PATCH] ppc64: New Open Firmware device tree API, from Nathan Lynch
Andrew Morton [Mon, 19 Jan 2004 02:10:48 +0000 (18:10 -0800)]
[PATCH] ppc64: New Open Firmware device tree API, from Nathan Lynch

From: Anton Blanchard <anton@samba.org>

This is an adaptation of the new Open Firmware device tree traversal API from
ppc32, originally written by Benjamin Herrenschmidt.  This patch is against
2.6.0-test3, but should apply ok to the latest 2.5 ameslab tree.

These functions are meant to be SMP-safe alternatives to the current set of
query/traversal routines (find_devices, find_type_devices, et al).

22 years ago[PATCH] ppc64: support for ibm,phandle OF property, from Dave Engebretsen:
Andrew Morton [Mon, 19 Jan 2004 02:10:29 +0000 (18:10 -0800)]
[PATCH] ppc64:  support for ibm,phandle OF property, from Dave Engebretsen:

From: Anton Blanchard <anton@samba.org>

Upcoming partition firmware requires the use of the ibm,phandle property for
matching device nodes.  Add a new field in device_node to contain this data.

22 years ago[PATCH] ppc64: HvCall_writeLogBuffer called with too large of a buffer
Andrew Morton [Mon, 19 Jan 2004 02:10:14 +0000 (18:10 -0800)]
[PATCH] ppc64: HvCall_writeLogBuffer called with too large of a buffer

From: Anton Blanchard <anton@samba.org>

HvCall_writeLogBuffer called with too large of a buffer

22 years ago[PATCH] ppc64: ptrace.h PT_FPSCR fixup, from Will Schmidt
Andrew Morton [Mon, 19 Jan 2004 02:10:03 +0000 (18:10 -0800)]
[PATCH] ppc64: ptrace.h PT_FPSCR fixup, from Will Schmidt

From: Anton Blanchard <anton@samba.org>

ptrace.h PT_FPSCR fixup, from Will Schmidt

22 years ago[PATCH] ppc64: add automatic check for biarch compilers
Andrew Morton [Mon, 19 Jan 2004 02:09:50 +0000 (18:09 -0800)]
[PATCH] ppc64: add automatic check for biarch compilers

From: Anton Blanchard <anton@samba.org>

add automatic check for biarch compilers

22 years ago[PATCH] ppc64: Build the zImage by default
Andrew Morton [Mon, 19 Jan 2004 02:09:41 +0000 (18:09 -0800)]
[PATCH] ppc64: Build the zImage by default

From: Anton Blanchard <anton@samba.org>

Build the zImage by default

22 years ago[PATCH] ppc64: revert IRQ_INPROGRESS change
Andrew Morton [Mon, 19 Jan 2004 02:09:33 +0000 (18:09 -0800)]
[PATCH] ppc64: revert IRQ_INPROGRESS change

From: Anton Blanchard <anton@samba.org>

revert IRQ_INPROGRESS change

22 years ago[PATCH] ppc64: clean up WARN_ON backtrace
Andrew Morton [Mon, 19 Jan 2004 02:09:24 +0000 (18:09 -0800)]
[PATCH] ppc64: clean up WARN_ON backtrace

From: Anton Blanchard <anton@samba.org>

clean up WARN_ON backtrace

22 years ago[PATCH] Convert tsdev to use module_param
Andrew Morton [Mon, 19 Jan 2004 02:09:15 +0000 (18:09 -0800)]
[PATCH] Convert tsdev to use module_param

From: Dmitry Torokhov <dtor_core@ameritech.net>

Convert tsdev to the new way of handling parameters and document them in
kernel-parameters.txt

22 years ago[PATCH] Convert mouse drivers to use module_param
Andrew Morton [Mon, 19 Jan 2004 02:09:06 +0000 (18:09 -0800)]
[PATCH] Convert mouse drivers to use module_param

From: Dmitry Torokhov <dtor_core@ameritech.net>

Convert the rest of mouse devices to the new way of handling kernel
parameters and document them in kernel-parameters.txt

22 years ago[PATCH] Fix compile error in 98busmouse.c module
Andrew Morton [Mon, 19 Jan 2004 02:08:57 +0000 (18:08 -0800)]
[PATCH] Fix compile error in 98busmouse.c module

From: Dmitry Torokhov <dtor_core@ameritech.net>

Fix 98busmouse compile error - have interrupt routine return IRQ_HANDLED

22 years ago[PATCH] input: SiS AUX port
Andrew Morton [Mon, 19 Jan 2004 02:08:50 +0000 (18:08 -0800)]
[PATCH] input: SiS AUX port

From: Dmitry Torokhov <dtor_core@ameritech.net>

Do not ignore AUX port if chipset fails to disable it (SiS seems to have
trouble disabling AUX port, other than that the port works fine).

22 years ago[PATCH] Kconfig Synaptics help
Andrew Morton [Mon, 19 Jan 2004 02:08:41 +0000 (18:08 -0800)]
[PATCH] Kconfig Synaptics help

From: Dmitry Torokhov <dtor_core@ameritech.net>

Kconfig help section update -

Suggest psmouse.proto=imps option to Synaptics users who do not want
installing native XFree driver but want tapping work

22 years ago[PATCH] input: missing module licenses
Andrew Morton [Mon, 19 Jan 2004 02:08:33 +0000 (18:08 -0800)]
[PATCH] input: missing module licenses

From: Dmitry Torokhov <dtor_core@ameritech.net>

Add missing MODULE_LICENSEs

22 years ago[PATCH] input: atkbd option parsing
Andrew Morton [Mon, 19 Jan 2004 02:08:24 +0000 (18:08 -0800)]
[PATCH] input: atkbd option parsing

From: Dmitry Torokhov <dtor_core@ameritech.net>

Convert atkbd to the new style of option parsing.

If compiled as a module new option names are: set, softrepeat, reset.

If built into the kernel options must be prepended with "atkbd." prefix,
like "atkbd.softrepeat"

22 years ago[PATCH] input: psmouse option parsing
Andrew Morton [Mon, 19 Jan 2004 02:08:16 +0000 (18:08 -0800)]
[PATCH] input: psmouse option parsing

From: Dmitry Torokhov <dtor_core@ameritech.net>

With Vojtech's approval adjusted psmouse option names by dropping psmouse_
prefix.

If psmouse is compiled as a module new option names are: proto, rate,
resetafter, resolution, smartscroll

If psmouse is built in the kernel the prefix "psmouse." is required in
front of an option, like "psmouse.proto"

Also, since we are changing all names, killed psmouse_noext completely

22 years ago[PATCH] input: i8042 option parsing
Andrew Morton [Mon, 19 Jan 2004 02:08:07 +0000 (18:08 -0800)]
[PATCH] input: i8042 option parsing

From: Dmitry Torokhov <dtor_core@ameritech.net>

With Vojtech's approval adjusted i8042 option names by dropping i8042_
prefix.

If i8042 is compiled as a module new option names are: direct, dumbkbd,
noaux, nomux, reset, unlock.

If i8042 is build in the kernel the prefix "i8042." is required in front of
an option, like "i8042.reset"

22 years ago[PATCH] input: i8042 suspend
Andrew Morton [Mon, 19 Jan 2004 02:07:58 +0000 (18:07 -0800)]
[PATCH] input: i8042 suspend

From: Dmitry Torokhov <dtor_core@ameritech.net>

Add suspend methods to restore original controller state on suspend as some
BIOS don't like the state we leave it in.  Also synchroniously delete the
polling timer on module exit.

22 years ago[PATCH] mousedev PS/@ emulation fix
Andrew Morton [Mon, 19 Jan 2004 02:07:50 +0000 (18:07 -0800)]
[PATCH] mousedev PS/@ emulation fix

From: Dmitry Torokhov <dtor_core@ameritech.net>

correctly perform PS/2 (mousedev) emulation for touchpads generating
absolute events (do not stop with the first client)

22 years ago[PATCH] Input: smooth out mouse jitter
Andrew Morton [Mon, 19 Jan 2004 02:07:41 +0000 (18:07 -0800)]
[PATCH] Input: smooth out mouse jitter

From: Dmitry Torokhov <dtor_core@ameritech.net>

When calculating deltas for touchpads that generate absolute events use
average over the last 3 packets to remove jitter

22 years ago[PATCH] raw.c refcounting fix
Andrew Morton [Mon, 19 Jan 2004 02:07:34 +0000 (18:07 -0800)]
[PATCH] raw.c refcounting fix

From: viro@parcelfarce.linux.theplanet.co.uk

raw.c has a refcounting bug (patch attached).

As for the theory...  If you have a pathname - use filp_open() or
open_bdev_excl() and be done with that.  bdget() et.al.  are OK only if you
really have nothing better than device number and that's a situation that
should be avoided unless you really have no choice.

Said that, we have the following primitives:

* lookup_bdev(): takes a pathname, returns a reference to block_device.

* bdget(): takes a number, returns a reference to block_device.

* blkdev_get(): takes a reference to block_device and opens it.  If open
  fails - drops the reference to block_device passed to it.

* blkdev_put(): takes a reference to block_device and closes it.  The
  reference is dropped.

* bdput(): drops a reference to block_device.

Note that behaviour of blkdev_get() and blkdev_put() is such that it makes
for minimal cleanup code.

bd_claim()/bd_release() is the exclusion mechanism - that's what mount,
swapon, open with O_EXCL, etc.  are using to avoid stepping on each others
toes.  bd_claim() claims bdev for given owner; if it's already owned and
not by the same owner you'll get -EBUSY.  bd_release() reverts the effect
of bd_claim().  Note that if you claim the thing N times (with the same
owner, obviously), you'll need N bd_release() before it stops being owned.

raw.c grabbed a reference to bdev only after blkdev_get().  If blkdev_get()
failed (e.g.  media being absent), you've got an unbalanced bdput().

22 years ago[PATCH] cramfs: use pagecache better
Andrew Morton [Mon, 19 Jan 2004 02:07:25 +0000 (18:07 -0800)]
[PATCH] cramfs: use pagecache better

From: viro@parcelfarce.linux.theplanet.co.uk

Patch switches cramfs_read() to direct use of pagecache and
eliminates all messing with buffer_heads.  Fixes the interaction with
ramdisk (there set_blocksize() simply killed the ramdisk contents) and
gets code less brittle overall.

22 years ago[PATCH] bdev: add I_BDEV()
Andrew Morton [Mon, 19 Jan 2004 02:07:17 +0000 (18:07 -0800)]
[PATCH] bdev: add I_BDEV()

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

For bdevfs inodes (ones created along with struct block_device by
fs/block_dev.c) we have inode->i_bdev equal to &BDEV_I(inode)->bdev (i.e.
it's at the constant offset from inode).  New helper added for such inodes
(I_BDEV(inode)).  A bunch of places (mostly in block_dev.c) switched to use
of that helper.  A bunch of places that used

file->f_dentry->d_inode->i_bdev->bd_inode

switched to

file->f_mapping->host

- those expressions are equal whenever the former is valid.

22 years ago[PATCH] bdev: generic_write_checks() cleanup
Andrew Morton [Mon, 19 Jan 2004 02:07:08 +0000 (18:07 -0800)]
[PATCH] bdev: generic_write_checks() cleanup

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

generic_write_checks() had lost the first argument (inode) - it can be
calculated from the second one (file).

22 years ago[PATCH] bdev: bd_acquire() cleanup
Andrew Morton [Mon, 19 Jan 2004 02:06:59 +0000 (18:06 -0800)]
[PATCH] bdev: bd_acquire() cleanup

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

bd_acquire() made static, switched to returning the block_device it had
found.  Callers updated.

22 years ago[PATCH] bdev: generic_osync_inode() conversion
Andrew Morton [Mon, 19 Jan 2004 02:06:51 +0000 (18:06 -0800)]
[PATCH] bdev: generic_osync_inode() conversion

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

generic_osync_inode() got an extra argument - mapping and doesn't calculate
inode->i_mapping anymore.  Callers updated and switched to use of
->f_mapping.

22 years ago[PATCH] bdev: move i_mapping -> f_mapping conversions
Andrew Morton [Mon, 19 Jan 2004 02:06:44 +0000 (18:06 -0800)]
[PATCH] bdev: move i_mapping -> f_mapping conversions

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

More uses of ->i_mapping switched to uses of ->f_mapping - stuff that was not
caught by the earlier f_mapping conversion.

22 years ago[PATCH] bdev: use correct mapping's i_sem
Andrew Morton [Mon, 19 Jan 2004 02:06:35 +0000 (18:06 -0800)]
[PATCH] bdev: use correct mapping's i_sem

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

In a bunch of places we used file->f_dentry->d_inode->i_sem to protect
fdatasync et.al.  Replaced with corrent file->f_mapping->host->i_sem - the
object we are protecting is address_space, so we want an exclusion that would
work for redirected ->i_mapping.  For normal files (not coda, not bdev) it's
all the same, of course - there we have

  file->f_mapping->host == file->f_dentry->d_inode

and change above is an equivalent transfromation.

22 years ago[PATCH] bdev: switch to f_mapping
Andrew Morton [Mon, 19 Jan 2004 02:06:27 +0000 (18:06 -0800)]
[PATCH] bdev: switch to f_mapping

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

A lot of places used to use ->f_dentry->d_inode->i_mapping all over the
place.  Replaced with use of ->f_mapping.  For now - just the places where we
literally could do search-and-replace.

22 years ago[PATCH] bdev: add file.f_mapping
Andrew Morton [Mon, 19 Jan 2004 02:06:16 +0000 (18:06 -0800)]
[PATCH] bdev: add file.f_mapping

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

New field of struct file - ->f_mapping.  We maintain the following:
file->f_dentry->d_inode->i_mapping == file->f_mapping for all opened files.

22 years ago[PATCH] bdev: presto conversion
Andrew Morton [Mon, 19 Jan 2004 02:06:06 +0000 (18:06 -0800)]
[PATCH] bdev: presto conversion

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

presto_journal_close() switched to passing struct presto_file_data * instead
of bogus struct file *.  The only field of struct file we used to look at was
file->private_data and most of the callers allocated on-stack struct file,
assigned file.private_data and passed the sucker to presto_journal_close().
Idiocy removed.

Looks like they started with case where the data they wanted all along was,
indeed, in ->private_data of already available struct file, so they just
passed pointer to struct file.  And when they found that they need to call it
in other places where there was no such struct file, they'd done it the dumb
way instead of fixing the prototype...

22 years ago[PATCH] bdev: blkdev_put() cleanup
Andrew Morton [Mon, 19 Jan 2004 02:05:57 +0000 (18:05 -0800)]
[PATCH] bdev: blkdev_put() cleanup

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

Trivial cleanup in blkdev_put() - replace bdev->bd_inode->i_bdev with bdev.

22 years ago[PATCH] bdev: open() changes
Andrew Morton [Mon, 19 Jan 2004 02:05:49 +0000 (18:05 -0800)]
[PATCH] bdev: open() changes

The first of a series which move us toward blockdev hotplug support.  After
these we have achieved the following:

a) For "normal" (not bdevfs) inodes of block devices we never look at
   ->i_mapping.

b) For the same inodes we only look at ->i_bdev in bd_acquire() where it's
   used only as "here's what we'd found the last time" sort of cached value.
   If it's NULL, we just recalculate it.

c) Lots of messy expressions had been trimmed down, while we are at it.

(a) and (b) allow us to start doing proper block hotplug - we can destroy the
association between inode and bdev at any time, unhash bdev in question and
have new open() do everything from scratch, without waiting for old opened
files to close.  The goal is to be able to say "revoke everything over that
gendisk"/"revoke that partition" and have it do the right thing.

This patch:

Where the old code called (block device) ->open(inode, file), use
->open(inode->i_bdev->bd_inode, file).  Changes in drivers:

* none to those that only used inode->i_bdev and inode->i_rdev in their
  ->open() (bdev->bd_inode->i_bdev == bdev, so we are OK)

* floppy.c and floppy98.c used to call permission(inode, ...) in
  floppy_open().  Switched to permission(file->f_dentry->d_inode, ...)

22 years ago[PATCH] loop: fix file refcount leak
Andrew Morton [Mon, 19 Jan 2004 02:05:40 +0000 (18:05 -0800)]
[PATCH] loop: fix file refcount leak

- Fix an error-path file refcount leak

- Remove unnecessary get_file()/fput() pair.

- Clean up error handling a little

22 years ago[PATCH] loop: fix hard sector size
Andrew Morton [Mon, 19 Jan 2004 02:05:31 +0000 (18:05 -0800)]
[PATCH] loop: fix hard sector size

From: Ben Slusky <sluskyb@paranoiacs.org>

We need to set the hardsect_size of the loop device to that of the real
device.

The loop device advertises a block size of 1024 even when configured over a
cdrom.

When burning a ext2 on a cd, and mounting it directly, I get:

blocksize=2048;

when I losetup /dev/loop0 /dev/cdrom, and then try to mount, I get:

blocksize=1024; and then misaligned transfer; this results in not being able
to read the superblock.

The loop device should be changed to export the same blocksize of the
underlying device

22 years ago[PATCH] radeonfb line length fix
Andrew Morton [Mon, 19 Jan 2004 02:05:23 +0000 (18:05 -0800)]
[PATCH] radeonfb line length fix

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

Fix the calculation of screenpitch and line lengths.

22 years ago[PATCH] kyrofb support
Andrew Morton [Mon, 19 Jan 2004 02:05:15 +0000 (18:05 -0800)]
[PATCH] kyrofb support

From: Paul Mundt <lethal@linux-sh.org>

This patch adds support for the Kyro graphics boards (STG4000/PowerVR
3/etc= .) to 2.6.  This is a direct port and substantial cleanup / rewrite
of the 2.4 driver that's available in the sh64 tree at linux-sh.bkbits.net.

Some of the overlay code and the STG4000 bits are still a bit ugly, so be
forewarned.

22 years ago[PATCH] SH Merge
Andrew Morton [Mon, 19 Jan 2004 02:05:04 +0000 (18:05 -0800)]
[PATCH] SH Merge

From: Paul Mundt <lethal@linux-sh.org>

Here's a rather large update for SH (this is a bit large mainly since a
number of things have piled up, and Linus didn't want any of this during
feature freeze time). All of these changes are specific to the SH platform,
and as such, shouldn't effect any other platforms.

22 years ago[PATCH] remove IDE packet taskfile placeholders
Bartlomiej Zolnierkiewicz [Sun, 18 Jan 2004 09:28:22 +0000 (01:28 -0800)]
[PATCH] remove IDE packet taskfile placeholders

This dead code was introduced in kernel 2.4.19 and hasn't been updated
since.

22 years ago[PATCH] cleanup IDE multicount PIO write code
Bartlomiej Zolnierkiewicz [Sun, 18 Jan 2004 09:28:00 +0000 (01:28 -0800)]
[PATCH] cleanup IDE multicount PIO write code

Noticed by Christophe Saout <christophe@saout.de>.

This code has been dead since kernel 2.4.2 and it is bogus too.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Sun, 18 Jan 2004 09:26:43 +0000 (01:26 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Sun, 18 Jan 2004 09:25:08 +0000 (01:25 -0800)]
Merge http://jfs.bkbits.net/linux-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

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

22 years ago[SERIAL] make ACPI serial module unload work
Bjorn Helgaas [Fri, 16 Jan 2004 22:03:20 +0000 (22:03 +0000)]
[SERIAL] make ACPI serial module unload work

Patch from Bjorn Helgaas

This patch makes ACPI serial ports work right when the serial driver
is built as a module.  Previously, loading worked fine, but we
didn't clean up on module removal.

22 years ago[SERIAL] make HCDP dependent on serial console
Bjorn Helgaas [Fri, 16 Jan 2004 21:56:06 +0000 (21:56 +0000)]
[SERIAL] make HCDP dependent on serial console

Patch from Bjorn Helgaas

I propose the following HCDP Kconfig patch.  It makes HCDP
selectable only when serial console has been selected.  One
desirable side effect is that both are then available only
when statically compiled in (i.e., not built as a module).

The HCDP support doesn't actually depend on IA64, but I left
that in for now because nobody else implements support for it
and I don't want people confused by a selectable option that
doesn't do anything.  Maybe a "depends on EFI" or something
will be useful eventually.

22 years agoCset exclude: mashirle@us.ibm.com|ChangeSet|20040115231022|51079
David S. Miller [Thu, 15 Jan 2004 18:10:09 +0000 (10:10 -0800)]
Cset exclude: mashirle@us.ibm.com|ChangeSet|20040115231022|51079

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 15 Jan 2004 12:57:30 +0000 (04:57 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into evo.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Thu, 15 Jan 2004 12:49:38 +0000 (04:49 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.5
into evo.osdl.org:/home/torvalds/v2.5/linux

22 years ago[netdrvr forcedeth] linux/interrupt wasn't enough :) include asm/irq.h too
Jeff Garzik [Thu, 15 Jan 2004 14:49:07 +0000 (09:49 -0500)]
[netdrvr forcedeth] linux/interrupt wasn't enough :) include asm/irq.h too

Thanks to DaveM.

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/sk98lin
Jeff Garzik [Thu, 15 Jan 2004 14:45:28 +0000 (09:45 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/sk98lin
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/misc
Jeff Garzik [Thu, 15 Jan 2004 14:40:34 +0000 (09:40 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/misc
into redhat.com:/spare/repo/net-drivers-2.5

22 years ago[PATCH] fix pdeath_signal SMP locking
Roland McGrath [Thu, 15 Jan 2004 12:47:18 +0000 (04:47 -0800)]
[PATCH] fix pdeath_signal SMP locking

Obviously almost noone uses the pdeath_signal feature, since this has gone
unnoticed for quite some time.

This patch calls the function that does the right locking for the context
of this call (inside exit_notify).  The names of the signal.c entrypoints
are a little confusing.

22 years ago[NET] remove both incorrect and unneeded spinlock from sch_teql
Jeff Garzik [Thu, 15 Jan 2004 12:20:28 +0000 (07:20 -0500)]
[NET] remove both incorrect and unneeded spinlock from sch_teql

The spinlock was held while calling functions that could block,
while simultaneously being at all times inside the context of
module init/exit.

Thanks to DaveM.

22 years agoJFS: Creating large xattr lists may cause BUG
Dave Kleikamp [Thu, 15 Jan 2004 11:03:45 +0000 (05:03 -0600)]
JFS: Creating large xattr lists may cause BUG

The bug was caused by a flag being or'ed against an unitialized value, rather
than setting the flag correctly.

22 years agoia64: If GAS can handle .align inside code, enable it via TEXT_ALIGN().
David Mosberger [Thu, 15 Jan 2004 09:51:32 +0000 (01:51 -0800)]
ia64: If GAS can handle .align inside code, enable it via TEXT_ALIGN().

22 years agoia64: Replace unwcheck shell-script with a Python script which works
David Mosberger [Thu, 15 Jan 2004 08:39:13 +0000 (00:39 -0800)]
ia64: Replace unwcheck shell-script with a Python script which works
correctly even on 32-bit hosts. As an added bonus, it's faster,
too.  Run "unwcheck" by default, but for now, don't let unwcheck
errors cause the kernel build to fail.

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.6
David S. Miller [Thu, 15 Jan 2004 07:12:42 +0000 (23:12 -0800)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.6
into nuts.ninka.net:/disk1/davem/BK/net-2.6

22 years ago[IPV6]: Add MIB:ipv6RouterAdvert netlink notification.
Shirley Ma [Thu, 15 Jan 2004 07:10:22 +0000 (23:10 -0800)]
[IPV6]: Add MIB:ipv6RouterAdvert netlink notification.

22 years ago[ATM]: Kill unused declaration in clip.c
Stephen Hemminger [Thu, 15 Jan 2004 07:03:49 +0000 (23:03 -0800)]
[ATM]: Kill unused declaration in clip.c

22 years ago[IPV6]: Do not change DEVCONF_xxx indexed based upon kernel config.
Hideaki Yoshifuji [Thu, 15 Jan 2004 06:15:45 +0000 (22:15 -0800)]
[IPV6]: Do not change DEVCONF_xxx indexed based upon kernel config.

22 years ago[IPV6]: Allow per-device max addresses configurable via sysctl.
Hideaki Yoshifuji [Thu, 15 Jan 2004 06:15:23 +0000 (22:15 -0800)]
[IPV6]: Allow per-device max addresses configurable via sysctl.

22 years agoMerge bk://linux-scsi.bkbits.net/scsi-misc-2.7
Linus Torvalds [Thu, 15 Jan 2004 05:46:12 +0000 (21:46 -0800)]
Merge bk://linux-scsi.bkbits.net/scsi-misc-2.7
into evo.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] ips fix for large mem 64bit machines
David Jeffery [Thu, 15 Jan 2004 07:53:07 +0000 (02:53 -0500)]
[PATCH] ips fix for large mem 64bit machines

This patch fixes DMA bugs on x86-64 and ia64 machines.  The driver was
using commands that only support 32bit addresses in places that could
return 64bit addresses.  One place was DMAing off the stack.  The other
place was causing problems on x86-64 machines by calling pci_map()
functions on a region allocated by pci_alloc_consistent().

22 years ago[PATCH] ips 2/2: minor fixes
David Jeffery [Thu, 15 Jan 2004 07:51:50 +0000 (02:51 -0500)]
[PATCH] ips 2/2: minor fixes

This patch fixes two minor bugs.  It allows zero length write commands
through to devices.  It also prevents the writing of any  '\0'
characters at the end of version numbers to ips's /proc/scsi files.

22 years agoFix qla2xxx Kconfig dependency problem
James Bottomley [Thu, 15 Jan 2004 07:48:46 +0000 (02:48 -0500)]
Fix qla2xxx Kconfig dependency problem