]> git.hungrycats.org Git - linux/log
linux
20 years agoLinux 2.6.8-rc4 v2.6.8-rc4
Linus Torvalds [Mon, 9 Aug 2004 12:12:40 +0000 (05:12 -0700)]
Linux 2.6.8-rc4

20 years agoread/write: pass down a copy of f_pos, not f_pos itself.
Linus Torvalds [Mon, 9 Aug 2004 10:28:42 +0000 (03:28 -0700)]
read/write: pass down a copy of f_pos, not f_pos itself.

This allows the VFS layer to the update rather than the
low-level drivers.

20 years agoFix up drivers that access file->f_pos directly.
Linus Torvalds [Mon, 9 Aug 2004 10:23:30 +0000 (03:23 -0700)]
Fix up drivers that access file->f_pos directly.

Use the proper "pointer to pos" that is passed down instead.

20 years agomips: fix up some straggling sysctl functions
Linus Torvalds [Mon, 9 Aug 2004 10:22:10 +0000 (03:22 -0700)]
mips: fix up some straggling sysctl functions

20 years agoRevert FAT NLS changes.
Linus Torvalds [Mon, 9 Aug 2004 09:57:09 +0000 (02:57 -0700)]
Revert FAT NLS changes.

It's causing massive user confusion, and breaks installers by
mounting the filesystem read-only.

Cset exclude: hirofumi@mail.parknet.co.jp[torvalds]|ChangeSet|20040802210150|02337

20 years ago[PATCH] dvb: missing includes
Johannes Stezenbach [Mon, 9 Aug 2004 09:46:38 +0000 (02:46 -0700)]
[PATCH] dvb: missing includes

Although the current DVB stuff compiles fine, for correctness the following
patch adds the necessary include for __user annotations.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] boolean typo in DVB
Dave Jones [Mon, 9 Aug 2004 09:46:26 +0000 (02:46 -0700)]
[PATCH] boolean typo in DVB

This looks like what was intended here..

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 9 Aug 2004 09:44:39 +0000 (02:44 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ARM] Fix two makefile problems
Russell King [Mon, 9 Aug 2004 19:22:30 +0000 (20:22 +0100)]
[ARM] Fix two makefile problems

- bootp.lds is a source file not a target
- vmlinux.lds doesn't need to depend on the top level Makefile

20 years ago[PATCH] knfsd: fix some signed ints that should be unsigned
Neil Brown [Mon, 9 Aug 2004 09:37:34 +0000 (02:37 -0700)]
[PATCH] knfsd: fix some signed ints that should be unsigned

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoFix up sound driver proc-reading interfaces.
Linus Torvalds [Mon, 9 Aug 2004 09:09:47 +0000 (02:09 -0700)]
Fix up sound driver proc-reading interfaces.

The old ones were not only hard to use, they were in fact
impossible or a low-level sound driver to get right, since
the core sound code didn't even export all the necessary
information.

Add the file offset to the /proc read interfaces, and make
them simpler to use. The core now does a offset updates, and
sanity-checks the values so that the low-level drivers don't
need to worry.

20 years ago[PATCH] [ppc64] Fix SLB castout issue
Anton Blanchard [Mon, 9 Aug 2004 06:56:59 +0000 (23:56 -0700)]
[PATCH] [ppc64] Fix SLB castout issue

The SLB rewrite removed a fix for a hard to hit bug, but the SFS guys
managed to hit it straight away. We need to check both r1 and PACAKSAVE
or else we could cast our kernel segment out when on the irq or softirq
stack.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] HPT IDE update
Alan Cox [Mon, 9 Aug 2004 05:00:32 +0000 (22:00 -0700)]
[PATCH] HPT IDE update

This part got missed in the earlier merge, not sure where it escaped.

20 years agoMerge http://lia64.bkbits.net/to-base-2.6
Linus Torvalds [Mon, 9 Aug 2004 04:16:28 +0000 (21:16 -0700)]
Merge http://lia64.bkbits.net/to-base-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoinit.c, pgalloc.h:
Yanmin Zhang [Mon, 9 Aug 2004 16:46:31 +0000 (16:46 +0000)]
init.c, pgalloc.h:
  Disable pre-emption around access to pgtable_cache_size, pgd_quicklist,
  and pmd_quicklist.

Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com>
Signed-off-by: Zou Nanhai <nanhai.zou@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
20 years ago[PATCH] allow broken apps to include kernel header
Jens Axboe [Mon, 9 Aug 2004 03:28:28 +0000 (20:28 -0700)]
[PATCH] allow broken apps to include kernel header

Include compiler.h from sg.h as it uses the __user notation, and change
the types in scsi.h to use user exportable types.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Export blk_queue_resize_tags
Jens Axboe [Mon, 9 Aug 2004 03:28:17 +0000 (20:28 -0700)]
[PATCH] Export blk_queue_resize_tags

