]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
19 years agoDefine mem_*() I/O accessory functions that preserve byte addresses.
Maciej W. Rozycki [Tue, 22 Feb 2005 21:49:17 +0000 (21:49 +0000)]
Define mem_*() I/O accessory functions that preserve byte addresses.
Add missing ____raw_*q() functions.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMerge do_boot_cpu() into the new style __cpu_up().
Ralf Baechle [Tue, 22 Feb 2005 21:18:01 +0000 (21:18 +0000)]
Merge do_boot_cpu() into the new style __cpu_up().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoOn multiprocessor systems the BogoMIPS for each CPU was reported was
Ralf Baechle [Mon, 21 Feb 2005 21:34:24 +0000 (21:34 +0000)]
On multiprocessor systems the BogoMIPS for each CPU was reported was
the value for the last CPU having calibrated it's delay loop.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDefine MAP_BASE for IP27
Ralf Baechle [Mon, 21 Feb 2005 19:50:31 +0000 (19:50 +0000)]
Define MAP_BASE for IP27

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoResurrect Cobalt support for 2.6.
Ralf Baechle [Mon, 21 Feb 2005 16:18:36 +0000 (16:18 +0000)]
Resurrect Cobalt support for 2.6.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoEnable/disable irq's only if needed.
Thiemo Seufer [Mon, 21 Feb 2005 11:44:31 +0000 (11:44 +0000)]
Enable/disable irq's only if needed.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago-nostdlib boilerplate.
Thiemo Seufer [Mon, 21 Feb 2005 11:22:15 +0000 (11:22 +0000)]
-nostdlib boilerplate.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix compilation, and bring 32/64 bit variants more in line.
Thiemo Seufer [Mon, 21 Feb 2005 11:11:32 +0000 (11:11 +0000)]
Fix compilation, and bring 32/64 bit variants more in line.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix wchan implementation, based on earlier by from Atsushi Nemoto.
Thiemo Seufer [Mon, 21 Feb 2005 10:55:16 +0000 (10:55 +0000)]
Fix wchan implementation, based on earlier by from Atsushi Nemoto.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoImproved modules loader, more robust and works on 64bit kernels.
Thiemo Seufer [Mon, 21 Feb 2005 10:45:09 +0000 (10:45 +0000)]
Improved modules loader, more robust and works on 64bit kernels.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUntil I figure out why NFS filesystems are having problems with
Steven J. Hill [Sat, 19 Feb 2005 16:15:54 +0000 (16:15 +0000)]
Until I figure out why NFS filesystems are having problems with
the 'load_irix_binary' and having kernel faults, Irix support is
disabled. I suspect locking of some sort, but I will now have to
investigate further.

Static IRIX binaries are now being detected properly and are using the
ELF interpreter found in this file.

