]> git.hungrycats.org Git - linux/log
linux
24 years ago[PATCH] user-vm-unlock-2.5.31-A2
Ingo Molnar [Tue, 13 Aug 2002 07:36:37 +0000 (00:36 -0700)]
[PATCH] user-vm-unlock-2.5.31-A2

This implements CLONE_VM_RELEASE, which lets the child release the 'user
VM' at mm_release() time.

24 years ago[PATCH] clone-detached-2.5.31-B0
Ingo Molnar [Tue, 13 Aug 2002 07:36:26 +0000 (00:36 -0700)]
[PATCH] clone-detached-2.5.31-B0

the attached patch implements the per-CPU thread-structure cache to do
detached exit, if the parent does not want to be notified of child exit
via a signal.

24 years ago[PATCH] CLONE_SETTLS, CLONE_SETTID, 2.5.31-BK
Ingo Molnar [Tue, 13 Aug 2002 07:36:16 +0000 (00:36 -0700)]
[PATCH] CLONE_SETTLS, CLONE_SETTID, 2.5.31-BK

This adds two new clone() flags:

    CLONE_SETTLS => if present then the third clone() syscall parameter
                    is the new TLS.

    CLONE_SETTID => if present then the child TID is written to the
                    address specified by the fourth clone() parameter.

the new parameters are handled in a safe way, clone() returns -EFAULT or
-EINVAL if there's some problem with them.

24 years ago[PATCH] embarrassing 2.5.31 small bug fix for blkdev_reread_part()
Badari Pulavarty [Tue, 13 Aug 2002 07:29:36 +0000 (00:29 -0700)]
[PATCH] embarrassing 2.5.31 small bug fix for blkdev_reread_part()

Here is a trivial bug fix for blkdev_reread_part() in 2.5.31.
Without this fix,  "fdisk" hangs with following messages:

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16:
Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.

24 years ago[PATCH] Network Options and Network Devices together
Randy Dunlap [Tue, 13 Aug 2002 04:54:06 +0000 (21:54 -0700)]
[PATCH] Network Options and Network Devices together

This patch to 2.5.31 pushes "Networking options" and
"Network device support" together for all architectures
that have them.

They shouldn't be split apart by Telephony, I2O,
Fusion, etc.

24 years ago[PATCH] DECLARE_PER_CPU/DEFINE_PER_CPU patch
Rusty Russell [Tue, 13 Aug 2002 03:27:49 +0000 (20:27 -0700)]
[PATCH] DECLARE_PER_CPU/DEFINE_PER_CPU patch

This old __per_cpu_data define wasn't enough if an arch wants to
use the gcc __thread prefix (thread local storage), which needs to
go *before* the type in the definition.  So we have to go for a
DECLARE macro, and while we're there, separate DECLARE and DEFINE,
as definitions of per-cpu data cannot live in modules.  This also
means that accidental direct references to per-cpu variables will
be caught at compile time.

24 years ago[PATCH] get_cpu_var patch
Rusty Russell [Tue, 13 Aug 2002 03:27:45 +0000 (20:27 -0700)]
[PATCH] get_cpu_var patch

This makes introduces get_cpu_var()/put_cpu_var() which gets a
per-cpu variable and disables preemption, and renames the (unsafe
under preemption) "this_cpu()" macro to __get_cpu_var().  It also
deletes the redundant definitions in linux/smp.h.

24 years ago[PATCH] Export __per_cpu_offset so modules can use per-cpu data.
Rusty Russell [Tue, 13 Aug 2002 03:27:41 +0000 (20:27 -0700)]
[PATCH] Export __per_cpu_offset so modules can use per-cpu data.

As per Andrew Morton's request.

24 years ago[PATCH] NUMA-Q relocate early ioremap
Martin J. Bligh [Tue, 13 Aug 2002 03:14:35 +0000 (20:14 -0700)]
[PATCH] NUMA-Q relocate early ioremap

This moves the early ioremap call to after cpu_online_map is initialized.
Note everything is wrapped in clustered_apic_mode, so should be safe.

24 years ago[PATCH] UML patch fixup
Jeff Dike [Tue, 13 Aug 2002 02:34:48 +0000 (19:34 -0700)]
[PATCH] UML patch fixup

When you reverted the stringify changes I sent last time, you missed removing
a comment, which is now grossly wrong.  This patch finishes the job.

24 years agoMerge http://fbdev.bkbits.net/fbdev-2.5
Linus Torvalds [Tue, 13 Aug 2002 02:34:28 +0000 (19:34 -0700)]
Merge http://fbdev.bkbits.net/fbdev-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years agoM68k fbdev fixes
James Simmons [Tue, 13 Aug 2002 02:12:20 +0000 (19:12 -0700)]
M68k fbdev fixes

