]> git.hungrycats.org Git - linux/log
linux
20 years agoLinux 2.6.11-rc5 v2.6.11-rc5
Linus Torvalds [Wed, 23 Feb 2005 09:44:08 +0000 (01:44 -0800)]
Linux 2.6.11-rc5

20 years agoMerge pobox.com:/garz/repo/netdev-2.6/r8169
Jeff Garzik [Wed, 23 Feb 2005 13:20:22 +0000 (08:20 -0500)]
Merge pobox.com:/garz/repo/netdev-2.6/r8169
into pobox.com:/garz/repo/net-drivers-2.6

20 years ago[PATCH] r8169: factor out some code.
François Romieu [Wed, 23 Feb 2005 13:19:32 +0000 (08:19 -0500)]
[PATCH] r8169: factor out some code.

Factor out some code

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] r8169: IRQ races during change of mtu
François Romieu [Wed, 23 Feb 2005 13:19:19 +0000 (08:19 -0500)]
[PATCH] r8169: IRQ races during change of mtu

IRQ races during change of mtu
- NAPI poll must be enabled prior to IRQ activation or the IRQ handler
  will not know what to do with an incoming packet;
- rtl8169_down() needs to try twice to sync with the IRQ handler when
  it is not issued under !netif_running() protection.

Both changes make it safe to request a change of mtu on a live device.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] Fix possible futex mmap_sem deadlock
Olof Johansson [Wed, 23 Feb 2005 05:56:33 +0000 (21:56 -0800)]
[PATCH] Fix possible futex mmap_sem deadlock

Some futex functions do get_user calls while holding mmap_sem for
reading.  If get_user() faults, and another thread happens to be in mmap
(or somewhere else holding waiting on down_write for the same
semaphore), then do_page_fault will deadlock.  Most architectures seem
to be exposed to this.

To avoid it, make sure the page is available.  If not, release the
semaphore, fault it in and retry.

I also found another exposure by inspection, moving some of the code
around avoids the possible deadlock there.

Signed-off-by: Olof Johansson <olof@austin.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Wed, 23 Feb 2005 05:36:17 +0000 (21:36 -0800)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[libata] Add missing hooks, to avoid oops in advanced SATA drivers
Jeff Garzik [Wed, 23 Feb 2005 09:47:10 +0000 (04:47 -0500)]
[libata] Add missing hooks, to avoid oops in advanced SATA drivers

Advanced SATA drivers should not (and cannot) use the basic
PCI IDE hooks for checking the Status and Error registers, as these
registers are either in non-standard locations, or simply don't
exist.

In the error handling path, libata was unconditionally calling some
PCI IDE hardware bitbanging functions, which would cause an oops
in the AHCI driver and any other advanced libata driver.

20 years agoagp: aper_base is unsigned
Linus Torvalds [Wed, 23 Feb 2005 02:33:11 +0000 (18:33 -0800)]
agp: aper_base is unsigned

Not that anybody cares about the sign, but the signed type does
the wrong thing for right shifts. Which we had.

20 years ago[PATCH] device-mapper: dm-raid1 deadlock fix
Alasdair G. Kergon [Wed, 23 Feb 2005 00:42:01 +0000 (16:42 -0800)]
[PATCH] device-mapper: dm-raid1 deadlock fix

Fix a dm-raid1 deadlock: nested spinlocks with _irq.

Signed-Off-By: Alasdair G Kergon <agk@redhat.com>
From: Tim Burgess <tim.burgess@anu.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ALPS: do not activate on unsupported models
Dmitry Torokhov [Wed, 23 Feb 2005 00:41:49 +0000 (16:41 -0800)]
[PATCH] ALPS: do not activate on unsupported models

It feels like 2.6.11 is right around the corner.  I would like to disable
ALPS suport for some devices we don't know how to handle properly yet to
cut down on number of complaints that we broke mouse support.

Input: ALPS - do not activate native mode for devices whose data
       we can not handle yet.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: fix compilation for Maple board
Paul Mackerras [Wed, 23 Feb 2005 00:41:36 +0000 (16:41 -0800)]
[PATCH] ppc64: fix compilation for Maple board

A patch that I sent in earlier to allow the use of the data address
breakpoint on machines with a hypervisor happened to break things for those
configs, such as for the Maple board, where we don't compile in the
routines for calling the hypervisor.  This patch fixes it.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: Wrong vaddr in flush_hash_one_pte()
Benjamin Herrenschmidt [Tue, 22 Feb 2005 23:36:23 +0000 (15:36 -0800)]
[PATCH] ppc32: Wrong vaddr in flush_hash_one_pte()

Reworking the ppc32 mm helps me find interesting bugs in the existing bug,
well, brown paper bag for me, I made this one a while ago.

The routine flush_hash_one_pte() used by ptep_test_and_clear_young()
wasn't properly recaclulating the vaddr from the pte pointer &
page->index.  The result is that we probably never flushed things from
the hash, so that's at least the _second_ bug affecting
ptep_test_and_clear_young(), swap on ppc32 must have been really broken
:(

This fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge pobox.com:/garz/repo/linux-2.6
Jeff Garzik [Tue, 22 Feb 2005 16:19:43 +0000 (11:19 -0500)]
Merge pobox.com:/garz/repo/linux-2.6
into pobox.com:/garz/repo/libata-2.6

20 years ago[PATCH] r8169: uniformize comments
François Romieu [Tue, 22 Feb 2005 15:44:49 +0000 (10:44 -0500)]
[PATCH] r8169: uniformize comments

Uniformize comments

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] r8169: removal of unused #define
François Romieu [Tue, 22 Feb 2005 15:44:37 +0000 (10:44 -0500)]
[PATCH] r8169: removal of unused #define