Signed-off-by: Steven J. Hill <sjhill@realitydiluted.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoInitialize iomem_resource.
Thiemo Seufer [Sat, 19 Feb 2005 13:58:37 +0000 (13:58 +0000)]
Initialize iomem_resource.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoHandle addresses beyond VMALLOC_END correctly.
Thiemo Seufer [Sat, 19 Feb 2005 13:56:04 +0000 (13:56 +0000)]
Handle addresses beyond VMALLOC_END correctly.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse intermediate variable.
Thiemo Seufer [Sat, 19 Feb 2005 13:32:02 +0000 (13:32 +0000)]
Use intermediate variable.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoO2 doesn't have _that_ much RAM.
Thiemo Seufer [Sat, 19 Feb 2005 13:27:41 +0000 (13:27 +0000)]
O2 doesn't have _that_ much RAM.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoChanged all Au1x boards to noncoherent again.
Pete Popov [Fri, 18 Feb 2005 06:27:25 +0000 (06:27 +0000)]
Changed all Au1x boards to noncoherent again.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago32-bit compatibility for various timer-related system calls.
Ralf Baechle [Wed, 16 Feb 2005 21:25:03 +0000 (21:25 +0000)]
32-bit compatibility for various timer-related system calls.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUpdate to match the native siginfo structure and code.
Ralf Baechle [Wed, 16 Feb 2005 21:24:16 +0000 (21:24 +0000)]
Update to match the native siginfo structure and code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago32-bit compatibility for ptrace GETEVENTMSG operation.
Ralf Baechle [Wed, 16 Feb 2005 21:22:40 +0000 (21:22 +0000)]
32-bit compatibility for ptrace GETEVENTMSG operation.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoImplement 32-bit compatibility for waitid(2).
Ralf Baechle [Wed, 16 Feb 2005 21:21:29 +0000 (21:21 +0000)]
Implement 32-bit compatibility for waitid(2).

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoWaitid(2) now has 5 arguments.
Ralf Baechle [Wed, 16 Feb 2005 21:19:59 +0000 (21:19 +0000)]
Waitid(2) now has 5 arguments.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse generic compat_sys_wait4 to implement 32-bit wait4(2).
Ralf Baechle [Wed, 16 Feb 2005 21:18:52 +0000 (21:18 +0000)]
Use generic compat_sys_wait4 to implement 32-bit wait4(2).

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoAllocate break code 513 to KDB.
Ralf Baechle [Wed, 16 Feb 2005 20:15:40 +0000 (20:15 +0000)]
Allocate break code 513 to KDB.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoReplace the complicated and broken attempt to clean interrupt by
Ralf Baechle [Sun, 13 Feb 2005 23:10:08 +0000 (23:10 +0000)]
Replace the complicated and broken attempt to clean interrupt by
something simple - doesn't need to be fast, after all.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoIf you want RM7000 better fix it to build first ...
Ralf Baechle [Sun, 13 Feb 2005 21:31:24 +0000 (21:31 +0000)]
If you want RM7000 better fix it to build first ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoIt's unwise to disable all interrupts of the boot node ;-)
Ralf Baechle [Sun, 13 Feb 2005 18:53:26 +0000 (18:53 +0000)]
It's unwise to disable all interrupts of the boot node ;-)

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoRewrite to avoid the use of $at. Unfortunately binutils 2.15 and CVS
Ralf Baechle [Sun, 13 Feb 2005 00:32:43 +0000 (00:32 +0000)]
Rewrite to avoid the use of $at.  Unfortunately binutils 2.15 and CVS
binutils are broken and don't warn about this use of $at even though
gas is in .set noat mode so this for now is an accident waiting to
happen.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoEnable RM7000 secondary cache for Atlas and Malta boards.
Maciej W. Rozycki [Sat, 12 Feb 2005 04:31:49 +0000 (04:31 +0000)]
Enable RM7000 secondary cache for Atlas and Malta boards.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMoves a test which determines if we actually need to perform a
Ralf Baechle [Thu, 10 Feb 2005 13:54:37 +0000 (13:54 +0000)]
Moves a test which determines if we actually need to perform a
cacheflush to the right place.  That's a bug which is harmless on UP
but a severe bug on SMP.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUpdate MIPS to use the 4-level pagetable code thereby getting rid of
Ralf Baechle [Thu, 10 Feb 2005 12:19:59 +0000 (12:19 +0000)]
Update MIPS to use the 4-level pagetable code thereby getting rid of
the compacrapability headers.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDocument why calling smp_call_function will deadlock when called with
Ralf Baechle [Thu, 10 Feb 2005 12:00:06 +0000 (12:00 +0000)]
Document why calling smp_call_function will deadlock when called with
interrupts disabled.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix ptrace aliasing issue in copy_from_user_page / copy_to_user_page.
Ralf Baechle [Wed, 9 Feb 2005 12:59:39 +0000 (12:59 +0000)]
Fix ptrace aliasing issue in copy_from_user_page / copy_to_user_page.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago25Kf is also physically indexed.
Ralf Baechle [Mon, 7 Feb 2005 21:53:39 +0000 (21:53 +0000)]
25Kf is also physically indexed.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoAdd a few more PrId vendor IDs.
Ralf Baechle [Mon, 7 Feb 2005 21:52:35 +0000 (21:52 +0000)]
Add a few more PrId vendor IDs.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago20Kc and SB1 don't suffer from aliases.
Ralf Baechle [Mon, 7 Feb 2005 21:41:32 +0000 (21:41 +0000)]
20Kc and SB1 don't suffer from aliases.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDelete duplicate copy of fixrange_init.
Ralf Baechle [Mon, 7 Feb 2005 16:13:07 +0000 (16:13 +0000)]
Delete duplicate copy of fixrange_init.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agorm9000_init() really is __init code.
Ralf Baechle [Mon, 7 Feb 2005 12:14:00 +0000 (12:14 +0000)]
rm9000_init() really is __init code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse preempt_schedule_irq.
Ralf Baechle [Mon, 7 Feb 2005 02:54:29 +0000 (02:54 +0000)]
Use preempt_schedule_irq.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMore oprofile bits for MIPS32-style performance counters. The code to
Ralf Baechle [Mon, 7 Feb 2005 02:54:29 +0000 (02:54 +0000)]
More oprofile bits for MIPS32-style performance counters.  The code to
bolt this into the actual hardware interrupt is yet missing from this
commit.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
 FEXPORT(ret_from_fork)

