]> git.hungrycats.org Git - linux/log
linux
22 years ago[BRIDGE]: Expose timer_residue function for use by sysfs.
Stephen Hemminger [Sat, 22 May 2004 06:39:53 +0000 (23:39 -0700)]
[BRIDGE]: Expose timer_residue function for use by sysfs.

Move the local function timer_residue to br_timer_value so it can
be used by both ioctl and sysfs code.

22 years ago[BRIDGE]: Read forwarding table chunk at a time.
Stephen Hemminger [Sat, 22 May 2004 06:39:18 +0000 (23:39 -0700)]
[BRIDGE]: Read forwarding table chunk at a time.

Change how the read of forwarding table works.  Instead of copying
entries to user one at a time, use an intermediate kernel buffer and
do up to a page at a chunk.

This gets rid of some awkward code dealing with entries getting deleted
during the copy.  And allows same function to be used by later sysfs
hook.

22 years ago[BRIDGE]: Fix deadlock on device removal.
Stephen Hemminger [Sat, 22 May 2004 06:38:39 +0000 (23:38 -0700)]
[BRIDGE]: Fix deadlock on device removal.

Fix a deadlock where deleting a device call br_del_if with lock held.
br_del_if doesn't want to be called under lock anymore.

22 years ago[BRIDGE]: Ioctl cleanup and consolidation.
Stephen Hemminger [Sat, 22 May 2004 06:38:07 +0000 (23:38 -0700)]
[BRIDGE]: Ioctl cleanup and consolidation.

Merge the ioctl stub calls that just end up calling the sub-function
to do the actual ioctl.  Move br_get_XXX_ifindices into the ioctl file
as well where they can be static.

22 years ago[BRIDGE]: Relax locking on add/delete.
Stephen Hemminger [Sat, 22 May 2004 06:37:36 +0000 (23:37 -0700)]
[BRIDGE]: Relax locking on add/delete.

Relax the locking on add/delete interfaces to a bridge.  Since these operations
are already called with RTNL semaphore, only need to hold the bridge lock while
doing operations related to STP and processing path.  This is necessary for later
sysfs support where those operations might sleep.

22 years ago[BRIDGE]: Cleanup of bridge allocation.
Stephen Hemminger [Sat, 22 May 2004 06:36:59 +0000 (23:36 -0700)]
[BRIDGE]: Cleanup of bridge allocation.

Minor cleanup (lead in to later sysfs support).
Change new_nb to new_bridge_dev and return the net_device rather than
bridge because that is what the caller wants anyway.

22 years ago[BRIDGE]: Handle delete of multiple devices with same address.
Stephen Hemminger [Sat, 22 May 2004 06:36:24 +0000 (23:36 -0700)]
[BRIDGE]: Handle delete of multiple devices with same address.

This fixes the issue discovered when removing bluetooth devices from a bridge.
Need to add special case code when forwarding table is being cleaned up to
handle the case where several devices share the same hardware address.

22 years ago[IPSEC]: Lock policy in policy timer.
Herbert Xu [Sat, 22 May 2004 06:35:20 +0000 (23:35 -0700)]
[IPSEC]: Lock policy in policy timer.

22 years ago[PATCH] IDE PCI: don't initialize fields of static chipset tables to zero
Bartlomiej Zolnierkiewicz [Sat, 22 May 2004 06:01:55 +0000 (23:01 -0700)]
[PATCH] IDE PCI: don't initialize fields of static chipset tables to zero

Also remove unused EOL define from ide.h.

This trivial patch makes grepping a lot easier.

22 years ago[PATCH] two fixups for my ARM/ARM26 IDE changes
Bartlomiej Zolnierkiewicz [Sat, 22 May 2004 06:01:44 +0000 (23:01 -0700)]
[PATCH] two fixups for my ARM/ARM26 IDE changes

- initializing needs to be set to 1 before calling ide_arm_init()

- ide_default_io_ctl() should be 0 on arm26

22 years ago[PATCH] remove dead drivers/ide/ppc/swarm.c
Bartlomiej Zolnierkiewicz [Sat, 22 May 2004 06:01:33 +0000 (23:01 -0700)]
[PATCH] remove dead drivers/ide/ppc/swarm.c

This driver was partially merged in 2.5.32 and never compiled in 2.5/2.6.
It was fixed in linux-mips CVS but has been broken again about 5 months ago.
Just remove it for now (it is in wrong directory anyway).

22 years ago[PATCH] more comx removal
Adrian Bunk [Sat, 22 May 2004 03:52:32 +0000 (20:52 -0700)]
[PATCH] more comx removal

The patch below removes the MAINTAINERS entry for the removed comx
driver.

Additionally, the following comx header files could be removed:
  drivers/net/wan/mixcom.h
  drivers/net/wan/hscx.h
  drivers/net/wan/munich32x.h
  drivers/net/wan/falc-lh.h

I've double-checked that none of them are used by any other driver.

22 years ago[PATCH] JFFS2_FS_NAND=y compile error
Adrian Bunk [Sat, 22 May 2004 03:50:24 +0000 (20:50 -0700)]
[PATCH] JFFS2_FS_NAND=y compile error

The case of CONFIG_JFFS2_FS_NAND=y got broken recently.

The bug is obvious, and the fix is trivial:

22 years ago[PATCH] autofs4: MAINTAINERS update
Andrew Morton [Sat, 22 May 2004 03:39:44 +0000 (20:39 -0700)]
[PATCH] autofs4: MAINTAINERS update

From: Ian Kent <raven@themaw.net>

This changes the autofs4 maintainer to me.  Recommended by Joe Perches and
OKed with Jeremy.

22 years ago[PATCH] autofs4: printk cleanup
Andrew Morton [Sat, 22 May 2004 03:39:34 +0000 (20:39 -0700)]
[PATCH] autofs4: printk cleanup

From: Ian Kent <raven@themaw.net>

This is a patch contributed by Joe Perches to automatically include the
function name in the dprintk statements.

22 years ago[PATCH] x86 cpuid cache info update
Andrew Morton [Sat, 22 May 2004 03:39:23 +0000 (20:39 -0700)]
[PATCH] x86 cpuid cache info update

From: Francois Romieu <romieu@fr.zoreil.com>

Missing cache size format for Intel P4E (p.26 of doc.  241618-025, "Intel
Processor Identification and the CPUID Instruction").

22 years ago[PATCH] i4l: Eicon driver: fix __devexit in prototype
Andrew Morton [Sat, 22 May 2004 03:39:12 +0000 (20:39 -0700)]
[PATCH] i4l: Eicon driver: fix __devexit in prototype

From: Armin Schindler <armin@melware.de>

Fixes a compiler warning about unused Eicon ISDN driver function if hotplug is
disabled.

22 years ago[PATCH] swsusp: fix devfs breakage introduced in 2.6.6
Andrew Morton [Sat, 22 May 2004 03:39:01 +0000 (20:39 -0700)]
[PATCH] swsusp: fix devfs breakage introduced in 2.6.6

From: Pavel Machek <pavel@ucw.cz>

This fixes bad interaction between devfs and swsusp.

Check whether the swap device is the specified resume device, irrespective of
whether they are specified by identical names.

(Thus, device inode aliasing is allowed.  You can say /dev/hda4 instead of
/dev/ide/host0/bus0/target0/lun0/part4 [if using devfs] and they'll be
considered the same device.  This is *necessary* for devfs, since the resume
code can only recognize the form /dev/hda4, but the suspend code would like
the long name [as shown in 'cat /proc/mounts'].)

[Thanks to devfs hero whose name I forgot.]

22 years ago[PATCH] swsusp: kill unneccessary debugging
Andrew Morton [Sat, 22 May 2004 03:38:51 +0000 (20:38 -0700)]
[PATCH] swsusp: kill unneccessary debugging

From: Pavel Machek <pavel@ucw.cz>

This is no longer neccessary.  We have enough pauses elsewhere, and it works
well enough that this is not needed.

22 years ago[PATCH] blk: clear completion stack pointer on return
Andrew Morton [Sat, 22 May 2004 03:38:40 +0000 (20:38 -0700)]
[PATCH] blk: clear completion stack pointer on return

From: Jens Axboe <axboe@suse.de>

It doesn't always look safe to let ->waiting remain set when returning from
functions that set it to point to stack area, since various locations check
for != NULL to see if it's valid.  So clear it on return from
ide_do_drive_cmd() and blk_execute_rq().

22 years ago[PATCH] Sanitise handling of unneeded syscall stubs
Andrew Morton [Sat, 22 May 2004 03:38:29 +0000 (20:38 -0700)]
[PATCH] Sanitise handling of unneeded syscall stubs

From: David Mosberger <davidm@napali.hpl.hp.com>

Below is a patch that tries to sanitize the dropping of unneeded system-call
stubs in generic code.  In some instances, it would be possible to move the
optional system-call stubs into a library routine which would avoid the need
for #ifdefs, but in many cases, doing so would require making several
functions global (and possibly exporting additional data-structures in
header-files).  Furthermore, it would inhibit (automatic) inlining in the
cases in the cases where the stubs are needed.  For these reasons, the patch
keeps the #ifdef-approach.

This has been tested on ia64 and there were no objections from the
arch-maintainers (and one positive response).  The patch should be safe but
arch-maintainers may want to take a second look to see if some __ARCH_WANT_foo
macros should be removed for their architecture (I'm quite sure that's the
case, but I wanted to play it safe and only preserved the status-quo in that
regard).

22 years ago[PATCH] trivial: remove duplicated #includes
Andrew Morton [Sat, 22 May 2004 03:38:16 +0000 (20:38 -0700)]
[PATCH] trivial: remove duplicated #includes

From: Rusty Russell <rusty@rustcorp.com.au>

From:  a.othieno@bluewin.ch (Arthur Othieno)
From:  Vinay K Nallamothu <vinay-rc@naturesoft.net>

Remove various duplicated #includes

From:  Vinay K Nallamothu <vinay-rc@naturesoft.net>

        Use mod_timer in drivers_block_floppy98.c

From:  carbonated beverage <ramune@net-ronin.org>

        doc update for bk usage
        bk://... appears to be dead, use http://... instead.

22 years ago[PATCH] trivial: use page_to_phys in dma_map_page()
Andrew Morton [Sat, 22 May 2004 03:38:03 +0000 (20:38 -0700)]
[PATCH] trivial: use page_to_phys in dma_map_page()

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  Adam Lackorzynski <adam@os.inf.tu-dresden.de>

dma_map_page() can be simplified by using page_to_phys instead of writing the
calculation explicitly.

22 years ago[PATCH] fbdev: mode switching fix.
Andrew Morton [Sat, 22 May 2004 03:37:52 +0000 (20:37 -0700)]
[PATCH] fbdev: mode switching fix.

From: James Simmons <jsimmons@infradead.org>

This fixes the bugs that where in mode switch via stty.

The problem was we couldn't set the mode just by using the x and y
resolution.  We use modedb to fill in the rest.  There also was a bug that
allowed you to change the console resolution for drivers with fixed
resolutions.  This would mess up your display.  Now that is fixed.

22 years ago[PATCH] fix sendfile on 64bit architectures
Andrew Morton [Sat, 22 May 2004 03:37:41 +0000 (20:37 -0700)]
[PATCH] fix sendfile on 64bit architectures

From: Andi Kleen <ak@suse.de>

sys_sendfile has a hardcoded 2GB limit.  64bit architectures should
probably always use sys_sendfile64() in their native system tables, because
for them sizeof(off_t) == sizeof(loff_t).  This patch does this.  It seemed
easier to just change the 64bit entry tables instead of fixing up all the
emulation layers to do 2GB checks on their own.

I changed all 64bit architectures except for parisc64, which seemed to
already have a sendfile64.

22 years ago[PATCH] console autodetection for pmac
Andrew Morton [Sat, 22 May 2004 03:37:30 +0000 (20:37 -0700)]
[PATCH] console autodetection for pmac

From: Olaf Hering <olh@suse.de>

This one allows console autodetection for powermacs.

22 years ago[PATCH] gss_api build fix
Andrew Morton [Sat, 22 May 2004 03:37:19 +0000 (20:37 -0700)]
[PATCH] gss_api build fix

From: "J. Bruce Fields" <bfields@fieldses.org>

Older gcc's don't like that dimensionless array.  Remove it in favour of a
pointer to the data.

22 years ago[PATCH] vga16fb warning fix
Andrew Morton [Sat, 22 May 2004 03:37:08 +0000 (20:37 -0700)]
[PATCH] vga16fb warning fix

drivers/video/vga16fb.c:1350: warning: assignment makes pointer from integer without a cast

22 years ago[PATCH] Fix !CONFIG_SYSFS build
Andrew Morton [Sat, 22 May 2004 03:36:55 +0000 (20:36 -0700)]
[PATCH] Fix !CONFIG_SYSFS build

From: Maneesh Soni <maneesh@in.ibm.com>

The sysfs_rename_dir() interface was changed recently but I forgot to
change the definition if CONFIG_SYSFS is not defined.

22 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Fri, 21 May 2004 09:42:20 +0000 (02:42 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge redhat.com:/spare/repo/linux-2.6
Jeff Garzik [Fri, 21 May 2004 13:03:30 +0000 (09:03 -0400)]
Merge redhat.com:/spare/repo/linux-2.6
into redhat.com:/spare/repo/libata-2.6

22 years agoMerge bk://kernel.bkbits.net/jgarzik/i810-audio-2.6
Linus Torvalds [Fri, 21 May 2004 09:41:29 +0000 (02:41 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/i810-audio-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge redhat.com:/spare/repo/linux-2.6
Jeff Garzik [Fri, 21 May 2004 12:54:36 +0000 (08:54 -0400)]
Merge redhat.com:/spare/repo/linux-2.6
into redhat.com:/spare/repo/i810-audio-2.6

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 21 May 2004 08:43:19 +0000 (01:43 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 1887/1: Update OMAP low level debug functions again
Tony Lindgren [Fri, 21 May 2004 23:59:48 +0000 (00:59 +0100)]
[ARM PATCH] 1887/1: Update OMAP low level debug functions again

Patch from Tony Lindgren

This patch makes the low level debug functions work when support is
compiled in for multiple OMAPs. The patch also removes now unnecessary
include, incorrect comment, and SERIAL_REG_SHIFT ifdefs.

22 years ago[ARM PATCH] 1885/1: OMAP update 2/2: include files
Tony Lindgren [Fri, 21 May 2004 23:55:08 +0000 (00:55 +0100)]
[ARM PATCH] 1885/1: OMAP update 2/2: include files

Patch from Tony Lindgren

This patch syncs the mainline kernel with the linux-omap tree.
The highlights of the patch are:
- Changed the BOOT_MEM() to use the new IO address (Tony Lindgren)
- Cleaned up interrupt handler (Juha Yrjölä)
- DMA channel linking for 1610 (Samuel Ortiz)
- GPIO fixes (Juha Yrjölä)
- IRQ fix for OMAP-730 (Kevin Hilman)
- OMAP-1510 FPGA interrupt fix (Dirk Behme)
- OMAP-1610 voltage change settings (Todd Poynor)
- Uncompress kernel serial output fixes (Tony Lindgren)

22 years ago[ARM PATCH] 1884/1: OMAP update 1/2: arch files
Tony Lindgren [Fri, 21 May 2004 23:46:09 +0000 (00:46 +0100)]
[ARM PATCH] 1884/1: OMAP update 1/2: arch files

Patch from Tony Lindgren

This patch syncs the mainline kernel with the linux-omap tree.
The highlights of the patch are:
- Changed the BOOT_MEM() to use the new IO address (Tony Lindgren)
- Cleaned up interrupt handler (Juha Yrjölä)
- DMA channel linking for 1610 (Samuel Ortiz)
- GPIO fixes (Juha Yrjölä)
- IRQ fix for OMAP-730 (Kevin Hilman)
- OMAP-1510 FPGA interrupt fix (Dirk Behme)
- OMAP-1610 voltage change settings (Todd Poynor)
- Uncompress kernel serial output fixes (Tony Lindgren)

22 years agoMerge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
Russell King [Fri, 21 May 2004 13:49:13 +0000 (14:49 +0100)]
Merge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-rmk

22 years ago[ARM PATCH] 1889/1: don't select CONFIG_IWMMXT just yet with Mainstone
Nicolas Pitre [Fri, 21 May 2004 10:47:55 +0000 (11:47 +0100)]
[ARM PATCH] 1889/1: don't select CONFIG_IWMMXT just yet with Mainstone

Patch from Nicolas Pitre

Since the iWMMXt patch (#1866/1) requires more time to be reviewed,
this patch will allow merging Mainstone patches without breaking
anything if iWMMXt support isn't merged yet.
Should be applied after patch #1867/1.

22 years ago[ARM PATCH] 1870/1: defconfig for Mainstone
Nicolas Pitre [Fri, 21 May 2004 10:44:10 +0000 (11:44 +0100)]
[ARM PATCH] 1870/1: defconfig for Mainstone

Patch from Nicolas Pitre

22 years ago[ARM PATCH] 1868/1: support for LEDs on Mainstone
Nicolas Pitre [Fri, 21 May 2004 10:40:03 +0000 (11:40 +0100)]
[ARM PATCH] 1868/1: support for LEDs on Mainstone

Patch from Nicolas Pitre

22 years ago[ARM PATCH] 1867/1: support for the Intel Mainstone (PXA27x based) eval board
Nicolas Pitre [Fri, 21 May 2004 10:35:39 +0000 (11:35 +0100)]
[ARM PATCH] 1867/1: support for the Intel Mainstone (PXA27x based) eval board

Patch from Nicolas Pitre

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

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Fri, 21 May 2004 07:59:52 +0000 (00:59 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Fri, 21 May 2004 07:54:20 +0000 (00:54 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[REDO] ramdisk: separate the blockdev backing_dev_info from the hosted inodes
Linus Torvalds [Fri, 21 May 2004 07:46:46 +0000 (00:46 -0700)]
[REDO] ramdisk: separate the blockdev backing_dev_info from the hosted inodes

This re-applies the separation of the ramdisk blockdev inode
backing store and the files that live in the ramdisk.

Cset exclude: torvalds@ppc970.osdl.org|ChangeSet|20040521210025|21437

22 years ago[PATCH] block device layer: separate backing_dev_info infrastructure
Andrew Morton [Fri, 21 May 2004 07:46:17 +0000 (00:46 -0700)]
[PATCH] block device layer: separate backing_dev_info infrastructure

Sigh.  ramdisk almost works, except it loses data on umount.

This is because the files which are atop the ramdisk do not contribute to
dirty memory accounting, but they do need writeback.  So when sync() calls
sync_inodes_sb() to do the work, sync_inodes_sb() hopelessly underestimates
the number of pages which need writeback for a complete sync.

If you run `sync' enough times, everything eventually hits "disk" and all is
happy.

The root cause here is that the ramdisk and the files which it hosts shared
the same backing_dev_info.  This is inappropriate because the hosted files
*do* want to writeback and really should contribute to dirty memory
accounting. But the ramdisk inode itself wants neither.

So.  The patch sets up the infrastructure which permits a blockdev to provide
a separate backing_dev_info for the files which it hosts.  It's a bit of a
ramdisk-special.

22 years ago[IPSEC]: Fix state modifications in xfrm_state_update().
Herbert Xu [Fri, 21 May 2004 07:43:13 +0000 (00:43 -0700)]
[IPSEC]: Fix state modifications in xfrm_state_update().

doing a mod_timer on a live state without holding a lock or for that
matter not even checking whether the state is dead is definitely a bad
idea

22 years ago[BRIDGE]: Fix LL_RESERVED_SPACE usage in netfilter code.
Bart De Schuymer [Fri, 21 May 2004 07:41:11 +0000 (00:41 -0700)]
[BRIDGE]: Fix LL_RESERVED_SPACE usage in netfilter code.

22 years ago[IPV4]: Fix deadlock in IP tunnel error path.
Hideaki Yoshifuji [Fri, 21 May 2004 07:39:28 +0000 (00:39 -0700)]
[IPV4]: Fix deadlock in IP tunnel error path.

22 years agoAdd 'mode' argument to vfs_symlink.
Linus Torvalds [Fri, 21 May 2004 07:29:23 +0000 (00:29 -0700)]
Add 'mode' argument to vfs_symlink.

Right now we ignore it, but we need to pass this down
to the low-level filesystems if we want to ever make
knfsd create symlinks with different permissions correctly.

22 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Fri, 21 May 2004 07:29:11 +0000 (00:29 -0700)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[PATCH] H8/300 module support update
Yoshinori Sato [Fri, 21 May 2004 07:09:43 +0000 (00:09 -0700)]
[PATCH] H8/300 module support update

- add module support code
- add H8/300 ELF infomation
- fix kcore ELF format

22 years ago[PATCH] H8/300 new ide driver support
Yoshinori Sato [Fri, 21 May 2004 07:09:31 +0000 (00:09 -0700)]
[PATCH] H8/300 new ide driver support

- new config items
- interface setup
- io cleanup

22 years ago[PATCH] H8/300 mtd setup fix
Yoshinori Sato [Fri, 21 May 2004 07:09:20 +0000 (00:09 -0700)]
[PATCH] H8/300 mtd setup fix

- config symbol fix

22 years agoia64: Update defconfig
David Mosberger [Fri, 21 May 2004 07:03:26 +0000 (00:03 -0700)]
ia64: Update defconfig

22 years agoia64: Kill a warning when arch/ia64/kernel/machvec.c gets compiled on UP.
David Mosberger [Fri, 21 May 2004 07:01:30 +0000 (00:01 -0700)]
ia64: Kill a warning when arch/ia64/kernel/machvec.c gets compiled on UP.

22 years agoUndo separate backing_dev_info for ramdisk.c.
Linus Torvalds [Fri, 21 May 2004 07:00:25 +0000 (00:00 -0700)]
Undo separate backing_dev_info for ramdisk.c.

The code was incomplete. Let's re-do it when the other pieces
are in place.

Cset exclude: akpm@osdl.org[torvalds]|ChangeSet|20040521202003|24125

22 years agoia64: Make cond_syscall() declare a dummy prototype so GCC doesn't complain.
Peter Chubb [Fri, 21 May 2004 06:28:01 +0000 (23:28 -0700)]
ia64: Make cond_syscall() declare a dummy prototype so GCC doesn't complain.

22 years ago[PATCH] ramfs lfs limit
Andrew Morton [Fri, 21 May 2004 06:24:27 +0000 (23:24 -0700)]
[PATCH] ramfs lfs limit

From: Andrea Arcangeli <andrea@suse.de>

this fixes the 2G limit on ramfs

22 years ago[PATCH] Neaten and fix init/main.c cpu bringup message
Andrew Morton [Fri, 21 May 2004 06:24:17 +0000 (23:24 -0700)]
[PATCH] Neaten and fix init/main.c cpu bringup message

From: Andrew Theurer <habanero@us.ibm.com>

Use num_online_cpus in smp_init instead of counting cpus which may or may not
really be brought up.

22 years ago[PATCH] Fix power/shutdown.c comments
Andrew Morton [Fri, 21 May 2004 06:24:06 +0000 (23:24 -0700)]
[PATCH] Fix power/shutdown.c comments

From: Roger Luethi <rl@hellgate.ch>

Make the comments in drivers/base/power/shutdown.c somewhat less wrong.
There's still room for improvement :-/.

22 years ago[PATCH] drop left-over #ifndef __ia64__
Andrew Morton [Fri, 21 May 2004 06:23:55 +0000 (23:23 -0700)]
[PATCH] drop left-over #ifndef __ia64__

From: David Mosberger <davidm@napali.hpl.hp.com>

It used to be that loops_per_jiffy was a macro on ia64, hence it couldn't be
exported.  That's no longer the case though, so there is no point in
inhibiting its export (not that it makes any _sense_ to export that value on
ia64).

22 years ago[PATCH] Fix i386/x86_64 cpuid/msr BUG() on impossible CPUs
Andrew Morton [Fri, 21 May 2004 06:23:44 +0000 (23:23 -0700)]
[PATCH] Fix i386/x86_64 cpuid/msr BUG() on impossible CPUs

From: Rusty Russell <rusty@rustcorp.com.au>

Matthieu Castet <castet.matthieu@free.fr> pointed out that testing
cpu_online(cpu) on a UP system goes BUG().

That's because you're never supposed to ask cpu_online() about a CPU which
is >= NR_CPUS.  msr and cpuid devices use the minor to indicate the CPU
number.  Oops.

Fix is to explicitly test cpu < NR_CPUS.  Using cpu_online() is OK;
although the CPU might go down before you actually read the file, that will
simply cause junk to be returned.

22 years ago[PATCH] msr.c touchups
Andrew Morton [Fri, 21 May 2004 06:23:33 +0000 (23:23 -0700)]
[PATCH] msr.c touchups

A few things which Lindent got wrong.

22 years ago[PATCH] Feed arch/i386/kernel/msr.c through Lindent
Andrew Morton [Fri, 21 May 2004 06:23:23 +0000 (23:23 -0700)]
[PATCH] Feed arch/i386/kernel/msr.c through Lindent

22 years ago[PATCH] trivial: swsusp section usage
Andrew Morton [Fri, 21 May 2004 06:23:12 +0000 (23:23 -0700)]
[PATCH] trivial: swsusp section usage

From: Rusty Russell <rusty@rustcorp.com.au>

From:  Pavel Machek <pavel@ucw.cz>

This patch fixes init section usage in swsusp.c: "read_suspend_image()" can
be __init.

22 years ago[PATCH] trivial: fix counter in build_zonelists()
Andrew Morton [Fri, 21 May 2004 06:23:01 +0000 (23:23 -0700)]
[PATCH] trivial: fix counter in build_zonelists()

From: Rusty Russell <rusty@rustcorp.com.au>

From:  Stephen Leonard <stephen@phynp6.phy-astr.gsu.edu>

This fixes a counter that is unnecessarily incremented in build_zonelists().

22 years ago[PATCH] trivial: add CC Trivial Patch Monkey to SubmittingPatches
Andrew Morton [Fri, 21 May 2004 06:22:51 +0000 (23:22 -0700)]
[PATCH] trivial: add CC Trivial Patch Monkey to SubmittingPatches

From: Rusty Russell <rusty@rustcorp.com.au>

 From:  maximilian attems <janitor@sternwelten.at>

The "Trivial Patch Monkey" is neither documented in MAINTAINERS nor was there
a note in SubmittingPatches.

22 years ago[PATCH] trivial: drivers/media/video_ir-kbd-gpio.c: kill duplicate include
Andrew Morton [Fri, 21 May 2004 06:22:40 +0000 (23:22 -0700)]
[PATCH] trivial: drivers/media/video_ir-kbd-gpio.c: kill duplicate include

From: Rusty Russell <rusty@rustcorp.com.au>

From:  a.othieno@bluewin.ch (Arthur Othieno)

22 years ago[PATCH] trivial: Make JFFS2 ready for Linux 2.7
Andrew Morton [Fri, 21 May 2004 06:22:29 +0000 (23:22 -0700)]
[PATCH] trivial: Make JFFS2 ready for Linux 2.7

From: Rusty Russell <rusty@rustcorp.com.au>

(OK from maintainer   David Woodhouse <dwmw2@infradead.org>)
 From:  Sam Ravnborg <sam@ravnborg.org>

  From:  <l.s.r@web.de>
  >   since the code for Linux 2.4 compatibility in fs/jffs2 is gone, we can
  >   clean up the Makefile a bit. Following patch makes the Makefile
  >   compatible with Linux 2.7 instead . :) Please consider applying.

  If we are going to clean up this I prefer we get rid of the
  local variables.
  See attached patch.

   Sam

22 years ago[PATCH] trivial: fix /proc documentation lies about file-nr
Andrew Morton [Fri, 21 May 2004 06:22:19 +0000 (23:22 -0700)]
[PATCH] trivial: fix /proc documentation lies about file-nr

From: Rusty Russell <rusty@rustcorp.com.au>

From:  Tommi Virtanen <tv@tv.debian.net>

22 years ago[PATCH] trivial: Fix #endif comment in linux_moduleparam.h
Andrew Morton [Fri, 21 May 2004 06:22:08 +0000 (23:22 -0700)]
[PATCH] trivial: Fix #endif comment in linux_moduleparam.h

From: Rusty Russell <rusty@rustcorp.com.au>

From:  Pavel Machek <pavel@ucw.cz>

If we are providing "helpful" comment, it should better be correct.

22 years ago[PATCH] trivial: MAINTAINERS fbdev - web site change
Andrew Morton [Fri, 21 May 2004 06:21:57 +0000 (23:21 -0700)]
[PATCH] trivial: MAINTAINERS fbdev - web site change

From: Rusty Russell <rusty@rustcorp.com.au>

From:  David Eger <eger@theboonies.us>

Doesn't resolve.

22 years ago[PATCH] trivial: fix old URLs in initrd doc
Andrew Morton [Fri, 21 May 2004 06:21:47 +0000 (23:21 -0700)]
[PATCH] trivial: fix old URLs in initrd doc

From: Rusty Russell <rusty@rustcorp.com.au>

From:  Marco Cova <marco.cova@studio.unibo.it>

22 years ago[PATCH] trivial: add parantheses for if (necessary for cross-compilation)
Andrew Morton [Fri, 21 May 2004 06:21:34 +0000 (23:21 -0700)]
[PATCH] trivial: add parantheses for if (necessary for cross-compilation)

From: Rusty Russell <rusty@rustcorp.com.au>

From:  Martin Schaffner <schaffner@gmx.li>

22 years ago[PATCH] trivial: scripts_kernel-doc should strip comments inside structs'
Andrew Morton [Fri, 21 May 2004 06:21:21 +0000 (23:21 -0700)]
[PATCH] trivial: scripts_kernel-doc should strip comments inside structs'

From: Rusty Russell <rusty@rustcorp.com.au>

From:  <adobriyan@mail.ru>

  Long block comment before declaration moves it out of page in pdfs.

  Alexey

  $ ./linux-2.6.6-rc2/scripts/kernel-doc.orig -text test.c
  struct stuff:
  struct stuff {
          int a;
          /** comment here*/char b;
  };
  Members:
  a
           aaaa
  b
           bbbbb
  Description:
  stuff

  $ ./linux-2.6.6-rc2/scripts/kernel-doc -text test.c
  struct stuff:
  struct stuff {
          int a;
          char b;
  };
  Members:
  a
           aaaa
  b
           bbbbb
  Description:
  stuff

22 years ago[PATCH] trivial: Fix name of biovec slab
Andrew Morton [Fri, 21 May 2004 06:21:10 +0000 (23:21 -0700)]
[PATCH] trivial: Fix name of biovec slab

From: Rusty Russell <rusty@rustcorp.com.au>

From:  "Chen, Kenneth W" <kenneth.w.chen@intel.com>

Pure cosmetic.  Largest biovec slab is printed as biovec-BIO_MAX_PAGES in
/proc/slabinfo.  It would be more informative to print actual number instead
of macro's name.

22 years ago[PATCH] cleanup double semicolons
Andrew Morton [Fri, 21 May 2004 06:21:00 +0000 (23:21 -0700)]
[PATCH] cleanup double semicolons

From: Nuno Monteiro <nuno@itsari.org>

Remove lots of double-semicolons.

22 years ago[PATCH] Fix NFSD oops in readdir
Andrew Morton [Fri, 21 May 2004 06:20:48 +0000 (23:20 -0700)]
[PATCH] Fix NFSD oops in readdir

From: Neil Brown <neilb@cse.unsw.edu.au>

If a single readdir entry needs to be split over two pages in the reply, we
first encode it into a new page, and then copy the bits into place.  When
we do this relocation, we have to modify the "offset" pointer to be either
in the first or the second page, as appropriate.

If the pointer should be at the start of the second page, it is currently
put past the end of the first page.

Note that as the offset and whole response is known to be 4byte-aligned,
the offset pointer will never be split over two pages.

22 years ago[PATCH] fbmem: rename sys_inbuf() and sys_outbuf()
Andrew Morton [Fri, 21 May 2004 06:20:38 +0000 (23:20 -0700)]
[PATCH] fbmem: rename sys_inbuf() and sys_outbuf()

From: David Mosberger <davidm@napali.hpl.hp.com>

These aren't syscalls, so rename them.  And make them static.

22 years ago[PATCH] getblk() BUG removal
Andrew Morton [Fri, 21 May 2004 06:20:26 +0000 (23:20 -0700)]
[PATCH] getblk() BUG removal

We keep on getting BUG()s from isofs_read_super() because it passes an insane
blocksize to bread().  See http://bugme.osdl.org/show_bug.cgi?id=2735 for
example.

I don't know what's up with isofs, but going BUG in there seems a bit rude.
Change it to drop a bunch of diagnostics and a backtrace then return a null
bh*.

Most callers of getblk() don't expect it to fail, so they'll oops anyway.  But
isofs does actually check for a NULL return.  This way, the machine stays up
and we get better debug diagnostics.

22 years ago[PATCH] Debugging option to put data symbols in kallsyms
Andrew Morton [Fri, 21 May 2004 06:20:14 +0000 (23:20 -0700)]
[PATCH] Debugging option to put data symbols in kallsyms

From: Rusty Russell <rusty@rustcorp.com.au>

kallsyms contains only function names, but some debuggers (eg.  xmon on
PPC/PPC64) use it to lookup symbols: it'd be much nicer if it included data
symbols too.

22 years ago[PATCH] ramdisk: separate the blockdev backing_dev_info from the hosted inodes'
Andrew Morton [Fri, 21 May 2004 06:20:03 +0000 (23:20 -0700)]
[PATCH] ramdisk: separate the blockdev backing_dev_info from the hosted inodes'

Give appropriate and separate backing_dev_info's to both the ramdisk blockdev
inode and to the files which live atop the ramdisk.

Everything works now.

22 years ago[PATCH] ramdisk: implement writepages()
Andrew Morton [Fri, 21 May 2004 06:19:51 +0000 (23:19 -0700)]
[PATCH] ramdisk: implement writepages()

Implement an empty ->writepages() so that attempts to write back ramdisk pages
have less work to do.

22 years ago[PATCH] ramdisk: fix PageUptodate() handling
Andrew Morton [Fri, 21 May 2004 06:19:40 +0000 (23:19 -0700)]
[PATCH] ramdisk: fix PageUptodate() handling

When a filesystem does getblk() to get a buffer_head against the ramdisk the
VFS will allocate a new not-uptodate pagecache page and will attach buffers to
it.

The filesystem will then bring certain buffer_heads uptodate.  But not the
whole page.

Later, various ramdisk a_ops see the not-uptodate page and wipe the whole
thing out, including the parts to which the filesystem wrote!

Fix that up by only zapping those parts of the page which are covered by
non-uptodate buffers.

22 years ago[PATCH] ramdisk: use kmap_atomic() in rd_blkdev_pagecache_IO()
Andrew Morton [Fri, 21 May 2004 06:19:28 +0000 (23:19 -0700)]
[PATCH] ramdisk: use kmap_atomic() in rd_blkdev_pagecache_IO()

We don't actualy need to kmap the blockdev inode's pages at all, because
they're ~__GFP_HIGHMEM.  But it's future-safe, and cheap.

22 years ago[PATCH] ramdisk: lock blockdev pages during "IO".
Andrew Morton [Fri, 21 May 2004 06:19:17 +0000 (23:19 -0700)]
[PATCH] ramdisk: lock blockdev pages during "IO".

There's a race: one CPU writes a 1k block into a ramdisk page which isn't in
the blockdev pagecache yet.  It memsets the locked page to zeroes.

While this is happening, another CPU comes in and tries to write a different
1k block to the "disk".  But it doesn't lock the page so it races with the
memset and can have its data scribbled over.

Fix this up by locking the page even if it already existed in pagecache.

Locking a pagecache page in a make_request_fn sounds deadlocky but it is not,
because:

a) ramdisk_writepage() does nothing but a set_bit(), and cannot recur onto
   the same page.

b) Any higher-level code which holds a page lock is supposed to be
   allocating its memory with GFP_NOFS, and in 2.6 kernels that's equivalent
   to GFP_NOIO.

   (The distinction between GFP_NOIO and GFP_NOFS basically disappeared
   with the buffer_head LRU, although it was reused for writes to swap).

22 years ago[PATCH] ramdisk memory allocation fixes
Andrew Morton [Fri, 21 May 2004 06:19:06 +0000 (23:19 -0700)]
[PATCH] ramdisk memory allocation fixes

Allocating pagecache pages within the disk request_fn is deadlocky and prone
to page allocation failures, causing write I/O errors.

Attempt to improve things by fiddling with gfp masks.

22 years ago[PATCH] ramdisk fixes
Andrew Morton [Fri, 21 May 2004 06:18:55 +0000 (23:18 -0700)]
[PATCH] ramdisk fixes

- Remove the ramdisk special-case in fs-writeback.c - it will soon be
  unneeded.

- Fix rd_ioctl() to return -ENOTTY on invalid ioctl types, not -EINVAL.

- Make ramdisk Kconfig friendlier.

22 years ago[PATCH] ppc64: make enter_rtas() take unsigned long arg
Andrew Morton [Fri, 21 May 2004 06:18:44 +0000 (23:18 -0700)]
[PATCH] ppc64: make enter_rtas() take unsigned long arg

From: Paul Mackerras <paulus@samba.org>

We declare enter_rtas with a struct rtas_args * argument, though it is
supposed to be a physical address, and then every time we call it we cast the
unsigned long result from __pa() to a void *.  This patch changes the
declaration of enter_rtas to make it take an unsigned long argument, and
removes the cast from all the callers.  The actual enter_rtas() routine is in
assembler and doesn't need to be changed.

22 years ago[PATCH] ppc64: trivial cleanup
Andrew Morton [Fri, 21 May 2004 06:18:33 +0000 (23:18 -0700)]
[PATCH] ppc64: trivial cleanup

From: David Gibson <david@gibson.dropbear.id.au>

The ppc64 head.S contains an enable_32b_mode function which is used
nowhere.  This patch removes it.

22 years ago[PATCH] ppc64: update xmon debugger
Andrew Morton [Fri, 21 May 2004 06:18:21 +0000 (23:18 -0700)]
[PATCH] ppc64: update xmon debugger

From: Paul Mackerras <paulus@samba.org>

This patch fixes a whole pile of problems in the xmon kernel debugger for
ppc64.  This basically makes xmon SMP-safe.  Now, when we enter xmon it
sends an IPI to the other CPUs to get them into xmon too.  It also changes
the way we do single-stepping and breakpoints so that we don't have to
remove a breakpoint to proceed from it (instead we either emulate the
instruction where the breakpoint was, or execute it out of place).  With
this patch, if we get an exception inside xmon, it will just return to the
xmon command loop instead of hanging the system as at present.

The patch is quite large because it updates the disassembler to the latest
version from binutils (trimmed a bit), which is why I didn't cc lkml.

22 years ago[PATCH] ppc64: fix inline version of _raw_spin_trylock
Andrew Morton [Fri, 21 May 2004 06:18:10 +0000 (23:18 -0700)]
[PATCH] ppc64: fix inline version of _raw_spin_trylock

From: Paul Mackerras <paulus@samba.org>

When I added the out-of-line spinlocks on PPC64, I inadvertently introduced
a bug in the inline version of _raw_spin_trylock, where it returns the
opposite of what it should return.  The patch below fixes it.

22 years ago[PATCH] ppc64: Fix readq & writeq
Andrew Morton [Fri, 21 May 2004 06:17:59 +0000 (23:17 -0700)]
[PATCH] ppc64: Fix readq & writeq

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

This fixes busted asm constraints for readq & writeq implementation on
ppc64 that resulted in garbage beeing generated for writeq (plus an obvious
mistake in the prototype).

22 years ago[PATCH] fix for stuck cpus at boot]
Andrew Morton [Fri, 21 May 2004 06:17:47 +0000 (23:17 -0700)]
[PATCH] fix for stuck cpus at boot]

From: Anton Blanchard <anton@samba.org>

From: Rusty Russell <rusty@rustcorp.com.au>

When hotplug cpu isn't enabled, cpu_is_offline is always false.  I had a stuck
cpu at boot that resulted in a lockup because we tried to start a migration
thread on it.  Instead of cpu_is_offline we can use !cpu_online which should
cover both the hotplug cpu enabled and disabled cases.

22 years ago[PATCH] ide-disk.c: don't put disks in STANDBY mode on reboot
Andrew Morton [Thu, 20 May 2004 15:22:11 +0000 (08:22 -0700)]
[PATCH] ide-disk.c: don't put disks in STANDBY mode on reboot

From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>

From: Rene Herman <rene.herman@keyaccess.nl>

Prevent the disks from spinning down across a reboot.

22 years agoMerge http://nfsclient.bkbits.net/linux-2.5
Linus Torvalds [Thu, 20 May 2004 11:07:35 +0000 (04:07 -0700)]
Merge http://nfsclient.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoFrom: Dave Jones <davej@redhat.com>
Trond Myklebust [Thu, 20 May 2004 13:40:39 +0000 (09:40 -0400)]
From: Dave Jones <davej@redhat.com>

Remove a local 1k array.

22 years agoFrom: Arjan van de Ven <arjanv@redhat.com> and akpm
Trond Myklebust [Thu, 20 May 2004 11:54:44 +0000 (07:54 -0400)]
From: Arjan van de Ven <arjanv@redhat.com> and akpm

nfs/read.c: dynamically allocate the big structs