Removal of unused #define

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] r8169: skb alignment nitpicking
François Romieu [Tue, 22 Feb 2005 15:44:25 +0000 (10:44 -0500)]
[PATCH] r8169: skb alignment nitpicking

Nail an overrun in skb alignment and remove the relevant magic variable.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] r8169: fix rx skb allocation error logging
François Romieu [Tue, 22 Feb 2005 15:44:13 +0000 (10:44 -0500)]
[PATCH] r8169: fix rx skb allocation error logging

Fix rx skb allocation error logging

Signed arithmetic is not required as rtl8169_rx_fill() return belongs
to the [0; NUM_RX_DESC] interval.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years agoMerge pobox.com:/garz/repo/linux-2.6
Jeff Garzik [Tue, 22 Feb 2005 15:33:13 +0000 (10:33 -0500)]
Merge pobox.com:/garz/repo/linux-2.6
into pobox.com:/garz/repo/netdev-2.6/r8169

20 years ago[PATCH] NFS: Further fixes for the -onolock case.
Trond Myklebust [Tue, 22 Feb 2005 12:22:00 +0000 (04:22 -0800)]
[PATCH] NFS: Further fixes for the -onolock case.

Duh... GETLK returns F_UNLCK if and only if the lock could be placed.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: kernel mapping breakage
Benjamin Herrenschmidt [Tue, 22 Feb 2005 12:21:46 +0000 (04:21 -0800)]
[PATCH] ppc32: kernel mapping breakage

Christoph Lameter's patch that change page allocators to use GFP_ZERO
broke ppc32 in a subtle way. Our allocator is designed to work before
mem_init_done, in which cases it uses a ppc specific early_get_page()
which doesn't return zeroed pages. However, he removed the call to
clear_page() unconditionally, thus causing the kernel initial page
tables to have random data in them.

They are initialized with set_pte, which means it's _mostly_ harmless,
except that set_pte on ppc32 preserves the _PAGE_HASHPTE bit, thus we
end up with random bits there, which can cause issues with further
manipulation of the kernel page tables and will slow down all hash
faults to them causing unnecessary searches.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix NR_OPEN header order dependency
Tom Rini [Tue, 22 Feb 2005 08:32:48 +0000 (00:32 -0800)]
[PATCH] Fix NR_OPEN header order dependency

Move <linux/limits.h> back up in <linux/fs.h>, to get the right ordering
for the NR_OPEN dual define (ugh).

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Re-order <linux/fs.h> includes to fix userland breakage
Tom Rini [Tue, 22 Feb 2005 06:12:49 +0000 (22:12 -0800)]
[PATCH] Re-order <linux/fs.h> includes to fix userland breakage

The following moves all includes <linux/fs.h> (except <linux/ioctl.h>
and <linux/config.h> down to below the existing __KERNEL__ test.  None
of these includes are needed by the user-visible portions of the header,
and in some cases can cause userland apps to break.

For example, LTP and sash with an empty <linux/autoconf.h> will fail
thusly:

  cc -Wall  -I../../include -g -Wall -I../../../../include -Wall    setrlimit02.c -L../../../../lib -lltp  -o setrlimit02
  In file included from /usr/include/asm/atomic.h:6,
                   from /usr/include/linux/fs.h:20,
                   from setrlimit02.c:46:
  /usr/include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
  /usr/include/asm/processor.h:68: error: requested alignment is not a constant

Build/run tested with a glibc rebuild as well.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[TCP]: Fix excessive stack usage resulting in OOPS with 4KSTACKS.
Arnaldo Carvalho de Melo [Tue, 22 Feb 2005 02:48:28 +0000 (18:48 -0800)]
[TCP]: Fix excessive stack usage resulting in OOPS with 4KSTACKS.

Various routines were putting a full struct tcp_sock on
the local stack.  What they really wanted was a subset
of this information when doing TCP options processing
when we only have a mini-socket (for example in SYN-RECVD
and TIME_WAIT states).

Therefore pull out the needed information into a sub-struct
and use that in the TCP options processing routines.

Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PATCH] Build failure with !CONFIG_PCI and with CONFIG_ISAPNP=y && CONFIG_PNPBIOS=y
Mika Kukkonen [Mon, 21 Feb 2005 23:30:32 +0000 (15:30 -0800)]
[PATCH] Build failure with !CONFIG_PCI and with CONFIG_ISAPNP=y && CONFIG_PNPBIOS=y

Trying to build latest BK-kernel with !CONFIG_PCI and with CONFIG_ISAPNP=y
and CONFIG_PNPBIOS=y I got the following build error:

  LD    vmlinux
drivers/built-in.o(.text+0x5486): In function
'pnpbios_parse_allocated_irqresource':
: undefined reference to 'pcibios_penalize_isa_irq'

Clearly pcibios_penalize_isa_irq() is meant to be called only with
CONFIG_PCI=y.

