]> git.hungrycats.org Git - linux/log
linux
23 years agoMerge samba.org:/stuff/paulus/kernel/linux-2.5
Paul Mackerras [Fri, 22 Aug 2003 18:33:59 +0000 (04:33 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc

23 years agoMerge samba.org:/stuff/paulus/kernel/linux-2.5
Paul Mackerras [Fri, 22 Aug 2003 06:44:16 +0000 (16:44 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc

23 years agoMerge samba.org:/stuff/paulus/kernel/linux-2.5
Paul Mackerras [Thu, 21 Aug 2003 06:53:35 +0000 (16:53 +1000)]
Merge samba.org:/stuff/paulus/kernel/linux-2.5
into samba.org:/stuff/paulus/kernel/for-linus-ppc

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Thu, 21 Aug 2003 05:56:09 +0000 (22:56 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge http://linux-sound.bkbits.net/linux-sound
Linus Torvalds [Thu, 21 Aug 2003 04:58:51 +0000 (21:58 -0700)]
Merge http://linux-sound.bkbits.net/linux-sound
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] remove cramfs maintainership
Jörn Engel [Thu, 21 Aug 2003 04:51:48 +0000 (21:51 -0700)]
[PATCH] remove cramfs maintainership

Dan hasn't been maintaining cramfs for some time.

Mark it orphan until somebody else takes it up.

23 years agoMerge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
Linus Torvalds [Thu, 21 Aug 2003 04:16:06 +0000 (21:16 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] keep cramfs silent, when it ought to be
Jörn Engel [Thu, 21 Aug 2003 04:15:42 +0000 (21:15 -0700)]
[PATCH] keep cramfs silent, when it ought to be

This removes the pointless cramfs message when booting with cramfs
compiled in but not as the root filesystem.

23 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
David S. Miller [Thu, 21 Aug 2003 03:55:43 +0000 (20:55 -0700)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

23 years ago[TOKENRING]: expire timer improvements.
Stephen Hemminger [Thu, 21 Aug 2003 05:18:27 +0000 (22:18 -0700)]
[TOKENRING]: expire timer improvements.

Cleanup the timer code.  It works as is, but:
- use timer_ macro's when working with jiffies.
- cleanup the #define's
- make timer run sooner (ie when next entry will expire)
  rather than waiting till the next 10 minute quanta.
- print TTL value in seconds not jiffies
- change formatting to linux style in code the area affected.

23 years ago[TOKENRING]: fix the seq_file next operation.
Stephen Hemminger [Thu, 21 Aug 2003 05:17:17 +0000 (22:17 -0700)]
[TOKENRING]: fix the seq_file next operation.

Better version of my seq_file next operation.
Use current pointer to find next element.  Should be more
stable with changing list (no duplicate entries).

23 years ago[TOKENRING]: better hash function.
Stephen Hemminger [Thu, 21 Aug 2003 05:16:24 +0000 (22:16 -0700)]
[TOKENRING]: better hash function.

Rather than a simple for loop sum, use a better hash function
for the mac address.

Function repurposed from Lennert's bridge code.

23 years ago[TOKENRING]: mcast_addr need not be on stack.
Stephen Hemminger [Thu, 21 Aug 2003 05:15:17 +0000 (22:15 -0700)]
[TOKENRING]: mcast_addr need not be on stack.

Multicast address value is put on stack and can just be static const.

23 years ago[TOKENRING]: spin_lock consistency.
Stephen Hemminger [Thu, 21 Aug 2003 05:13:10 +0000 (22:13 -0700)]
[TOKENRING]: spin_lock consistency.

Use spin_lock on hash table consistently, this code is only called
from bottom half context, never from interrupt context so use spin_lock_bh.

23 years ago[TOKENRING]: Get rid of egregious typedef.
Stephen Hemminger [Thu, 21 Aug 2003 05:12:17 +0000 (22:12 -0700)]
[TOKENRING]: Get rid of egregious typedef.

23 years ago[NETROM]: Update wrt. ax25_cb refcounting changes.
Jeroen Vreeken [Thu, 21 Aug 2003 05:09:09 +0000 (22:09 -0700)]
[NETROM]: Update wrt. ax25_cb refcounting changes.

23 years ago[AX25]: Fix list usage and list locking in ax25_iface.c
Jeroen Vreeken [Thu, 21 Aug 2003 05:08:09 +0000 (22:08 -0700)]
[AX25]: Fix list usage and list locking in ax25_iface.c

23 years ago[AX25]: Use ->hard_header_len instead of some predicted worse case.
Jeroen Vreeken [Thu, 21 Aug 2003 05:06:48 +0000 (22:06 -0700)]
[AX25]: Use ->hard_header_len instead of some predicted worse case.

23 years ago[AX25]: Fix ax25_cb locking.
Jeroen Vreeken [Thu, 21 Aug 2003 05:04:47 +0000 (22:04 -0700)]
[AX25]: Fix ax25_cb locking.

- ax25_cb's use refcounting
- the ax25_cb list uses hlists
- Lots of socket locking.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Thu, 21 Aug 2003 03:47:23 +0000 (20:47 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years agoMerge kroah.com:/home/linux/BK/bleed-2.5
Greg Kroah-Hartman [Thu, 21 Aug 2003 03:13:50 +0000 (20:13 -0700)]
Merge kroah.com:/home/linux/BK/bleed-2.5
into kroah.com:/home/linux/BK/pci-2.5

23 years agoPCI: added the pci_pretty_name() macro to pci.h as 2 arches already had it.
Greg Kroah-Hartman [Thu, 21 Aug 2003 03:07:11 +0000 (20:07 -0700)]
PCI: added the pci_pretty_name() macro to pci.h as 2 arches already had it.

23 years ago[PATCH] v4l: remove stale CONFIG_VIDEO_PROC_FS
Gerd Knorr [Thu, 21 Aug 2003 02:53:10 +0000 (19:53 -0700)]
[PATCH] v4l: remove stale CONFIG_VIDEO_PROC_FS

 * makes the three USB drivers not use the procfs stuff, also added a
   warning that they should converted to sysfs.
 * Removes the leftover, obsolete VIDEO_PROC_FS config option, that
   should catch any other build failures too (if any).

23 years agoALSA update
Jaroslav Kysela [Thu, 21 Aug 2003 00:35:48 +0000 (02:35 +0200)]
ALSA update
  - updated documentation and timestamp

23 years agoSolved conflicts with ALSA CVS tree
Jaroslav Kysela [Thu, 21 Aug 2003 00:08:25 +0000 (02:08 +0200)]
Solved conflicts with ALSA CVS tree

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:33:01 +0000 (01:33 +0200)]
ALSA CVS update
D:2003/08/20 10:59:59
A:Jaroslav Kysela <perex@suse.cz>
F:usb/usbaudio.c:1.62->1.63
F:usb/usbaudio.h:1.20->1.21
F:usb/usbmixer.c:1.21->1.22
L:Synced USB audio driver with the latest 2.6 code

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:31:54 +0000 (01:31 +0200)]
ALSA CVS update
D:2003/08/16 10:54:09
A:Jaroslav Kysela <perex@suse.cz>
F:core/oss/pcm_oss.c:1.45->1.46
L:Fixed open for O_RDWR when capture is not available

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:30:45 +0000 (01:30 +0200)]
ALSA CVS update
D:2003/08/14 17:05:13
A:Takashi Iwai <tiwai@suse.de>
F:pci/ac97/ac97_codec.c:1.100->1.101
L:fix by James Courtier-Dutton <James@superbug.demon.co.uk>:
L:
L:Fixes ac3 passthru non-audio bit setting for AC97 codecs.
L:
L:I have :-
L:Card: Intel ICH5
L:Chip: Avance Logic ALC650 rev 0
L:
L:The problem I was having was that the spdif non-audio bit was not
L:being set.
L:This patch fixes that problem.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:29:35 +0000 (01:29 +0200)]
ALSA CVS update
D:2003/08/14 12:05:38
A:Takashi Iwai <tiwai@suse.de>
F:drivers/opl3/opl3_lib.c:1.17->1.18
F:isa/gus/gusclassic.c:1.10->1.11
F:isa/gus/gusextreme.c:1.10->1.11
F:isa/gus/gusmax.c:1.11->1.12
F:pci/azt3328.c:1.2->1.3
F:pci/cs4281.c:1.43->1.44
F:pci/ens1370.c:1.47->1.48
F:pci/es1938.c:1.26->1.27
F:pci/es1968.c:1.51->1.52
F:pci/sonicvibes.c:1.25->1.26
F:pci/via82xx.c:1.45->1.46
F:pci/cs46xx/cs46xx_lib.c:1.62->1.63
F:pci/ice1712/ice1712.c:1.32->1.33
F:pci/ice1712/ice1724.c:1.14->1.15
F:pci/trident/trident_main.c:1.45->1.46
F:pci/ymfpci/ymfpci_main.c:1.40->1.41
F:sparc/amd7930.c:1.6->1.7
F:sparc/cs4231.c:1.8->1.9
L:fixed the wrong order of object destruction:
L:  a released object is referred after the *_free() call.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:28:22 +0000 (01:28 +0200)]
ALSA CVS update
D:2003/08/14 11:55:18
A:Takashi Iwai <tiwai@suse.de>
F:pci/ymfpci/ymfpci_main.c:1.39->1.40
L:register dump in the proc file.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:27:12 +0000 (01:27 +0200)]
ALSA CVS update
D:2003/08/13 14:14:31
A:Takashi Iwai <tiwai@suse.de>
F:arm/sa11xx-uda1341.c:1.11->1.12
L:fixed missing spin_lock_init().

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:26:02 +0000 (01:26 +0200)]
ALSA CVS update
D:2003/08/13 14:01:22
A:Takashi Iwai <tiwai@suse.de>
F:isa/opl3sa2.c:1.28->1.29
L:fixed the uninitialized spin_lock.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:24:54 +0000 (01:24 +0200)]
ALSA CVS update
D:2003/08/11 13:37:56
A:Takashi Iwai <tiwai@suse.de>
F:Documentation/DocBook/writing-an-alsa-driver.tmpl:1.12->1.13
L:fix typos

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:23:47 +0000 (01:23 +0200)]
ALSA CVS update
D:2003/08/11 13:37:36
A:Takashi Iwai <tiwai@suse.de>
F:pci/intel8x0.c:1.87->1.88
L:fix mixed up vendor/device ID's for Asus P4P800

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:22:37 +0000 (01:22 +0200)]
ALSA CVS update
D:2003/08/11 10:20:00
A:Jaroslav Kysela <perex@suse.cz>
F:pci/es1968.c:1.49->1.50
L:Removed bob_lock spinlock

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:21:28 +0000 (01:21 +0200)]
ALSA CVS update
D:2003/08/07 15:18:56
A:Takashi Iwai <tiwai@suse.de>
F:pci/es1968.c:1.48->1.49
L:- hopefully fixed the capture.
L:- align the buffers in 4k.
L:- a bit code clean up.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:20:19 +0000 (01:20 +0200)]
ALSA CVS update
D:2003/08/06 18:45:09
A:Takashi Iwai <tiwai@suse.de>
F:core/oss/pcm_plugin.c:1.15->1.16
F:core/oss/pcm_plugin.h:1.4->1.5
L:removed unused functions.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:19:11 +0000 (01:19 +0200)]
ALSA CVS update
D:2003/08/06 18:44:50
A:Takashi Iwai <tiwai@suse.de>
F:pci/es1968.c:1.47->1.48
L:removed buggy copy callback.
L:the standard copy routine works properly.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:18:01 +0000 (01:18 +0200)]
ALSA CVS update
D:2003/08/06 12:13:57
A:Takashi Iwai <tiwai@suse.de>
F:Documentation/ALSA-Configuration.txt:1.13->1.14
L:more descriptions for vx drivers.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:16:53 +0000 (01:16 +0200)]
ALSA CVS update
D:2003/08/05 13:45:12
A:Takashi Iwai <tiwai@suse.de>
F:pci/es1968.c:1.46->1.47
L:- fixed corruption of stream linked list in the interrupt handler.
L:- clean up the unnecessary atomic_t and spinlocks.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:15:44 +0000 (01:15 +0200)]
ALSA CVS update
D:2003/08/05 13:43:10
A:Takashi Iwai <tiwai@suse.de>
F:pci/es1968.c:1.45->1.46
L:- rewritten the pm whitelist as a static list.
L:- added more pci subsystem ids to the whitelist.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:14:34 +0000 (01:14 +0200)]
ALSA CVS update
D:2003/08/05 13:42:23
A:Takashi Iwai <tiwai@suse.de>
F:pci/emu10k1/emufx.c:1.36->1.37
L:fixed typos.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:13:26 +0000 (01:13 +0200)]
ALSA CVS update
D:2003/07/30 19:54:01
A:Jaroslav Kysela <perex@suse.cz>
F:include/emu10k1.h:1.29->1.30
L:Fixed typos (GRP->GPR)

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:12:17 +0000 (01:12 +0200)]
ALSA CVS update
D:2003/07/30 16:35:33
A:Takashi Iwai <tiwai@suse.de>
F:pci/es1968.c:1.44->1.45
L:added use_pm to the kernel boot parameter.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:11:09 +0000 (01:11 +0200)]
ALSA CVS update
D:2003/07/30 15:39:38
A:Takashi Iwai <tiwai@suse.de>
F:pci/intel8x0.c:1.86->1.87
L:- improved the probe/resume function.
L:  check only the valid codec bits in chip_init() during resume.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:09:57 +0000 (01:09 +0200)]
ALSA CVS update
D:2003/07/30 11:54:03
A:Takashi Iwai <tiwai@suse.de>
F:include/ac97_codec.h:1.30->1.31
F:pci/intel8x0.c:1.85->1.86
F:pci/via82xx.c:1.43->1.44
F:pci/ac97/ac97_codec.c:1.99->1.100
F:pci/ac97/ac97_patch.c:1.17->1.18
F:pci/ac97/ac97_patch.h:1.8->1.9
L:- added quirk type AC97_TUNE_AD_SHARING.
L:- added mask field to snd_ac97_quirk.
L:- new patch for AD1985.  set more config bits for line/mic sharing.
L:- rewritten quirk table in C99 init style.
L:- more quirks for intel ICH5/AD1985 boards.

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:08:44 +0000 (01:08 +0200)]
ALSA CVS update
D:2003/07/29 16:16:43
A:Jaroslav Kysela <perex@suse.cz>
F:pci/ice1712/ice1724.c:1.12->1.13
L:Fixed 192kHz support

