]> git.neil.brown.name Git - history.git/log
history.git
22 years ago[PATCH] janitor: remove __SMP__
Randy Dunlap [Sat, 6 Sep 2003 07:34:53 +0000 (00:34 -0700)]
[PATCH] janitor: remove __SMP__

Three small 1-line patches to get rid of any remaining __SMP__
references in the 2.6 kernel.

From: Ron Gage  <ron@rongage.org>

22 years ago[PATCH] janitor: skfddi copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:44 +0000 (00:34 -0700)]
[PATCH] janitor: skfddi copy*user fixes

From: Daniele Bellucci <bellucda@tiscali.it>

This patch audits some copy_from/to_user in the SysKonnect FDDI device
driver.

22 years ago[PATCH] janitor: oss/ite8172 copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:36 +0000 (00:34 -0700)]
[PATCH] janitor: oss/ite8172 copy*user fixes

This patch catches insures proper return values from
copy_to/from_user calls.

From: Ron Gage <ron@rongage.org>

22 years ago[PATCH] janitor: oss/ali copy*user fixes
Randy Dunlap [Sat, 6 Sep 2003 07:34:27 +0000 (00:34 -0700)]
[PATCH] janitor: oss/ali copy*user fixes

From: Daniele Bellucci <bellucda@tiscali.it>

22 years ago[PATCH] janitor: sc520_wdt
Randy Dunlap [Sat, 6 Sep 2003 07:34:19 +0000 (00:34 -0700)]
[PATCH] janitor: sc520_wdt

Insert ioremap error check and adjust cleanup path accordingly.

From: Leann Ogasawara <ogasawara@osdl.org>

22 years ago[PATCH] janitor: add static to comx
Randy Dunlap [Sat, 6 Sep 2003 07:34:10 +0000 (00:34 -0700)]
[PATCH] janitor: add static to comx

From: Daniele Bellucci <bellucda@tiscali.it>

add 'static' to a function

22 years ago[PATCH] janitor: remove unneeded version.h #includes
Randy Dunlap [Sat, 6 Sep 2003 07:34:01 +0000 (00:34 -0700)]
[PATCH] janitor: remove unneeded version.h #includes

From: Randy Hron <rwhron@earthlink.net>

remove unneeded linux/version.h usage & some duplicate
#includes;

22 years ago[PATCH] dmasound kill MOD_{IN,DE}C_USE_COUNT
Geert Uytterhoeven [Sat, 6 Sep 2003 07:30:18 +0000 (00:30 -0700)]
[PATCH] dmasound kill MOD_{IN,DE}C_USE_COUNT

Dmasound: Use try_module_get()/module_put() instead of methods calling
MOD_{IN,DE}C_USE_COUNT (from Christoph Hellwig)

22 years ago[PATCH] dmasound core fixes
Geert Uytterhoeven [Sat, 6 Sep 2003 07:30:09 +0000 (00:30 -0700)]
[PATCH] dmasound core fixes

Dmasound core fixes from Christoph Hellwig:
  - Some exported symbols are declared __init - in the modular case this is
    freed before the other modules can call it..
  - dmasound.lock is initialized too late, do it at compile time

22 years ago[PATCH] Futex-fd error return fix
Rusty Russell [Sat, 6 Sep 2003 07:22:21 +0000 (00:22 -0700)]
[PATCH] Futex-fd error return fix

Hugh Dickins caught this confusion between the ret variable in outer
scope (holding the fd) and the return value of f_setown.  Rename inner
"ret".

22 years agoMerge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
Linus Torvalds [Sat, 6 Sep 2003 07:21:09 +0000 (00:21 -0700)]
Merge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[WATCHDOG] Documentation
Wim Van Sebroeck [Sat, 6 Sep 2003 14:43:57 +0000 (16:43 +0200)]
[WATCHDOG] Documentation

move all watchdog documentation into Documentation/watchdog/