19 years agoIt works better when including arch/mips/sgi-ip27/Kconfig ...
Ralf Baechle [Mon, 7 Feb 2005 01:27:14 +0000 (01:27 +0000)]
It works better when including arch/mips/sgi-ip27/Kconfig ...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMove missplaced code line to the right place.
Ralf Baechle [Sun, 6 Feb 2005 21:55:49 +0000 (21:55 +0000)]
Move missplaced code line to the right place.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoProvide functions to access cop0 config4-7 registers
Ralf Baechle [Sun, 6 Feb 2005 21:24:55 +0000 (21:24 +0000)]
Provide functions to access cop0 config4-7 registers

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUse hardware mechanism to deal with cache aliases in the 24K.
Ralf Baechle [Fri, 4 Feb 2005 15:51:26 +0000 (15:51 +0000)]
Use hardware mechanism to deal with cache aliases in the 24K.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoRemove old wrong bits of cache code.
Ralf Baechle [Fri, 4 Feb 2005 15:19:01 +0000 (15:19 +0000)]
Remove old wrong bits of cache code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoClean up SEAD interrupt initialization.
Maciej W. Rozycki [Fri, 4 Feb 2005 01:34:52 +0000 (01:34 +0000)]
Clean up SEAD interrupt initialization.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMask and ack CPU interrupts upon initialization. Keep the state
Maciej W. Rozycki [Thu, 3 Feb 2005 23:06:29 +0000 (23:06 +0000)]
Mask and ack CPU interrupts upon initialization.  Keep the state
of software interrupts when unmasking.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMove Sibyte Kconfig stuff into it's own Kconfig.
Ralf Baechle [Thu, 3 Feb 2005 14:28:23 +0000 (14:28 +0000)]
Move Sibyte Kconfig stuff into it's own Kconfig.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoReplace deprecated interruptible_sleep_on() function call with direct
Ralf Baechle [Thu, 3 Feb 2005 13:37:41 +0000 (13:37 +0000)]
Replace deprecated interruptible_sleep_on() function call with direct
wait-queue usage.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDefine __raw_read_can_lock / __raw_write_can_lock.
Ralf Baechle [Thu, 3 Feb 2005 13:34:45 +0000 (13:34 +0000)]
Define __raw_read_can_lock / __raw_write_can_lock.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoUpdate descriptions for MIPS Technologies evaluation boards.
Maciej W. Rozycki [Wed, 2 Feb 2005 22:23:46 +0000 (22:23 +0000)]
Update descriptions for MIPS Technologies evaluation boards.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoReenable EARLY_PRINTK for the DECstation.
Maciej W. Rozycki [Wed, 2 Feb 2005 20:36:21 +0000 (20:36 +0000)]
Reenable EARLY_PRINTK for the DECstation.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFormatting fixes.
Maciej W. Rozycki [Tue, 1 Feb 2005 23:02:12 +0000 (23:02 +0000)]
Formatting fixes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix compilation; by Manish Lachwani.
Maciej W. Rozycki [Tue, 1 Feb 2005 20:21:48 +0000 (20:21 +0000)]
Fix compilation; by Manish Lachwani.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFixes for system controllers for Atlas/Malta core cards.
Maciej W. Rozycki [Tue, 1 Feb 2005 20:18:59 +0000 (20:18 +0000)]
Fixes for system controllers for Atlas/Malta core cards.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoActually route cPCI interrupts. Update inaccurate comments.
Maciej W. Rozycki [Tue, 1 Feb 2005 12:02:37 +0000 (12:02 +0000)]
Actually route cPCI interrupts.  Update inaccurate comments.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoSigned-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle [Wed, 26 Jan 2005 02:22:22 +0000 (02:22 +0000)]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Fix TASK_SIZE for 32-bit processes on 64-bit kernels.