23 years agoALSA CVS update
Jaroslav Kysela [Wed, 20 Aug 2003 23:07:29 +0000 (01:07 +0200)]
ALSA CVS update
D:2003/07/28 14:50:51
A:Takashi Iwai <tiwai@suse.de>
F:pci/rme9652/hdsp.c:1.41->1.42
L:added the support for rev 50 cards.

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Wed, 20 Aug 2003 19:23:43 +0000 (05:23 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge bk://ppc@ppc.bkbits.net/for-linus-ppc
Paul Mackerras [Wed, 20 Aug 2003 19:12:56 +0000 (05:12 +1000)]
Merge bk://ppc@ppc.bkbits.net/for-linus-ppc
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoFix tridentfd for 'name' move, and avoid compile warnings
Linus Torvalds [Wed, 20 Aug 2003 19:01:56 +0000 (12:01 -0700)]
Fix tridentfd for 'name' move, and avoid compile warnings

23 years agoNCR5380: don't play games with NCR5380_proc_info() - just mark it
Linus Torvalds [Wed, 20 Aug 2003 18:36:31 +0000 (11:36 -0700)]
NCR5380: don't play games with NCR5380_proc_info() - just mark it
static unconditionally, to allow multiple built-in modules.

23 years ago[PATCH] fix /proc mm_struct refcounting bug
Andrew Morton [Wed, 20 Aug 2003 17:29:16 +0000 (10:29 -0700)]
[PATCH] fix /proc mm_struct refcounting bug

From: Suparna Bhattacharya <suparna@in.ibm.com>

The /proc code's bare atomic_inc(&mm->count) is racy against __exit_mm()'s
mmput() on another CPU: it calls mmput() outside task_lock(tsk), and
task_lock() isn't appropriate locking anyway.

So what happens is:

CPU0           CPU1

      mmput()
      ->atomic_dec_and_lock(mm->mm_users)
                                          atomic_inc(mm->mm_users)
      ->list_del(mm->mmlist)
                                          mmput()
                                          ->atomic_dec_and_lock(mm->mm_users)
                                          ->list_del(mm->mmlist)

And the double list_del() of course goes splat.

So we use mmlist_lock to synchronise these steps.

The patch implements a new mmgrab() routine which increments mm_users only if
the mm isn't already going away.  Changes get_task_mm() and proc_pid_stat()
to call mmgrab() instead of a direct atomic_inc(&mm->mm_users).

Hugh, there's some cruft in swapoff which looks like it should be using
mmgrab()...

23 years ago[PATCH] Fix CPU boot problem
Andrew Morton [Wed, 20 Aug 2003 17:29:07 +0000 (10:29 -0700)]
[PATCH] Fix CPU boot problem

From: Dave Hansen <haveblue@us.ibm.com>

Hmmm.  This is looking like fallout from the massive wli-bomb.  Here's
the loop that controls the cpu booting, before and after cpumask_t:

- for (bit = 0; kicked < NR_CPUS && bit < BITS_PER_LONG; bit++)
+ for (bit = 0; kicked < NR_CPUS && bit < MAX_APICS; bit++)
apicid = cpu_present_to_apicid(bit);

"kicked" only gets incremented for CPUs that were successfully booted,
so it doesn't help terminate the loop much.  MAX_APICS is 256 on summit,
which is *MUCH* bigger than BITS_PER_LONG.
cpu_2_logical_apicid[NR_CPUS] which is referenced from
cpu_present_to_apicid() is getting referenced up to MAX_APICs, which is
bigger than NR_CPUS.  Overflow.  Bang.  garbage != BAD_APICID :)