22 years agoMerge bk://kernel.bkbits.net/jgarzik/irda-2.5
Linus Torvalds [Sat, 6 Sep 2003 07:18:48 +0000 (00:18 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/irda-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
Linus Torvalds [Sat, 6 Sep 2003 07:17:24 +0000 (00:17 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/linus-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] Fix futex hashing bugs
Hugh Dickins [Sat, 6 Sep 2003 05:28:20 +0000 (22:28 -0700)]
[PATCH] Fix futex hashing bugs

This fixes two buts that the glibc NPTL verification tests found, one
new and one old.

The new bug is that "offset" has been declared as an alternative in
the union, instead of as an element in the structures comprising it,
effectively eliminating it from the key: keys match which should not.

The old bug is that if futex_requeue were called with identical
key1 and key2 (sensible? tended to happen given the first bug),
it was liable to loop for a long time holding futex_lock: guard
against that, still respecting the semantics of futex_requeue.

While here, please let's also fix the get_futex_key VM_NONLINEAR
case, which was returning the 1 from get_user_pages, taken as an
error by its callers.  And save a few bytes and improve debuggability
by uninlining the top-level futex_wake, futex_requeue, futex_wait.

22 years ago[PATCH] ide: fix imbalance preempt count with taskfile PIO
Bartlomiej Zolnierkiewicz [Sat, 6 Sep 2003 05:28:13 +0000 (22:28 -0700)]
[PATCH] ide: fix imbalance preempt count with taskfile PIO

Noticed by Tejun Huh <tejun@aratech.co.kr>.

22 years ago[PCMCIA] Fix race condition causing cards to be incorrectly recognised
Russell King [Sat, 6 Sep 2003 20:08:46 +0000 (21:08 +0100)]
[PCMCIA] Fix race condition causing cards to be incorrectly recognised

This patch fixes a race condition between the pcmcia socket initial
insert processing, ds.c and cardmgr.  This allowed cardmgr to believe
that a card was inserted while the card is still in the process of
resetting itself, and it therefore tried to read the CIS while it
was unavailable.

We change the meaning of SOCKET_PRESENT slightly - it now means that
a card is present _and we have completed its initialisation_.  We
introduce SOCKET_INUSE to indicate that we have a reference count
against the module.

We also take the skt_sem to prevent clients from registering while
we're handling an insert/remove/suspend/resume.

22 years ago[PCMCIA] Use "yenta" instead of pci_name() when allocating irq.
Russell King [Sat, 6 Sep 2003 19:08:13 +0000 (20:08 +0100)]
[PCMCIA] Use "yenta" instead of pci_name() when allocating irq.

22 years ago[PCMCIA] Fix cs.c debugging.
Russell King [Sat, 6 Sep 2003 18:24:01 +0000 (19:24 +0100)]
[PCMCIA] Fix cs.c debugging.

socket references are pointers, not integers.

22 years ago[irda] Dongle module aliases
Jean Tourrilhes [Fri, 5 Sep 2003 17:09:09 +0000 (13:09 -0400)]
[irda] Dongle module aliases

<Patch from Rusty Russell>
o [FEATURE] Add module aliases to dongle drivers

22 years ago[irda] init failure cleanups
Jean Tourrilhes [Fri, 5 Sep 2003 17:09:03 +0000 (13:09 -0400)]
[irda] init failure cleanups

<Patch from Guennadi Liakhovetski>
o [FEATURE] Don't leak stuff in various failure paths
o [FEATURE] Properly initialise self->max_header_size in IrIAP

22 years ago[irda] connect watchdog fixes
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:56 +0000 (13:08 -0400)]
[irda] connect watchdog fixes

o [CRITICA] In case of connect watchdog, drop reference to the LAP
o [CORRECT] Prevent dumping LSAP after connect watchdog
o [CRITICA] Prevent dumping TSAP if dumping LSAP did fail
o [CORRECT] Only set connected bit on response if LSAP state is correct

22 years ago[irda] LAP close race
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:50 +0000 (13:08 -0400)]
[irda] LAP close race

o [CRITICA] Fix a race condition when closing the LAP
prevent the stack to open new LSAPs while we are killing them.

22 years ago[irda] irtty cleanup
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:43 +0000 (13:08 -0400)]
[irda] irtty cleanup

o [FEATURE] Finish removing traces of old irtty driver

22 years ago[irda] NSC 3839x probe fixes
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:37 +0000 (13:08 -0400)]
[irda] NSC 3839x probe fixes