19 years agoFix register layout in o32 core dumps on 64-bit systems.
Ralf Baechle [Wed, 26 Jan 2005 02:21:06 +0000 (02:21 +0000)]
Fix register layout in o32 core dumps on 64-bit systems.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoGet rid of early_init. There's more need to make this form of
Ralf Baechle [Tue, 21 Jun 2005 13:56:30 +0000 (13:56 +0000)]
Get rid of early_init.  There's more need to make this form of
initialization actually useful and as is certainly unmergable with
upstream.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDummy ISA DMA functions for systems that don't have ISA but share
Ralf Baechle [Tue, 28 Dec 2004 09:09:19 +0000 (09:09 +0000)]
Dummy ISA DMA functions for systems that don't have ISA but share
drivers with ISA such as legacy free PCI.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix build with SMP disabled and preemption enabled.
Ralf Baechle [Tue, 28 Dec 2004 07:49:43 +0000 (07:49 +0000)]
Fix build with SMP disabled and preemption enabled.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoMove the invalid pmd and pte tables from .data to .bss. Fix alignment.
Thiemo Seufer [Thu, 23 Dec 2004 08:21:39 +0000 (08:21 +0000)]
Move the invalid pmd and pte tables from .data to .bss. Fix alignment.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoRemove unused arguments from preempt_{start,stop}/local_irq_{en,dis}able.
Thiemo Seufer [Fri, 10 Dec 2004 12:56:33 +0000 (12:56 +0000)]
Remove unused arguments from preempt_{start,stop}/local_irq_{en,dis}able.
Don't clobber the preloaded TI_FLAGS in a2 needlessly.
Unexport local functions.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoFix typos and formatting.
Thiemo Seufer [Wed, 8 Dec 2004 10:32:45 +0000 (10:32 +0000)]
Fix typos and formatting.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years agoDe-optimize and decomplicate the spurious interrupt handler.
Thiemo Seufer [Sat, 4 Dec 2004 21:35:05 +0000 (21:35 +0000)]
De-optimize and decomplicate the spurious interrupt handler.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
19 years ago[PATCH] type fix in arm/boot/compressed/misc.c
Al Viro [Sat, 29 Oct 2005 11:07:11 +0000 (12:07 +0100)]
[PATCH] type fix in arm/boot/compressed/misc.c

spot the typo...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] bluetooth hidp is broken on s390
Al Viro [Sat, 29 Oct 2005 11:02:00 +0000 (12:02 +0100)]
[PATCH] bluetooth hidp is broken on s390

Bluetooth HIDP selects INPUT and it really needs it to be there - module
depends on input core.  And input core is never built on s390...

Marked as broken on s390, for now; if somebody has better ideas, feel
free to fix it and remove dependency...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] idmouse cleanup and overflow fix
Al Viro [Sat, 29 Oct 2005 10:56:13 +0000 (11:56 +0100)]
[PATCH] idmouse cleanup and overflow fix

switched to simple_read_from_buffer(), killed broken use of min().
Incidentally, that use of min() had been fixed once, only to be
reintroduced in commit 4244f72436ab77c3c29a6447af81734ab3925d85:

    [PATCH] USB: upgrade of the idmouse driver

[snip]
-       if (count > IMGSIZE - *ppos)
-               count = IMGSIZE - *ppos;
+       count = min ((loff_t)count, IMGSIZE - (*ppos));

Note the lovely use of cast to shut the warning about misuse of min()
up...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] amikbd fix
Al Viro [Sat, 29 Oct 2005 10:49:33 +0000 (11:49 +0100)]
[PATCH] amikbd fix

