]> git.neil.brown.name Git - history.git/log
history.git
22 years ago[PATCH] ext2/3: incorrect increment of i_blocks when keeping the same xattr block
Andrew Morton [Fri, 6 Feb 2004 00:50:15 +0000 (16:50 -0800)]
[PATCH] ext2/3: incorrect increment of i_blocks when keeping the same xattr block

From: Andreas Gruenbacher <agruen@suse.de>

Here is a fix for extended attributes on ext2 and ext3, reported by
Stephen Tweedie <sct@redhat.com>.

From: Stephen Tweedie <sct@redhat.com>:

When you have an EA block that is shared between multiple inodes; AND you
then change an attribute in that on one inode, AND the new attribute value
is the same as the old, then xattr computes the new EA block, finds it
still in the cache, bumps the reference count on it (and the i_blocks field
on the inode, incidentally), and leaves it incremented because we haven't
changed EA block so there's no need to drop the refcount on the old block.

So *every* time you have more than one inode sharing an EA block and you
perform an identical write to an EA, you get a leak on both i_blocks and
the EA refcount.

This is a big problem for symlinks, which rely on correct i_blocks
accounting to determine the difference between fast and slow symlinks.
With the leak, you end up thinking that a fast symlink (ie.  one small
enough to be stored in the inode direct blocks) is slow, so you dereference
the ascii contents of the symlink as if they were a disk block address.
That typically results in EIO all over the place.

22 years ago[PATCH] oss/ad1889: correct printk of dma_addr_t
Andrew Morton [Fri, 6 Feb 2004 00:50:06 +0000 (16:50 -0800)]
[PATCH] oss/ad1889: correct printk of dma_addr_t

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

fix dma_addr_t type error with CONFIG_HIGHMEM64G=y

22 years ago[PATCH] With size > XATTR_SIZE_MAX, getxattr(2) always returns E2BIG
Andrew Morton [Fri, 6 Feb 2004 00:49:57 +0000 (16:49 -0800)]
[PATCH] With size > XATTR_SIZE_MAX, getxattr(2) always returns E2BIG

From: Andreas Gruenbacher <agruen@suse.de>

The getxattr (listxattr) syscall returns E2BIG if the buffer passed to them
is bigger than XATTR_SIZE_MAX (XATTR_LIST_MAX), no matter what buffer size is
actually required.  Here is a fix.  It also removes the xattr_alloc and
xattr_free functions which are not of much use anymore.

22 years ago[PATCH] snprintf() commentary
Andrew Morton [Fri, 6 Feb 2004 00:49:48 +0000 (16:49 -0800)]
[PATCH] snprintf() commentary

From: Paul Jackson <pj@sgi.com>

Explain the snprintf() return value.

22 years ago[PATCH] gcc-3.5: drivers/atm/atmtcp.c
Andrew Morton [Fri, 6 Feb 2004 00:49:39 +0000 (16:49 -0800)]
[PATCH] gcc-3.5: drivers/atm/atmtcp.c

drivers/atm/atmtcp.c: In function `atmtcp_c_close':
drivers/atm/atmtcp.c:258: error: invalid lvalue in assignment
drivers/atm/atmtcp.c: In function `atmtcp_create':
drivers/atm/atmtcp.c:383: error: invalid lvalue in assignment

22 years ago[PATCH] ppc64: Add readq/writeq and __raw* IO functions
Andrew Morton [Fri, 6 Feb 2004 00:49:30 +0000 (16:49 -0800)]
[PATCH] ppc64: Add readq/writeq and __raw* IO functions

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

This patch adds those for ppc64, except for iSeries which cannot do
readq/writeq easily, at least not as far as I know but I need to ask the
iSeries specialists in Rochester to be sure.  But anyway, iSeries shouldn't
use anything in fb.h anyway ...

It also add the proper tweaks & barriers to make sure reads are actually
done right away and not delayed indefinitely (making the CPU think the read
data is actually used) and add necessary write barriers on IO writes.  For
some reasons, ppc64 in 2.6 lacked some of these, opening potential races
within some drivers.

22 years ago[PATCH] ppc64: vio fix
Andrew Morton [Fri, 6 Feb 2004 00:49:20 +0000 (16:49 -0800)]
[PATCH] ppc64: vio fix