Exports blk_queue_resize_tags since it is an exported interface.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] adjust SG reserved size automatically
Jens Axboe [Mon, 9 Aug 2004 03:28:06 +0000 (20:28 -0700)]
[PATCH] adjust SG reserved size automatically

The block layer SG should have the identical behaviour as SCSI sg when
it comes to SG_SET_RESERVED_SIZE - allow caller to specify a large
amount, truncate to largest we support, and return that with
SG_GET_RESERVED_SIZE.  Currently we fail with -EINVAL if the value is
too large, I think the SCSI sg behaviour is more sane to use.  This
one-liner fixes it up, please apply for 2.6.8.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Sun, 8 Aug 2004 14:29:26 +0000 (07:29 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ARM] Fix wdt977 sparse warnings
Russell King [Sun, 8 Aug 2004 20:16:21 +0000 (21:16 +0100)]
[ARM] Fix wdt977 sparse warnings

drivers/char/watchdog/wdt977.c:291:9: warning: incorrect type in initializer (different address spaces)
drivers/char/watchdog/wdt977.c:291:9:    expected char const [noderef] *register __p<asn:1>
drivers/char/watchdog/wdt977.c:291:9:    got char const *buf
...

20 years ago[ARM] Fix nwflash sparse warnings
Russell King [Sun, 8 Aug 2004 19:05:49 +0000 (20:05 +0100)]
[ARM] Fix nwflash sparse warnings

20 years ago[ARM] Fix nwbutton sparse warnings
Russell King [Sun, 8 Aug 2004 18:56:07 +0000 (19:56 +0100)]
[ARM] Fix nwbutton sparse warnings

drivers/char/nwbutton.c:177:24: warning: incorrect type in argument 1 (different address spaces)/home/rmk/bk/linux-2.6-rmk/drivers/char/nwbutton.c:177:24:    expected void [noderef] *to<asn:1>
drivers/char/nwbutton.c:177:24:    got char *buffer
drivers/char/nwbutton.c:177:24: warning: incorrect type in initializer (different address spaces)
drivers/char/nwbutton.c:177:24:    expected void [noderef] *to<asn:1>
drivers/char/nwbutton.c:177:24:    got char *buffer
drivers/char/nwbutton.c:189:11: warning: incorrect type in initializer (incompatible argument 2 (different address spaces))
drivers/char/nwbutton.c:189:11:    expected int [usertype] ( *read )( ... )
drivers/char/nwbutton.c:189:11:    got int ( static [addressable] [toplevel] *<noident> )( ... )

20 years ago[ARM] Fix sparse warnings in ds1620.c
Russell King [Sun, 8 Aug 2004 18:24:24 +0000 (19:24 +0100)]
[ARM] Fix sparse warnings in ds1620.c

drivers/char/ds1620.c:230:19: warning: incorrect type in argument 1 (different address spaces)
drivers/char/ds1620.c:230:19:    expected void [noderef] *to<asn:1>
drivers/char/ds1620.c:230:19:    got char *buf
drivers/char/ds1620.c:230:19: warning: incorrect type in initializer (different address spaces)
drivers/char/ds1620.c:230:19:    expected void [noderef] *to<asn:1>
drivers/char/ds1620.c:230:19:    got char *buf
...
drivers/char/ds1620.c:383:52: warning: Using plain integer as NULL pointer

20 years ago[ARM] Eliminate io.c sparse warnings/ gcc 3.4 errors.
Russell King [Sun, 8 Aug 2004 17:50:31 +0000 (18:50 +0100)]
[ARM] Eliminate io.c sparse warnings/ gcc 3.4 errors.

arch/arm/kernel/io.c:15:5: warning: generating address of non-lvalue
arch/arm/kernel/io.c:15:5: warning: loading unknown expression
arch/arm/kernel/io.c:29:5: warning: generating address of non-lvalue
arch/arm/kernel/io.c:29:5: warning: loading unknown expression

20 years ago[ARM] Fix sparse warnings in nwfpe.
Russell King [Sun, 8 Aug 2004 17:04:49 +0000 (18:04 +0100)]
[ARM] Fix sparse warnings in nwfpe.

This fixes sparse warnings in fpa11_cpdt (coprocessor data transfer)
instruction emulation.  Note that pointers need to be cast to unsigned
long not unsigned int, so convert user registers to be unsigned long
type.

20 years agoppc64: add user annotations to rtc driver
Linus Torvalds [Sun, 8 Aug 2004 07:22:10 +0000 (00:22 -0700)]
ppc64: add user annotations to rtc driver

20 years agoRemove ESPIPE logic from drivers, letting the VFS layer handle it instead.
Linus Torvalds [Sun, 8 Aug 2004 07:07:55 +0000 (00:07 -0700)]
Remove ESPIPE logic from drivers, letting the VFS layer handle it instead.