it's input_allocate_device(), not input_dev_allocate()...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] missing exports of do_settimeofday() variants
Al Viro [Sat, 29 Oct 2005 06:32:07 +0000 (07:32 +0100)]
[PATCH] missing exports of do_settimeofday() variants

frv, sh64, ia64 and sparc64 do not have do_settimeofday() exported (the
last two are using variant in kernel/time.c).  Exports added to match
the rest of architectures.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] missing bits in sparkspkr conversion
Al Viro [Sat, 29 Oct 2005 06:08:49 +0000 (07:08 +0100)]
[PATCH] missing bits in sparkspkr conversion

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] arguments out of order in class_device_create() call (s390)
Al Viro [Sat, 29 Oct 2005 06:06:59 +0000 (07:06 +0100)]
[PATCH] arguments out of order in class_device_create() call (s390)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] missing include in infiniband
Al Viro [Sat, 29 Oct 2005 05:46:03 +0000 (06:46 +0100)]
[PATCH] missing include in infiniband

use of IS_ERR/PTR_ERR in infiniband/core/agent.c, without a portable
chain of includes pulling err.h (breaks on a bunch of platforms).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] sata_sil24 iomem annotations and fixes
Al Viro [Sat, 29 Oct 2005 05:38:44 +0000 (06:38 +0100)]
[PATCH] sata_sil24 iomem annotations and fixes

trivial iomem annotations + missing memcpy_fromio() caught by those

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] s2io iomem annotations
Al Viro [Sat, 29 Oct 2005 05:36:27 +0000 (06:36 +0100)]
[PATCH] s2io iomem annotations

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] fix ->signal->live leak in copy_process()
Oleg Nesterov [Sat, 29 Oct 2005 15:37:40 +0000 (19:37 +0400)]
[PATCH] fix ->signal->live leak in copy_process()