23 years ago[PATCH] missing io_apic.h inclusions
Andrew Morton [Wed, 20 Aug 2003 17:28:59 +0000 (10:28 -0700)]
[PATCH] missing io_apic.h inclusions

From: Emilio Gallego Arias <egallego@telefonica.net>

Apparently a couple of files now need io_apic.h.

23 years ago[PATCH] export device_suspend() and device_resume()
Andrew Morton [Wed, 20 Aug 2003 17:28:52 +0000 (10:28 -0700)]
[PATCH] export device_suspend() and device_resume()

apm.c (at least) needs these.

23 years ago[PATCH] fix for htree corruption
Andrew Morton [Wed, 20 Aug 2003 17:28:44 +0000 (10:28 -0700)]
[PATCH] fix for htree corruption

From: chrisl@vmware.com

Fixes the "perl installer weirdness" problem which a few people have been
reporting.

The bug is triggered by creating the index.  Coping out the index we assume
the dirents start with the first entry after "." "..".

It can make the first previous deleted entry reappear.  In the past we set
inode to zero for an empty entry so this is not a problem.  That is not
true any more.

Also, there were a few places where we were altering inode times after
running ext3_mark_inode_dirty().  We should be doing that beforehand.

23 years ago[PATCH] dmi_scan warning fix
Andrew Morton [Wed, 20 Aug 2003 17:28:35 +0000 (10:28 -0700)]
[PATCH] dmi_scan warning fix