<Patch from Jan Frey>
o [CORRECT] Make NSC 3839x probe and init *really* work
The new 3839x code was totally broken.
Won't affect code for regular 38108/38338 chips.

22 years ago[irda] IrCOMM mod refcount
Jean Tourrilhes [Fri, 5 Sep 2003 17:08:30 +0000 (13:08 -0400)]
[irda] IrCOMM mod refcount

o [FEATURE] Finish removing traces of old module refcount stuff

22 years agoMerge kroah.com:/home/linux/BK/bleed-2.5
Greg Kroah-Hartman [Fri, 5 Sep 2003 10:23:21 +0000 (03:23 -0700)]
Merge kroah.com:/home/linux/BK/bleed-2.5
into kroah.com:/home/linux/BK/gregkh-2.6

22 years ago[PATCH] unusual_devs.h entry
Joris Struyve [Fri, 5 Sep 2003 09:23:30 +0000 (02:23 -0700)]
[PATCH] unusual_devs.h entry

Hereby you may find my patch for a Medion digital camera along with the
/proc/bus/usb/devices output.

22 years ago[PATCH] USB: usb_epnum_to_ep_desc only look
David Brownell [Fri, 5 Sep 2003 09:23:05 +0000 (02:23 -0700)]
[PATCH] USB: usb_epnum_to_ep_desc only look

Original patch from oliverthered@oliverthered.com ... this
updates it:

  - usb_epnum_to_ep_desc() only looks at the active altsetting
  - docs clarified

It's possible some user mode drivers will have relied on the
previous buggy behavior, since usbfs uses this call.  The fix
will be for them to set the appropriate altsetting.

22 years agoMerge bk://kernel.bkbits.net//home/mochel/linux-2.5-core
Patrick Mochel [Fri, 5 Sep 2003 08:46:20 +0000 (01:46 -0700)]
Merge bk://kernel.bkbits.net//home/mochel/linux-2.5-core
into osdl.org:/home/mochel/src/kernel/linux-2.5-core

22 years ago[sysfs/kobject] Update documentation.
Patrick Mochel [Fri, 5 Sep 2003 08:31:35 +0000 (01:31 -0700)]
[sysfs/kobject] Update documentation.

From Randy Dunlap.

22 years ago[driver model] Add exports for sys devices.
Patrick Mochel [Fri, 5 Sep 2003 08:28:49 +0000 (01:28 -0700)]
[driver model] Add exports for sys devices.

From Dominik Brodowski:

A few missing exports -- even though the cpu_sysdev_class isn't strictly
needed now, I need it for a few ACPI-related patches I'll send out in a
minute.

22 years agoMerge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
Patrick Mochel [Fri, 5 Sep 2003 07:17:55 +0000 (00:17 -0700)]
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-core

22 years agoMerge kernel.bkbits.net:/home/repos/linux-2.5
Patrick Mochel [Fri, 5 Sep 2003 07:06:46 +0000 (00:06 -0700)]
Merge kernel.bkbits.net:/home/repos/linux-2.5
into kernel.bkbits.net:/home/mochel/linux-2.5-core