Signed-off-by: Mika Kukkonen <mikukkon@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: Fix 32bit largepage issue
Anton Blanchard [Mon, 21 Feb 2005 23:30:18 +0000 (15:30 -0800)]
[PATCH] ppc64: Fix 32bit largepage issue

The paca holds a shadow of the context struct, used for the real mode SLB
handler.  When we open up a new segment we have to sync up the paca copy
otherwise we will instantiate small page SLB entries until the next context
switch (at which point we resync the paca copy).

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] x86_64: resource layout fix
Andrew Morton [Mon, 21 Feb 2005 23:30:04 +0000 (15:30 -0800)]
[PATCH] x86_64: resource layout fix

Greg's tree changes the order of fields in struct reasource, causing x86_64 to
explode nastily.  Fix.

Cc: Greg KH <greg@kroah.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] au1100: fix io_remap_page_range() arg. list
Randy Dunlap [Mon, 21 Feb 2005 23:29:51 +0000 (15:29 -0800)]
[PATCH] au1100: fix io_remap_page_range() arg. list

Fix io_remap_page_range() call to pass a missing arg.

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc64 usb build fix
Andrew Morton [Mon, 21 Feb 2005 23:29:37 +0000 (15:29 -0800)]
[PATCH] sparc64 usb build fix

We need asm/irq.h for __irq_itoa() on sparc[64].

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc64 rusage build fix
Andrew Morton [Mon, 21 Feb 2005 23:29:24 +0000 (15:29 -0800)]
[PATCH] sparc64 rusage build fix