From: Anton Blanchard <anton@samba.org>

It doesn't link.  Add a chunk which got lost.

22 years ago[PATCH] ppc32: Update PowerMac dmasound driver
Andrew Morton [Fri, 6 Feb 2004 00:49:10 +0000 (16:49 -0800)]
[PATCH] ppc32: Update PowerMac dmasound driver

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

This patch was missing from my big merge.  It updates the PowerMac
"dmasound" driver.  Adds input support for some recent machines using the
tas3004 coded/mixer chip.  Code mostly written by Renzo Davoli.

This driver isn't (unfortunately) fully obsoleted by the Alsa one.  There
are lots of reports of the Alsa one not working properly on various
PowerMac machines, and some people are unhappy with Alsa in general, enough
to have ported the messy PowerMac dmasound to 2.6 :)

22 years agoMerge PPC update
Linus Torvalds [Thu, 5 Feb 2004 12:36:49 +0000 (04:36 -0800)]
Merge PPC update

22 years agoppc32: Add thermal management drivers
Benjamin Herrenschmidt [Fri, 6 Feb 2004 04:24:04 +0000 (15:24 +1100)]
ppc32: Add thermal management drivers

Adds thermal management drivers for desktop G5, Windtunnel G4s, and
recent laptops (iBook G4, aluminium 15" and 17" powerbooks)

22 years agoppc32: Fix the mac mouse button emulation code
Benjamin Herrenschmidt [Fri, 6 Feb 2004 04:17:59 +0000 (15:17 +1100)]
ppc32: Fix the mac mouse button emulation code

Move the call to mac_hid_mouse_emulate_buttongs to the
right function so it works again in console mode

22 years agoppc32: Update PowerMac cpufreq driver
Benjamin Herrenschmidt [Fri, 6 Feb 2004 04:16:06 +0000 (15:16 +1100)]
ppc32: Update PowerMac cpufreq driver

Add support for Apple latest laptops, add a warning when building
an SMP kernel (the core cpufreq doesn't scale loops_per_jiffies
properly on SMP kernels), cleanup some code.

22 years agoppc32: Bring back PowerMac swim3 floppy driver into working state
Benjamin Herrenschmidt [Fri, 6 Feb 2004 04:14:13 +0000 (15:14 +1100)]
ppc32: Bring back PowerMac swim3 floppy driver into working state

Forward port Paul's latest fixes from 2.4. This driver still need
significant work to fit into the "macio" model properly, among
others.

22 years agoppc32: Use drivers/Kconfig and move some Mac stuffs to drivers/macintosh/Kconfig
Benjamin Herrenschmidt [Fri, 6 Feb 2004 04:12:24 +0000 (15:12 +1100)]
ppc32: Use drivers/Kconfig and move some Mac stuffs to drivers/macintosh/Kconfig

22 years agoppc32: Update PowerMac laptop backlight control core
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:59:34 +0000 (14:59 +1100)]
ppc32: Update PowerMac laptop backlight control core

22 years agoppc32: Update PowerMac via-pmu driver
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:58:36 +0000 (14:58 +1100)]
ppc32: Update PowerMac via-pmu driver

Add support for G5s, add an option for controlling the server
mode setting on core99 machines and later.

Most of the /proc stuff still need to be moved to sysfs

22 years agoppc32: Update PowerMac mediabay driver
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:56:45 +0000 (14:56 +1100)]
ppc32: Update PowerMac mediabay driver

Fix timings with HZ != 100, fix resource management

22 years agoppc32: Update the PowerMac adbhid driver (ADB & laptop mouse/trackpad/keyboard)
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:54:22 +0000 (14:54 +1100)]
ppc32: Update the PowerMac adbhid driver (ADB & laptop mouse/trackpad/keyboard)

Fix emulation of some special keys, fix a few problem with laptop
keyboards. Finally, fn-backspace works as forward-delete like in Darwin :)

22 years agoADB: Minor fix, autopoll list could be lost on a failed bus reset
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:52:16 +0000 (14:52 +1100)]
ADB: Minor fix, autopoll list could be lost on a failed bus reset

22 years agoppc32: Update the PowerMac "macio" IDE driver
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:51:23 +0000 (14:51 +1100)]
ppc32: Update the PowerMac "macio" IDE driver