This cleans up and simplifies drivers, and also allows us future
simplification in the VFS layer, since it removes knowledge about
internal VFS layer handling of "f_pos".

20 years agoMake sysctl pass the pos pointer around properly.
Linus Torvalds [Sat, 7 Aug 2004 16:43:47 +0000 (09:43 -0700)]
Make sysctl pass the pos pointer around properly.

Nobody ever fixed the big FIXME in sysctl - but we really need
to pass around the proper "loff_t *" to all the sysctl functions
if we want them to be well-behaved wrt the file pointer position.

This is all preparation for making direct f_pos accesses go
away.

20 years ago[PATCH] mpoa patch done right
Alexander Viro [Sat, 7 Aug 2004 12:15:08 +0000 (05:15 -0700)]
[PATCH] mpoa patch done right

 - conversion to seq_file, overflow fixes
 - qos_parse sanitized (3 sscanf calls instead of insane manual parsing)
leaks plugged
code cleaned up

We still have serious races, but they are general problem in atm code - it
has no locking whatsoever for any of the lists (mpcs, qos_head, per-client
lists).

20 years ago[PATCH] Teach sscanf about 'hh' and 'll'
Alexander Viro [Sat, 7 Aug 2004 12:14:56 +0000 (05:14 -0700)]
[PATCH] Teach sscanf about 'hh' and 'll'

Adds support for 'hh' (store number in char *) and 'll' (proper C99 for
long long) modifiers to sscanf().

20 years agoFix up a couple of drivers - notable sg - for nonseekability.
Linus Torvalds [Sat, 7 Aug 2004 12:11:39 +0000 (05:11 -0700)]
Fix up a couple of drivers - notable sg - for nonseekability.

20 years agoThe seq_file code already disabled pread/pwrite access,
Linus Torvalds [Sat, 7 Aug 2004 12:09:26 +0000 (05:09 -0700)]
The seq_file code already disabled pread/pwrite access,
no need for the mtrr code to check any more.

20 years agoMark the sunrpc cache control file nonseekable, and
Linus Torvalds [Sat, 7 Aug 2004 12:08:24 +0000 (05:08 -0700)]
Mark the sunrpc cache control file nonseekable, and
remove the run-time tests for it.

20 years agoCharacter device tape drivers are non-lseekable.
Linus Torvalds [Sat, 7 Aug 2004 12:07:42 +0000 (05:07 -0700)]
Character device tape drivers are non-lseekable.

You can seek the tape, but you do it with the magic tape
control ioctl's, not with lseek/pread/pwrite.

20 years agoMark tty's as being non-seekable, and remove the now
Linus Torvalds [Sat, 7 Aug 2004 12:06:26 +0000 (05:06 -0700)]
Mark tty's as being non-seekable, and remove the now
unnecessary tests at read/write time.

20 years agoTeach sendfile() to honour non-seekable source files.
Linus Torvalds [Sat, 7 Aug 2004 12:05:19 +0000 (05:05 -0700)]
Teach sendfile() to honour non-seekable source files.

Remove the test from the socket code, now that it's no
longer necessary.

20 years agoAdd "nonseekable_open()" helper functions for nonseekable
Linus Torvalds [Sat, 7 Aug 2004 11:54:18 +0000 (04:54 -0700)]
Add "nonseekable_open()" helper functions for nonseekable
file descriptors.

20 years agoAdd pread/pwrite support bits to match the lseek bit.
Linus Torvalds [Sat, 7 Aug 2004 09:08:23 +0000 (02:08 -0700)]
Add pread/pwrite support bits to match the lseek bit.

This also removes the ESPIPE logic from pipes and seq_files,
since the VFS layer now supports it.

20 years ago[PATCH] ppc32: add PPC4xx DMA engine library
Matt Porter [Sat, 7 Aug 2004 08:02:35 +0000 (01:02 -0700)]
[PATCH] ppc32: add PPC4xx DMA engine library

Adds a cleaned up version of the PPC4xx DMA engine library.  Converted to
new DCR access method and DMA API.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: remove pci-dma.c
Matt Porter [Sat, 7 Aug 2004 07:58:35 +0000 (00:58 -0700)]
[PATCH] ppc32: remove pci-dma.c

Remove pci-dma.c.  It is cruft left over from the DMA API changes.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: fix ebony uart clock
Geoffrey LEVAND [Sat, 7 Aug 2004 07:58:23 +0000 (00:58 -0700)]
[PATCH] ppc32: fix ebony uart clock

This patch corrects the Ebony board's uart clock value to the rate of the
external Epson SG-615P clock source.  Now good to 115Kbps.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> for CELF
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc32: clean up PPC44x mmu_mapin_ram()
Matt Porter [Sat, 7 Aug 2004 07:58:12 +0000 (00:58 -0700)]
[PATCH] ppc32: clean up PPC44x mmu_mapin_ram()