exit_signal() (called from copy_process's error path) should decrement
->signal->live, otherwise forking process will miss 'group_dead' in
do_exit().

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years ago[PATCH] blk: fix merge bug in as-iosched
Tejun Heo [Sat, 29 Oct 2005 09:18:42 +0000 (18:18 +0900)]
[PATCH] blk: fix merge bug in as-iosched

as-iosched deals with aliased requests differently from other ioscheds.

It links together aliased requests using rq->queuelist instead of
spilling alises to dispatch queue like other ioscheds do.  Requests
linked in this way cannot be merged.

Unfortunately, generic q->last_merge handling patch didn't take this
into account and q->last_merge could be set to an aliased request
resulting in Badness, corrupt list and eventually panic.

This explicitly marks aliased requests to be unmergeable.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 years agoMerge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Arnaldo Carvalho de Melo [Sat, 29 Oct 2005 05:10:35 +0000 (03:10 -0200)]
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6

19 years ago[IPV4]: Fix issue reported by Coverity in ipv4/fib_frontend.c
Jayachandran C [Thu, 27 Oct 2005 22:10:01 +0000 (15:10 -0700)]
[IPV4]: Fix issue reported by Coverity in ipv4/fib_frontend.c

fib_del_ifaddr() dereferences ifa->ifa_dev, so the code already assumes that
ifa->ifa_dev is non-NULL, the check is unnecessary.

Signed-off-by: Jayachandran C. <c.jayachandran at gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
19 years ago[ETH]: ether address compare
Stephen Hemminger [Tue, 25 Oct 2005 22:03:41 +0000 (15:03 -0700)]
[ETH]: ether address compare

Expose faster ether compare for use by protocols and other
driver. And change name to be more consistent with other ether
address manipulation routines in same file

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
19 years ago[TCP]: fix tcp_tso_win_divisor documentation
Akinobu Mita [Fri, 21 Oct 2005 09:00:48 +0000 (18:00 +0900)]
[TCP]: fix tcp_tso_win_divisor documentation

The default value for tcp_tso_win_divisor is 3.

Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
19 years agoMerge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
Linus Torvalds [Sat, 29 Oct 2005 04:09:26 +0000 (21:09 -0700)]
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6

19 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6
Linus Torvalds [Sat, 29 Oct 2005 04:08:14 +0000 (21:08 -0700)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6

19 years agoUSB: fix up some odd parts due to partial merges
Greg Kroah-Hartman [Sat, 29 Oct 2005 02:59:31 +0000 (19:59 -0700)]
USB: fix up some odd parts due to partial merges

Thanks to Andrew for doing the hard work on this.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/sridhar/lksctp-2.6
Arnaldo Carvalho de Melo [Sat, 29 Oct 2005 01:35:02 +0000 (23:35 -0200)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/sridhar/lksctp-2.6

19 years ago[PATCH] USB: add nokia_dku2 driver
Greg Kroah-Hartman [Tue, 21 Jun 2005 04:15:16 +0000 (21:15 -0700)]
[PATCH] USB: add nokia_dku2 driver

This driver comes from the gnokii project.
Was further cleaned up by me to match recent usb-serial core changes.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] USB: add new device id to ftdi_sio module
Martin Hagelin [Wed, 26 Oct 2005 19:10:41 +0000 (21:10 +0200)]
[PATCH] USB: add new device id to ftdi_sio module

This is a patch to get the ELV FHZ1000 Home Automation control device to
work with Linux. The patch adds a new device ID to the ftdi_sio driver.
It is for kernel version 2.6.13.4.

Signed-off-by: Martin Hagelin <martin.hagelin@home.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] USB: fix correct wording in drivers/usb/net/KConfig
Koen Kooi [Wed, 26 Oct 2005 17:42:53 +0000 (19:42 +0200)]
[PATCH] USB: fix correct wording in drivers/usb/net/KConfig

Signed-off-by: Koen Kooi <koen@handhelds.org>
19 years ago[PATCH] USB: fix pm patches with CONFIG_PM off part 2
Andrew Morton [Mon, 24 Oct 2005 06:02:20 +0000 (23:02 -0700)]
[PATCH] USB: fix pm patches with CONFIG_PM off part 2

With CONFIG_PM=n:

drivers/built-in.o(.text+0x1098c): In function `hub_thread':
drivers/usb/core/hub.c:2673: undefined reference to `.dpm_runtime_resume'
drivers/built-in.o(.text+0x10998):drivers/usb/core/hub.c:2674: undefined reference to `.dpm_runtime_resume'

Please, never ever ever put extern decls into .c files.  Use the darn header
files :(

Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] USB: fix pm patches with CONFIG_PM off part 1
Andrew Morton [Mon, 24 Oct 2005 06:04:25 +0000 (23:04 -0700)]
[PATCH] USB: fix pm patches with CONFIG_PM off part 1

With CONFIG_PM=n:

drivers/built-in.o(.text+0x2a69c): In function `ohci_hub_control':
drivers/usb/host/ohci-hub.c:539: undefined reference to `.usb_hcd_resume_root_hub'
drivers/built-in.o(.text+0x2b920): In function `ohci_irq':
drivers/usb/host/ohci-hcd.c:726: undefined reference to `.usb_hcd_resume_root_hub'

Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] usbcore: Fix handling of sysfs strings and other attributes
Alan Stern [Mon, 24 Oct 2005 20:24:14 +0000 (16:24 -0400)]
[PATCH] usbcore: Fix handling of sysfs strings and other attributes

This patch (as592) makes a few small improvements to the way device
strings are handled, and it fixes some bugs in a couple of other sysfs
attribute routines.  (Look at show_configuration_string() to see what I
mean.)

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] USB: Fix maxpacket length for ep0 on root hubs
Alan Stern [Mon, 24 Oct 2005 19:41:19 +0000 (15:41 -0400)]
[PATCH] USB: Fix maxpacket length for ep0 on root hubs

This patch (as591) fixes a rather innocuous bug that has been around for
quite a long time: Virtual root hubs should have a maxpacket length of
64 for endpoint 0.  I didn't realize it was wrong until I started
looking through the endpoint attribute files.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] usbcore: Use kzalloc instead of kmalloc/memset
Alan Stern [Mon, 24 Oct 2005 19:38:24 +0000 (15:38 -0400)]
[PATCH] usbcore: Use kzalloc instead of kmalloc/memset

This patch (as590) fixes up all the remaining places where usbcore can
use kzalloc rather than kmalloc/memset.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] usbcore: Wrap lines before column 80
Alan Stern [Mon, 24 Oct 2005 19:36:00 +0000 (15:36 -0400)]
[PATCH] usbcore: Wrap lines before column 80

I can't stand text lines that wrap-around in my 80-column windows.  This
patch (as589) makes cosmetic changes to a couple of source files.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] usbcore: endpoint attributes track altsetting changes
Alan Stern [Mon, 24 Oct 2005 19:33:03 +0000 (15:33 -0400)]
[PATCH] usbcore: endpoint attributes track altsetting changes

This patch (as588) fixes the way endpoint attribute files are registered
and unregistered.  Now they will correctly track along with altsetting
changes.  This fixes bugzilla entry #5467.

In a separate but related change, when a usb_reset_configuration call
fails, the device state is not changed to USB_STATE_ADDRESS.  In the
first place, failure means that we don't know what the state is, not
that we know the device is unconfigured.  In the second place, doing
this can potentially lead to a memory leak, since usbcore might not
realize there still is a current configuration that needs to be
destroyed.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] usbcore: Improve endpoint sysfs file handling
Alan Stern [Tue, 25 Oct 2005 19:56:06 +0000 (15:56 -0400)]
[PATCH] usbcore: Improve endpoint sysfs file handling

This revised patch (as587b) improves the implementation of USB endpoint
sysfs files.  Instead of storing a whole bunch of attributes for every
single endpoint, each endpoint now gets its own kobject and they can
share a static list of attributes.  The number of extra fields added to
struct usb_host_endpoint has been reduced from 4 to 1.

The bEndpointAddress field is retained even though it is redundant (it
repeats the same information as the attributes' directory name).  The
code avoids calling kobject_register, to prevent generating unwanted
hotplug events.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] USB Storage: Expand range of Freecom unusual_devs entry
Phil Dibowitz [Mon, 24 Oct 2005 06:52:39 +0000 (23:52 -0700)]
[PATCH] USB Storage: Expand range of Freecom unusual_devs entry

Freecom seems to be one of those vendors that can't get the GET CAPACITY
thing right. This expands the US_FL_FIX_CAPACITY flag for the entire
range of their fccd product line.

This is based on a patch sent by Stuart Black
<stuart_black@yahoo.co.uk>.

Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] mdc800: remove embrions of C++ exceptions
Alexey Dobriyan [Tue, 25 Oct 2005 19:34:03 +0000 (23:34 +0400)]
[PATCH] mdc800: remove embrions of C++ exceptions

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] PATCH: usb-storage: use kthread API
Alan Stern [Mon, 24 Oct 2005 02:43:36 +0000 (19:43 -0700)]
[PATCH] PATCH: usb-storage: use kthread API

This patch is originally from Alan Stern (as569).  It has been rediffed
against a current tree.

This patch converts usb-storage to use the kthread API for creating its
control and scanning threads.  The new code doesn't use kthread_stop
because the threads need (or will need in the future) to exit
asynchronously.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] PATCH: usb-storage: implement minimal PM
Alan Stern [Mon, 24 Oct 2005 02:41:39 +0000 (19:41 -0700)]
[PATCH] PATCH: usb-storage: implement minimal PM

This patch from Alan Stern started as as568.  It has been rediffed against
a current tree.

This patch adds minimal suspend/resume support to usb-storage.  Just enough
for it to qualify as PM-aware.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 years ago[PATCH] PATCH: usb-storage: allocate separate sense buffer
Alan Stern [Mon, 24 Oct 2005 02:40:22 +0000 (19:40 -0700)]
[PATCH] PATCH: usb-storage: allocate separate sense buffer

This patch is from Alan Stern (as560).  It has been rediffed against a
current tree.

This patch allocates a separate buffer for usb-storage to use when
auto-sensing.  Up to now we have been using the sense buffer embedded in a
scsi_cmnd struct, which is dangerous on hosts that (a) don't do
cache-coherent DMA or (b) have DMA alignment restrictions.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>