Add support for recent chipsets (including G5 ATA/100), update
resource management.

22 years agoppc32: Update resource management of the PowerMac SCC driver
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:49:40 +0000 (14:49 +1100)]
ppc32: Update resource management of the PowerMac SCC driver

22 years agoppc32: Update PowerMac "mesh" driver.
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:47:41 +0000 (14:47 +1100)]
ppc32: Update PowerMac "mesh" driver.

Adapt to "macio" driver infrastructure, cleanup power management, make some
functions static, fix IO accessors, remove local list of commands/directions,
etc...

This driver could use more work & study of the interesting ASIC bugs
documented in Apple source code...

Note that I'm removing support for the CHRP machines using the MESH as
part of the "Hydra" ASIC. Nobody sane really uses that, but if one of
the 3 remaining  Longtrail users want to fix that, then move Hydra to
use the "macio" model...

22 years agoppc32: Update the PowerMac 53c94 SCSI driver
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:44:47 +0000 (14:44 +1100)]
ppc32: Update the PowerMac 53c94 SCSI driver

Adapt to the "macio" driver infrastructure, cleanup IO accessors,
remove local list of command/directions, uses infos provided by
the SCSI layer. This driver certainly could use some more work.

22 years agoppc32: Update macio_asic, add some resource management
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:38:55 +0000 (14:38 +1100)]
ppc32: Update macio_asic, add some resource management

22 years agoppc32: Add some PowerMac specific PCI IDs
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:37:52 +0000 (14:37 +1100)]
ppc32: Add some PowerMac specific PCI IDs

22 years agoppc32: Fix a warning with some usages of udelay
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:36:42 +0000 (14:36 +1100)]
ppc32: Fix a warning with some usages of udelay

22 years agoppc32: refcounting fix for of_device.c
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:35:38 +0000 (14:35 +1100)]
ppc32: refcounting fix for of_device.c

22 years agoppc32: PowerMac G5 interrupt management
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:34:35 +0000 (14:34 +1100)]
ppc32: PowerMac G5 interrupt management

The cascaded northbridge MPIC is currently dealt with a special
modified version of open_pic.c (open_pic2.c). A better mecanism
will have to be found for 2.7

22 years agoppc32: Fix time calibration on some G4 models
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:32:38 +0000 (14:32 +1100)]
ppc32: Fix time calibration on some G4 models

22 years agoppc32: Fix PowerMac SMP to work with G5s
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:31:37 +0000 (14:31 +1100)]
ppc32: Fix PowerMac SMP to work with G5s

22 years agoppc32: Add support for PowerMac G5 HT/PCI & AGP busses
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:30:42 +0000 (14:30 +1100)]
ppc32: Add support for PowerMac G5 HT/PCI & AGP busses

22 years agoppc32: Update PowerMac i2c management
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:29:33 +0000 (14:29 +1100)]
ppc32: Update PowerMac i2c management

Create a low-level synchronous implementation suitable for use
by the early boot platform code or other places where the
asynchronous driver isn't useable. This also exports the locks
used by the real driver to avoid collisions.
Use this new implementation to properly setup the clock chip
at boot on Apple latest laptops

22 years agoppc32: Update PowerMac motherboard support
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:22:25 +0000 (14:22 +1100)]
ppc32: Update PowerMac motherboard support
add support for newer laptops and G5 desktops

22 years agoppc32: Rework nvram management
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:20:56 +0000 (14:20 +1100)]
ppc32: Rework nvram management

move drivers/macintosh/nvram.c to drivers/char/generic_nvram.c,
update platform hooks,
fix powermac nvram driver for newer machines

22 years agoppc32: Fix PCI<->OF linkage for G5s AGP bus
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:15:35 +0000 (14:15 +1100)]
ppc32: Fix PCI<->OF linkage for G5s AGP bus

22 years agoppc32: Update register definitions for Apple chipsets
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:14:19 +0000 (14:14 +1100)]
ppc32: Update register definitions for Apple chipsets

22 years agoppc32: Fix parsing of Open Firmware interrupt tree on G5
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:13:27 +0000 (14:13 +1100)]
ppc32: Fix parsing of Open Firmware interrupt tree on G5