22 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Fri, 5 Sep 2003 05:50:48 +0000 (22:50 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[AGPGART] Fix up missing brackets on defines.
Dave Jones [Fri, 5 Sep 2003 21:47:15 +0000 (22:47 +0100)]
[AGPGART] Fix up missing brackets on defines.

22 years ago[AGPGART] Remove unneeded string from AMD64 GART driver.
Dave Jones [Fri, 5 Sep 2003 16:46:42 +0000 (17:46 +0100)]
[AGPGART] Remove unneeded string from AMD64 GART driver.

22 years ago[PATCH] New version of jfsutils needed
Dave Kleikamp [Fri, 5 Sep 2003 05:38:49 +0000 (22:38 -0700)]
[PATCH] New version of jfsutils needed

A recent change to the 2.6.0 kernel has changed the behavior of opening a
block device with the O_EXCL flag.  This can cause fsck.jfs to fail to
replay the journal when a file system is mounted read-only.

The JFS utilities have been fixed, and it is recommended that any users of
JFS update the utilities to version 1.1.3.

22 years agoMerge bk://linux-dj.bkbits.net/agpgart
Linus Torvalds [Fri, 5 Sep 2003 05:17:30 +0000 (22:17 -0700)]
Merge bk://linux-dj.bkbits.net/agpgart
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Fri, 5 Sep 2003 05:15:37 +0000 (22:15 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[CPUFREQ] Print out CPU name in debug info.
Dave Jones [Fri, 5 Sep 2003 16:38:20 +0000 (17:38 +0100)]
[CPUFREQ] Print out CPU name in debug info.
Add template for Nehemiah.

22 years ago[CPUFREQ] Print out FSB in longhaul debug info
Dave Jones [Fri, 5 Sep 2003 16:19:00 +0000 (17:19 +0100)]
[CPUFREQ] Print out FSB in longhaul debug info

22 years agoFix mprotect() to do proper PROT_xxx -> VM_xxx translation.
Linus Torvalds [Fri, 5 Sep 2003 05:05:07 +0000 (22:05 -0700)]
Fix mprotect() to do proper PROT_xxx -> VM_xxx translation.

This also fixes the bug with MAP_SEM being potentially
interpreted as VM_SHARED.

22 years ago[PATCH] Common PROT_xxx -> VM_xxx mapping
Jamie Lokier [Fri, 5 Sep 2003 04:42:15 +0000 (21:42 -0700)]
[PATCH] Common PROT_xxx -> VM_xxx mapping

This moves the mapping of PROT_* bits to VM_* bits from mmap.c to the
common header file <linux/mman.h>.  The mapping is needed for mprotect
too.

22 years ago[PATCH] large dev_t - second series (15/15)
Alexander Viro [Fri, 5 Sep 2003 03:55:21 +0000 (20:55 -0700)]
[PATCH] large dev_t - second series (15/15)

old_decode_dev()/old_encode_dev() added where needed in other
filesystems.  Parts in different filesystems are independent, but IMO
it's not worse splitting into a dozen of half-kilobyte patches.

22 years ago[PATCH] large dev_t - second series (14/15)
Alexander Viro [Fri, 5 Sep 2003 03:55:10 +0000 (20:55 -0700)]
[PATCH] large dev_t - second series (14/15)

nfs_fattr->rdev switched to dev_t; code that unpacks on-the-wire
attributes does explicit conversion now.

22 years ago[PATCH] large dev_t - second series (13/15)
Alexander Viro [Fri, 5 Sep 2003 03:55:01 +0000 (20:55 -0700)]
[PATCH] large dev_t - second series (13/15)

HPFS code that uses EAs for storing i_rdev/i_mode/i_uid/i_gid
sanitized.

22 years ago[PATCH] large dev_t - second series (12/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:53 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (12/15)

Similar fix for UFS; touching device node (and they have 32bit
dev_t) ends up killing upper 16 bits, which makes for very unhappy
*BSD, since that turns /dev/ad0s1 into alias of /dev/ad0.  Again, for
now we store on-disk value in private part of inode and use it instead
of ->i_rdev in ->write_inode().

22 years ago[PATCH] large dev_t - second series (11/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:44 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (11/15)

Fix for JFS handling of device nodes; it has 32bit on-disk device
numbers, shoves them into 16bit (->i_rdev) when inode is read and writes
them back truncated when inode is written to disk.  For now (and 2.4 will
have to do the same permanently) we store the original value in private
part of inode and use it instead of ->i_rdev in ->write_inode(); mknod()
sets it at the same time as ->i_rdev.  It will become unnecessary when
dev_t becomes wider than 16 bits, but for now we need it.

22 years ago[PATCH] large dev_t - second series (10/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:36 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (10/15)

Fix for endianness bug in UDF: it writes major and minor as 32bit
host-endian and reads them as 32bit little-endian; obviously a bad idea
on big-endian boxen ;-)  Needed both for 2.4 and 2.6.

22 years ago[PATCH] large dev_t - second series (9/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:27 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (9/15)

beginning of fs side work:
* new helpers - old_valid_dev(), old_encode_dev() and old_decode_dev()
* old_valid_dev() checks if dev_t value is OK for old filesystems
(i.e. both major and minor are below 256).
* old_valid_dev() calls are added in ->mknod() instances that care
about dev_t values (disk-backed and network ones).
* old_encode_dev() and old_decode_dev() convert dev_t -> u16
and u16 -> dev_t resp; currently these are no-ops, places that use current
formar (minor in bits 0--7, major in bits 8--15) will switch to these before
we widen dev_t.

22 years ago[PATCH] large dev_t - second series (8/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:18 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (8/15)

kdev_t, to_kdev_t(), etc. are gone - there is no more objects
of that type and no remaining callers of these functions.

22 years ago[PATCH] large dev_t - second series (7/15)
Alexander Viro [Fri, 5 Sep 2003 03:54:08 +0000 (20:54 -0700)]
[PATCH] large dev_t - second series (7/15)

the last kdev_t object is gone; ->i_rdev switched to dev_t.

22 years ago[PATCH] large dev_t - second series (6/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:56 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (6/15)

tty redirect handling sanitized.  Such ttys (/dev/tty and
/dev/console) get a different file_operations; its ->write() handles
redirects; checks for file->f_op == &tty_fops updated, checks for
major:minor being that of a redirector replaced with check for
->f_op->write value.  Piece of code in tty_io.c that had been #if 0
since 0.99<something> had been finally put out of its misery. kdev_val()
is gone.

22 years ago[PATCH] large dev_t - second series (5/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:47 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (5/15)

cdevname() killed, there was only one remaining user
(tty_paranoia_check()) and in that case cdevname() was worse
than plain major:minor (basically, it's "you've got corrupted
inode that was supposed to belong to tty device; here's what
I'd found in ->i_rdev")

22 years ago[PATCH] large dev_t - second series (4/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:38 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (4/15)

cciss cleanup - instead of playing with device numbers, we add
helper functions that get host and drive structures by gendisk and use
them in open/ioctl/release, same as had been done for cpqarray.

22 years ago[PATCH] large dev_t - second series (3/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:29 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (3/15)

paride/pt.c cleanups - passing pointer to pt_unit instead of index
in array; same as had been done for pd/pcd/pf.

22 years ago[PATCH] large dev_t - second series (2/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:20 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (2/15)

floppy98 ->probe() forgot to set *part to 0; fixed.

22 years ago[PATCH] large dev_t - second series (1/15)
Alexander Viro [Fri, 5 Sep 2003 03:53:11 +0000 (20:53 -0700)]
[PATCH] large dev_t - second series (1/15)

misc trivial cleanups

22 years agoMerge kroah.com:/home/linux/BK/bleed-2.5
Greg Kroah-Hartman [Fri, 5 Sep 2003 02:49:13 +0000 (19:49 -0700)]
Merge kroah.com:/home/linux/BK/bleed-2.5
into kroah.com:/home/linux/BK/gregkh-2.6

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 5 Sep 2003 02:46:08 +0000 (19:46 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[ARM] Kill snprintf formatting warning.
Russell King [Fri, 5 Sep 2003 18:14:26 +0000 (19:14 +0100)]
[ARM] Kill snprintf formatting warning.

22 years ago[ARM] Don't sleep in cpufreq code if IRQs are disabled (during resume.)
Russell King [Fri, 5 Sep 2003 18:10:57 +0000 (19:10 +0100)]
[ARM] Don't sleep in cpufreq code if IRQs are disabled (during resume.)

22 years ago[ARM] Fix PXA and SA1100 suspend/resume
Russell King [Fri, 5 Sep 2003 18:04:35 +0000 (19:04 +0100)]
[ARM] Fix PXA and SA1100 suspend/resume

- Don't write the current time back to the RTC on suspend - we may
  jump over a programmed wakeup alarm.
- Restore SA1100 GPIO output state

22 years ago[ARM] Fix ARM suspend-to-RAM.
Russell King [Fri, 5 Sep 2003 17:42:14 +0000 (18:42 +0100)]
[ARM] Fix ARM suspend-to-RAM.

- Suspend and resume system devices.
- If device suspend fails, don't suspend.

22 years ago[ARM] Don't read the CPU control reg back - it may be write only.
Russell King [Fri, 5 Sep 2003 17:36:50 +0000 (18:36 +0100)]
[ARM] Don't read the CPU control reg back - it may be write only.

Some ARM CPUs don't allow CP15 CR1 control register to be read.
Therefore, to ensure that the value hits the control register on
Xscale, read back the CP15 CR0 ID register instead.

22 years ago[ARM] Restore preempt count before reporting unbalanced preempt count
Russell King [Fri, 5 Sep 2003 17:28:53 +0000 (18:28 +0100)]
[ARM] Restore preempt count before reporting unbalanced preempt count

On ARM, we oops when we detect that an interrupt handler has unbalanced
the preempt count.  We should restore the preempt count when we started
to handle the interrupt and then cause the oops.

22 years ago[ARM] Newer binutils want -mcpu=xscale not -mxscale
Russell King [Fri, 5 Sep 2003 17:18:14 +0000 (18:18 +0100)]
[ARM] Newer binutils want -mcpu=xscale not -mxscale

22 years ago[ARM] Fix wrong cache flush call for ARM1020 CPUs
Russell King [Fri, 5 Sep 2003 12:18:02 +0000 (13:18 +0100)]
[ARM] Fix wrong cache flush call for ARM1020 CPUs

22 years ago[ARM] arch/arm/kernel/setup.c needs to include asm/cacheflush.h
Russell King [Fri, 5 Sep 2003 12:06:36 +0000 (13:06 +0100)]
[ARM] arch/arm/kernel/setup.c needs to include asm/cacheflush.h

22 years ago[PATCH] 2.6.0-test4 synclink_cs.c
Paul Fulghum [Fri, 5 Sep 2003 01:45:29 +0000 (18:45 -0700)]
[PATCH] 2.6.0-test4 synclink_cs.c

* replace previously removed NULL context check
  (causes oops when opening non existent device)

22 years ago[PATCH] 2.6.0-test4 synclinkmp.c
Paul Fulghum [Fri, 5 Sep 2003 01:45:21 +0000 (18:45 -0700)]
[PATCH] 2.6.0-test4 synclinkmp.c

* replace previously removed NULL context check
  (causes oops when opening non existent device)

22 years ago[PATCH] 2.6.0-test4 synclink.c
Paul Fulghum [Fri, 5 Sep 2003 01:45:12 +0000 (18:45 -0700)]
[PATCH] 2.6.0-test4 synclink.c

* add RCC underrun handling
* fix stats output typo
* replace previously removed NULL context check
  (causes oops when opening non existent device)

22 years ago[PATCH] incomplete asm constraints in arch/i386/pci/pcbios.c
Arjan van de Ven [Fri, 5 Sep 2003 01:28:38 +0000 (18:28 -0700)]
[PATCH] incomplete asm constraints in arch/i386/pci/pcbios.c

This fixes a "miscompile" HP reported against gcc 3.3 with
-march-pentium4.  It turned out to be a non-complete asm contraint.  the
existing constraint on "opt" was on the address of "opt", which allowed
gcc to reorder the setting of the fields inside opt to beyond the asm
that uses it, which is less than useful at best.

22 years ago[PATCH] Unpinned futexes v2: indexing changes
Jamie Lokier [Fri, 5 Sep 2003 01:00:45 +0000 (18:00 -0700)]
[PATCH] Unpinned futexes v2: indexing changes

This changes the way futexes are indexed, so that they don't pin pages.
It also fixes some bugs with private mappings and COW pages.

Currently, all futexes look up the page at the userspace address and pin
it, using the pair (page,offset) as an index into a table of waiting
futexes.  Any page with a futex waiting on it remains pinned in RAM,
which is a problem when many futexes are used, especially with FUTEX_FD.

Another problem is that the page is not always the correct one, if it
can be changed later by a COW (copy on write) operation.  This can
happen when waiting on a futex without writing to it after fork(),
exec() or mmap(), if the page is then written to before attempting to
wake a futex at the same adress.

There are two symptoms of the COW problem:
 - The wrong process can receive wakeups
 - A process can fail to receive required wakeups.

This patch fixes both by changing the indexing so that VM_SHARED
mappings use the triple (inode,offset,index), and private mappings use
the pair (mm,virtual_address).

The former correctly handles all shared mappings, including tmpfs and
therefore all kinds of shared memory (IPC shm, /dev/shm and
MAP_ANON|MAP_SHARED).  This works because every mapping which is
VM_SHARED has an associated non-zero vma->vm_file, and hence inode.
(This is ensured in do_mmap_pgoff, where it calls shmem_zero_setup).

The latter handles all private mappings, both files and anonymous.  It
isn't affected by COW, because it doesn't care about the actual pages,
just the virtual address.

The patch has a few bonuses:

        1. It removes the vcache implementation, as only futexes were
           using it, and they don't any more.

        2. Removing the vcache should make COW page faults a bit faster.

        3. Futex operations no longer take the page table lock, walk
           the page table, fault in pages that aren't mapped in the
           page table, or do a vcache hash lookup - they are mostly a
           simple offset calculation with one hash for the futex
           table.  So they should be noticably faster.

Special thanks to Hugh Dickins, Andrew Morton and Rusty Russell for
insightful feedback.  All suggestions are included.

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Fri, 5 Sep 2003 00:34:06 +0000 (17:34 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] ide: fix ide_cs oops with TCQ
Bartlomiej Zolnierkiewicz [Fri, 5 Sep 2003 00:15:37 +0000 (17:15 -0700)]
[PATCH] ide: fix ide_cs oops with TCQ

From Matias Alejo Garcia <kernel@matiu.com.ar>.

22 years ago[PATCH] Move MODULE_ALIAS_LDISC to tty_ldisc.h
Russell King [Fri, 5 Sep 2003 00:15:28 +0000 (17:15 -0700)]
[PATCH] Move MODULE_ALIAS_LDISC to tty_ldisc.h

MODULE_ALIAS_LDISC() is not in any way architecture-specific, so don't
put it in architecture header files.

Here's a patch which moves it to a more sensible location.

22 years ago[PATCH] fix IO hangs
Jens Axboe [Fri, 5 Sep 2003 00:13:17 +0000 (17:13 -0700)]
[PATCH] fix IO hangs

The "insert_here" list pointer logic was broken, and unnecessary.

Kill it and its associated logic off completely - just tell the IO
scheduler what kind of insert it is.

This also makes the *_insert_request strategies much easier to follow,
imo.

22 years ago[NET]: Kill more verbose init msgs and unused RTNL_DEBUG define.
David S. Miller [Thu, 4 Sep 2003 20:40:24 +0000 (13:40 -0700)]
[NET]: Kill more verbose init msgs and unused RTNL_DEBUG define.

22 years ago[NET]: Print a KERN_INFO msg when protocol families are {un,}registered.
David S. Miller [Thu, 4 Sep 2003 20:35:02 +0000 (13:35 -0700)]
[NET]: Print a KERN_INFO msg when protocol families are {un,}registered.

22 years ago[NET]: Remove all the silly 'NET4.x' init messages.
David S. Miller [Thu, 4 Sep 2003 20:19:32 +0000 (13:19 -0700)]
[NET]: Remove all the silly 'NET4.x' init messages.

22 years ago[ATM]: Remove bogus UNUSED macro usage in pppoatm.c
John Levon [Thu, 4 Sep 2003 20:02:57 +0000 (13:02 -0700)]
[ATM]: Remove bogus UNUSED macro usage in pppoatm.c

22 years agoMerge http://linux-lksctp.bkbits.net/lksctp-2.5
David S. Miller [Thu, 4 Sep 2003 19:56:30 +0000 (12:56 -0700)]
Merge http://linux-lksctp.bkbits.net/lksctp-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years ago[NET]: More SDLS fixes.
Stephen Hemminger [Thu, 4 Sep 2003 19:52:58 +0000 (12:52 -0700)]
[NET]: More SDLS fixes.

Since sdla.c now has locking instead of cli/sti, it shouldn't be
completely busted on SMP.

Also, the frad interface registration needed to be done once
(and check the result), and undone on module unload.

22 years ago[NET]: Do not ifdef declarations in Space.c
David S. Miller [Thu, 4 Sep 2003 19:52:21 +0000 (12:52 -0700)]
[NET]: Do not ifdef declarations in Space.c

22 years ago[NET]: COSA driver fixes.
Stephen Hemminger [Thu, 4 Sep 2003 19:50:17 +0000 (12:50 -0700)]
[NET]: COSA driver fixes.

* get rid of leftover sti
* no longer need MOD_INC/DEC stuff
* get rid of dead code related to MOD_INC/DEC
* use module_init/module_exit to cleanly run init code

22 years ago[ATM]: reduce CONFIG_PROC_FS #ifdef clutter in .c code (from levon@movementarian...
Chas Williams [Thu, 4 Sep 2003 19:41:05 +0000 (12:41 -0700)]
[ATM]: reduce CONFIG_PROC_FS #ifdef clutter in .c code (from levon@movementarian.org)

22 years ago[ATM]: fix atm_dev module refcount bug (from levon@movementarian.org)
Chas Williams [Thu, 4 Sep 2003 19:40:36 +0000 (12:40 -0700)]
[ATM]: fix atm_dev module refcount bug (from levon@movementarian.org)

22 years ago[ATM]: pvc/svc missing .owner for proto_ops/family (from levon@movementarian.org)
Chas Williams [Thu, 4 Sep 2003 19:39:02 +0000 (12:39 -0700)]
[ATM]: pvc/svc missing .owner for proto_ops/family (from levon@movementarian.org)

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Thu, 4 Sep 2003 16:06:15 +0000 (09:06 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

22 years ago[CRYPTO]: Use try_then_request_module().
Rusty Russell [Thu, 4 Sep 2003 16:02:39 +0000 (09:02 -0700)]
[CRYPTO]: Use try_then_request_module().

try_then_request_module() does what crypto/autoload.c is doing, so
replace it.  Fix try_then_request_module(), too (thanks James).

22 years agoMerge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
Patrick Mochel [Thu, 4 Sep 2003 09:47:54 +0000 (02:47 -0700)]
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-core

22 years ago[PATCH] USB: usb "gadgetfs" (2/2)
David Brownell [Thu, 4 Sep 2003 08:27:33 +0000 (01:27 -0700)]
[PATCH] USB: usb "gadgetfs" (2/2)

This adds the kconfig/kbuild hooks needed to build
the driver.

22 years ago[PATCH] USB: usb "gadgetfs" (1/2)
David Brownell [Thu, 4 Sep 2003 08:27:04 +0000 (01:27 -0700)]
[PATCH] USB: usb "gadgetfs" (1/2)

This is another "gadget" driver -- one that lets user mode
code implement usb device functions, with all the classic
advantages of such solutions.  There's an example driver
at the linux-usb "gadget" web page, which uses pthreads
and handles several control requests in user mode.

This capability is packaged in the form of a filesystem,
conventionally mounted at /dev/gadget, with files that the
user mode driver opens, configures, and then uses with
normal read() and write() system calls.  Because this
doesn't require use of ioctl(), such user mode drivers
can be written in almost any language:  not just C, but
also Java, Python, Perl, and others -- likely even BASH.

For now, such user mode gadget drivers are limited to a
single configuration, although the interfaces in that
configuration could support multiple altsettings when
the hardware allows.

Please merge.  This first patch provides the driver,
the next one adds kconfig and kbuild support.

22 years ago[PATCH] Fix /proc/stat off-by-one
Andrew Morton [Thu, 4 Sep 2003 07:55:30 +0000 (00:55 -0700)]
[PATCH] Fix /proc/stat off-by-one

I should have stayed in bed.

22 years ago[SCTP] Move a local variable declaration ahead of the function code.
Sridhar Samudrala [Thu, 4 Sep 2003 05:36:38 +0000 (22:36 -0700)]
[SCTP] Move a local variable declaration ahead of the function code.

Apparently the new gcc 3.2.2 allows local variable declarations within
the code of a function if it is not used earlier. But older gcc's do
not allow this.

22 years agoMerge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
Patrick Mochel [Thu, 4 Sep 2003 05:34:50 +0000 (22:34 -0700)]
Merge osdl.org:/home/mochel/src/kernel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/linux-2.5-core

22 years ago[NET]: Convert /proc/net/unix to seq_file.
Stephen Hemminger [Thu, 4 Sep 2003 05:03:29 +0000 (22:03 -0700)]
[NET]: Convert /proc/net/unix to seq_file.

22 years ago[CPUFREQ] Move longhaul scale/ratio tables to longhaul header file
Dave Jones [Thu, 4 Sep 2003 04:23:06 +0000 (05:23 +0100)]
[CPUFREQ] Move longhaul scale/ratio tables to longhaul header file