Some patch in -mm causes the sparc64 build to explode because `struct rusage'
isn't defined or declared in compat.h.   So forward-declare it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: resource layout fixes
Andrew Morton [Mon, 21 Feb 2005 23:29:10 +0000 (15:29 -0800)]
[PATCH] ppc32: resource layout fixes

Use named initialisers.

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] alpha: struct resource fix
Andrew Morton [Mon, 21 Feb 2005 23:28:56 +0000 (15:28 -0800)]
[PATCH] alpha: struct resource fix

Used named initialisers in this declaration before Greg's tree's struct
resource layout changes come in and break it.

(Probably "dma page reg" shouldn't have spaces in the name - be friendly to
/proc/ioports parsers?)

Cc: Richard Henderson <rth@twiddle.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[TCP]: Fix BIC max_cwnd calculation error.
Stephen Hemminger [Mon, 21 Feb 2005 08:33:57 +0000 (00:33 -0800)]
[TCP]: Fix BIC max_cwnd calculation error.

The BIC TCP cwnd problem as identified by Yee-Ting Li and Doug Leith
is that the computation is recalc_ssthresh is incorrect and
BICTCP_1_OVER_BETA/2 should be BICTCP_1_OVER_BETA*2.

My fix is to implement the code from BIC TCP 1.1 which uses a sysctl
to set the beta.  There are a few variable name changes from the 1.1
code, and made the scaling factor a #define instead of hardcoded.

I validated this using netem and kprobes, for more details see
http://developer.osdl.org/shemminger/bic-beta-patch.pdf

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PATCH] libata kfree fix
Jeff Garzik [Mon, 21 Feb 2005 06:48:18 +0000 (22:48 -0800)]
[PATCH] libata kfree fix

Fixes double-kfree that caused slab corruption.

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: fix ptep_test_and_clear_young
Benjamin Herrenschmidt [Mon, 21 Feb 2005 01:37:02 +0000 (17:37 -0800)]
[PATCH] ppc32: fix ptep_test_and_clear_young

ppc32's implementation of ptep_test_and_clear_young() has a logic error
which makes it fail to flush the hash table. Thus PAGE_ACCESSED is
almost never set again after beeing cleared (unless something else cause
that hash entry to be flushed).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] natsemi long cable fix
Gary N. Spiess [Sun, 20 Feb 2005 16:18:44 +0000 (11:18 -0500)]
[PATCH] natsemi long cable fix

This is a minor modification to the previous patch submission that does
not assume the default contents of the DSPCFG register are zero.

When used with Revision D of the DP83815, the "Recommended Registers
Configuration" from page 78 of the DP83815 data sheet is not entirely
compatible with the driver's "short cable patch".  When the DSPCFG
register is written with the value suggested in the document, then
do_cable_magic() can't read the DSP coefficient and determines that all
cables attached to the DP83815D are 'short', regardless of actual
length.  Short cables (< 30m) cause do_cable_magic to enable additional
attenuation to reduce CRC and idle errors.  If the extra attenuation is
unintentionally enabled for long cables (> 50m?), they will not operate
properly.  The National Semiconductor driver, 'dp83815.c' from
http://www.national.com/appinfo/networks/files/linux_2_4.tar.gz was used
as a basis for this modification.

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] S2io: Multicast fix
Ravinandan Arakali [Sun, 20 Feb 2005 15:46:04 +0000 (10:46 -0500)]
[PATCH] S2io: Multicast fix

Attached is the patch to address the incorrect programming of
individual multicast address into the NIC.

Signed-off-by: Ravinandan Arakali <ravinandan.arakali@neterion.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years ago[PATCH] strip.c build fix
Andrew Morton [Sun, 20 Feb 2005 15:22:38 +0000 (10:22 -0500)]
[PATCH] strip.c build fix

Someone added a new dev_set_mac_address() to netdevice.h

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years agox86: when choosing PCI starting address, print out gap information
Linus Torvalds [Sun, 20 Feb 2005 04:51:20 +0000 (20:51 -0800)]
x86: when choosing PCI starting address, print out gap information

This makes for better messages on what is going on. It also
allows us (if we want to), to pick the PCI starting address
somewhere else in the gap. That may be a good idea (ie do a

pci_mem_start = (gapstart + (gapsize >> 3) + 0xfffff) & ~0xfffff;

or similar.

20 years agoBe more careful about looking for gaps in the e820 table.
Linus Torvalds [Sun, 20 Feb 2005 04:16:12 +0000 (20:16 -0800)]
Be more careful about looking for gaps in the e820 table.

We really don't care about anything beyond the 4GB mark,
so make the tests for that explicit (and add a comment),
and use regular "unsigned long" for the gap information.

20 years agoMerge bk://bart.bkbits.net/ide-2.6
Linus Torvalds [Sun, 20 Feb 2005 02:44:35 +0000 (18:44 -0800)]
Merge bk://bart.bkbits.net/ide-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ide] Kconfig for VR1000 machine driver selection
Ben Dooks [Sun, 20 Feb 2005 15:55:31 +0000 (16:55 +0100)]
[ide] Kconfig for VR1000 machine driver selection

Fix the use of CONFIG_MACH_VR1000, which was missing an
trailing zero from the configuration variable, so never
being shown if only the VR1000 was selected

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years ago[ide] small compile fix to ide.c with !CONFIG_PCI
Mika Kukkonen [Sun, 20 Feb 2005 15:51:35 +0000 (16:51 +0100)]
[ide] small compile fix to ide.c with !CONFIG_PCI

Small patch to fix following warning with CONFIG_IDE && !CONFIG_PCI:

  CC drivers/ide/ide.o
drivers/ide/ide.c: In function 'ide_system_bus_speed':
drivers/ide/ide.c:338: warning: unused variable 'pci_default'

I decided to save some bytes by #ifdef:ing the struct in question.
CC:ing Hanna because she did the change (and just to say hi ;-).

Signed-off-by: Mika Kukkonen <mikukkon@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years agoUse e820 memory map to determine PCI allocation area.
Linus Torvalds [Sun, 20 Feb 2005 01:43:19 +0000 (17:43 -0800)]
Use e820 memory map to determine PCI allocation area.

Don't use the VM numbers (max_low_pfn and friends), since they depend
on the partial kernel linear mapping and only partially on the actual
physical memory layout.

20 years ago[ide] fix ide_get_error_location() for LBA28
Bartlomiej Zolnierkiewicz [Sat, 19 Feb 2005 18:38:07 +0000 (19:38 +0100)]
[ide] fix ide_get_error_location() for LBA28

Higher bits (16-23) of the address were ignored.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
20 years ago[PATCH] PCI: support PCI_PM_CAP version 1
Daniel Ritz [Sat, 19 Feb 2005 09:16:24 +0000 (01:16 -0800)]
[PATCH] PCI: support PCI_PM_CAP version 1

A check for the PM_CAP version was recently added but i breaks devices
with version 1.  if they're in power-save mode they never get out of it.

Change it to also support v1.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] radeonfb: Workaround memory corruption accel problem
Benjamin Herrenschmidt [Sat, 19 Feb 2005 08:00:45 +0000 (00:00 -0800)]
[PATCH] radeonfb: Workaround memory corruption accel problem

A conflict between X and radeonfb can cause system memory corruption
when switching console from X (note that this is not realted to the
recent radeonfb patches, the problem has been there forever as far as I
can tell).

This patch works around it in radeonfb by making sure the "offsets"
register that driver the memory mapping of the accel engine are always
properly set before every accel op. A better fix should be done in fbcon
ultimately.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] m32r: warning fix
Hirokazu Takata [Sat, 19 Feb 2005 07:48:10 +0000 (23:48 -0800)]
[PATCH] m32r: warning fix

/project/m32r-linux/kernel/linux-2.6.11-rc4-bk4/b/include/linux/nodemask.h: In function `__first_unset_node':
/project/m32r-linux/kernel/linux-2.6.11-rc4-bk4/b/include/linux/nodemask.h:246: warning: passing arg 1 of `find_next_zero_bit' discards qualifiers from pointer target type

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] end_buffer_async_read printk ratelimiting
Andrew Morton [Sat, 19 Feb 2005 07:47:55 +0000 (23:47 -0800)]
[PATCH] end_buffer_async_read printk ratelimiting

ratelimit the disk I/O error reporting in end_buffer_async_read().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] mca resource layout fix
Andrew Morton [Sat, 19 Feb 2005 07:47:41 +0000 (23:47 -0800)]
[PATCH] mca resource layout fix

Greg's tree changes the layout of struct resource, so mca.c blows up.
Preemptively fix it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge pobox.com:/garz/repo/linux-2.6
Jeff Garzik [Fri, 18 Feb 2005 10:51:04 +0000 (05:51 -0500)]
Merge pobox.com:/garz/repo/linux-2.6
into pobox.com:/garz/repo/libata-2.6

20 years ago[PATCH] libata: fix command queue leak when xlat_func fails
John W. Linville [Fri, 18 Feb 2005 10:49:44 +0000 (05:49 -0500)]
[PATCH] libata: fix command queue leak when xlat_func fails

ata_scsi_translate allocates from the libata command queue by calling
ata_scsi_qc_new.  If xlat_func returns non-zero, control jumps to
err_out which fails to free the allocated command.  Fix is to add a
new API to free unused commands.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years agoMerge http://linux-mh.bkbits.net/bluetooth-2.6
Linus Torvalds [Fri, 18 Feb 2005 07:39:29 +0000 (23:39 -0800)]
Merge http://linux-mh.bkbits.net/bluetooth-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[Bluetooth] The new Microsoft dongle needs HCI_Reset
Marcel Holtmann [Sat, 19 Feb 2005 00:26:25 +0000 (01:26 +0100)]
[Bluetooth] The new Microsoft dongle needs HCI_Reset

For the new Microsoft Wireless Transceiver for Bluetooth 2.0 it is
necessary to send the HCI_Reset on every device initialization.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 18 Feb 2005 07:04:09 +0000 (23:04 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ARM] Take account of vm_pgoff for DMA mmap
Russell King [Fri, 18 Feb 2005 22:24:01 +0000 (22:24 +0000)]
[ARM] Take account of vm_pgoff for DMA mmap

The DMA mmap code was ignoring vm_pgoff which prevented a partial
mmap() of a DMA buffer.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
20 years ago[ARM PATCH] 2494/1: fix 'CONFGI_' -> 'CONFIG_' in mach-ixp2000/ixdp2x00.c
Lennert Buytenhek [Fri, 18 Feb 2005 21:55:29 +0000 (21:55 +0000)]
[ARM PATCH] 2494/1: fix 'CONFGI_' -> 'CONFIG_' in mach-ixp2000/ixdp2x00.c

Patch from Lennert Buytenhek

Fix a misspelled config symbol name in the ixp2000 code.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2493/1: put IXP2000 slowport in 8-bit mode after boot
Lennert Buytenhek [Fri, 18 Feb 2005 21:48:16 +0000 (21:48 +0000)]
[ARM PATCH] 2493/1: put IXP2000 slowport in 8-bit mode after boot

Patch from Lennert Buytenhek

This is an old patch from 2.6.9-rc3-ds2 that never made it upstream.
The IXP2000 slowport has two modes of operation, 8-bit and 32-bit.
The slowport itself is a byte-wide bus, and in 8-bit mode, it does the
more-or-less obvious thing: every word read causes four byte reads,
and those bytes are then combined into a word according to the xscale
core's current endian setting.  So, what value you get depends on what
endianity your IXP2000 is running in.
In 32-bit mode, however, it is the slowport itself which combines
bytes into words, and for this it unconditionally uses little endian
mode.  In this mode, word reads from the slowport will return the
same value no matter whether the xscale core is running in big or
little endian mode.  This can be a plus in some cases.  Byte (and
halfword) accesses in 32-bit mode have rather useless semantics
due to this, though.
The usefulness of 32-bit mode is limited to the initial boot.  When
the IXP2000 resets, the slowport is always in 32-bit mode, so if you
flash the bootloader into flash (which is connected to the slowport)
using little-endian byte ordering, the xscale will always read the
instruction stream correctly, no matter whether it's running in big
or little endian mode.
After booting it makes no sense to use 32-bit mode anymore.  Especially
since the slowport's word ordering in 32-bit mode is little endian,
and the IXP2000 is conventionally run in big endian, which gives all
kinds of fun issues when trying to access peripherals connected to
the slowport.
In fact, the current MTD map driver for IXP2000 already sets the
slowport to 8-bit mode because it cannot access the flash otherwise.
However, this means that if the MTD map driver is not compiled in for
some reason, the slowport will stay in 32-bit mode after the initial
boot, which will cause peripheral accesses to unexpectedly break!

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
20 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Fri, 18 Feb 2005 03:32:00 +0000 (19:32 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[SPARC64]: BUG on rediculious memcpy lengths.
David S. Miller [Fri, 18 Feb 2005 02:25:55 +0000 (18:25 -0800)]
[SPARC64]: BUG on rediculious memcpy lengths.

Anything larger than MAX_INT is suspect.  Do this
for user copies too.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Thu, 17 Feb 2005 23:33:18 +0000 (15:33 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ARM PATCH] 2487/1: minor IRQ routing tweaks for ENP-2611
Lennert Buytenhek [Thu, 17 Feb 2005 16:09:14 +0000 (16:09 +0000)]
[ARM PATCH] 2487/1: minor IRQ routing tweaks for ENP-2611

Patch from Lennert Buytenhek

- The PCI2050B bridge is not wired to any interrupt pin.
- The SPI-3 option board slot is wired to PCI_B.
- Don't printk every time enp2611_map_pci_irq is called.
- Complain loudly if we encounter an unknown device.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2486/1: fix incorrect comment in arch/arm/kernel/debug.S
Lennert Buytenhek [Thu, 17 Feb 2005 16:01:50 +0000 (16:01 +0000)]
[ARM PATCH] 2486/1: fix incorrect comment in arch/arm/kernel/debug.S

Patch from Lennert Buytenhek

arch/arm/kernel/debug.S has a comment at the top stating that the
file is called debug-armv.S, which is clearly not so.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
20 years ago[ARM PATCH] 2485/1: fix enp2611 coexistence with other machine types
Lennert Buytenhek [Thu, 17 Feb 2005 15:54:04 +0000 (15:54 +0000)]
[ARM PATCH] 2485/1: fix enp2611 coexistence with other machine types

Patch from Lennert Buytenhek

If enp2611 support is compiled in, the kernel will unconditionally
perform enp2611-style PCI initialisation.  Conditionalise this on
machine_is_enp2611().

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
20 years agoMerge pobox.com:/garz/repo/libata-2.6
Jeff Garzik [Thu, 17 Feb 2005 15:15:03 +0000 (10:15 -0500)]
Merge pobox.com:/garz/repo/libata-2.6
into pobox.com:/garz/repo/libata-dev/qstor

20 years agoMerge pobox.com:/garz/repo/libata-dev/bmdma-cb
Jeff Garzik [Thu, 17 Feb 2005 14:43:54 +0000 (09:43 -0500)]
Merge pobox.com:/garz/repo/libata-dev/bmdma-cb
into pobox.com:/garz/repo/libata-2.6

20 years ago[libata] add ->bmdma_{stop,status} hooks
mat.loikkanen@synopsys.com [Thu, 17 Feb 2005 14:29:23 +0000 (09:29 -0500)]
[libata] add ->bmdma_{stop,status} hooks

The timeout/error handling path was assuming that the hardware in
question was PCI IDE BMDMA-like, which is incorrect in a few cases.

Turn direct function calls into two new hooks.

20 years ago[SPARC64]: Use common sys_ipc() compat code.
David S. Miller [Thu, 17 Feb 2005 13:53:25 +0000 (05:53 -0800)]
[SPARC64]: Use common sys_ipc() compat code.

No need to duplicate it locally.  This also fixes
several arg sign extension bugs and the subsequent
ltp testsuite failures.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[PATCH] ub: fix Add ioctls to ub patch
Pete Zaitcev [Thu, 17 Feb 2005 03:59:58 +0000 (19:59 -0800)]
[PATCH] ub: fix Add ioctls to ub patch

I am awfully sorry, but that patch contained a bug. The code dereferenced
cmd->back as if it were a pointer to a request even when it wasn't. It worked
by accident, because rq->flags overlapped with a zeroed memory in other case.
Here is a corrective patch.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20 years ago[PATCH] USB: Add ioctls to ub
Pete Zaitcev [Thu, 17 Feb 2005 03:56:54 +0000 (19:56 -0800)]
[PATCH] USB: Add ioctls to ub

This patch adds support for ioctls to ub, with the help of scsi_ioctl_cmd().
Now ub can eject CDs. But do not try to burn CDs yet, it's not tested.

Original patch from Peter Jones (aka deviant-).

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
20 years agoMerge bk://linux-acpi.bkbits.net/to-linus
Linus Torvalds [Thu, 17 Feb 2005 02:09:41 +0000 (18:09 -0800)]
Merge bk://linux-acpi.bkbits.net/to-linus
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] sis: fix sparse warnings
Randy Dunlap [Thu, 17 Feb 2005 02:08:34 +0000 (18:08 -0800)]
[PATCH] sis: fix sparse warnings

drivers/video/sis/sis_main.c:2204:2: warning: undefined identifier 'lock_kernel'
drivers/video/sis/sis_main.c:2206:2: warning: undefined identifier 'unlock_kernel'
drivers/video/sis/sis_main.c:2204: warning: implicit declaration of function `lock_kernel'
drivers/video/sis/sis_main.c:2206: warning: implicit declaration of function `unlock_kernel'

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] m32r: defconfig updates
Hirokazu Takata [Thu, 17 Feb 2005 02:08:20 +0000 (18:08 -0800)]
[PATCH] m32r: defconfig updates

Here is a patchset to update defconfig files for m32r.  The m32r kernel's
API/ABI has been changed since 2.6.11-rc1.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] m32r: fix sys_clone()
Hirokazu Takata [Thu, 17 Feb 2005 02:08:06 +0000 (18:08 -0800)]
[PATCH] m32r: fix sys_clone()

This patch is required to fix sys_clone() for m32r.

 * arch/m32r/kernel/process.c:
- Fix sys_clone; add arguments, parent_tidptr and child_tidptr.
- Cosmetics: Change indentation of function parameters for
  sys_clone(), sys_vfork().

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] m32r: build fix for SMP kernel
Hirokazu Takata [Thu, 17 Feb 2005 02:07:53 +0000 (18:07 -0800)]
[PATCH] m32r: build fix for SMP kernel

Here is a patch to fix compile errors of 2.6.11-rc4 for the m32r SMP
kernel.

 * include/asm-m32r/spinlock.h:
- Add read_can_lock() and write_can_lock() to fix build errors for SMP.
- Rename 'lock' to 'slock'. (cf. Changesets 1.1966.85.1)

 * arch/m32r/kernel/smp.c:
- Rename 'lock' to 'slock'. (cf. Changesets 1.1966.85.1)

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[SPARC64]: Fix access_ok() args in sys_sparc32.c:get_tv32().
David S. Miller [Thu, 17 Feb 2005 00:54:52 +0000 (16:54 -0800)]
[SPARC64]: Fix access_ok() args in sys_sparc32.c:get_tv32().

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Thu, 17 Feb 2005 00:43:17 +0000 (16:43 -0800)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

20 years ago[PATCH] optimise copy page range
Nick Piggin [Wed, 16 Feb 2005 23:57:40 +0000 (15:57 -0800)]
[PATCH] optimise copy page range

Suggested by Linus: optimise a condition in the clear_p?d_range functions.
Results in one less conditional branch on i386 with gcc-3.4.4

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix buf in zeromap_pud_range() losing virtual address
Benjamin Herrenschmidt [Wed, 16 Feb 2005 23:54:19 +0000 (15:54 -0800)]
[PATCH] Fix buf in zeromap_pud_range() losing virtual address

This patch fixes a nasty bug that took us almost a week to track down on
ppc64, introduced by the 4L page table changes, and resulting in random
memory corruption. All archs that rely on a PTE page's struct page to
contain the mm & address (in mapping/index) will be affected.

zeromap_pud_range() is one of these page tables walking functions that
split the address into a base and an offset. It forgets to add back the
"base" when calling the lower level zeromap_pmd_range(), thus passing a
bogus virtual address. Most archs won't care, unless they do the above,
since the lower level can allocate a PTE page.

Kudo's to Michael Ellerman too who spent that week running tests after
tests to track it down, since the only way we managed to get it to show
up was after about 1 to 2h of LTP runs ...

(Note: We are in _urgent_ need to consolidate all those page table
walking functions, they all do things in a subtely different way, with
different checks (sometimes redudant) and inconsitent with each other,
even within a given set of them. Hopefully, Nick has some work in
progress there).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Check for wraps in copy_page_range
Benjamin Herrenschmidt [Wed, 16 Feb 2005 23:54:05 +0000 (15:54 -0800)]
[PATCH] Check for wraps in copy_page_range

While browsing the 4 level page table changes (looking for a bug), I
noticed that copy_page_range, unlike others, do not check for
wraparound, which I suppose could be a problem with 4G/4G architectures
or that sort of thing.

This patch fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Fix possible race with 4level-fixup.h
Benjamin Herrenschmidt [Wed, 16 Feb 2005 23:53:51 +0000 (15:53 -0800)]
[PATCH] Fix possible race with 4level-fixup.h

When using 4level-fixup.h, a PMD page may end up beeing freed before the
matching PGD entry is cleared due to the way the compatibility macros
work. This can cause nasty races on some architectures.

This patch fixes it by defining pud_clear() to be pgd_clear(). That
means we'll actually write 0 twice, a small price to pay here,
especially seeing how easy it is to convert to the new headers anyway
(hint hint, ppc & ppc64 patches as soon as 2.6.11 is out).

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sata_qstor: new basic driver for Pacific Digital
Mark Lord [Wed, 16 Feb 2005 20:15:16 +0000 (15:15 -0500)]
[PATCH] sata_qstor: new basic driver for Pacific Digital

This is a new basic libata SATA driver
for the Pacific Digital QStor SATA/RAID card.

It features ordinary per-drive SATA with single-request DMA
for R/W commands, and PIO for everything else.

It currently does not implement any of the hardware RAID support,
nor hot-plug, nor the tagged/native command-queuing features.

On the other hand, it is small and simple as a result.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
20 years agoMerge intel.com:/home/lenb/bk/26-latest-ref
Len Brown [Wed, 16 Feb 2005 19:19:13 +0000 (14:19 -0500)]
Merge intel.com:/home/lenb/bk/26-latest-ref
into intel.com:/home/lenb/src/26-latest-dev

20 years agoMerge intel.com:/home/lenb/bk/26-latest-ref
Len Brown [Wed, 16 Feb 2005 12:49:10 +0000 (07:49 -0500)]
Merge intel.com:/home/lenb/bk/26-latest-ref
into intel.com:/home/lenb/src/26-latest-dev

20 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Wed, 16 Feb 2005 07:55:52 +0000 (23:55 -0800)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

20 years ago[SPARC64]: Fix access_ok() and friends warnings.
David S. Miller [Wed, 16 Feb 2005 07:37:06 +0000 (23:37 -0800)]
[SPARC64]: Fix access_ok() and friends warnings.

The implementation is a nop on sparc64, we always return
true, but we have to add at least a (void) reference to
the arguments to avoid compiler/checker warnings.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years ago[SPARC64]: Put PROM trampolines into asm file.
David S. Miller [Wed, 16 Feb 2005 07:33:43 +0000 (23:33 -0800)]
[SPARC64]: Put PROM trampolines into asm file.

No need for these enormous inline asm statements.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge bk://kernel.bkbits.net/gregkh/linux/fix-2.6
Linus Torvalds [Wed, 16 Feb 2005 07:23:27 +0000 (23:23 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/fix-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] ppc32: fixup of previous PCI9 patch
Tom Rini [Wed, 16 Feb 2005 07:15:42 +0000 (23:15 -0800)]
[PATCH] ppc32: fixup of previous PCI9 patch

Previous PCI9 patch had a #endif placed wrong for some unknown reason (was
correct in local tree) This fixes it.

Signed-off-by: Rune Torgersen <runet@innovsys.com>
Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] kthread_bind new worker threads when onlining cpu
Nathan T. Lynch [Wed, 16 Feb 2005 07:15:27 +0000 (23:15 -0800)]
[PATCH] kthread_bind new worker threads when onlining cpu

We weren't binding new worker threads to their cpu when onlining.  Using
preempt and the debug version of smp_processor_id found this.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] USB: ehci requeue revisit
David Brownell [Wed, 16 Feb 2005 06:27:17 +0000 (22:27 -0800)]
[PATCH] USB: ehci requeue revisit

This gets rid of a bug found in some IRQ handling logic, after tripping
a debug assertion.  Basically, a recent patch called the wrong routine to
unlink a QH.  Net result, it wasn't allowing for the case that some other
QH was already being unlinked.  This patch uses the correct routine; the
names are confusingly similar, and the effect is often identical.

The consequence of using the wrong routine was that the driver could
lose one of the pending unlinks (probably wedging some activity) and
treat the other one as completed before it was safe to do so (which
probably wouldn't oops, but could cause other nasty corruption).

From: Brian Murphy <brian@murphy.dk>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20 years ago[PATCH] USB Hub driver: Add reset recovery-time delay
Alan Stern [Wed, 16 Feb 2005 06:26:53 +0000 (22:26 -0800)]
[PATCH] USB Hub driver: Add reset recovery-time delay

This patch is clearly needed for us to be in compliance with the USB spec.
It adds the mandated recovery-time delay following a port reset.
Regardless of anything else we do to alter the device initialization
sequence, this is necessary.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20 years ago[PATCH] USB: ehci patch for NF4 port miscounting
David Brownell [Wed, 16 Feb 2005 06:26:30 +0000 (22:26 -0800)]
[PATCH] USB: ehci patch for NF4 port miscounting

Turns out that a workaround for a different EHCI chip trips up at
least one NForce4 board.  Neither controller can multiply right.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
20 years ago[SPARC64]: auxio_register is pointer not integer.
David S. Miller [Wed, 16 Feb 2005 04:33:23 +0000 (20:33 -0800)]
[SPARC64]: auxio_register is pointer not integer.

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Wed, 16 Feb 2005 02:50:12 +0000 (18:50 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Wed, 16 Feb 2005 02:44:42 +0000 (18:44 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] fbdev: Fix gcc 4.0 compile failure
Antonino Daplas [Wed, 16 Feb 2005 00:41:34 +0000 (16:41 -0800)]
[PATCH] fbdev: Fix gcc 4.0 compile failure

From: Art Haas

The current GCC cvs code does not like the include/linux/fb.h file:

In file included from drivers/video/aty/atyfb_base.c:63:
include/linux/fb.h:865: error: array type has incomplete element type

This error is due to recent changes in GCC. A thread discussing this
change can be found by following the link below:

http://gcc.gnu.org/ml/gcc/2005-02/msg00053.html

The patch moves the array declaration after the definition of the
fb_modelist structure, and with this small change GCC is happy once
again.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PKTGEN]: Bug fixes, bump to version 2.56.
Robert Olsson [Wed, 16 Feb 2005 00:09:40 +0000 (16:09 -0800)]
[PKTGEN]: Bug fixes, bump to version 2.56.

- Fix printing of running list, do not stop at first
  not-running device, instead scan them all.
- Do not free SKB before final access via show_results()

Signed-off-by: David S. Miller <davem@davemloft.net>
20 years agoMerge intel.com:/home/lenb/src/26-stable-dev
Len Brown [Tue, 15 Feb 2005 17:33:55 +0000 (12:33 -0500)]
Merge intel.com:/home/lenb/src/26-stable-dev
into intel.com:/home/lenb/src/26-latest-dev

20 years ago[ACPI] ACPICA 20050211 from Bob Moore
Len Brown [Tue, 15 Feb 2005 17:30:04 +0000 (12:30 -0500)]
[ACPI] ACPICA 20050211 from Bob Moore

Implemented ACPI 3.0 support for implicit conversion within
the Match() operator. match_obj can now be of type
integer, buffer, or string instead of just type integer.
Package elements are implicitly converted to the type
of the match_obj. This change aligns the behavior of
Match() with the behavior of the other logical operators
(LLess(), etc.)  It also requires an errata change to the
ACPI specification as this support was intended for ACPI
3.0, but was inadvertently omitted.

Fixed a problem with the internal implicit "to buffer"
conversion.  Strings that are converted to buffers will
cause buffer truncation if the string is smaller than the
target buffer. Integers that are converted to buffers will
not cause buffer truncation, only zero extension (both as
per the ACPI spec.) The problem was introduced when code
was added to truncate the buffer, but this should not be
performed in all cases, only the string case.

Fixed a problem with the Buffer and Package operators
where the interpreter would get confused if two such
operators were used as operands to an ASL operator (such
as LLess(Buffer(1){0},Buffer(1){1}).  The internal result
stack was not being popped after the execution of these
operators, resulting in an AE_NO_RETURN_VALUE exception.

Fixed a problem with constructs of the form
Store(Index(...),...). The reference object returned from
Index was inadvertently resolved to an actual value. This
problem was introduced in version 20050114 when the
behavior of Store() was modified to restrict the object
types that can be used as the source operand (to match
the ACPI specification.)

Reduced stack use in acpi_get_object_info().

20 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Tue, 15 Feb 2005 10:57:38 +0000 (02:57 -0800)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6