22 years agoppc32: Fix initialisation of the POWER4 / G5 MMU Hash table
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:12:02 +0000 (14:12 +1100)]
ppc32: Fix initialisation of the POWER4 / G5 MMU Hash table
especially related to the use of the btext early debug text
engine

22 years agoppc32: Fix release_OF_resource() function.
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:02:48 +0000 (14:02 +1100)]
ppc32: Fix release_OF_resource() function.
It would fail to properly release the resource if taken over
by the macio device resource hierarchy. This could still use
some locking, but the io resource lock isn't exported

22 years agoppc32: Flush the Hash PTE in ptep_test_and_clear_young()
Benjamin Herrenschmidt [Fri, 6 Feb 2004 03:00:29 +0000 (14:00 +1100)]
ppc32: Flush the Hash PTE in ptep_test_and_clear_young()
Without this, page aging is broken on ppc32

22 years agoppc32: fix a possible race in pte_free()
Benjamin Herrenschmidt [Fri, 6 Feb 2004 02:58:23 +0000 (13:58 +1100)]
ppc32: fix a possible race in pte_free()
Another processor could be walking the page table in the middle of the
PTE page to be freeded. Synchronize with hash_page using the lock.

22 years agoppc32: Fix smp_message_pass macro, turn into an inline function
Benjamin Herrenschmidt [Fri, 6 Feb 2004 02:56:50 +0000 (13:56 +1100)]
ppc32: Fix smp_message_pass macro, turn into an inline function

22 years agoppc32: Cleanup PowerMac SMP support
Benjamin Herrenschmidt [Fri, 6 Feb 2004 02:55:08 +0000 (13:55 +1100)]
ppc32: Cleanup PowerMac SMP support
Add a fix fox machines that don't have HW timebase sync facility

22 years agoAdd Samuel Rydth improved software CPU timebase synchronisation
Benjamin Herrenschmidt [Fri, 6 Feb 2004 02:51:37 +0000 (13:51 +1100)]
Add Samuel Rydth improved software CPU timebase synchronisation
used on machines that don't have a HW facility (or we don't drive
it yet like G5s)

22 years agoppc32: export clear_user_page, some video-for-linux drivers need it
Benjamin Herrenschmidt [Fri, 6 Feb 2004 02:44:29 +0000 (13:44 +1100)]
ppc32: export clear_user_page, some video-for-linux drivers need it

22 years agoOn G5 machines, we remap the AGP port to bus number 0xf0. XFree
Benjamin Herrenschmidt [Fri, 6 Feb 2004 02:35:14 +0000 (13:35 +1100)]
On G5 machines, we remap the AGP port to bus number 0xf0. XFree
contains a hack that is unfixable at the moment for getting the
IO base which is hard coded to bus number 0 (AGP on earlier machines).
We work around this by passing the IO base of bus 0xf0 when asked
for bus 0 in pciconfig_iobase on those machines. Bus 0 is the HT
root and has no IOs, so that is safe.

22 years agoFix processing of Open Firmware PCI host bridge "ranges" property.
Benjamin Herrenschmidt [Fri, 6 Feb 2004 02:32:24 +0000 (13:32 +1100)]
Fix processing of Open Firmware PCI host bridge "ranges" property.
We no longer modify the device tree, we use an initdata static
array instead.

22 years agoMove pmac-specific PCI quirks to pmac_pci.c, update cardbus one for new
Benjamin Herrenschmidt [Fri, 6 Feb 2004 02:29:11 +0000 (13:29 +1100)]
Move pmac-specific PCI quirks to pmac_pci.c, update cardbus one for new
TI controller, add some for fixing up ATA & SATA controllers (switch normal
ATA to fully native mode and disable unused function on G5 K2 SATA)

22 years agoSave and restore HID2 on 750FX CPUs when sleeping/resuming
Benjamin Herrenschmidt [Fri, 6 Feb 2004 02:24:53 +0000 (13:24 +1100)]
Save and restore HID2 on 750FX CPUs when sleeping/resuming

