]> git.hungrycats.org Git - linux/log
linux
22 years agoMerge ppc970.osdl.org:/home/torvalds/v2.5/mips
Linus Torvalds [Fri, 20 Feb 2004 09:33:47 +0000 (01:33 -0800)]
Merge ppc970.osdl.org:/home/torvalds/v2.5/mips
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] MIPS mega-patch
Andrew Morton [Fri, 20 Feb 2004 09:33:18 +0000 (01:33 -0800)]
[PATCH] MIPS mega-patch

From: Ralf Baechle <ralf@linux-mips.org>

Below following 125547 lines of patches, all to arch/mips and
include/asm-mips.  I'm going to send the remaining stuff of which the one
or other bit may need to be discussed in smaller bits.

22 years agoMerge bk://bk.linux1394.org/ieee1394-2.6
Linus Torvalds [Fri, 20 Feb 2004 09:16:08 +0000 (01:16 -0800)]
Merge bk://bk.linux1394.org/ieee1394-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge http://linux.bkbits.net/linux-2.5
Ben Collins [Fri, 20 Feb 2004 14:11:20 +0000 (09:11 -0500)]
Merge http://linux.bkbits.net/linux-2.5
into debian.org:/usr/src/kernel/ieee1394-2.6

22 years agoIEEE1394: Revision sync
Ben Collins [Fri, 20 Feb 2004 13:44:21 +0000 (08:44 -0500)]
IEEE1394: Revision sync