Remove some old cruft in the kernel lowmem mapping code and save some
memory in the process.

Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] ppc64: suppress unused var warning in get_irq_server()
Dave Hansen [Sat, 7 Aug 2004 07:58:01 +0000 (00:58 -0700)]
[PATCH] ppc64: suppress unused var warning in get_irq_server()

When normal IRQ balancing is used, the following warnings appear:

arch/ppc64/kernel/xics.c: In function `get_irq_server':
arch/ppc64/kernel/xics.c:242: warning: unused variable `cpumask'
arch/ppc64/kernel/xics.c:243: warning: unused variable `tmp'

Simply move the variables inside the #ifdef

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] ppc64: move SPINLINE out of global menu
Dave Hansen [Sat, 7 Aug 2004 07:57:50 +0000 (00:57 -0700)]
[PATCH] ppc64: move SPINLINE out of global menu

This somehow ended up out in the global Kconfig menu.  Move it back inside
debugging where it belongs.

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] ppc64: suppress 'store_purr' unused warning
Anton Blanchard [Sat, 7 Aug 2004 07:57:38 +0000 (00:57 -0700)]
[PATCH] ppc64: suppress 'store_purr' unused warning

Some new sysfs macros declare a store_purr() function that never gets used,
which makes a compiler warning happen.  Suppress the warning with the used
attribute.

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
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] ppc64: fix chrp_progress mismerge
Anton Blanchard [Sat, 7 Aug 2004 07:57:27 +0000 (00:57 -0700)]
[PATCH] ppc64: fix chrp_progress mismerge

Due to a mismerge, some code in chrp_progress appears twice. While here,
clean up some formatting issues.

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] ppc64: set SMT thread priority to medium for all exceptions
Anton Blanchard [Sat, 7 Aug 2004 07:57:15 +0000 (00:57 -0700)]
[PATCH] ppc64: set SMT thread priority to medium for all exceptions

We need to set the thread priority to medium when entering all exceptions.
We may have been executing in low priority (eg the idle loop), but
definitely do not want to remain in that priority for the duration of the
exception (eg a device interrupt).

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] ppc64: avoid speculative execution after rfid
Anton Blanchard [Sat, 7 Aug 2004 07:57:04 +0000 (00:57 -0700)]
[PATCH] ppc64: avoid speculative execution after rfid

Due to speculative execution, a CPU may execute some instructions after the
rfid.  This makes profiles confusing, since profiling ticks could end up in
those instructions following the rfid that are never executed.

Add a branch to self after each rfid to avoid this.

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] ppc64: fix PCI allocation warning
Anton Blanchard [Sat, 7 Aug 2004 07:56:54 +0000 (00:56 -0700)]
[PATCH] ppc64: fix PCI allocation warning

Print the correct domain when a PCI resource allocation fails.

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] ppc64: various XICS fixes
Anton Blanchard [Sat, 7 Aug 2004 07:56:42 +0000 (00:56 -0700)]
[PATCH] ppc64: various XICS fixes

- Remove unused includes.
- Be consistent about printing irq numbers, avoid a mix of decimal and
  hexadecimal.
- Remove prototypes from xics.c, they should be in xics.h.
- Remove infinite loop on failure, and instead use panic. Panic has a chance to
  log the error message on the LED panel and reboot the box, a while(1) loop
  does not.
- xics isnt compiled for iseries any more, so no need for the
  CONFIG_PPC_PSERIES hack.

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] ppc64: 32-bit ptrace geteventmsg fix
John Engel [Sat, 7 Aug 2004 07:56:31 +0000 (00:56 -0700)]
[PATCH] ppc64: 32-bit ptrace geteventmsg fix

Here's a fix for the 32-bit PTRACE_GETEVENTMSG ptrace call that handles the
passing of a 32-bit user address.  Please apply, thanks.

Signed-off-by: John Engel <jhe@us.ibm.com>
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] ppc64: pci_dn cleanups
Paul Mackerras [Sat, 7 Aug 2004 07:56:22 +0000 (00:56 -0700)]
[PATCH] ppc64: pci_dn cleanups

This patch just cleans up arch/ppc64/kernel/pci_dn.c a bit, including:
- remove it from the iSeries build completely
- small changes to Makefile
- remove the "post" parameter from traverse_pci_devices as
  noone used it
- make traverse_all_pci_devices static
- remove CONFIG_PPC_PSERIES tests as we no longer build for iSeries
- some reformatting (closer to "standard")
- remove some of pointer casts

This has been built (with default config) on pSeries and pmac and built and
run on iSeries.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
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] ppc64: fix free_irq()
Andrey Panin [Sat, 7 Aug 2004 07:56:10 +0000 (00:56 -0700)]
[PATCH] ppc64: fix free_irq()

Fix ppc64 free_irq.

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] s390: qeth performance.
Thomas Spatzier [Sat, 7 Aug 2004 07:55:59 +0000 (00:55 -0700)]
[PATCH] s390: qeth performance.

qeth network driver performance improvements. The ping time on the
HiperSockets interface drops from 250 usecs to 50 usecs and the 1 bytes
request/response test improves from 70000 to 110000 transactions.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] s390: zfcp host adapater.
Martin Schwidefsky [Sat, 7 Aug 2004 07:55:48 +0000 (00:55 -0700)]
[PATCH] s390: zfcp host adapater.

From: Heiko Carstens <heiko.carstens@de.ibm.com>
From: Andreas Herrmann <aherrman@de.ibm.com>

zfcp host adapater change:
 - Fix call to close_physical_port to prevent devices going offline
   after error recovery.
 - Fix return value of sysfs port_remove attribute store function.
 - Replace reboot notifier with device driver shutdown function.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] s390: ctc driver changes.
Peter Tiedemann [Sat, 7 Aug 2004 07:55:36 +0000 (00:55 -0700)]
[PATCH] s390: ctc driver changes.

Prefix debug feature variables with ctc to avoid name space problems.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] s390: msleep vs. schedule_timeout.
Nishanth Aravamudan [Sat, 7 Aug 2004 07:55:25 +0000 (00:55 -0700)]
[PATCH] s390: msleep vs. schedule_timeout.

Use msleep() instead of schedule_timeout() to guarantee the task
delays for the desired time.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] s390: common i/o layer changes.
Cornelia Huck [Sat, 7 Aug 2004 07:55:13 +0000 (00:55 -0700)]
[PATCH] s390: common i/o layer changes.

common i/o layer changes:
 - Set state of a disconnected device to offline before calling
   ccw_device_online, otherwise the device doesn't come up again.
 - Check for channel end when trying to find out if basic sense
   was successful.
 - Fix error handling in new_channel_path.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] s390: core changes.
Martin Schwidefsky [Sat, 7 Aug 2004 07:55:02 +0000 (00:55 -0700)]
[PATCH] s390: core changes.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

s390 core changes:
 - Add 32 bit compat code for ptrace requests PTRACE_GETEVENTMSG,
   PTRACE_GETSIGINFO and PTRACE_SETSIGINFO.
 - Make non-smp kernel compile.
 - Regenerate default configuration.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc32: gcc-3.3 macro parenthesization fix for memcpy.S
William Lee Irwin III [Sat, 7 Aug 2004 07:54:50 +0000 (00:54 -0700)]
[PATCH] sparc32: gcc-3.3 macro parenthesization fix for memcpy.S

From: Art Haas <ahaas@airmail.net>

The 1.3->1.4 changes to the arch/sparc/lib/copy_user.S file added parenthesis
to a number of macros within that file.  The BK changlog associated with this
change indicate the change was to make the file work with gcc-3.3.

When looking at the changes made, I see that similar macros exist in memcpy.S
as well, so would a patch adding parens to that file be worthwhile?  Also,
just what was the problem with gcc-3.3 that was resolved by adding the
parenthesis?  Macro mis-expansion I'm guessing.

Signed-off-by: Art Haas <ahaas@airmail.net>
Signed-off-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc32: make CONFIG_SMP depend on CONFIG_BROKEN
William Lee Irwin III [Sat, 7 Aug 2004 07:54:39 +0000 (00:54 -0700)]
[PATCH] sparc32: make CONFIG_SMP depend on CONFIG_BROKEN

SMP support is in need of a great deal of work to port it from 2.2 and 2.4.
Add a dependency on BROKEN in the Kconfig to warn the unwary.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc32: sun4 does not support SMP
William Lee Irwin III [Sat, 7 Aug 2004 07:54:27 +0000 (00:54 -0700)]
[PATCH] sparc32: sun4 does not support SMP

The sun4 port does not support SMP.  Disable it via Kconfig.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc32: remove unused variable in dvma.c
William Lee Irwin III [Sat, 7 Aug 2004 07:54:16 +0000 (00:54 -0700)]
[PATCH] sparc32: remove unused variable in dvma.c

This variable is unused and causes noisy compiles.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc32: define cache_decay_ticks
William Lee Irwin III [Sat, 7 Aug 2004 07:54:05 +0000 (00:54 -0700)]
[PATCH] sparc32: define cache_decay_ticks

cache_decay_ticks needs to be defined in order for the kernel to link.  This
placeholder is inaccurate, however, other, more grave SMP issues need to be
addressed first.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc32: remove references to start_secondary()
William Lee Irwin III [Sat, 7 Aug 2004 07:53:53 +0000 (00:53 -0700)]
[PATCH] sparc32: remove references to start_secondary()

Remove leftover references to now-unused start_secondary()

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc32: reinstate smp_reschedule_irq()
William Lee Irwin III [Sat, 7 Aug 2004 07:53:42 +0000 (00:53 -0700)]
[PATCH] sparc32: reinstate smp_reschedule_irq()

smp_reschedule_irq() mysteriously vanished sometime after 2.4.  This patch
reinstates it so that the kernel will link properly and so cpus will set
TIF_NEED_RESCHED when it's asked of them.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc32: smp_processor_id() BITFIXUP fixes
William Lee Irwin III [Sat, 7 Aug 2004 07:53:33 +0000 (00:53 -0700)]
[PATCH] sparc32: smp_processor_id() BITFIXUP fixes

The SMP initialization functions try to do btfixups on the wrong symbols for
smp_processor_id(), which is now implemented in terms of
current_thread_info()->cpu.  hard_smp_processor_id() etc.  are now in use
where smp_processor_id() was once used.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc32: sun4d cpu_present_map is a cpumask_t
William Lee Irwin III [Sat, 7 Aug 2004 07:53:21 +0000 (00:53 -0700)]
[PATCH] sparc32: sun4d cpu_present_map is a cpumask_t

cpu_present_map is a cpumask_t.  Sweep arch/sparc/kernel/sun4d_smp.c so that
it is treated as such.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc32: sparc32 init_idle()
William Lee Irwin III [Sat, 7 Aug 2004 07:53:10 +0000 (00:53 -0700)]
[PATCH] sparc32: sparc32 init_idle()

An analysis of the code determined that AP initialization called init_idle()
no less than three times, 2 out of the three with incorrect numbers of
arguments.  This patch removes the superfluous calls.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] sparc32: turbosparc flush warnings
William Lee Irwin III [Sat, 7 Aug 2004 07:52:59 +0000 (00:52 -0700)]
[PATCH] sparc32: turbosparc flush warnings

FLUSH_BEGIN() is a nop at the moment, so the mm variable for its argument
trips a warning.  Pass vma->vm_mm directly instead.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] jbd: journal_head unmapping race fix
Andrew Morton [Sat, 7 Aug 2004 07:52:47 +0000 (00:52 -0700)]
[PATCH] jbd: journal_head unmapping race fix

Fix a race identified by Chris Mason <mason@suse.com>

journal_unmap_buffer -> __dispose_buffers has the j_list_lock and the
jbd_lock_bh_state held.

journal_get_write_access calls journal_put_journal_head, which takes
jbd_lock_bh_journal_head(bh) and doesn't seem to have any other locks held.

Since journal_unmap_buffers trusts the buffer_jbd bit to see if we need to
call __dispose_buffer, and nobody seems to test buffer_jbd after taking
jbd_lock_bh_journal_head.  The kernel dereferences a null jh pointer in
__journal_remove_journal_head.

The patch fixes this by using journal_grab_journal_head() in
journal_unmap_buffer().  It ensures that we either grab and pin the
journal_head if the bh has one, or we bale out if the bh doesn't have a
journal_head.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Restore PPP filtering
Paul Mackerras [Sat, 7 Aug 2004 07:52:36 +0000 (00:52 -0700)]
[PATCH] Restore PPP filtering

Karsten Keil's patch entitled "[ISDN]: Fix kernel PPP/IPPP active/passiv
filter code" that went in back in April was an attempt to solve a real
problem - namely that the libpcap maintainers have removed useful
functionality that pppd was using - but his fix broke existing pppd
binaries and IMO didn't end up actually solving the problem.

This patch reverts the change to ppp_generic.c so that existing pppd
binaries work again.  I am going to have to work out a proper fix, which
may involve further changes to ppp_generic.c, but I will make sure existing
pppd binaries still work.

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] kbuild: Remove LANG preset in top-level Makefile
Sam Ravnborg [Sat, 7 Aug 2004 07:52:25 +0000 (00:52 -0700)]
[PATCH] kbuild: Remove LANG preset in top-level Makefile

In the top-level Makefile a number of locale related environment
variables were preset to give a small speed up when building the kernel.

Unfortunately this had the bad sideeffect that the variable
CFLAGS_vmlinux.lds.o lost the exported vaule in some setups (obviously
not mine).  This smells like a make issue - but the best solution is
simply to drop presetting the locale related variables.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoAdd infrastructure for the VFS layer to mark files seekable.
Linus Torvalds [Sat, 7 Aug 2004 05:12:52 +0000 (22:12 -0700)]
Add infrastructure for the VFS layer to mark files seekable.

We use a FMODE_LSEEK flag to match the existing read/write
bits. This allows us to check for seekability on a VFS level
for lseek/pread/pwrite, and cleans things up.

Update some sites that used the numeric constants to use
the symbolic values instead.

20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Fri, 6 Aug 2004 09:14:40 +0000 (02:14 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[SERIAL] replace schedule_timeout() with msleep()
Russell King [Fri, 6 Aug 2004 18:38:15 +0000 (19:38 +0100)]
[SERIAL] replace schedule_timeout() with msleep()

Patch from: Nishanth Aravamudan

Use msleep() instead of schedule_timeout() to
guarantee the task delays for the desired time.

Signed-off-by: Nishanth Aravamudan
Signed-off-by: Russell King
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 6 Aug 2004 09:06:02 +0000 (02:06 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[ARM] Remove unnecessary CONFIG_CPU_32 preprocessor conditional.
Russell King [Fri, 6 Aug 2004 23:10:36 +0000 (00:10 +0100)]
[ARM] Remove unnecessary CONFIG_CPU_32 preprocessor conditional.

We're only 32-bit ARMs, so testing this symbol in 32-bit only code
is unnecessary.

20 years ago[FB] replace schedule_timeout() with msleep()
Russell King [Fri, 6 Aug 2004 18:55:39 +0000 (19:55 +0100)]
[FB] replace schedule_timeout() with msleep()

Patch from: Nishanth Aravamudan

Use msleep() instead of schedule_timeout() to
guarantee the task delays for the desired time.

Signed-off-by: Nishanth Aravamudan
Signed-off-by: Russell King
20 years ago[ARM PATCH] 1990/1: S3C2410 - fix mis-spelled time initialisation calls
Ben Dooks [Fri, 6 Aug 2004 16:08:24 +0000 (17:08 +0100)]
[ARM PATCH] 1990/1: S3C2410 - fix mis-spelled time initialisation calls

Patch from Ben Dooks

Fixed mis-spelled time initialisation calls and
a bad prototype in the time header

Fixes for patch 1962/1

20 years ago[ARM PATCH] 1989/1: S3C2410 - rename owner of VR1000 board and update help
Ben Dooks [Fri, 6 Aug 2004 15:33:46 +0000 (16:33 +0100)]
[ARM PATCH] 1989/1: S3C2410 - rename owner of VR1000 board and update help

Patch from Ben Dooks

Rename to Thorcom, and added extra lines to help

20 years ago[ARM PATCH] 1988/1: S3C2410 - defconfig update to include all boards
Ben Dooks [Fri, 6 Aug 2004 15:28:22 +0000 (16:28 +0100)]
[ARM PATCH] 1988/1: S3C2410 - defconfig update to include all boards

Patch from Ben Dooks

Updated default configuration file to include all the
boards possible with this architecture

20 years ago[ARM PATCH] 1986/1: bootpImage/ARM: add ability to run from non-zero address
Kevin Hilman [Fri, 6 Aug 2004 15:20:34 +0000 (16:20 +0100)]
[ARM PATCH] 1986/1: bootpImage/ARM: add ability to run from non-zero address

Patch from Kevin Hilman

The following patch allows the bootpImage to be loaded and executed
from a non-zero address.  On OMAP platforms for example, the physical
address for SDRAM is 0x10000000 and not zero.

20 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Fri, 6 Aug 2004 08:59:55 +0000 (01:59 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[NET]: Move sndmsg_page destruction back into TCP for now.
David S. Miller [Fri, 6 Aug 2004 08:21:39 +0000 (01:21 -0700)]
[NET]: Move sndmsg_page destruction back into TCP for now.

Signed-off-by: David S. Miller <davem@redhat.com>
20 years ago[PATCH] ppc32: Fix building of certain CPU types
Tom Rini [Fri, 6 Aug 2004 08:13:07 +0000 (01:13 -0700)]
[PATCH] ppc32: Fix building of certain CPU types

The following corrects how we pass CPU flags to gas.  Previous, AFLAGS
was incorrectly assumed to be pased directly to $(AS), which is not the
case.

Concept ack'd by Sam Ravnborg.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Remove ppc32 proc_rtas.c
Paul Mackerras [Fri, 6 Aug 2004 08:12:56 +0000 (01:12 -0700)]
[PATCH] Remove ppc32 proc_rtas.c

This patch removes proc_rtas.c and error_log.[ch] from
arch/ppc/platforms.  It turns out that the code in error_log.[ch] is
completely unused, and the code in proc_rtas.c is buggy, almost
impossible to understand, and rarely used.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] Re-implemented i586 asm AES
James Morris [Fri, 6 Aug 2004 02:46:07 +0000 (19:46 -0700)]
[PATCH] Re-implemented i586 asm AES

This code is a rework of the original Gladman AES code, and does not
include any supposed BSD licensed work by Jari Ruusu.

Linus converted the Intel asm to Gas format, and made some minor
alterations.

Fruhwirth's glue module has also been retained, although I rebased the
table generation and key scheduling back to Gladman's code.  I've tested
this code with some standard FIPS test vectors, and large FTP transfers
over IPSec (both locally and over the wire to a system running the
generic AES implementation).

Signed-off-by: James Morris <jmorris@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMake the new simple_read_from_buffer() take a const src
Linus Torvalds [Thu, 5 Aug 2004 16:11:00 +0000 (09:11 -0700)]
Make the new simple_read_from_buffer() take a const src
buffer without complaints.

20 years ago[PATCH] Fix ppc htab seq_file conversion
Alexander Viro [Thu, 5 Aug 2004 15:36:28 +0000 (08:36 -0700)]
[PATCH] Fix ppc htab seq_file conversion

*grrrrrrrr*

Wrong diff sent.  Sorry - normally the tree I'm working in is cp -rl'ed
from the -current, but right now it's a big mess.

This is the incremental fix.

20 years ago[PATCH] ppc: seq_file conversion for ppc_htab
Alexander Viro [Thu, 5 Aug 2004 14:13:56 +0000 (07:13 -0700)]
[PATCH] ppc: seq_file conversion for ppc_htab

This converts the 32-bit ppc htab code to use the seq_file interfaces.

Less code means fewer bugs..

20 years ago[PATCH] ppc64: Fix rtas file mess
Alexander Viro [Thu, 5 Aug 2004 13:37:01 +0000 (06:37 -0700)]
[PATCH] ppc64: Fix rtas file mess

This does the seq_file conversion + annotation + cleanup + race fixes
for arch/ppc64/kernel/rtas-proc.c.

How the fuck did that file manage to get anywhere near the tree, anyway?
Take a look at guy's "implementation" of sprintf(buf, "%04d", num), for
example:

<vomit>
/* construct the sensor number like 0003 */
/* fill with zeros */
n = sprintf(tmp, "%d", s.token);
len = strlen(tmp);
while (strlen(tmp) < 4)
n += sprintf (tmp+n, "0");

/* invert the string */
while (tmp[i]) {
if (i<len)
tmp2[4-len+i] = tmp[i];
else
tmp2[3-i] = tmp[i];
i++;
}
tmp2[4] = '\0';
</vomit>

And it's full of that level of lusing ;-/

20 years agoFix shrink_dcache_anon() LRU list accesses.
Linus Torvalds [Thu, 5 Aug 2004 13:30:40 +0000 (06:30 -0700)]
Fix shrink_dcache_anon() LRU list accesses.

It would potentially remove dentries from the LRU list
without re-initializing the d_lru fields, causing later
accesses to that dentry to do bad things to the LRU list.

20 years ago[PATCH] ppc32: Fix 'mktree' on 64bit hosts
Tom Rini [Thu, 5 Aug 2004 11:18:41 +0000 (04:18 -0700)]
[PATCH] ppc32: Fix 'mktree' on 64bit hosts

The following patch changes some 'unsigned long's into 'uint32_t's in
mktree (a program that runs on the host to frob the kernel image for
some firmwares).  Without it, the program is not correct when run
on/compiled on a 64bit host.

Signed-off-by: Dan Zink <dan.zink@hp.com>
Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years ago[PATCH] imm.c oops fix
Alexander Viro [Thu, 5 Aug 2004 10:56:22 +0000 (03:56 -0700)]
[PATCH] imm.c oops fix

Fix bug #3125:

This should fix the problem; however, we will need to repeat that for all
PIO SCSI drivers (another immediate victim is ppa.c).

We should start looking for sane solution; I _really_ don't like the kludge
with using ->slave_alloc() for fixups after scsi_alloc_queue().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge http://lia64.bkbits.net/to-base-2.6
Linus Torvalds [Thu, 5 Aug 2004 10:55:09 +0000 (03:55 -0700)]
Merge http://lia64.bkbits.net/to-base-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years agoMerge bk://linux-mtd.bkbits.net/mtd-2.6
Linus Torvalds [Thu, 5 Aug 2004 10:54:08 +0000 (03:54 -0700)]
Merge bk://linux-mtd.bkbits.net/mtd-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

20 years ago[PATCH] fix /proc printing of TASK_DEAD state
Roland McGrath [Thu, 5 Aug 2004 10:43:51 +0000 (03:43 -0700)]
[PATCH] fix /proc printing of TASK_DEAD state

I just stumbled across this patch that's been sitting in my tree for ages.

I thought I'd sent this in before.  It's a trivial fix for the printing
of task state in /proc and sysrq dumps and such, so that TASK_DEAD shows
up correctly.  This state is pretty much only ever there to be seen when
there are exit/reaping bugs, but it's not like that hasn't come up.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Thu, 5 Aug 2004 10:41:46 +0000 (03:41 -0700)]
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] 1974/1: add INITTIME macro to collie machine structure
John Lenz [Thu, 5 Aug 2004 22:48:18 +0000 (23:48 +0100)]
[ARM PATCH] 1974/1: add INITTIME macro to collie machine structure

Patch from John Lenz

Add INITTIME macro to collie machine structure.