22 years agoppc32: Update/cleanup low level POWER4 & G5 CPU support
Benjamin Herrenschmidt [Fri, 6 Feb 2004 01:47:11 +0000 (12:47 +1100)]
ppc32: Update/cleanup low level POWER4 & G5 CPU support

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Thu, 5 Feb 2004 07:48:38 +0000 (23:48 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[hamradio mkiss] correctly use spinlocks
Jeff Garzik [Thu, 5 Feb 2004 12:28:51 +0000 (07:28 -0500)]
[hamradio mkiss] correctly use spinlocks

Somebody didn't build this on SMP

22 years ago[PATCH] atmel_pci build fix
David S. Miller [Thu, 5 Feb 2004 11:12:43 +0000 (06:12 -0500)]
[PATCH] atmel_pci build fix

The usual linux/init.h missing include.

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-3
Jeff Garzik [Thu, 5 Feb 2004 10:21:49 +0000 (05:21 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/netdev-alloc-3
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Thu, 5 Feb 2004 05:52:04 +0000 (21:52 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] put "kernel_thread_helper" in right linker segment
Andi Kleen [Thu, 5 Feb 2004 05:40:40 +0000 (21:40 -0800)]
[PATCH] put "kernel_thread_helper" in right linker segment

This fixes the "kernel_thread_helper" function so that it is in the
right segment (.text) regardless of any other code movement by the
compiler (eg "-funit-at-a-time").

22 years ago[PATCH] ppc64: sysrq helpers should have their active character capitalized
Andrew Morton [Thu, 5 Feb 2004 05:20:42 +0000 (21:20 -0800)]
[PATCH] ppc64: sysrq helpers should have their active character capitalized

From: Anton Blanchard <anton@samba.org>

sysrq helpers should have their active character capitalized

22 years ago[PATCH] ppc64: cpus_in_xmon needs to be a cpumask_t, from Milton Miller
Andrew Morton [Thu, 5 Feb 2004 05:20:33 +0000 (21:20 -0800)]
[PATCH] ppc64: cpus_in_xmon needs to be a cpumask_t, from Milton Miller

From: Anton Blanchard <anton@samba.org>

Also add cpu_relax() to several spinloops in xmon which wait for other cpus.

22 years ago[PATCH] ppc64: Remove pvr from the paca
Andrew Morton [Thu, 5 Feb 2004 05:20:24 +0000 (21:20 -0800)]
[PATCH] ppc64: Remove pvr from the paca

From: Anton Blanchard <anton@samba.org>

Slowly removing non essential things from the paca

22 years ago[PATCH] ppc64: use smp_processor_id everywhere
Andrew Morton [Thu, 5 Feb 2004 05:20:15 +0000 (21:20 -0800)]
[PATCH] ppc64: use smp_processor_id everywhere

From: anton@samba.org

use smp_processor_id everywhere

22 years ago[PATCH] ppc64: Fix another numa bug
Andrew Morton [Thu, 5 Feb 2004 05:20:06 +0000 (21:20 -0800)]
[PATCH] ppc64: Fix another numa bug

From: anton@samba.org

In some cases we can merge reserved regions with the next node.  There was a
bug in the way we calculated the overlapping region which caused us to fail
during boot.

22 years ago[PATCH] ppc64: use drivers/Kconfig
Andrew Morton [Thu, 5 Feb 2004 05:19:57 +0000 (21:19 -0800)]
[PATCH] ppc64: use drivers/Kconfig

From: anton@samba.org

use drivers/Kconfig

22 years ago[PATCH] ppc64: Fix pcibios_scan_all_fns on iSeries, from Jake Moilanen
Andrew Morton [Thu, 5 Feb 2004 05:19:48 +0000 (21:19 -0800)]
[PATCH] ppc64: Fix pcibios_scan_all_fns on iSeries, from Jake Moilanen

From: anton@samba.org

Fix pcibios_scan_all_fns on iSeries, from Jake Moilanen

22 years ago[PATCH] ppc64: Added definition of viomajortype_scsi, from Dave Boutcher
Andrew Morton [Thu, 5 Feb 2004 05:19:39 +0000 (21:19 -0800)]
[PATCH] ppc64: Added definition of viomajortype_scsi, from Dave Boutcher

From: anton@samba.org

Added definition of viomajortype_scsi so drivers/scsi/iSeries_vscsi will
compile

22 years ago[PATCH] ppc64: integrate vio.c with 2.6 driver model
Andrew Morton [Thu, 5 Feb 2004 05:19:30 +0000 (21:19 -0800)]
[PATCH] ppc64: integrate vio.c with 2.6 driver model

From: anton@samba.org

From: Hollis Blanchard <hollisb@us.ibm.com>

integrate vio.c with 2.6 driver model

22 years ago[PATCH] ppc64: Fixes for OF device tree update code, from Nathan Lynch
Andrew Morton [Thu, 5 Feb 2004 05:19:20 +0000 (21:19 -0800)]
[PATCH] ppc64: Fixes for OF device tree update code, from Nathan Lynch

From: anton@samba.org

Fixes for OF device tree update code, from Nathan Lynch

22 years ago[PATCH] ppc64: Fix compiler warnings, from Olof Johansson
Andrew Morton [Thu, 5 Feb 2004 05:19:11 +0000 (21:19 -0800)]
[PATCH] ppc64: Fix compiler warnings, from Olof Johansson

From: anton@samba.org

Fix compiler warnings, from Olof Johansson

22 years ago[PATCH] ppc64: change HSC -> HVSC
Andrew Morton [Thu, 5 Feb 2004 05:19:02 +0000 (21:19 -0800)]
[PATCH] ppc64: change HSC -> HVSC

From: anton@samba.org

change HSC -> HVSC

22 years ago[PATCH] ppc64: Fix up iseries updatepp, from Ben Herrenschmidt
Andrew Morton [Thu, 5 Feb 2004 05:18:53 +0000 (21:18 -0800)]
[PATCH] ppc64: Fix up iseries updatepp, from Ben Herrenschmidt

From: anton@samba.org

Fix up iseries updatepp, from Ben Herrenschmidt

22 years ago[PATCH] ppc64: fix up hvc console dev/devfs name, from Milton Miller
Andrew Morton [Thu, 5 Feb 2004 05:18:44 +0000 (21:18 -0800)]
[PATCH] ppc64: fix up hvc console dev/devfs name, from Milton Miller

From: anton@samba.org

fix up hvc console dev/devfs name, from Milton Miller

22 years ago[PATCH] ppc64: move hypervisor console code into its own file
Andrew Morton [Thu, 5 Feb 2004 05:18:34 +0000 (21:18 -0800)]
[PATCH] ppc64: move hypervisor console code into its own file

From: anton@samba.org

From: Hollis Blanchard <hollisb@us.ibm.com>

move hypervisor console code into its own file

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Thu, 5 Feb 2004 05:07:47 +0000 (21:07 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] remove ide_dma_queued_* ops from ide_hwif_t
Bartlomiej Zolnierkiewicz [Thu, 5 Feb 2004 04:39:37 +0000 (20:39 -0800)]
[PATCH] remove ide_dma_queued_* ops from ide_hwif_t

TCQ code is host independent so remove redundant ide_dma_queued_* ops from
ide_hwif_t.  If we ever decide to bring back TCQ support this will fix OOPS
in ide-disk driver with CONFIG_BLK_DEV_IDE_TCQ_DEFAULT=y and icside/sgiioc4
host drivers (it will also enable TCQ support for these host drivers).

Acked by Jens.

22 years ago[PATCH] remove unused __ide_dma_retune() and ide_hwif_t->ide_dma_retune
Bartlomiej Zolnierkiewicz [Thu, 5 Feb 2004 04:39:28 +0000 (20:39 -0800)]
[PATCH] remove unused __ide_dma_retune() and ide_hwif_t->ide_dma_retune

First introduced in kernel 2.3.99-pre3 (added to ide_dmaproc) and never used.

22 years ago[PATCH] ide-io.c: remove unused unplugged iops
Bartlomiej Zolnierkiewicz [Thu, 5 Feb 2004 04:39:18 +0000 (20:39 -0800)]
[PATCH] ide-io.c: remove unused unplugged iops

Introduced in kernel 2.5.63 and never used.

22 years ago[PATCH] remove unused ide_devices_t from ide.c and ide.h
Bartlomiej Zolnierkiewicz [Thu, 5 Feb 2004 04:39:11 +0000 (20:39 -0800)]
[PATCH] remove unused ide_devices_t from ide.c and ide.h

Introduced in kernel 2.5.35 and never used.

22 years ago[PATCH] remove CONFIG_IDEDMA_PCI_WIP
Bartlomiej Zolnierkiewicz [Thu, 5 Feb 2004 04:39:00 +0000 (20:39 -0800)]
[PATCH] remove CONFIG_IDEDMA_PCI_WIP

Fix CONFIG_HPT34X_AUTODMA to depend directly on CONFIG_EXPERIMENTAL
and finally remove CONFIG_IDEDMA_PCI_WIP.

22 years ago[PATCH] remove dead CONFIG_IDEDMA_NEW_DRIVE_LISTINGS
Bartlomiej Zolnierkiewicz [Thu, 5 Feb 2004 04:38:50 +0000 (20:38 -0800)]
[PATCH] remove dead CONFIG_IDEDMA_NEW_DRIVE_LISTINGS

Leftover after switch to IDE DMA Model-Firmware blacklist in kernel 2.5.63.

22 years ago[PATCH] fix 'cat /proc/ide/<cd|dvd>/identify' hang (CONFIG_IDE_TASKFILE=y)
Bartlomiej Zolnierkiewicz [Thu, 5 Feb 2004 04:38:40 +0000 (20:38 -0800)]
[PATCH] fix 'cat /proc/ide/<cd|dvd>/identify' hang (CONFIG_IDE_TASKFILE=y)

Some devices need more time to become non-busy after command completion,
so use the same timeout in wait_drive_not_busy() (called from task_in_intr()
if CONFIG_IDE_TASKFILE_IO=y) as in drive_cmd_intr().

Thanks to Mark Haverkamp <markh@osdl.org> for help in fixing this.

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Thu, 5 Feb 2004 04:23:29 +0000 (20:23 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Thu, 5 Feb 2004 03:57:15 +0000 (19:57 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Thu, 5 Feb 2004 03:28:12 +0000 (19:28 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] scsi/ppa.c cleanup and fixes (9/9)
Alexander Viro [Thu, 5 Feb 2004 01:47:48 +0000 (17:47 -0800)]
[PATCH] scsi/ppa.c cleanup and fixes (9/9)

* don't take the unnecessary ->host_lock around ->scsi_done() call.

22 years ago[PATCH] scsi/ppa.c cleanup and fixes (8/9)
Alexander Viro [Thu, 5 Feb 2004 01:47:39 +0000 (17:47 -0800)]
[PATCH] scsi/ppa.c cleanup and fixes (8/9)

* switched to proper parport_driver.

22 years ago[PATCH] scsi/ppa.c cleanup and fixes (7/9)
Alexander Viro [Thu, 5 Feb 2004 01:47:30 +0000 (17:47 -0800)]
[PATCH] scsi/ppa.c cleanup and fixes (7/9)

* switched to use ->hostdata to get ppa_struct from Scsi_Host, end
of messing with ppa_hosts[]

22 years ago[PATCH] scsi/ppa.c cleanup and fixes (6/9)
Alexander Viro [Thu, 5 Feb 2004 01:47:21 +0000 (17:47 -0800)]
[PATCH] scsi/ppa.c cleanup and fixes (6/9)

* fixed missing wakeups in ppa_pb_claim()/ppa_wakeup() - if the
former had been called just as current holder of port was giving it up,
we could set "I'm waiting" flag too late.  Cleaned up the timeout logics.

22 years ago[PATCH] scsi/ppa.c cleanup and fixes (5/9)
Alexander Viro [Thu, 5 Feb 2004 01:47:09 +0000 (17:47 -0800)]
[PATCH] scsi/ppa.c cleanup and fixes (5/9)

* starting to kill ppa_detect - we move the "probe a single port"
logics into a separate function and shift scanning into ppa_driver_init().
Later that will give us a parport_driver ->attach().

22 years ago[PATCH] scsi/ppa.c cleanup and fixes (4/9)
Alexander Viro [Thu, 5 Feb 2004 01:46:34 +0000 (17:46 -0800)]
[PATCH] scsi/ppa.c cleanup and fixes (4/9)

* killed include of scsi_module.h and switched from scsi_register()
to scsi_alloc_host().  We still keep the old detect logics at that point,
it will be gone later.

22 years ago[PATCH] scsi/ppa.c cleanup and fixes (3/9)
Alexander Viro [Thu, 5 Feb 2004 01:45:53 +0000 (17:45 -0800)]
[PATCH] scsi/ppa.c cleanup and fixes (3/9)

* killed ppa_pb_claim() call in ppa_init()

22 years ago[PATCH] scsi/ppa.c cleanup and fixes (2/9)
Alexander Viro [Thu, 5 Feb 2004 01:45:08 +0000 (17:45 -0800)]
[PATCH] scsi/ppa.c cleanup and fixes (2/9)

* switched ppa to passing around references to ppa_struct instead
of host numbers.

22 years ago[PATCH] scsi/ppa.c cleanup and fixes (1/9)
Alexander Viro [Thu, 5 Feb 2004 01:44:13 +0000 (17:44 -0800)]
[PATCH] scsi/ppa.c cleanup and fixes (1/9)

* ppa.c fed through Lindent, functions unused elsewhere (by now -
  all of them) made static.

22 years ago[PATCH] scsi/imm.c cleanup and fixes (8/8)
Alexander Viro [Thu, 5 Feb 2004 01:43:11 +0000 (17:43 -0800)]
[PATCH] scsi/imm.c cleanup and fixes (8/8)

* switched to proper parport_driver.

22 years ago[PATCH] scsi/imm.c cleanup and fixes (7/8)
Alexander Viro [Thu, 5 Feb 2004 01:41:59 +0000 (17:41 -0800)]
[PATCH] scsi/imm.c cleanup and fixes (7/8)

* switched to use ->hostdata to get imm_struct from Scsi_Host, end
of messing with imm_hosts[]

22 years ago[PATCH] scsi/imm.c cleanup and fixes (6/8)
Alexander Viro [Thu, 5 Feb 2004 01:40:55 +0000 (17:40 -0800)]
[PATCH] scsi/imm.c cleanup and fixes (6/8)

* fixed missing wakeups in imm_pb_claim()/imm_wakeup() - if the
former had been called just as current holder of port was giving it up,
we could set "I'm waiting" flag too late.  Cleaned up the timeout logics.

22 years ago[PATCH] scsi/imm.c cleanup and fixes (5/8)
Alexander Viro [Thu, 5 Feb 2004 01:39:40 +0000 (17:39 -0800)]
[PATCH] scsi/imm.c cleanup and fixes (5/8)

* starting to kill imm_detect - we move the "probe a single port"
logics into a separate function and shift scanning into imm_driver_init().
Later that will give us a parport_driver ->attach().

22 years ago[PATCH] scsi/imm.c cleanup and fixes (4/8)
Alexander Viro [Thu, 5 Feb 2004 01:38:20 +0000 (17:38 -0800)]
[PATCH] scsi/imm.c cleanup and fixes (4/8)

* killed include of scsi_module.h and switched from scsi_register()
to scsi_alloc_host().  We still keep the old detect logics at that point,
it will be gone later.

22 years ago[PATCH] scsi/imm.c cleanup and fixes (3/8)
Alexander Viro [Thu, 5 Feb 2004 01:36:55 +0000 (17:36 -0800)]
[PATCH] scsi/imm.c cleanup and fixes (3/8)

* killed imm_pb_claim() call in imm_init()

22 years ago[PATCH] scsi/imm.c cleanup and fixes (2/8)
Alexander Viro [Thu, 5 Feb 2004 01:35:29 +0000 (17:35 -0800)]
[PATCH] scsi/imm.c cleanup and fixes (2/8)

* switched imm to passing around references to imm_struct instead
of host numbers.

22 years ago[PATCH] scsi/imm.c cleanup and fixes (1/8)
Alexander Viro [Thu, 5 Feb 2004 01:34:01 +0000 (17:34 -0800)]
[PATCH] scsi/imm.c cleanup and fixes (1/8)

* imm.c fed through Lindent, functions unused elsewhere (by now -
  all of them) made static.

22 years ago[PATCH] paride cleanup and fixes (25/25)
Alexander Viro [Thu, 5 Feb 2004 01:32:24 +0000 (17:32 -0800)]
[PATCH] paride cleanup and fixes (25/25)

paride has a ->private field for use by low-level drivers.  It's not
64bit-clean - it's int, but is used to store a pointer (bpck6).
Fix: replace with unsigned long, update typecasts in users.