22 years agoIEEE1394/SBP2(r1144): Convert sbp2 to do one scsi_host per unit-directory.
Ben Collins [Fri, 20 Feb 2004 13:37:15 +0000 (08:37 -0500)]
IEEE1394/SBP2(r1144): Convert sbp2 to do one scsi_host per unit-directory.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Fri, 20 Feb 2004 09:12:36 +0000 (01:12 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[ARM PATCH] 1670/1: PXA serial driver
Holger Schurig [Fri, 20 Feb 2004 16:52:31 +0000 (16:52 +0000)]
[ARM PATCH] 1670/1: PXA serial driver

Patch from Holger Schurig

PXA Serial port (FFUART, BTUART, STUART) and console support

This patch works perfectly here with "console=ttyS0,115200" in the
kernel command line. It contains Jean-frederic Clere fix to detect
STUART and BTUART.

Nico said that I should post it to your patch tracker. It replaces patch 1662/1

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 20 Feb 2004 09:06:58 +0000 (01:06 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[ARM] Fix Acorn VIDC sound driver.
Russell King [Fri, 20 Feb 2004 22:58:35 +0000 (22:58 +0000)]
[ARM] Fix Acorn VIDC sound driver.

Update the Acorn VIDC sound interrupt handler to return IRQ_HANDLED.

22 years ago[ARM] Fix ambakmi to use amba_request_regions() and the correct IRQ.
Russell King [Fri, 20 Feb 2004 19:53:49 +0000 (19:53 +0000)]
[ARM] Fix ambakmi to use amba_request_regions() and the correct IRQ.

22 years ago[ARM] Make Acorn I2C build again.
Russell King [Fri, 20 Feb 2004 19:42:14 +0000 (19:42 +0000)]
[ARM] Make Acorn I2C build again.

Unfortunately some i2c drivers were missed when the "name" element of
struct device was removed.  This cset fixes these drivers.

22 years ago[ARM PATCH] 1761/1: Remove SA1111_PCI_FAKEDEV (take 2)
Deepak Saxena [Fri, 20 Feb 2004 19:24:06 +0000 (19:24 +0000)]
[ARM PATCH] 1761/1: Remove SA1111_PCI_FAKEDEV (take 2)

Patch from Deepak Saxena

Follows your suggestion and also removes the #ifdef around
pci_unmap_addr and friends. Since pci.h should only be getting
included if PCI is enabled by PCI drivers and core, we shouldn't
need the NOP version.

22 years ago[ARM PATCH] 1759/1: Add ARM925 support, updated
Tony Lindgren [Fri, 20 Feb 2004 10:09:26 +0000 (10:09 +0000)]
[ARM PATCH] 1759/1: Add ARM925 support, updated

Patch from Tony Lindgren

The following patch adds the ARM925 processor support.

This patch is based on the proc-arm925.S in 2.4 kernel, and it has been
modified to be more like the ARM926 support in the 2.6 kernel, except for
the cache flushing and initialization. Also, this patch fixes the
writeback cache flushing for most part.

There are still some issues with writeback cache flushing with devices
using direct memory access, such as USB OHCI. It is recommended to use
the writethrough instead if using USB. This is the default for OMAP-1510.
OMAP-1610 does not have these issues, as it uses ARM926 core.

This patch includes the update for the processor functions to be armv4t
instead armv5t as suggested here:

http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=1740/1

22 years agoFix silly thinko in sungem network driver.
Linus Torvalds [Fri, 20 Feb 2004 06:29:11 +0000 (22:29 -0800)]
Fix silly thinko in sungem network driver.

From David Miller.

22 years ago[PATCH] ICS IDE is not a PCI IDE interface
Russell King [Fri, 20 Feb 2004 03:57:08 +0000 (19:57 -0800)]
[PATCH] ICS IDE is not a PCI IDE interface

Don't list icside.o in drivers/ide/pci/Makefile - it's in drivers/ide/arm.

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
Linus Torvalds [Fri, 20 Feb 2004 03:26:10 +0000 (19:26 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] PCI Hotplug: fix build warnings on 64 bit processors
Greg Kroah-Hartman [Fri, 20 Feb 2004 02:25:25 +0000 (18:25 -0800)]
[PATCH] PCI Hotplug: fix build warnings on 64 bit processors

22 years agoMerge kernel.bkbits.net:/home/wesolows/sparc32-2.6
David S. Miller [Fri, 20 Feb 2004 01:23:30 +0000 (17:23 -0800)]
Merge kernel.bkbits.net:/home/wesolows/sparc32-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[PATCH] PCI: update MSI Documentation
Martine Silbermann [Fri, 20 Feb 2004 01:20:38 +0000 (17:20 -0800)]
[PATCH] PCI: update MSI Documentation

After getting feedback from Tom,I made some changes to the patch
Attached is a revised version.

22 years agoMerge kroah.com:/home/linux/BK/bleed-2.6
Greg Kroah-Hartman [Fri, 20 Feb 2004 00:57:34 +0000 (16:57 -0800)]
Merge kroah.com:/home/linux/BK/bleed-2.6
into kroah.com:/home/linux/BK/pci-2.6

22 years agoMerge kernel.bkbits.net:/home/repos/linux-2.5
Keith M. Wesolowski [Thu, 19 Feb 2004 16:15:19 +0000 (08:15 -0800)]
Merge kernel.bkbits.net:/home/repos/linux-2.5
into kernel.bkbits.net:/home/wesolows/sparc32-2.6

22 years agoMerge ssh://kernel.bkbits.net/sparc32-2.6
Keith M. Wesolowski [Thu, 19 Feb 2004 16:05:27 +0000 (08:05 -0800)]
Merge ssh://kernel.bkbits.net/sparc32-2.6
into foobazco.org:/sources/2.5-sparc-todave

22 years ago[SPARC32]: Nuke a.out build cruft
Keith M. Wesolowski [Thu, 19 Feb 2004 15:58:02 +0000 (07:58 -0800)]
[SPARC32]: Nuke a.out build cruft

This removes C_LABEL and asm/cprefix.h as well as NEW_GAS.  These were
used to support building on SunOS and with ancient binutils.

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Thu, 19 Feb 2004 15:36:17 +0000 (07:36 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years agoMerge bk://kernel.bkbits.net/wesolows/sparc32-2.6
David S. Miller [Thu, 19 Feb 2004 15:30:03 +0000 (07:30 -0800)]
Merge bk://kernel.bkbits.net/wesolows/sparc32-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years ago[SPARC64]: Update defconfig.
David S. Miller [Thu, 19 Feb 2004 15:15:37 +0000 (07:15 -0800)]
[SPARC64]: Update defconfig.

22 years ago[SPARC32]: Do similar macro casting for {in,out}{b,w,l}() as we do for {read
Keith M. Wesolowski [Thu, 19 Feb 2004 15:15:19 +0000 (07:15 -0800)]
[SPARC32]: Do similar macro casting for {in,out}{b,w,l}() as we do for {read
,write}{b,w,l,q}().

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Thu, 19 Feb 2004 15:08:54 +0000 (07:08 -0800)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years agoInclude the <linux/dma-mapping.h> header file for DMA mapping.
Linus Torvalds [Thu, 19 Feb 2004 14:48:46 +0000 (06:48 -0800)]
Include the <linux/dma-mapping.h> header file for DMA mapping.

You know you want it. Give it to me.

22 years ago[SPARC64]: Do similar macro casting for {in,out}{b,w,l}() as we do for {read,write...
David S. Miller [Thu, 19 Feb 2004 14:26:24 +0000 (06:26 -0800)]
[SPARC64]: Do similar macro casting for {in,out}{b,w,l}() as we do for {read,write}{b,w,l,q}().

22 years ago[I2C]: Use correct port address typing in i2c-elv.c
David S. Miller [Thu, 19 Feb 2004 14:21:35 +0000 (06:21 -0800)]
[I2C]: Use correct port address typing in i2c-elv.c

22 years ago[PATCH] initial support for transmeta's efficeon processors
Carlos Puchol [Thu, 19 Feb 2004 14:14:58 +0000 (06:14 -0800)]
[PATCH] initial support for transmeta's efficeon processors

This implements the initial support for the AGP gart in Transmeta's
Efficeon processors.

This code is based on linus' code from a while ago.  Peter and I adapted
it for the current kernel.

The note at the top indicates how it was tested, known issues, and so
forth.  It is working quite well, and we'll work to fix the minor issues
and test it some more with s3, more cards, other southbridges, etc.,
next.

22 years agoIEEE1394(r1143): Fix FCP requests, broken by my change for list_for_each_entry().
Ben Collins [Thu, 19 Feb 2004 14:06:00 +0000 (09:06 -0500)]
IEEE1394(r1143): Fix FCP requests, broken by my change for list_for_each_entry().

22 years ago[MEDIA]: Use '%z' printf format for size_t/ptrdiff_t types in w9968cf.c.
David S. Miller [Thu, 19 Feb 2004 14:04:44 +0000 (06:04 -0800)]
[MEDIA]: Use '%z' printf format for size_t/ptrdiff_t types in w9968cf.c.

22 years ago[SUNDANCE]: Fix casting so u64 printk does not warn on some 64-bit platforms.
David S. Miller [Thu, 19 Feb 2004 14:00:29 +0000 (06:00 -0800)]
[SUNDANCE]: Fix casting so u64 printk does not warn on some 64-bit platforms.

22 years ago[SKFDDI]: Use unsigned long for resource base/size.
David S. Miller [Thu, 19 Feb 2004 13:54:31 +0000 (05:54 -0800)]
[SKFDDI]: Use unsigned long for resource base/size.

22 years ago[MEDIA]: Use '%z' printf format for size_t.
David S. Miller [Thu, 19 Feb 2004 13:52:24 +0000 (05:52 -0800)]
[MEDIA]: Use '%z' printf format for size_t.

22 years ago[MEDIA]: Print out pointers correctly in dst.c
David S. Miller [Thu, 19 Feb 2004 13:47:33 +0000 (05:47 -0800)]
[MEDIA]: Print out pointers correctly in dst.c

22 years ago[SMBFS]: Use '%z' printf format for size_t types.
David S. Miller [Thu, 19 Feb 2004 13:45:04 +0000 (05:45 -0800)]
[SMBFS]: Use '%z' printf format for size_t types.

22 years ago[PATCH] fix /proc/ide/<chipset> for IDE PCI modules
Bartlomiej Zolnierkiewicz [Thu, 19 Feb 2004 13:43:37 +0000 (05:43 -0800)]
[PATCH] fix /proc/ide/<chipset> for IDE PCI modules

Make IDE PCI drivers register /proc/ide/<chipset> entries themselves.

22 years ago[NFSD]: Fix u64 printk warnings on some 64-bit platforms.
David S. Miller [Thu, 19 Feb 2004 13:43:30 +0000 (05:43 -0800)]
[NFSD]: Fix u64 printk warnings on some 64-bit platforms.

22 years ago[PATCH] remove unused ide_end_taskfile()
Bartlomiej Zolnierkiewicz [Thu, 19 Feb 2004 13:43:26 +0000 (05:43 -0800)]
[PATCH] remove unused ide_end_taskfile()

Additionally ide_end_drive_cmd() contains all functionality of this function.

22 years ago[PATCH] remove dead/unfinished taskfile version of ide_cmd_ioctl()
Bartlomiej Zolnierkiewicz [Thu, 19 Feb 2004 13:43:17 +0000 (05:43 -0800)]
[PATCH] remove dead/unfinished taskfile version of ide_cmd_ioctl()

22 years ago[PATCH] remove bogus comment and code from ide_unregister_driver()
Bartlomiej Zolnierkiewicz [Thu, 19 Feb 2004 13:43:08 +0000 (05:43 -0800)]
[PATCH] remove bogus comment and code from ide_unregister_driver()

When ide_remove_proc_entries() is called, driver specific /proc/ide/hdx/
entries have been already removed by ->cleanup()->ide_unregister_subdriver().

22 years ago[PATCH] kill default_flushcache() and ide_drive_t->flushcache
Bartlomiej Zolnierkiewicz [Thu, 19 Feb 2004 13:42:59 +0000 (05:42 -0800)]
[PATCH] kill default_flushcache() and ide_drive_t->flushcache

22 years ago[PATCH] kill default_shutdown() and ide_drive_t->shutdown
Bartlomiej Zolnierkiewicz [Thu, 19 Feb 2004 13:42:50 +0000 (05:42 -0800)]
[PATCH] kill default_shutdown() and ide_drive_t->shutdown

22 years ago[PATCH] kill useless IDE_SUBDRIVER_VERSION
Bartlomiej Zolnierkiewicz [Thu, 19 Feb 2004 13:42:40 +0000 (05:42 -0800)]
[PATCH] kill useless IDE_SUBDRIVER_VERSION

22 years ago[PATCH] keep documentation of kernel parameters in one place only
Bartlomiej Zolnierkiewicz [Thu, 19 Feb 2004 13:42:31 +0000 (05:42 -0800)]
[PATCH] keep documentation of kernel parameters in one place only

22 years ago[PATCH] remove dead kernel parameters
Bartlomiej Zolnierkiewicz [Thu, 19 Feb 2004 13:42:22 +0000 (05:42 -0800)]
[PATCH] remove dead kernel parameters

Remove "hdx=flash" (ignored since 2.5.63) and "hdx=slow"
(ignored since 2.5.41) kernel parameters.

Also remove "slow" entry from /proc/ide/hdx/settings
and "ata_flash", "nobios" and "slow" fields from ide_drive_t.

22 years ago[PATCH] x86_64 uniproc build fix
Andrew Morton [Thu, 19 Feb 2004 13:42:12 +0000 (05:42 -0800)]
[PATCH] x86_64 uniproc build fix

From: Andi Kleen <ak@suse.de>

This fixes some more problems introduced by the IA32e merge on x86-64

- Make it compile on UP again.
- Let the microcode driver build as a module

22 years ago[PATCH] smbfs: remove debug code
Andrew Morton [Thu, 19 Feb 2004 13:42:02 +0000 (05:42 -0800)]
[PATCH] smbfs: remove debug code

Remove an unneeded WSET() which snuck in there.

22 years ago[PATCH] Fix the display of max-ever-used-stack in sysrq-T output
Andrew Morton [Thu, 19 Feb 2004 13:41:53 +0000 (05:41 -0800)]
[PATCH] Fix the display of max-ever-used-stack in sysrq-T output

The sysrq-T output currently tries to display the mimimum amount of free
stack which each task has ever had available.  It has been busted for years,
because we forgot to zero out the stack when it is first created.

Fix that up, adding a conig option for it.

If the option is disabled, or the arch is not x86 then the free stack usage
will display as zero.

22 years ago[PATCH] v850 ptrace.c task_struct leak
Andrew Morton [Thu, 19 Feb 2004 13:41:44 +0000 (05:41 -0800)]
[PATCH] v850 ptrace.c task_struct leak

From: Herbert Poetzl <herbert@13thfloor.at>

sys_ptrace() for v850, if pid == 1, doesn't put the struct task_struct
(child), the following patch should fix that ...

22 years ago[PATCH] ppc64 compile fix
Andrew Morton [Thu, 19 Feb 2004 13:41:35 +0000 (05:41 -0800)]
[PATCH] ppc64 compile fix

From: Arjan van de Ven <arjanv@redhat.com>

fix obvious non-C-standard stubs on ppc64

22 years ago[I2C]: If comparing against ULONG_MAX, use ulong type, in lm85.c
David S. Miller [Thu, 19 Feb 2004 13:39:24 +0000 (05:39 -0800)]
[I2C]: If comparing against ULONG_MAX, use ulong type, in lm85.c

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
Linus Torvalds [Thu, 19 Feb 2004 13:39:11 +0000 (05:39 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

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

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/e100-2
Jeff Garzik [Thu, 19 Feb 2004 17:56:14 +0000 (12:56 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/e100-2
into redhat.com:/spare/repo/net-drivers-2.5

22 years ago[FREEVXFS]: Fix u64 printk warnings on some 64-bit platforms.
David S. Miller [Thu, 19 Feb 2004 13:38:03 +0000 (05:38 -0800)]
[FREEVXFS]: Fix u64 printk warnings on some 64-bit platforms.

22 years ago[PATCH] Fix a DMA underrun problem with pmac IDE
Benjamin Herrenschmidt [Thu, 19 Feb 2004 13:36:48 +0000 (05:36 -0800)]
[PATCH] Fix a DMA underrun problem with pmac IDE

This fixes the behaviour of the pmac "macio" IDE driver when a DMA
transfer happen to get less data out of the device than expected when
setting up the DMA commands (the device underruns).  This is very common
with recent ATAPI stuffs and used to cause problem & disable DMA.  This
patch fixes the way we handle that condition, thus also fixing DVD
burning on a bunch of recent pmacs.

22 years ago[PATCH] Be careful about memory ordering in sungem driver
Benjamin Herrenschmidt [Thu, 19 Feb 2004 13:36:39 +0000 (05:36 -0800)]
[PATCH] Be careful about memory ordering in sungem driver

Some barriers between setting up the DMA regions and writing the
descriptor addresses would be most useful.

I had some in my 2.4 version but they got lost someway, probably me not
properly merging with davem at this point.  The 970 is definitely more
agressive at re-ordering stores than previous CPUs...

Here is a patch adding some (probably too much, but better safe than
sorry).

22 years ago[I2C]: Fix resource address typing in i2c-voodoo3.c
David S. Miller [Thu, 19 Feb 2004 13:30:34 +0000 (05:30 -0800)]
[I2C]: Fix resource address typing in i2c-voodoo3.c

22 years ago[I2C]: Use correct port address types in i2c-velleman.c
David S. Miller [Thu, 19 Feb 2004 13:29:27 +0000 (05:29 -0800)]
[I2C]: Use correct port address types in i2c-velleman.c

22 years ago[I2C]: Fix resource address typing.
David S. Miller [Thu, 19 Feb 2004 13:27:16 +0000 (05:27 -0800)]
[I2C]: Fix resource address typing.

22 years ago[SPARC64]: Update defconfig.
David S. Miller [Thu, 19 Feb 2004 13:19:03 +0000 (05:19 -0800)]
[SPARC64]: Update defconfig.

22 years ago[ARM] URL change for linux-on-laptops
Sebastian Henschel [Thu, 19 Feb 2004 12:47:07 +0000 (12:47 +0000)]
[ARM] URL change for linux-on-laptops

Patch from: Sebastian Henschel

Attached is a cosmetic patch for arch/arm/Kconfig which updates the
URL for Kenneth's page and introduces the URL of tuxmobil.org.

22 years agoMerge
Ben Collins [Thu, 19 Feb 2004 11:07:21 +0000 (06:07 -0500)]
Merge

22 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Thu, 19 Feb 2004 09:12:16 +0000 (01:12 -0800)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/usb-2.6

22 years agoIEEE1394(r1142): Use a kernel thread to rescan devices so we don't block the writer.
Ben Collins [Thu, 19 Feb 2004 09:08:49 +0000 (04:08 -0500)]
IEEE1394(r1142): Use a kernel thread to rescan devices so we don't block the writer.

22 years agoIEEE1394(r1141): Add an "ignore_drivers" global default.
Ben Collins [Thu, 19 Feb 2004 08:33:50 +0000 (03:33 -0500)]
IEEE1394(r1141): Add an "ignore_drivers" global default.

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 19 Feb 2004 08:25:15 +0000 (00:25 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

22 years agoUSB storage: sync up with some missing unusual_devs entries that were in my tree.
Greg Kroah-Hartman [Thu, 19 Feb 2004 08:19:27 +0000 (00:19 -0800)]
USB storage: sync up with some missing unusual_devs entries that were in my tree.

22 years ago[PATCH] USB: add comments to sddr09.c
Andries E. Brouwer [Thu, 19 Feb 2004 07:42:36 +0000 (23:42 -0800)]
[PATCH] USB: add comments to sddr09.c

People ask how to write the CIS on a SmartMedia card using an sddr09
reader/writer.  The patch below documents the required command (but does
not add the code).

Two years ago or so I used this to fix the CIS on a card that my camera no
longer wanted to accept.  A Linux utility to do this might be useful, but
the problem always is that we do not really have a good mechanism.

How does one tell a driver that it has to do something special?  Add yet
another ioctl?

22 years ago[PATCH] USB: fix up compile errors in uhci driver.
Greg Kroah-Hartman [Thu, 19 Feb 2004 07:35:35 +0000 (23:35 -0800)]
[PATCH] USB: fix up compile errors in uhci driver.

22 years ago[PATCH] USB: Use driver-model logging in the UHCI driver
Alan Stern [Thu, 19 Feb 2004 07:34:39 +0000 (23:34 -0800)]
[PATCH] USB: Use driver-model logging in the UHCI driver

The main item in this patch is the conversion of the UHCI driver from
using the old usb.h logging macros to the new driver-model dev_xxx
macros.

There are a few other minor changes too: updated version number, author,
copyright, and maintainer information, removed some unneeded error
messages, added some line breaks, added a convenience macro for the device
pointer.

22 years ago[PATCH] USB: Repair unusual_devs.h entry
Alan Stern [Thu, 19 Feb 2004 07:34:09 +0000 (23:34 -0800)]
[PATCH] USB: Repair unusual_devs.h entry

On Fri, 20 Feb 2004, Gustavo Guillermo wrote:

> Ok, I tested the patch, The camera works, just as in the old Kernel,
> Thanks, I'm including as an atachment the /proc/bus/usb/devices from
> kernel 2.4.x and 2.6.x, and the kernel log for 2.4.x, but ooops, I forgot
> to biold 2.4.x with full debug, if someone need it I will do.
>
> Please include this FIX in the Next Release.

Greg, I now feel confident that this patch should be applied.

22 years ago[PATCH] USB: Another unusual_devs.h update
Alan Stern [Thu, 19 Feb 2004 07:32:56 +0000 (23:32 -0800)]
[PATCH] USB: Another unusual_devs.h update

On Thu, 19 Feb 2004, Agustin De Igartua wrote:

> Initializing USB Mass Storage driver...
> usb-storage: This device (04e6,0002,0100 S 06 P 50) has unneeded SubClass and Protocol entries in unusual_devs.h
>    Please send a copy of this message to <linux-usb-devel@lists.sourceforge.net>scsi0 : SCSI emulation for USB Mass Storage devices

Thank you for sending this in.  Greg, here's the patch.

22 years agoIEEE1394(r1140): Add a bus rescan bus_attr file, and an ignore_driver attr for ud's
Ben Collins [Thu, 19 Feb 2004 05:48:54 +0000 (00:48 -0500)]
IEEE1394(r1140): Add a bus rescan bus_attr file, and an ignore_driver attr for ud's

22 years agoIEEE1394/SBP2(r1139): Some cleanups, and a better, more unique id for ieee1394_id...
Ben Collins [Thu, 19 Feb 2004 05:45:39 +0000 (00:45 -0500)]
IEEE1394/SBP2(r1139): Some cleanups, and a better, more unique id for ieee1394_id attribute.

22 years agoia64: Back-port from libunwind: fix off-by-one error in kernel-unwinder.
David Mosberger [Thu, 19 Feb 2004 03:28:05 +0000 (19:28 -0800)]
ia64: Back-port from libunwind: fix off-by-one error in kernel-unwinder.

There are no known failures due to this bug, but it's clearly a bug and
given the right compiler, it could trigger and lead to bad stack traces etc.

22 years ago[PATCH] ia64: cleanup SN2 pci_bus_cvlink.c
Pat Gefre [Thu, 19 Feb 2004 03:06:58 +0000 (19:06 -0800)]
[PATCH] ia64: cleanup SN2 pci_bus_cvlink.c

I incorporated (at least in spirit I hope) hch's suggestions on the fixup code
put in some kfrees that I was missing and static for sn_alloc_pci_sysdata
(thanks Bartlomiej Zolnierkiewicz).  White space clean up.

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Thu, 19 Feb 2004 03:04:28 +0000 (19:04 -0800)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years ago[PATCH] ia64: clean up SN2 setup.c
Martin Hicks [Thu, 19 Feb 2004 02:50:29 +0000 (18:50 -0800)]
[PATCH] ia64: clean up SN2 setup.c

Cleanup the SN setup.c file.  Add __init and static to functions where
required.

22 years ago[PATCH] ia64: SN2 header file cleanups
Martin Hicks [Thu, 19 Feb 2004 02:49:01 +0000 (18:49 -0800)]
[PATCH] ia64: SN2 header file cleanups

Here is a patch to clean up some of the Altix header files and includes.

I've run the patch past the appropriate people at SGI and they seem happy
with the changes.

22 years ago[PATCH] ia64: on SN2, skip init_platform_hubinfo() if on the simulator
Pat Gefre [Thu, 19 Feb 2004 02:47:27 +0000 (18:47 -0800)]
[PATCH] ia64: on SN2, skip init_platform_hubinfo() if on the simulator

22 years ago[PATCH] ia64: on SN2, use the pda to count interrupts
Pat Gefre [Thu, 19 Feb 2004 02:46:32 +0000 (18:46 -0800)]
[PATCH] ia64: on SN2, use the pda to count interrupts

22 years ago[PATCH] show_task() is not SMP safe
Andrew Morton [Thu, 19 Feb 2004 00:40:04 +0000 (16:40 -0800)]
[PATCH] show_task() is not SMP safe

From: Arnd Bergmann <arnd@arndb.de>

Christian Bornträger noticed that the kernel can crash after <SysRq>-T.  It
appears that the show_task function gets called for all tasks, which does
not work if one of the tasks is running in a system call on another CPU.
In that case the result of thread_saved_pc and show_stack is undefined and
likely to cause a crash.

For tasks running in user space on other CPUs, show_task() is probably
harmless, but I'm not sure if that's true on all architectures.

The patch below is still racy for tasks that are about to sleep, but it
demonstrates the problem.

22 years ago[PATCH] show_task() fix and cleanup
Andrew Morton [Thu, 19 Feb 2004 00:39:53 +0000 (16:39 -0800)]
[PATCH] show_task() fix and cleanup

show_task() is preinting negative numbers for free stack due to arithmetic
against the wrong pointer.

Fix that up, and clean up a few related things.

show_task still has bogus code which atempts to work out how much stack the
task has ever used - it cannot work because we don't actually zero out the
stack pages when allocating them.  We should fix that, or take it out.

22 years ago[PATCH] print some x86 build options during oopses
Andrew Morton [Thu, 19 Feb 2004 00:39:43 +0000 (16:39 -0800)]
[PATCH] print some x86 build options during oopses

I find this handy sometimes: it makes the oops output include info as to
whether the user has selected CONFIG_PREEMPT, CONFIG_SMP or, particularly,
CONFIG_DEBUG_PAGEALLOC.  It can save one email round-trip.

22 years ago[PATCH] config option for irqbalance
Andrew Morton [Thu, 19 Feb 2004 00:39:33 +0000 (16:39 -0800)]
[PATCH] config option for irqbalance

From: "Martin J. Bligh" <mbligh@aracnet.com>

Make irqbalance into a config option - some people (jgarzik, arjan, etc)
wanted to be able to disable it and do things from userspace instead.  This
patch allows each camp to do their own thing, which seems fair ;-)

22 years ago[PATCH] ia32: disallow NUMA on PC subarch
Andrew Morton [Thu, 19 Feb 2004 00:39:22 +0000 (16:39 -0800)]
[PATCH] ia32: disallow NUMA on PC subarch

From: "Martin J. Bligh" <mbligh@aracnet.com>

Disallow NUMA on the i386 PC subarch (it doesn't work, nor was it intended
to).

22 years ago[PATCH] ia32: pfn_to_nid fix
Andrew Morton [Thu, 19 Feb 2004 00:39:12 +0000 (16:39 -0800)]
[PATCH] ia32: pfn_to_nid fix

From: "Martin J. Bligh" <mbligh@aracnet.com>

Makes sure pfn_to_nid is defined for all combinations of subarches, and that
it's defined before it's used so we don't run into implicit declaration
problems.

22 years ago[PATCH] fix pfn_valid on ia32 discontigmem
Andrew Morton [Thu, 19 Feb 2004 00:39:02 +0000 (16:39 -0800)]
[PATCH] fix pfn_valid on ia32 discontigmem

From: "Martin J. Bligh" <mbligh@aracnet.com>

Fix pfn_valid for architctures with discontiguous memory.  This only
changes the NUMA definition, and it leaves the NUMA-Q definition as was,
because it's faster that way, it's in hotpaths, and our memory is always
contiguous.

22 years ago[PATCH] fix access() POSIX compliance
Andrew Morton [Thu, 19 Feb 2004 00:38:51 +0000 (16:38 -0800)]
[PATCH] fix access() POSIX compliance

From: Andreas Gruenbacher <agruen@suse.de>

The fix for permission() that makes it compliant with POSIX.1-2001
apparently was lost.  Here is the patch I sent before.  (The relevant lines
from the standard text are cited in
http://www.ussg.iu.edu/hypermail/linux/kernel/0310.2/0286.html.  The fix
proposed in that posting did not handle directories without execute
permissions correctly.)

Make permission check conform to POSIX.1-2001

The access(2) function does not conform to POSIX.1-2001: For root
and a file with no permissions, access(file, MAY_READ|MAY_EXEC)
returns 0 (it should return -1).

22 years ago[PATCH] gcc-3.5: bonding
Andrew Morton [Thu, 19 Feb 2004 00:38:40 +0000 (16:38 -0800)]
[PATCH] gcc-3.5: bonding

drivers/net/bonding/bond_alb.c: In function `bond_alb_xmit':
drivers/net/bonding/bond_alb.c:1188: error: invalid lvalue in assignment

22 years ago[PATCH] use noinline for rest_init()
Andrew Morton [Thu, 19 Feb 2004 00:38:29 +0000 (16:38 -0800)]
[PATCH] use noinline for rest_init()

gcc-3.4 incorretly inlines rest_init() into start_kernel(), causing things to
crash when the .text.init section gets unloaded.  Use noinline to prevent
that.

22 years ago[PATCH] Add noinline attribute
Andrew Morton [Thu, 19 Feb 2004 00:38:18 +0000 (16:38 -0800)]
[PATCH] Add noinline attribute

From: Andi Kleen <ak@muc.de>

This patch adds the `noinline' function attribute.  It can be used to
explicitly tell the compiler to not inline functions.

We need this due to what is, IMO, a bug present in gcc-3.4 and current
gcc-3.5 CVS: the compiler is inlining init/main.c:rest_init() inside
init/main.c:start_kernel(), despite the fact that thay are declared to be
placed in different text sections.

22 years ago[PATCH] Use -funit-at-a-time on ia32
Andrew Morton [Thu, 19 Feb 2004 00:38:07 +0000 (16:38 -0800)]
[PATCH] Use -funit-at-a-time on ia32

From: Andi Kleen <ak@muc.de>

The upcomming gcc 3.4 has a new compilation mode called unit-at-a-time.
What it does is to first load the whole file into memory and then generate
the output. This allows it to use a better inlining strategy, drop unused
static functions and use -mregparm automatically for static functions.

It does not seem to compile significantly slower.

This is also available in some of the 3.3 based "hammer branch"
compilers used in distributions (at least in SuSE and Mandrake)

Some tests show impressive .text shrinkage from unit-at-a-time.

e.g. here is the same kernel compiled with -fno-unit-at-a-time and
-funit-at-a-time with a gcc 3.4 snapshot. The gains are really
impressive:

   text    data     bss     dec     hex filename
4129346  708629  207240 5045215  4cfbdf vmlinux-nounitatatime
3999250  674853  207208 4881311  4a7b9f vmlinux-unitatatime

.text shrinks by over 130KB!. And .data shrinks too.

At first look the numbers look nearly too good to be true, but they have been
verified with several configurations and seem to be real. It looks like
we have a lot of stupid inlines or dead functions. I'm really not
sure why it is that much better. But it's hard to argue with hard
numbers.

[A bloat-o-meter comparision between the two vmlinuxes can be found in
http://www.firstfloor.org/~andi/unit-vs-no-unit.gz . It doesn't show
any obvious candidates unfortunately, just lots of small changes]

With the gcc 3.3-hammer from SuSE 9.0 the gains are a bit smaller, but
still noticeable (>100KB on .text)

This patch enables -funit-at-a-time on ia32 if the compiler is gcc-3.4 or
later.  We had several reports of gcc-3.3 producing very early lockups.

22 years ago[PATCH] Add CONFIG for -mregparm=3
Andrew Morton [Thu, 19 Feb 2004 00:37:55 +0000 (16:37 -0800)]
[PATCH] Add CONFIG for -mregparm=3

From: Andi Kleen <ak@muc.de>, me.

Using -mregparm=3 shrinks the kernel further:

(compiled with gcc 3.4, without -funit-at-a-time, using the later and
together with -Os shrinks .text even more, making over 700KB difference)

4129346  708629  207240 5045215  4cfbdf vmlinux
3892905  708629  207240 4808774  496046 vmlinux-regparm

This one helps even more, >236KB .text difference. Clearly worth
the effort.

This patch adds an option to use -mregparm=3 while compiling the kernel.  I
did an LTP run and it showed no additional failures over an non regparm
kernel.

According to some gcc developers it should be safe to use in all gccs that
are still supports (2.95 and up)

I didn't make it the default because it will break all binary only modules
(although they can be fixed by adding a wrapper that calls them with
"asmlinkage").  Actually it may be a good idea to make this default with
2.7.1 or somesuch.

We add new kbuild infrastructure: the command

scripts/gcc-version.sh $(CC)

will print out the version of gcc in a canonical 4-digit form suitable for
performing numerical tests against.
DESC
arch/i386/Makefile,scripts/gcc-version.sh,Makefile small fixes
EDESC
From: Serge Belyshev <33554432@mtu-net.ru>

arch/i386/Makefile:
*  omitted $(KBUILD_SRC)/ in script call.

scripts/gcc-version.sh:
*  GNU tail no longer supports 'tail -1' syntax.

We should consider adding -fweb option:

   vanilla:
   $ size vmlinux
      text    data     bss     dec     hex filename
   3056270  526780  386056 3969106  3c9052 vmlinux

   with -fweb:
   $ size vmlinux
      text    data     bss     dec     hex filename
   3049523  526780  386056 3962359  3c75f7 vmlinux

   Also note 0.1 ... 1.0% speedup in various benchmarks.
   This option is not enabled by default at -O2 because it
   (like -fomit-frame-pointer) makes debugging impossible.