24 years agoMerge http://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Tue, 13 Aug 2002 01:42:02 +0000 (18:42 -0700)]
Merge http://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years ago[PATCH] cciss partitioning stuff, per-disk gendisks
Alexander Viro [Tue, 13 Aug 2002 01:32:18 +0000 (18:32 -0700)]
[PATCH] cciss partitioning stuff, per-disk gendisks

24 years ago[PATCH] fix syscall prototypes in init/do_mounts.c
Christoph Hellwig [Tue, 13 Aug 2002 01:31:38 +0000 (18:31 -0700)]
[PATCH] fix syscall prototypes in init/do_mounts.c

Most syscall take a const char * argument in fact, also mark them extern.

24 years ago[PATCH] A generic RTC driver [3/3]
Tom Rini [Tue, 13 Aug 2002 01:22:12 +0000 (18:22 -0700)]
[PATCH] A generic RTC driver [3/3]

This is part 3 of 3 of the genrtc patches.  This is my own slight bit
of work, as well as some work by Randolph Chung. This changes
set_rtc_time(struct *rtc_time) to return an int instead of void.
This was done so that the arch-specific code here could do additional
checks on the time and return an error if needed. This then introduces
include/asm-generic/rtc.h, include/asm-i386/rtc.h and
include/asm-alpha/rtc.h.  include/asm-generic/rtc.h contains the
get_rtc_time and set_rtc_time logic that is in drivers/char/rtc.c and
has been tested on SMP i386.  This also modifies include/asm-ppc/rtc.h
to return -ENODEV if no rtc hardware is present.

Additionally, Dave Jones pointed out to me a place where we might not be
safe when jiffies wraps, so this switches that to time_after().

From Randolph Chung, support for a 64bit kernel and a 32bit userland.

24 years ago[PATCH] A generic RTC driver [2/3]
Tom Rini [Tue, 13 Aug 2002 01:22:07 +0000 (18:22 -0700)]
[PATCH] A generic RTC driver [2/3]

This is part 2 of 3 of the genrtc driver work.  This is the PPC portion
of the patch, which creates include/asm-ppc/rtc.h.  This has been in the
PPC bitkeeper tree for over a month now.

24 years ago[PATCH] A generic RTC driver [1/3]
Tom Rini [Tue, 13 Aug 2002 01:22:03 +0000 (18:22 -0700)]
[PATCH] A generic RTC driver [1/3]

This is the current version of the genrtc driver from the m68k
community.  This is slightly different than the version I have sent
previously in that it has been switched to C99-style initializers,
which was done in the current m68k CVS tree by Geert Uytterhoeven, and
the needed changes to select/compile it in general.  I had previously
asked the m68k community if anyone objected to this being submitted by me,
and I got Richard Zidlicky's (who's at the top of the file) approval, as
well as Geert Uytterhoeven's approval.

24 years ago[PATCH] 2.5.31 i2c updates
Albert Cranford [Tue, 13 Aug 2002 01:13:54 +0000 (18:13 -0700)]
[PATCH] 2.5.31 i2c updates

i2c update:
 o Support for SMBus 2.0 PEC Packet Error Checking
 o New adapter-i2c-frodo for SA 1110 board
 o New adapter-i2c-rpx for embeded MPC8XX
 o Replace depreciated cli()&sti() with spin_{un}lock_irq()
 o Updated documentation

24 years ago[PATCH] add sendfile() support to fatfs (3/3)
Hirofumi Ogawa [Tue, 13 Aug 2002 01:10:37 +0000 (18:10 -0700)]
[PATCH] add sendfile() support to fatfs (3/3)

This patch adds sendfile() support to fatfs.

24 years ago[PATCH] Fix generic_file_send()
Hirofumi Ogawa [Tue, 13 Aug 2002 01:10:33 +0000 (18:10 -0700)]
[PATCH] Fix generic_file_send()

sys_sendfile() call,

    do_sendfile(out_fd, in_fd, &pos, count, MAX_NON_LFS);
        in_file->f_op->sendfile(out_file, in_file, ppos, count);

But,

ssize_t generic_file_sendfile(struct file *in_file, struct file *out_file,
      loff_t *ppos, size_t count)

fist arg of generic_file_sendfile() should be for output. This patch
fixes this typo.

24 years ago[PATCH] i_sem-less generic_file_write for O_DIRECT & XFS
Christoph Hellwig [Tue, 13 Aug 2002 01:06:55 +0000 (18:06 -0700)]
[PATCH] i_sem-less generic_file_write for O_DIRECT & XFS

There are a number of places where generic_file_write could be used if
it didn't take i_sem by itself or where it doesn't need it:

(1) XFS needs to do some preparation in it's write file operation
(most notably taking it's own per-inode locks), after taking
i_sem, but before calling the guts of generic_file_write.
(2) blockdevices are happy with parralel get_block() operations,
and there is nothing i_sem could protect.

This patch introduces a generic_file_write_nolock and makes the good old
generic_file_write a wrapper around.  The block device code is switched
over to it.

24 years agoAutomerge
Linus Torvalds [Tue, 13 Aug 2002 01:04:35 +0000 (18:04 -0700)]
Automerge

24 years ago[PATCH] Designated initializers for i386
Rusty Russell [Tue, 13 Aug 2002 00:54:12 +0000 (17:54 -0700)]
[PATCH] Designated initializers for i386

The old form of designated initializers are obsolete: we need to
replace them with the ISO C forms before 2.6.  Gcc has always supported
both forms anyway.

24 years ago[PATCH] designated initializers for include/linux
Rusty Russell [Tue, 13 Aug 2002 00:54:07 +0000 (17:54 -0700)]
[PATCH] designated initializers for include/linux

These are the completely generic bits (linux/init_task.h and linux/wait.h).

From: Art Haas <ahaas@neosoft.com>

  Here's the latest diffs for the files in include/linux.
  Patches are against 2.5.31.

24 years ago[PATCH] sym53c8xx_2
Jens Axboe [Tue, 13 Aug 2002 00:54:03 +0000 (17:54 -0700)]
[PATCH] sym53c8xx_2

The following patch from Anton Blanchard fixes a problem with the
sym53c8xx_2 driver in the 2.5 tree.  It assumes that the eh error
handlers are not called with the host lock held, which they are.

24 years ago[PATCH] PATCH - RPC/TCP 4 of 4 - Handle short read when reading RPC/TCP packet length
Neil Brown [Tue, 13 Aug 2002 00:48:53 +0000 (17:48 -0700)]
[PATCH] PATCH - RPC/TCP 4 of 4 - Handle short read when reading RPC/TCP packet length

The code already copes with the possibility of having
read some of the 4byte length but not all, but can never
get into that situation.  We just need to add a 'return'
for the case where read got some data but not enough.
Either 0 or -EAGAIN could be returned, they both have the
same effect.

24 years ago[PATCH] PATCH - RPC/TCP 3 of 4 - Correct error message when rpc/tcp sent fails
Neil Brown [Tue, 13 Aug 2002 00:48:49 +0000 (17:48 -0700)]
[PATCH] PATCH - RPC/TCP 3 of 4 - Correct error message when rpc/tcp sent fails

Now that we actually do shutdown the socket, we should
say so instead of just saying that we should....

24 years ago[PATCH] PATCH - RPC/TCP 2 of 4 - Allow SO_REUSEADDR for NFS sockets
Neil Brown [Tue, 13 Aug 2002 00:48:45 +0000 (17:48 -0700)]
[PATCH] PATCH - RPC/TCP 2 of 4 - Allow  SO_REUSEADDR for NFS sockets

Otherwise if you cannot stop and restart nfsd while a client holds a
connection.  Why this isn't the default I cannot imagine...

24 years ago[PATCH] Rearrange setting of snd/rcv buf size to avoid locking issue
Neil Brown [Tue, 13 Aug 2002 00:48:41 +0000 (17:48 -0700)]
[PATCH] Rearrange setting of snd/rcv buf size to avoid locking issue

Currently svc_sock_setbuf can be called under a spinlock,
but it can try to lock a socket, which can block....

Now when we decide that changing the size might be good we
set a flag (SK_CHNGBUF) and then later (when the next
packet arrives) we change the sizes appropriately.

24 years ago[PATCH] APM TLS fix, 2.5.31-BK
Ingo Molnar [Tue, 13 Aug 2002 00:46:06 +0000 (17:46 -0700)]
[PATCH] APM TLS fix, 2.5.31-BK

This (tested) patch fixes APM support on 2.5.31-BK.  The patch is based
on Stephen Rothwell's patch.

24 years agoMerge maxwell.earthlink.net:/usr/src/linus-2.5
James Simmons [Mon, 12 Aug 2002 15:44:48 +0000 (08:44 -0700)]
Merge maxwell.earthlink.net:/usr/src/linus-2.5
into maxwell.earthlink.net:/usr/src/fbdev-2.5

24 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Mon, 12 Aug 2002 14:26:30 +0000 (07:26 -0700)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years agoia64: Sync up with 2.5.31.
David Mosberger [Mon, 12 Aug 2002 13:47:52 +0000 (06:47 -0700)]
ia64: Sync up with 2.5.31.

24 years agoMerge http://linux-ntfs.bkbits.net/ntfs-tng-2.5
Linus Torvalds [Mon, 12 Aug 2002 13:12:11 +0000 (06:12 -0700)]
Merge http://linux-ntfs.bkbits.net/ntfs-tng-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years agoNTFS: 2.0.25 - Small bug fixes and cleanups.
Anton Altaparmakov [Tue, 13 Aug 2002 01:55:10 +0000 (02:55 +0100)]
NTFS: 2.0.25 - Small bug fixes and cleanups.
- Unlock the page in an out of memory error code path in
  fs/ntfs/aops.c::ntfs_read_block().
- If fs/ntfs/aops.c::ntfs_read_page() is called on an uptodate page,
  just unlock the page and return. (This can happen due to ->writepage
  clearing PageUptodate() during write out of MstProtected()
  attributes.
- Remove leaked write code again.

24 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
David Mosberger [Mon, 12 Aug 2002 10:13:57 +0000 (03:13 -0700)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5

24 years ago[PATCH] rmap bugfix, try_to_unmap
Rik van Riel [Mon, 12 Aug 2002 10:07:07 +0000 (03:07 -0700)]
[PATCH] rmap bugfix, try_to_unmap

The following patch corrects a bug where rmap would continue trying to
swap out a page even after it failed on one pte, which could result in
leaked pte chains and a bug when exiting applications which use mlock().

The bug was tracked down by Christian Ehrhardt, the reason it wasn't
found earlier was a subtlety in the code, so I've taken the liberty of
changing Christian's patch into something more explicit, we shouldn't
let this one happen again ;)

24 years agoMerge master.kernel.org:/home/davem/BK/misc-2.5
Linus Torvalds [Mon, 12 Aug 2002 10:05:17 +0000 (03:05 -0700)]
Merge master.kernel.org:/home/davem/BK/misc-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

24 years agoMerge master.kernel.org:/home/davem/BK/net-2.5
Linus Torvalds [Mon, 12 Aug 2002 10:02:52 +0000 (03:02 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

24 years ago[PATCH] compile fixes, xd.c switched to per-disk gendisks
Alexander Viro [Mon, 12 Aug 2002 09:58:34 +0000 (02:58 -0700)]
[PATCH] compile fixes, xd.c switched to per-disk gendisks

Misc.  compile fixes, xd.c switched to per-disk gendisks, Alan's 2.4
fixes for xd.c ported.

24 years ago[PATCH] DAC960 per-disk gendisks
Alexander Viro [Mon, 12 Aug 2002 09:58:23 +0000 (02:58 -0700)]
[PATCH] DAC960 per-disk gendisks

DAC960 switched to per-disk gendisks.

24 years agoClean up asm-i386/smplock.h
Linus Torvalds [Mon, 12 Aug 2002 09:56:16 +0000 (02:56 -0700)]
Clean up asm-i386/smplock.h

24 years agoia64: Print fpswa revision number. Based on patch by
David Mosberger [Mon, 12 Aug 2002 09:40:40 +0000 (02:40 -0700)]
ia64: Print fpswa revision number.  Based on patch by
KOCHI Takayoshi.

24 years agoGet rid of /proc dependency on inode numbers
Linus Torvalds [Mon, 12 Aug 2002 09:20:04 +0000 (02:20 -0700)]
Get rid of /proc dependency on inode numbers

24 years agoia64: Make fph-restore lazy. Patch by Asit K. Mallick.
David Mosberger [Mon, 12 Aug 2002 09:10:32 +0000 (02:10 -0700)]
ia64: Make fph-restore lazy.  Patch by Asit K. Mallick.

24 years agoia64: Minor formatting fixes.
David Mosberger [Mon, 12 Aug 2002 08:34:06 +0000 (01:34 -0700)]
ia64: Minor formatting fixes.

24 years ago[PATCH] hotplug boot change updates
Kimio Suganuma [Mon, 12 Aug 2002 08:28:14 +0000 (01:28 -0700)]
[PATCH] hotplug boot change updates

Make MP bootup work again.

24 years agodrivers/scsi/qlogicisp.c:isp1020_load_paramters Kill unused local variable.
David S. Miller [Mon, 12 Aug 2002 08:27:49 +0000 (01:27 -0700)]
drivers/scsi/qlogicisp.c:isp1020_load_paramters Kill unused local variable.

24 years agodrivers/scsi/st.c: Fix casting between pointer and int.
David S. Miller [Mon, 12 Aug 2002 08:27:12 +0000 (01:27 -0700)]
drivers/scsi/st.c: Fix casting between pointer and int.

24 years agodrivers/scsi/sr.c: Fix casting between pointer and int.
David S. Miller [Mon, 12 Aug 2002 08:26:32 +0000 (01:26 -0700)]
drivers/scsi/sr.c: Fix casting between pointer and int.

24 years agofs/jfs/resize.c:jfs_extendfs {u,s}64 is not necessarily a long long.
David S. Miller [Mon, 12 Aug 2002 08:23:57 +0000 (01:23 -0700)]
fs/jfs/resize.c:jfs_extendfs {u,s}64 is not necessarily a long long.

24 years agodrivers/ide/ide-disk.c:lba_capacity_is_ok {u,s}64 is not necessarily a long long.
David S. Miller [Mon, 12 Aug 2002 08:21:05 +0000 (01:21 -0700)]
drivers/ide/ide-disk.c:lba_capacity_is_ok {u,s}64 is not necessarily a long long.

24 years agokernel/cpu.c:cpu_up Avoid int-->pointer cast warning on 64-bit.
David S. Miller [Mon, 12 Aug 2002 08:19:43 +0000 (01:19 -0700)]
kernel/cpu.c:cpu_up Avoid int-->pointer cast warning on 64-bit.

24 years agokernel/softirq.c:spawn_ksoftirqd Avoid int-->pointer cast warning on 64-bit.
David S. Miller [Mon, 12 Aug 2002 08:19:06 +0000 (01:19 -0700)]
kernel/softirq.c:spawn_ksoftirqd Avoid int-->pointer cast warning on 64-bit.

24 years agokernel/sched.c:migration_init Avoid int-->pointer cast warning on 64-bit.
David S. Miller [Mon, 12 Aug 2002 08:18:32 +0000 (01:18 -0700)]
kernel/sched.c:migration_init Avoid int-->pointer cast warning on 64-bit.

24 years agoMerge master.kernel.org:/home/acme/BK/newdatalink-2.5
David S. Miller [Mon, 12 Aug 2002 07:56:44 +0000 (00:56 -0700)]
Merge master.kernel.org:/home/acme/BK/newdatalink-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

24 years ago[ATALK] fix compilation of appletalk drivers
Arnaldo Carvalho de Melo [Mon, 12 Aug 2002 14:49:58 +0000 (11:49 -0300)]
[ATALK] fix compilation of appletalk drivers

The s/at_addr/atalk_addr/ in atalk.h broke the compilation of
drivers/net/appletalk/*. The patch below fixes it. From Adrian Bunk.

24 years ago[PATCH] tls-2.5.31-D9
Ingo Molnar [Mon, 12 Aug 2002 07:07:09 +0000 (00:07 -0700)]
[PATCH] tls-2.5.31-D9

3 TLS entries, 9 cycles copying and no branches in the context-switch
path. The patch also adds Christoph's suggestion and renames
modify_ldt_ldt_s (yuck!) to user_desc.

24 years agoinclude/linux/netdevice.h: Define HAVE_NETDEV_POLL.
David S. Miller [Mon, 12 Aug 2002 04:23:56 +0000 (21:23 -0700)]
include/linux/netdevice.h: Define HAVE_NETDEV_POLL.

24 years ago[DECNET]: Fix route device refcounting.
Steven Whitehouse [Mon, 12 Aug 2002 03:54:50 +0000 (20:54 -0700)]
[DECNET]: Fix route device refcounting.

24 years ago[PATCH] misc fixes for konicawc driver
Simon Evans [Mon, 12 Aug 2002 03:49:18 +0000 (20:49 -0700)]
[PATCH] misc fixes for konicawc driver

This patch against 2.5.31 fixes some problems in the konicawc driver

- add new video mode 160x120
- add konicawc_camera_on/off()
- initially send out URBs in status,data order
- fix konicawc_isoc_irq to always resubmit status then data URBs
- tidy up debug messages
- make konicawc_compress_iso look for frame start on initial image

24 years agoUSB: remove LINUX_VERSION_CODE checks.
Greg Kroah-Hartman [Mon, 12 Aug 2002 03:31:46 +0000 (20:31 -0700)]
USB: remove LINUX_VERSION_CODE checks.

24 years agoMoved over to use the fix field in struct fb_info instead of fields in struct display.
James Simmons [Mon, 12 Aug 2002 03:14:24 +0000 (20:14 -0700)]
Moved over to use the fix field in struct fb_info instead of fields in struct display.

24 years agoMerge maxwell.earthlink.net:/usr/src/linus-2.5
James Simmons [Mon, 12 Aug 2002 03:08:35 +0000 (20:08 -0700)]
Merge maxwell.earthlink.net:/usr/src/linus-2.5
into maxwell.earthlink.net:/usr/src/fbdev-2.5

24 years agoMerge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
Greg Kroah-Hartman [Mon, 12 Aug 2002 02:52:54 +0000 (19:52 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5

24 years agoMerge nuts.ninka.net:/home/davem/src/BK/BAK-net-2.5
David S. Miller [Sun, 11 Aug 2002 12:39:47 +0000 (05:39 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/BAK-net-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

24 years agodrivers/scsi/esp.c: Kill unused local var flags.
David S. Miller [Sun, 11 Aug 2002 11:21:42 +0000 (04:21 -0700)]
drivers/scsi/esp.c: Kill unused local var flags.

24 years agoarch/sparc64/kernel/pci.c:pcic_present Invoke pci_is_controller.
David S. Miller [Sun, 11 Aug 2002 11:20:33 +0000 (04:20 -0700)]
arch/sparc64/kernel/pci.c:pcic_present Invoke pci_is_controller.

24 years agoarch/sparc64/defconfig: Update.
David S. Miller [Sun, 11 Aug 2002 11:12:27 +0000 (04:12 -0700)]
arch/sparc64/defconfig: Update.

24 years agoSPARC: Implement pcic_present which walks OBP tree, use it always in sbus_init.
David S. Miller [Sun, 11 Aug 2002 11:10:05 +0000 (04:10 -0700)]
SPARC: Implement pcic_present which walks OBP tree, use it always in sbus_init.

24 years agoSPARC: Fix prom_printf and prom console behavior.
Pete Zaitcev [Sun, 11 Aug 2002 11:03:19 +0000 (04:03 -0700)]
SPARC: Fix prom_printf and prom console behavior.

24 years agoSPARC: More work to get sparc32 working in 2.5.x
Pete Zaitcev [Sun, 11 Aug 2002 10:56:43 +0000 (03:56 -0700)]
SPARC: More work to get sparc32 working in 2.5.x
- page-size PTE directory with 16-word pmd_t as suggested by RMK and Riel
- support for 2.5.x softirq infrastructure
- other miscellanea

24 years agoMerge master.kernel.org:/home/acme/BK/newdatalink-2.5
David S. Miller [Sun, 11 Aug 2002 10:39:05 +0000 (03:39 -0700)]
Merge master.kernel.org:/home/acme/BK/newdatalink-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

24 years agoLLC: fix AF_LLC connection confirm and core connection request bugs
Arnaldo Carvalho de Melo [Sat, 10 Aug 2002 20:33:49 +0000 (17:33 -0300)]
LLC: fix AF_LLC connection confirm and core connection request bugs

24 years agoLinux v2.5.31 v2.5.31
Linus Torvalds [Sat, 10 Aug 2002 11:40:33 +0000 (04:40 -0700)]
Linux v2.5.31

24 years ago[PATCH] Infrastructure for atomic user accesses
Andrew Morton [Sat, 10 Aug 2002 11:40:05 +0000 (04:40 -0700)]
[PATCH] Infrastructure for atomic user accesses

Well the optimum solution there would be to create and use
`inc_preempt_count_non_preempt()'.  I don't see any
way of embedding this in kmap_atomic() or copy_to_user_atomic()
without loss of flexibility or incurring a double-inc somewhere.

24 years agoMerge bk://linuxusb.bkbits.net/pci_hp-2.5
Linus Torvalds [Sat, 10 Aug 2002 09:48:39 +0000 (02:48 -0700)]
Merge bk://linuxusb.bkbits.net/pci_hp-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Sat, 10 Aug 2002 09:47:29 +0000 (02:47 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux

24 years ago[PATCH] fix a race between set_page_dirty and truncate
Andrew Morton [Sat, 10 Aug 2002 09:44:55 +0000 (02:44 -0700)]
[PATCH] fix a race between set_page_dirty and truncate

Fix a race between set_page_dirty() and truncate.

The page could have been removed from the mapping while this CPU is
spinning on the lock.  __free_pages_ok() will go BUG.

This has not been observed in practice - most callers of
set_page_dirty() hold the page lock which gives exclusion from
truncate.  But zap_pte_range() does not.

A fix for this has been sent to Marcelo also.

24 years ago[PATCH] direct IO fixes
Andrew Morton [Sat, 10 Aug 2002 09:44:51 +0000 (02:44 -0700)]
[PATCH] direct IO fixes

Some direct IO fixes from Badari Pulavarty.

- off-by-one in the bounds checking in blkdev_get_blocks().

- When adding more blocks into a bio_vec, account for the current
  offset into that bio_vec.

- Fix a total ballsup in the code which calculates the total number
  of pages which are about to be put under IO.

24 years ago[PATCH] sync get_user_pages with 2.4
Andrew Morton [Sat, 10 Aug 2002 09:44:47 +0000 (02:44 -0700)]
[PATCH] sync get_user_pages with 2.4

Forward port of get_user_pages() change from 2.4.

- If the vma is marked as VM_IO area then fail the map.

  This prevents kernel deadlocks which occur when applications which
  have frame buffers mapped try to dump core.  Also prevents a kernel
  oops when a debugger is attached to a process which has an IO mmap.

- Check that the mapped page is inside mem_map[] (pfn_valid).

- inline follow_page() and remove the preempt_disable()s.  It has
  only a single callsite and is called under spinloclk.

24 years ago[PATCH] tunable ext3 commit interval
Andrew Morton [Sat, 10 Aug 2002 09:44:42 +0000 (02:44 -0700)]
[PATCH] tunable ext3 commit interval

The patch from Stephen Tweedie allows users to modify the journal
commit interval for the ext3 filesystem.

The commit interval is normally five seconds.  For portable computers
with spun-down drives it is advantageous to be able to increase the
commit interval.

There may also be advantages in decreasing the commit interval for
specialised applications such as heavily-loaded NFS servers which are
using synchronous exports.

The laptop users will also need to increase the pdflush periodic
writeback interval (/proc/sys/vm/dirty_writeback_centisecs), because
the `kupdate' activity also forces a commit.

To specify the commit interval, use

mount -o commit=30 /dev/hda1 /mnt/whatever

or
mount -o remount,commit=30 /dev/hda1

The commit interval is specified in units of seconds.

24 years ago[PATCH] copy_strings speedup
Andrew Morton [Sat, 10 Aug 2002 09:44:38 +0000 (02:44 -0700)]
[PATCH] copy_strings speedup

This is the first of three patches which reduce the amount of
kmap/kunmap traffic on highmem machines.

The workload which was tested was RAM-only dbench.  This is dominated
by copy_*_user() costs.

The three patches speed up my 4xPIII by 3%

The three patches speed up a 16P NUMA-Q by 100 to 150%

The first two patches (copy_strings and pagecache reads) speed up an
8-way by 15%.  I expect that all three patches will speed up the 8-way
by 40%.

Some of the benefit is from reduced pressure on kmap_lock.  Most of it
is from reducing the number of global TLB invalidations.

This patch fixes up copy_strings().  copy_strings does a huge amount of
kmapping.  Martin Bligh has noted that across a kernel compile this
function is the second or third largest user of kmaps in the kernel.

The fix is pretty simple: just hang onto the previous kmap as we we go
around the loop.  It reduces the number of kmappings from copy_strings
by a factor of 30.

24 years ago[PATCH] 3c905B fix
Andrew Morton [Sat, 10 Aug 2002 09:44:34 +0000 (02:44 -0700)]
[PATCH] 3c905B fix

Patch from Zwane which fixes a transceiver problem on his 3c905B.

Apparently the 905B's MII status register is saying that it doesn't
need preamble, but the datasheet says that it does.  So add a 905B
override for that in the device table.

This could break other 3c905B's.  I don't know.  There's only one way
to find out.

24 years ago[PATCH] build warning fix
Russell King [Sat, 10 Aug 2002 09:44:30 +0000 (02:44 -0700)]
[PATCH] build warning fix

This patch has been verified to apply cleanly to 2.5.30

This patch fixes a build warning in smp.h.  register_cpu_notifier uses
struct notifier_block in its argument list.  Unfortunately, there are
places where smp.h is included before the definition of this structure.

24 years ago[PATCH] S3 and swsusp: fixing device_resume order
Pavel Machek [Sat, 10 Aug 2002 09:44:25 +0000 (02:44 -0700)]
[PATCH] S3 and swsusp: fixing device_resume order

pci driver's resume must not be called during RESUME_POWER_ON because
interrupts are still off and i8259A is not initialized [OHCI kills
machine in such case, cardbus probably too.  PCI drivers just assume
initialized interrupts.]

Second hunk fixes device_resume calls to be okay according to
documentation.

24 years ago[PATCH] Re: downgrade_write
David Howells [Sat, 10 Aug 2002 09:33:51 +0000 (02:33 -0700)]
[PATCH] Re: downgrade_write

The prototype name is wrong, not the name called by the actual
implementation.  Noticed by David Miller.

24 years ago[PATCH] missing export of elv_queue_empty()
Jens Axboe [Sat, 10 Aug 2002 09:33:47 +0000 (02:33 -0700)]
[PATCH] missing export of elv_queue_empty()

Forgot to export it to modules :/

24 years ago[PATCH] Fix misspelling of "sector" in ide.c
Paul Menage [Sat, 10 Aug 2002 09:28:51 +0000 (02:28 -0700)]
[PATCH] Fix misspelling of "sector" in ide.c

24 years agoMerge Al's partition handling cleanups
Linus Torvalds [Sat, 10 Aug 2002 09:24:45 +0000 (02:24 -0700)]
Merge Al's partition handling cleanups

24 years ago[PATCH] fix check_disk_change() deadlocks
Alexander Viro [Sat, 10 Aug 2002 09:22:02 +0000 (02:22 -0700)]
[PATCH] fix check_disk_change() deadlocks

Small, but tricky: fix for check_disk_change() deadlocks.
What we do is
a) opening block device shifted from check_partition() to
   grok_partitions(); check_partitions() takes opened
   struct block_device.
b) all callers of check_disk_change() fall in two groups -
   ones that are called only from some ->open() and ones
   that are _never_ called from ->open().  There is no
   middle ground.  We split the thing in two functions -
   check_disk_change() for the first class and full_check_....
   for the second.  The former (ones inside ->open()) doesn't
   touch partition tables but marks the bdev as "had been
   invalidated".  In the end of do_open() we check if
   bdev is marked and call wipe_partitions()/check_partition()
   if it is - at that point bdev is fully set up and ready.
c) ->bd_part_sem kludge is gone - we use ->bd_sem instead.
   That is, do_open() on a partition grabs ->bd_sem on entire
   disk and picks partition data while under it; do_open() on
   entire disk rereads partition if needed before dropping
   ->bd_sem (right before dropping it); BLKRRPART does
   trylock on ->bd_sem and then checks ->bd_part_count -
   same logics as before, except that we use ->bd_sem instead
   of ->bd_part_sem.

That kills recursive open(), gives us the same exclusion rules as
we had and makes sure that actual IO (including rereading partition
tables) is done only when we are ready to do it.

It actually sounds a lot nastier than it is.  do_open() is a one sick
puppy right now, but we have everything in one place and _out_ of drivers
(and 20-odd equally sick puppies are gone from them, along with about
the same number of races).

Now we are almost ready to clean it up for good - all that remains to
do before that is to get the rest of drivers (cciss, DAC960, i2o and
a couple of ancients - xd and acsi) using per-disk gendisks.  Then
most of that crap will disappear.

BTW, the only generic ioctl remaining in the drivers is HDIO_GETGEO -
a lot of foo_ioctl() starts with if (cmd != HDIO_GETGEO) return -EINVAL; ;-)

24 years ago[PATCH] ps2esdi.c per-disk gendisks
Alexander Viro [Sat, 10 Aug 2002 09:21:58 +0000 (02:21 -0700)]
[PATCH] ps2esdi.c per-disk gendisks

ps2esdi.c switched to per-disk gendisks

24 years ago[PATCH] cpqarray.c per-disk gendisks
Alexander Viro [Sat, 10 Aug 2002 09:21:54 +0000 (02:21 -0700)]
[PATCH] cpqarray.c per-disk gendisks

cpqarray.c switched to per-disk gendisks

24 years ago[PATCH] partition table flush/read cleanup
Alexander Viro [Sat, 10 Aug 2002 09:21:49 +0000 (02:21 -0700)]
[PATCH] partition table flush/read cleanup

Big One.  Flushing/rereading partition tables is taken from
->revalidate() for partitioned devices; now it's done in the
caller (check_disk_change()).  BLKRRPART handling also moved
out of drivers - they are still allowed to override it (DAC960
and i2o are the only remaining ones), but common case is handled
in fs/block_dev.c.

Note: we are still only shifting stuff - bd_sem deadlocks in
check_disk_change() are still there.  However, now we have all
relevant code outside of drivers and that will allow to fix the
thing (see next patches).

24 years ago[PATCH] ide subdrivers attach() cleanup
Alexander Viro [Sat, 10 Aug 2002 09:21:45 +0000 (02:21 -0700)]
[PATCH] ide subdrivers attach() cleanup

->attach() for ide subdrivers explicitly calls register_disk()
instead of ata_revalidate() now; revalidate_drives() is gone -
it's not needed anymore (we _know_ that we'll read partition
table as soon as driver claims the drive; no need to mess with
bogus rereading).

24 years ago[PATCH] clean up major_name
Alexander Viro [Sat, 10 Aug 2002 09:21:40 +0000 (02:21 -0700)]
[PATCH] clean up major_name

->major_name for per-disk gendisks set to full name - i.e.
IDE gendisks have "hda", "hdb", etc. instead of "hd".
As the result, we kill a lot of crap in check.c::disk_name().
In particular, now we can afford ->minor_shift set to 0
for ide-cd (disk_name() was the only obstacle)

24 years ago[PATCH] make check_disk_change() use struct block_device
Alexander Viro [Sat, 10 Aug 2002 09:21:36 +0000 (02:21 -0700)]
[PATCH] make check_disk_change() use struct block_device

check_disk_change() converted to passing struct block_device.

Old variant is still needed for a couple of places; wrapper
is provided (__check_disk_change(kdev)).  do_open() logics
with setting ->bd_op sanitized - now we do that before calling
->open().

24 years ago[PATCH] fix /proc/partitions braino
Alexander Viro [Sat, 10 Aug 2002 09:21:31 +0000 (02:21 -0700)]
[PATCH] fix /proc/partitions braino

fix for embarrassing braino in /proc/partitions - size in kilobytes
is _half_ the size in secotrs, not twice that size...

24 years ago[PATCH] seq_read() fix
Alexander Viro [Sat, 10 Aug 2002 09:21:28 +0000 (02:21 -0700)]
[PATCH] seq_read() fix

Present both in 2.4 and 2.5 ;-/