dmi_dump_system() is only used if CONFIG_ACPI_BOOT.

23 years ago[PATCH] update Documentation/filesystems/Locking
Andrew Morton [Wed, 20 Aug 2003 17:28:27 +0000 (10:28 -0700)]
[PATCH] update Documentation/filesystems/Locking

From: Matthew Wilcox <willy@debian.org>

Here's an update to Documentation/filesystems/Locking.

23 years ago[PATCH] fix intel copy_to_user()
Andrew Morton [Wed, 20 Aug 2003 17:28:19 +0000 (10:28 -0700)]
[PATCH] fix intel copy_to_user()

A `cat /dev/kmem' oopses the kernel.  This is because new Intel
copy_to_user() doesn't handle segfaults against the kernel-side source
address of the copy.

It is not obvious how to fix read_kmem(), and handling faults on either
source or dest is traditional behaviour, so fix it in the copy function by
adding exception table entries for the reads as well as the writes.

23 years ago[PATCH] dscc4: module refcounting
Andrew Morton [Wed, 20 Aug 2003 17:28:11 +0000 (10:28 -0700)]
[PATCH] dscc4: module refcounting

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

Recent MOD_{INC/DEC}_USE_COUNT removal missed a MOD_DEC_USE_COUNT.

23 years ago[PATCH] dscc4: various
Andrew Morton [Wed, 20 Aug 2003 17:28:03 +0000 (10:28 -0700)]
[PATCH] dscc4: various

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

- silly indentation;
- let's be more user-friendly with manufacturer specific (mis)feature:
  + s/CONFIG_DSCC4_CLOCK_ON_TWO_PORTS_ONLY/CONFIG_DSCC4_PCISYNC/
  + KConfig adequate entry
- broken warning message.

23 years ago[PATCH] dscc4: CCR1 register fixes
Andrew Morton [Wed, 20 Aug 2003 17:27:55 +0000 (10:27 -0700)]
[PATCH] dscc4: CCR1 register fixes

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

CCR1 register voodoo: asic handles itself the flow control.

23 years ago[PATCH] dscc4: reset changes
Andrew Morton [Wed, 20 Aug 2003 17:27:47 +0000 (10:27 -0700)]
[PATCH] dscc4: reset changes

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

Workaround for lack of true reset:
- devices/ports are put in silent mode at ifconfig down time but some
  state is kept around to allow 'ifconfig up' issuing at a later time.
  Device specific structures are allocated when the pci asic is
  probed: dscc4_init_ring() moves from dscc4_open() to dscc4_found1().
- try to use reset related board-specific feature at module removal
  time if available. Comments in the code explain the whole story.
  Not a complicated feature but it is unavailable on the cards I own
  and no user gave me feedback -> currently untested.
  It shouldn't harm anyway.

23 years ago[PATCH] dscc4: scc changes
Andrew Morton [Wed, 20 Aug 2003 17:27:39 +0000 (10:27 -0700)]
[PATCH] dscc4: scc changes

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

- more #define for specific bits;
- more scc_patchl use;
- just say no to bozo programming:
  + SCC core _really_ disabled at startup;
  + Interrupts Mask Register setup and SCC core activation are
    done as late as possible (i.e. in dscc4_open());
  + they are reverted if dscc4_open() fails;
  + as well as unconditionnaly in dscc4_close();
- more or less paranoid quirk in Xpr handler.

23 years ago[PATCH] dscc4: debug messages
Andrew Morton [Wed, 20 Aug 2003 17:27:30 +0000 (10:27 -0700)]
[PATCH] dscc4: debug messages

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

More conditional debug messages.

23 years ago[PATCH] dscc4: clock mode commentary
Andrew Morton [Wed, 20 Aug 2003 17:27:22 +0000 (10:27 -0700)]
[PATCH] dscc4: clock mode commentary

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

Clock modes on dscc4 are feature-rich enough to deserve some explanation.

23 years ago[PATCH] dscc4: commentary
Andrew Morton [Wed, 20 Aug 2003 17:27:14 +0000 (10:27 -0700)]
[PATCH] dscc4: commentary

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

Short comments so I can figure why things are done this way.

23 years ago[PATCH] opl3sa2 uninitialised spinlock
Andrew Morton [Wed, 20 Aug 2003 17:27:06 +0000 (10:27 -0700)]
[PATCH] opl3sa2 uninitialised spinlock

opl3sa2 forgot to initialise the spinlock.

23 years ago[PATCH] Allow O_EXCL on a block device to claim exclusive use.
Andrew Morton [Wed, 20 Aug 2003 17:26:57 +0000 (10:26 -0700)]
[PATCH] Allow O_EXCL on a block device to claim exclusive use.

From: NeilBrown <neilb@cse.unsw.edu.au>

The blockdev layer has a concept of 'claiming' a device, so for example it
can be claimed when a filesystem is mounted or when it is included into a
raid array.  Only one subsystem can claim it at a time.

This patch matches this functionality available to user-space via the
O_EXCL flag to open.

This allows user-space programs to easily test if a device is currently
mounted etc, and to prevent a device from being mounted or otherwise
claimed.

23 years ago[PATCH] When a partition is claimed, claim the whole device
Andrew Morton [Wed, 20 Aug 2003 17:26:48 +0000 (10:26 -0700)]
[PATCH] When a partition is claimed, claim the whole device

From: NeilBrown <neilb@cse.unsw.edu.au>

Current devices can be 'claimed' by filesystems (when mounting) or
md/raid (when being included in an array) or 'raw' or ....
This stop concurrent access by these systems.

However it is still possible for one system to claim the whole device
and a second system to claim one partition, which is not good.

With this patch, when a partition is claimed, the whole device is
claimed for partitioning.  So you cannot have a partition and the
whole devices claimed at the same time (except if the whole device
is claimed for partitioning).

23 years ago[PATCH] vmscan: give dirty referenced pages another pass
Andrew Morton [Wed, 20 Aug 2003 17:26:39 +0000 (10:26 -0700)]
[PATCH] vmscan: give dirty referenced pages another pass

In a further attempt to prevent dirty pages from being written out from the
LRU, don't write them if they were referenced.  This gives those pages
another trip around the inactive list.  So more of them are written via
balance_dirty_pages().

It speeds up an untar-of-five-kernel trees by 5% on a 256M box, presumably
because balance_dirty_pages() has better IO patterns.

It largely fixes the problem which Gerrit talked about at the kernel summit:
the individual writepage()s of dirty pages coming off the tail of the LRU are
reduced by 83% in their database workload.

I'm a bit worried that it increases scanning and OOM possibilities under
nutty VM stress cases, but nothing untoward has been noted during its four
weeks in -mm, so...

23 years ago[PATCH] ext3 block allocator cleanup
Andrew Morton [Wed, 20 Aug 2003 17:26:30 +0000 (10:26 -0700)]
[PATCH] ext3 block allocator cleanup

This just reorganizes some ghastly goto-and-retry-spaghetti in the core of
the ext3 block allocator.

I wrote this ages ago in preparation for fixing the find_next_usable_block()
CPU pigginess problem, but that proved to be quite nontrivial.

The patch has been in -mm for a long time and Martin has recently confirmed
that it introduces no performance regression in SDET and kernbench.

23 years ago[PATCH] misc fixes
Andrew Morton [Wed, 20 Aug 2003 17:26:21 +0000 (10:26 -0700)]
[PATCH] misc fixes

- nmi_watchdog documentation typo ("Randy.Dunlap" <rddunlap@osdl.org>)

- ikconfig proc requires CONFIG_PROC_FS ("Randy.Dunlap" <rddunlap@osdl.org>)

- visws build fix (Andrey Panin <pazke@donpac.ru>)

- VM lock ranking comment update

23 years agoUSB serial console: fix compile warning
Linus Torvalds [Wed, 20 Aug 2003 17:10:13 +0000 (10:10 -0700)]
USB serial console: fix compile warning

23 years agoultrastor.c: fix bitmap operation type
Linus Torvalds [Wed, 20 Aug 2003 17:09:20 +0000 (10:09 -0700)]
ultrastor.c: fix bitmap operation type

23 years agoaha1740: work around 'name' field removal.
Linus Torvalds [Wed, 20 Aug 2003 17:08:13 +0000 (10:08 -0700)]
aha1740: work around 'name' field removal.

23 years agoaacraid: fix "flags" save value.
Linus Torvalds [Wed, 20 Aug 2003 17:06:58 +0000 (10:06 -0700)]
aacraid: fix "flags" save value.

23 years agoFix "jiffies" comparison in seeq8005.c: it's an unsigned long.
Linus Torvalds [Wed, 20 Aug 2003 17:05:07 +0000 (10:05 -0700)]
Fix "jiffies" comparison in seeq8005.c: it's an unsigned long.

23 years agoFB: fix broken tridentfb.c driver due to device.name change.
Greg Kroah-Hartman [Wed, 20 Aug 2003 09:59:06 +0000 (02:59 -0700)]
FB: fix broken tridentfb.c driver due to device.name change.

23 years agoVideo: fix broken saa7111.c driver due to i2c structure changes.
Greg Kroah-Hartman [Wed, 20 Aug 2003 09:49:58 +0000 (02:49 -0700)]
Video: fix broken saa7111.c driver due to i2c structure changes.

23 years ago[PATCH] PCI: add PCI_NAME_SIZE instead of using DEVICE_NAME_SIZE
Greg Kroah-Hartman [Wed, 20 Aug 2003 09:48:01 +0000 (02:48 -0700)]
[PATCH] PCI: add PCI_NAME_SIZE instead of using DEVICE_NAME_SIZE

based on a patch from OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

23 years ago[PATCH] PCI: undo recent pci_setup_bridge() change
Ivan Kokshaysky [Wed, 20 Aug 2003 09:33:09 +0000 (02:33 -0700)]
[PATCH] PCI: undo recent pci_setup_bridge() change

That patch went into mainline by mistake - it was initial variant of a
fix for the problem with disabled P2P bridges. Which has already been
fixed properly in -test3.

23 years ago[PATCH] remove mount_root_failed_msg()
Jeff Garzik [Wed, 20 Aug 2003 09:26:16 +0000 (02:26 -0700)]
[PATCH] remove mount_root_failed_msg()

This one snuck in...

 - debugging message for ACPI

 - Intel guys removed it from their 2.4 tree (at my request)

 - it's point-in-time specific (message becomes nearly useless after
   ACPI bug fixes)

 - b/c of the point-in-time issue, it's IMO much more appropriate for a
   vendor kernel (where the message, I agree, may be helpful)

 - can potentially mislead users to the correct cause of root mount failure

 - overall, I disagree with adding messages like this.  The number one
   bug report, by far, for networking drivers is ACPI-related (no
   interrupts delivered).  You don't see me adding "boot with acpi=off"
   messages to the net subsystem.

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Wed, 20 Aug 2003 09:25:35 +0000 (02:25 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/pci-2.6

23 years ago[PATCH] fix ioapic build breakage
Jeff Garzik [Wed, 20 Aug 2003 09:08:51 +0000 (02:08 -0700)]
[PATCH] fix ioapic build breakage

23 years ago[PATCH] PCI: remove #include <linux/miscdevice.h> from some pci hotplug drivers.
Greg Kroah-Hartman [Wed, 20 Aug 2003 08:57:41 +0000 (01:57 -0700)]
[PATCH] PCI: remove #include <linux/miscdevice.h> from some pci hotplug drivers.

It's not needed.

23 years agonet/wan/sbni.c totally misused "pci_request_region()", thinking
Linus Torvalds [Wed, 20 Aug 2003 08:33:08 +0000 (01:33 -0700)]
net/wan/sbni.c totally misused "pci_request_region()", thinking
it was the same as the old request_region(). Not so.

23 years agoFix smctr.c warning for unused label.
Linus Torvalds [Wed, 20 Aug 2003 08:32:16 +0000 (01:32 -0700)]
Fix smctr.c warning for unused label.

23 years agoFix irda vlsi_ir.c for PCI device 'name' changes.
Linus Torvalds [Wed, 20 Aug 2003 08:31:25 +0000 (01:31 -0700)]
Fix irda vlsi_ir.c for PCI device 'name' changes.

23 years agoFix jiffy handling: they are "unsigned long"
Linus Torvalds [Wed, 20 Aug 2003 08:30:27 +0000 (01:30 -0700)]
Fix jiffy handling: they are "unsigned long"

23 years agoFix video drivers for i2c 'name' move
Linus Torvalds [Wed, 20 Aug 2003 08:29:25 +0000 (01:29 -0700)]
Fix video drivers for i2c 'name' move

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Wed, 20 Aug 2003 07:57:26 +0000 (00:57 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years agoMerge home.osdl.org:/home/torvalds/v2.5/zoran
Linus Torvalds [Wed, 20 Aug 2003 07:33:10 +0000 (00:33 -0700)]
Merge home.osdl.org:/home/torvalds/v2.5/zoran
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] Big zoran driver update
Ronald Bultje [Wed, 20 Aug 2003 07:30:34 +0000 (00:30 -0700)]
[PATCH] Big zoran driver update

This is a patch for the video4linux unified zoran driver that has been
in the kernel since 2.4.5 or so.

It fixes the compile issues in the current 2.6.0-test3 unified zoran
driver (current one doesn't compile at all), and also updates its
version to what we have in CVS.  This adds support for new cards (e.g.
LML33R10 from LinuxMediaLabs and DC30+ from Pinnacle), fixes bugs in
cards that were already supported and generally improves capture
reliability.  Changes per file (in detail) are given below.

i2c-id.h:
  add some new IDs for new i2c drivers

pci_ids.h:
  add PCI IDs for each of the supported cards if it has any

saa7111.c, saa7110.c, adv7175.c, bt819.c, saa7185.c, bt856.c:
  update to whatever we've got in our CVS. For most, these are just
  "easiness" fixes that either add some better debug output, or that make
  maintainance for both 2.6.x and 2.4.x simpler for me. There's also some
  specific changes. E.g., in saa7110.c, we enable the VCR mode bits so we
  get a better image from VCR input. In all of them, we make debugging an
  insmod option rather than a compile-time option (this makes debugging
  for users a *lot* easier). Point is that I just want our latest CVS in
  here. Maintainance is going to be a personal horror-story if it's not.

vpx3220.c, saa7114.c, adv7170.c:
  new i2c ones (for respectively DC10/DC30, LML33R10 and again LML33R10)

zr36067.c:
  removed, the driver is now spread over multiple source files.

zoran*.[ch], zr36057.h
  spread-out source files. Also fixes lots of bugs, can't even start
  naming them all, you don't want that, neither do I. Just assume that it
  works better than it used to - it does.

  Nice things that aren't in the old driver: much more stable, supports
  DC30+, supports LML33R10, has proper locking/semaphores, supports
  multiple opens without races now, adapted to new i2c subsystem, v4l2
  support, Xv (hardware-scaled) overlay support, and a lot more.

  Oh, and this one actually compiles.

videocodec.[ch], zr360{16,50,60}.[ch]:
  new sublayer for the driver to unify how we handle the zr36060 chip
  (DC10(+)/LML33/LML33R10/Buz) and the zr36050/zr36016 (DC30(+)).

MAINTAINERS:
  add me as maintainer (I am).

Kconfig:
  add new cards, plus improve the descriptions.

Makefile:
  d'oh.

Zoran:
  documentation update.

Others:
  I don't think there are any.

Greg has gone over the i2c changes a long time ago, he agreed on all of
them. Gerd is supposed to take care of the v4l part, he has never
complained about any of them. Stability is good, we've fixed most issues
(there's still some out there, but nothing serious), lots better than in
the old driver. Also, the cards work much better than with the old
driver.

23 years agoFix up various small compile warnings in an effort at
Linus Torvalds [Wed, 20 Aug 2003 07:22:00 +0000 (00:22 -0700)]
Fix up various small compile warnings in an effort at
getting rid of the simple stuff that hides the serious things.

23 years agoFix up DIGI driver for work-queue abstraction
Linus Torvalds [Wed, 20 Aug 2003 07:20:15 +0000 (00:20 -0700)]
Fix up DIGI driver for work-queue abstraction

23 years ago[PATCH] IO port bitmap cleanups, x86-64 oops fix
Albert Cahalan [Wed, 20 Aug 2003 04:53:41 +0000 (21:53 -0700)]
[PATCH] IO port bitmap cleanups, x86-64 oops fix

This patch brings x86-64 and i386 closer together, eliminating an oops
that LTP test ioperm02.c causes on x86-64.  An IO port permission bitmap
must be followed by an extra 0xff.

(Add comments to that effect, to avoid the problem in the future).

23 years ago[VLAN]: Fix OOPS on module removal.
Eran Mann [Wed, 20 Aug 2003 04:35:59 +0000 (21:35 -0700)]
[VLAN]: Fix OOPS on module removal.

The current code attempts to add a proc entry for each vlan device,
however there is no check whether this attempt succeeded. When a device
is unregistered it tries to remove the proc entry, if none was added
the oops follows...

23 years ago[PATCH] Support dentry revalidation under open(".")
Trond Myklebust [Wed, 20 Aug 2003 04:35:45 +0000 (21:35 -0700)]
[PATCH] Support dentry revalidation under open(".")

link_path_walk() currently treats the special filenames ".", ".."
and "/" differently in that it does not call down to the filesystem in
order to revalidate the cached dentry, but just assumes that it is
fine.

  For most filesystems this is OK, but it the case of the stateless
NFS, this means that it circumvents path staleness detection, and the
attribute+data cache revalidation code on such common commands as
opendir(".").

This change provides a way to do such revalidation for NFS without
impacting other filesystems.

Note: the failure to revalidate the path here does not result in a
call to d_invalidate() unlike (all?) other calls to d_revalidate(). It
only results in an ESTALE error being returned to the caller.