]> git.hungrycats.org Git - linux/log
linux
23 years ago[PATCH] video4linux doc fix
Gerd Knorr [Tue, 12 Mar 2002 05:02:56 +0000 (21:02 -0800)]
[PATCH] video4linux doc fix

This patch updates/fixes the video4linux API documantation.  The current
description for mmap() based capture is unclear and somewhat misleading.

23 years agoMerge master.kernel.org:/home/dwmw2/BK/jffs2-for-linus-2.5
Linus Torvalds [Tue, 12 Mar 2002 05:00:52 +0000 (21:00 -0800)]
Merge master.kernel.org:/home/dwmw2/BK/jffs2-for-linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoUpdate to 2002-03-12 JFFS2 development tree. Main features:
David Woodhouse [Tue, 12 Mar 2002 18:06:44 +0000 (18:06 +0000)]
Update to 2002-03-12 JFFS2 development tree. Main features:
 - Preliminary version of NAND flash support.
 - Locking documentation and fixes (including BKL removal because it's superfluous).
 - Performance improvements - especially for mount time.
 - Annoying stuff like i_nlink on directories fixed.
 - Portability cleanups.

23 years ago[PATCH] struct super_block cleanup - cramfs
Brian Gerst [Tue, 12 Mar 2002 04:59:09 +0000 (20:59 -0800)]
[PATCH] struct super_block cleanup - cramfs

Seperates cramfs_sb_info from struct super_block.

23 years ago[PATCH] APM patch: apm_cpu_idle cleanups
Stephen Rothwell [Tue, 12 Mar 2002 04:57:48 +0000 (20:57 -0800)]
[PATCH] APM patch: apm_cpu_idle cleanups

Number 7.

This patch contains four cleanup changes whose aim
is better code self-documentation (the best way to
document IMHO).  They are sent together because they
overlap.

1. Rename the variable "sys_idle" to 'original_pm_idle'.
This is where we store the value that we find in pm_idle before
we substitute the address of our own apm_cpu_idle() function.
In principle we have no idea whose address this is, so
the variable name shouldn't imply that we know that this is
the address of a system idle function; it should simply
indicate that it is the original value of pm_idle.

2. Variable "apm_is_idle" is renamed 'apm_idle_done'.
This flag indicates when apm_do_idle() has been called.
It is a premise of apm_cpu_idle()'s operation that it is
not known whether the apm_do_idle() function really idles
the CPU.  The name of the flag should not lead one to
believe otherwise.

3. Variable "t1" is renamed 'bucket'.  The variable is not
a time but a countdown ("bucket"), so the variable name
should not lead one to believe it is some sort of time
value.

4. A default: case is added to the switch in order to
remind the reader that there is a third possible return
value from apm_do_idle().

23 years ago[PATCH] APM patch: change implementation of ALWAYS_CALL_BUSY
Stephen Rothwell [Tue, 12 Mar 2002 04:57:43 +0000 (20:57 -0800)]
[PATCH] APM patch: change implementation of ALWAYS_CALL_BUSY

Number 6

This patch cleans up the way the ALWAYS_CALL_BUSY macro
forces calling of the APM BIOS busy routine.  Instead
of storing a false value in clock_slowed, we disjoin
clock_slowed with the value of ALWAYS_CALL_BUSY.  This
simplifies the code.

23 years ago[PATCH] Trivial APM patch: set_system_power_state
Stephen Rothwell [Tue, 12 Mar 2002 04:57:38 +0000 (20:57 -0800)]
[PATCH] Trivial APM patch: set_system_power_state

Number 5 from Thomas Hood

This patch renames the static function "apm_set_power_state"
to 'set_system_power_state'.

Generally, the prefix 'apm_' is required to prevent external
name collisions on exported functions.  This is a static function,
so the prefix isn't required for that purpose.  The prefix might
also indicate that this function has something particularly
to do with the apm subsystem; but that's not the case here.  This
function is simply a wrapper for set_power_state(), inserting the
argument which sets the power state for the whole system.
My main motivation for wanting to change this name is clearly
to indicate the difference between this function and
set_power_state().  Also, I would like to export set_power_state()
someday in the future, but this is a separate issue.

23 years ago[PATCH] APM: move 'ignore_normal_resume = 1'
Stephen Rothwell [Tue, 12 Mar 2002 04:56:26 +0000 (20:56 -0800)]
[PATCH] APM:  move 'ignore_normal_resume = 1'

This is number four and actually fixes a bug.

This patch moves the setting of the ignore_normal_resume flag
prior to the sti(); otherwise BIOS-generated normal resume
events slip through unignored.

23 years ago[PATCH] Trivial apm patch: move apm_error up
Stephen Rothwell [Tue, 12 Mar 2002 04:56:21 +0000 (20:56 -0800)]
[PATCH] Trivial apm patch: move apm_error up

Here is the third one.

This patch moves the apm_error() function higher
in the file so that it is adjacent to the error_table
that it uses.  This makes the code easier to read.
The beginning of the file is an appropriate place
for "utility" functions of this kind.  This is a pure
move, with no changes made to the function.

23 years ago[PATCH] Trivial apm update: eliminate 0 initializers
Stephen Rothwell [Tue, 12 Mar 2002 04:56:16 +0000 (20:56 -0800)]
[PATCH] Trivial apm update: eliminate 0 initializers

Second in a series of patches from Thomas Hood.

This patch eliminates the 0 initializers on three
static variables inside the apm_cpu_idle function.
These initializers are superfluous.

The initializers are replaced with comments whose
purpose is to indicate that the code relies upon the
fact that these variables are initialized to zero
at load time.

23 years ago[PATCH] Trivial APM update part 1
Stephen Rothwell [Tue, 12 Mar 2002 04:56:11 +0000 (20:56 -0800)]
[PATCH] Trivial APM update part 1

This is the first of a series of patches I have got from Thomas Hood
that modify the apm code mainly for better self documentation.

This one does:

Variable "waiting_for_resume" is renamed 'ignore_sys_suspend'.
The reason for the change is that this flag variable is
employed in a manner analogous to that of other flag variables
named 'ignore ...'.  When the flag is set, the driver needs to
ignore further system suspends.  The driver does not "wait"
in the usual sense of that word.  The only sense in which the
driver waits is the sense in which it needs to continue to
ignore system suspends until certain events occur.  One such
event is a resume.  However, another such event is the vetoing
of the suspend request by a driver.  So it would be more
accurate to call the flag 'waiting_for_resume_or_suspend_reject'
or something like that.  But for the reason mentioned first,
an even better name is 'ignore_sys_suspend'.

23 years ago[PATCH] (2/2) fs/super.c cleanups
Alexander Viro [Tue, 12 Mar 2002 04:54:20 +0000 (20:54 -0800)]
[PATCH] (2/2) fs/super.c cleanups

kill_super() and deactivate_super() merged.

Next step will be to export these suckers - after that we will be finally
done with infrastructure for filesystems with nontrivial ->get_sb().

23 years ago[PATCH] (1/2) fs/super.c cleanups
Alexander Viro [Tue, 12 Mar 2002 04:54:15 +0000 (20:54 -0800)]
[PATCH] (1/2) fs/super.c cleanups

New helper - sget().  get_sb_bdev() and get_anon_super()
switched to using it.  Basically, it's get_anon_super()
done right (and get_anon_super() itself will probably
die).

23 years ago[PATCH] pci=usepirqmask option.
John Clemens [Tue, 12 Mar 2002 04:53:14 +0000 (20:53 -0800)]
[PATCH] pci=usepirqmask option.

Last week I sent you a patch adding a config option to honor the pirq mask
in the PCI routing table.  On your suggestion, Cory Bell made it a command
line option using the pci= interface and we both agree with you, it's
-much- cleaner this way.

Patch against 2.5.6 (Cory's submitting for 2.4, I've tested and submitting
towards 2.5).  All credit goes to Cory Bell, with only minor input and
testing from myself.

23 years ago[PATCH] DMI patch for broken Dell laptop
Stephen Rothwell [Tue, 12 Mar 2002 04:53:08 +0000 (20:53 -0800)]
[PATCH] DMI patch for broken Dell laptop

This adds DMI recognition for anohter broken Dell laptop BIOS (BIOS
version A12 on the Insiron 2500).

Reported by Mihnea-Costin Grigore <mgc8@totalnet.ro>.

23 years ago[PATCH] struct superblock cleanup - minixfs
Brian Gerst [Tue, 12 Mar 2002 04:51:25 +0000 (20:51 -0800)]
[PATCH] struct superblock cleanup - minixfs

Switch to using kmalloc to allocate the minix superblock structure.

23 years ago[PATCH] struct superblock cleanup - minixfs
Brian Gerst [Tue, 12 Mar 2002 04:51:20 +0000 (20:51 -0800)]
[PATCH] struct superblock cleanup - minixfs

Start of cleaning up the union of filesystem-specific structures in
struct super_block.  The goal is to remove dependence on filesystem
headers in fs.h.

This patch abstracts the access to the minix_sb_info structure through
the function minix_sb().

23 years ago[PATCH] dnotify
Stephen Rothwell [Tue, 12 Mar 2002 04:47:35 +0000 (20:47 -0800)]
[PATCH] dnotify

The following patch makes directory notifications per thread group instead
of per process tree as they are now.  This means, in particular, that if
a child closes a file descriptor that has a directory open with notifies
enabled, the notification will not be removed.

Thanks to Andrea for the push in the right direction.

23 years ago[PATCH] PATCH - knfsd in 2.5.6 - fsid= export option
Neil Brown [Tue, 12 Mar 2002 04:47:30 +0000 (20:47 -0800)]
[PATCH] PATCH - knfsd in 2.5.6 - fsid= export option

Support fsid=<number> export option to be device number independent

This patch was largely supplied by Steven Whitehouse <steve@gw.chygwyn.com>

A new export option "NFSEXP_FSID" indicates that the ex_dev passed down
is a user specified number, not a device number.
It should be used in fsid_type==1 filehandles to identify the
the exportpoint rather than the devid and inode (as in fsid_type == 0).
This allows filehandles to be device-number independent so that when Linux
changes device numbers on you (after reboot), your filesystems wont go stale.

User-space support for this is in the nfs-utils CVS and will be in
the next release (any release > 1.0).

23 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Mon, 11 Mar 2002 08:58:05 +0000 (00:58 -0800)]
Merge bk://bk.arm.linux.org.uk
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoUpdate ARM tree for 2.5.6
Russell King [Tue, 12 Mar 2002 00:35:07 +0000 (00:35 +0000)]
Update ARM tree for 2.5.6

23 years agoAdd /dev/rtc support for Acorn machines.
Russell King [Tue, 12 Mar 2002 00:04:33 +0000 (00:04 +0000)]
Add /dev/rtc support for Acorn machines.

23 years agoUpdate Acorn serial drivers.
Russell King [Mon, 11 Mar 2002 16:12:22 +0000 (16:12 +0000)]
Update Acorn serial drivers.

23 years agoBug fixes for Acorn network drivers.
Russell King [Mon, 11 Mar 2002 15:57:00 +0000 (15:57 +0000)]
Bug fixes for Acorn network drivers.

23 years agoFix up spinlocking/IRQ handling in SCSI drivers for Acorn machines.
Russell King [Mon, 11 Mar 2002 15:48:27 +0000 (15:48 +0000)]
Fix up spinlocking/IRQ handling in SCSI drivers for Acorn machines.

23 years agoMerge penguin:v2.5/linux
Linus Torvalds [Mon, 11 Mar 2002 08:32:43 +0000 (00:32 -0800)]
Merge penguin:v2.5/linux
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] fix for get_sb_bdev() bug
Alexander Viro [Mon, 11 Mar 2002 06:22:18 +0000 (22:22 -0800)]
[PATCH] fix for get_sb_bdev() bug

Grr...  When loop in get_sb_bdev() had been switched from
global list of superblock to per-type one, we should have switched
from sb_entry(p) (aka. list_entry(p, struct super_block, s_list)) to
list_entry(p, struct super_block, s_instances).

As it is, we end up with false negatives all the time.  I.e.
second mount from the same block device with the same type gices
a new superblock.  With obvious nasty results...

This fixes that.

23 years ago[PATCH] (4/4) ->kill_sb() switchover
Alexander Viro [Mon, 11 Mar 2002 06:22:13 +0000 (22:22 -0800)]
[PATCH] (4/4) ->kill_sb() switchover

bdev filesystems switched.  Changes documented in Locking and porting.

23 years ago[PATCH] (3/4) ->kill_sb() switchover
Alexander Viro [Mon, 11 Mar 2002 06:22:06 +0000 (22:22 -0800)]
[PATCH] (3/4) ->kill_sb() switchover

The rest of nodev filesystems switched.

23 years ago[PATCH] (2/4) ->kill_sb() switchover
Alexander Viro [Mon, 11 Mar 2002 06:22:00 +0000 (22:22 -0800)]
[PATCH] (2/4) ->kill_sb() switchover

FS_LITTER filesystems (ramfs-like) switched to use of ->kill_sb().
FS_LITTER is gone.

23 years ago[PATCH] (1/4) ->kill_sb() switchover
Alexander Viro [Mon, 11 Mar 2002 06:21:55 +0000 (22:21 -0800)]
[PATCH] (1/4) ->kill_sb() switchover

New method - ->kill_sb().  It will eventually replace current
fs/super.c::shutdown_super() - i.e. it's called when fs driver
must shut the superblock down, remove it from all lists, etc.

23 years ago[PATCH] PATCH - knfsd fixes for 2.5.6
Neil Brown [Mon, 11 Mar 2002 06:21:50 +0000 (22:21 -0800)]
[PATCH] PATCH - knfsd fixes for 2.5.6

Fix a few kNFSd problems.

1/ export svc_reserve which was introduced for NFS/TCP support.
    Without this we cannot load nfsd.o as a module
2/ the hash chain of clients was being changed (to put the found
   entry at the top of the list) while we only had a read-lock.
   This could corrupt the list and cause big problems.
   For now, just disable this code.  Might add a lock later...
3/ lockd was calling exp_getclient without getting a readlock
   on the export table first.
4/ Add Config.help entry for CONFIG_NFSD_TCP

23 years ago[PATCH] fix layout of mapped files
Andrew Morton [Mon, 11 Mar 2002 06:01:53 +0000 (22:01 -0800)]
[PATCH] fix layout of mapped files

If you create a shared mapping of a sparse file, dirty it
and then run msync, all the file's blocks are laid out
backwards.

This is because filemap_sync puts the lowest-index page at
mapping->dirty_pages.prev and the highest at mapping->dirty_pages.next.

I think that by walking the dirty pages list in ascending file
offset order as we instantiate their disk mappings we will generally
get better layout.

23 years agoMerge bk://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Mon, 11 Mar 2002 06:00:28 +0000 (22:00 -0800)]
Merge bk://lia64.bkbits.net/to-linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years ago[PATCH] 2.5.6-pre3 Fix BSD accounting rlimit
Alan Cox [Mon, 11 Mar 2002 05:57:35 +0000 (21:57 -0800)]
[PATCH] 2.5.6-pre3 Fix BSD accounting rlimit

Fix rlimit on accounting file.

23 years ago[PATCH] 2.5.6-pre3 Fix small race in BSD accounting
Bob Miller [Mon, 11 Mar 2002 05:56:06 +0000 (21:56 -0800)]
[PATCH] 2.5.6-pre3 Fix small race in BSD accounting

While looking at the bug fix for part 1 I coded up this patch
to change the BSD accounting code to use a spinlock instead
of the BKL.

23 years ago[PATCH] 2.5.6-pre3 Fix small race in BSD accounting
Bob Miller [Mon, 11 Mar 2002 05:56:01 +0000 (21:56 -0800)]
[PATCH] 2.5.6-pre3 Fix small race in BSD accounting

Below is a patch to remove a small race in kernel/acct.c.

23 years ago[PATCH] My AMD IDE driver, v2.7
Vojtech Pavlik [Mon, 11 Mar 2002 05:54:21 +0000 (21:54 -0800)]
[PATCH] My AMD IDE driver, v2.7

This patch replaces the current AMD IDE driver (by Andre Hedrick) by
mine. Myself I think my implementation is much cleaner, but I'll leave
upon others to judge that. My driver also additionally supports the
AMD-8111 IDE.

It's well tested, and I'd like to have this in the kernel instead of
what's there now.

23 years agoMerge bk://bcrlbits.bkbits.net/linux-2.5
Linus Torvalds [Mon, 11 Mar 2002 05:46:14 +0000 (21:46 -0800)]
Merge bk://bcrlbits.bkbits.net/linux-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoAvoid looping in write_inode_now since the sync_one changes now ensure __sync_one
Benjamin LaHaise [Mon, 11 Mar 2002 09:59:09 +0000 (04:59 -0500)]
Avoid looping in write_inode_now since the sync_one changes now ensure __sync_one
is called once the inode is unlocked.

23 years ago[PATCH] New wireless driver API part 2
Jean Tourrilhes [Mon, 11 Mar 2002 05:44:49 +0000 (21:44 -0800)]
[PATCH] New wireless driver API part 2

Quick summary : this patch build on the first part to offer
two important new features :
o Wireless Events
o Wireless Cell Scanning
Wireless Events are events generated by device, driver or the
wireless subsystem. It allows for example a device to notify user
space when it register to a new cell (roaming) or loose contact with
the current Access Points. Currently, the other defined events include
some configuration changes and packet drop due to excessive retries,
more may come in the future. All those events are useful for MobileIP,
V-Handoff and Ad-Hoc routing.
Wireless Cell Scanning is a generic API to allow device/drive
to report Wireless Cells discovered (including ESSID, frequency and
QoS). This is similar to what is available in WindowsXP (except that
it's compliant to Wireless Extensions).

This patch has been submitted for review on this list a couple
of time in January, has been on my web page since and used intensively
by other people. It was rediffed to 2.5.6. Driver patches have been
submitted to maintainers.

23 years ago[PATCH] 2.5.6 IDE 19
Martin Dalecki [Mon, 11 Mar 2002 05:40:36 +0000 (21:40 -0800)]
[PATCH] 2.5.6 IDE 19

 - Fix oversight in replacement of sti() cli() pairs for data structure
   access protection.  This finally resolvs my problems with the 2.5.6
   kernel series.  Now I'm in fact quite puzzled how it was even possible
   for the system to get into the init stage without this fix..

 - Fix usage of CONFIG_BLK_DEV_IDE_MODULES instead of
   CONFIG_BLK_DEV_IDE_MODULE.

 - Make idescsi_init global for usage in systems without module support
   enabled.

 - Apply Pavels Macheks patch for suspend support.  Whatever some persons
   argue that it's not fully implemented, I think that we are in
   development series right now.  I don't buy the mock-up examples for
   problems with either outdated or broken hardware.  Micro Drives are
   for example expected to be drop in replacements for CF cards in
   digital cameras and I would rather expect them to be very tolerant
   about the driver in front of them.  And then the WB caches of IDE
   devices are not caches in the sense of a MESI cache, they are more
   like buffer caches and should therefore flush them self after s short
   period of inactivity without the application of any special flush
   command.  The upcoming explicit flushing commands in the ATA standard
   are about data integrity guarantees in high reliability systems, like
   DB servers for example, and not about simple cache validity.

 - Apply Vojtech Pavliks fix to the VIA host chip initialization code.

 - Add missing if-defs around PIO timing tables.

 - Fix max() min() related compile warnings in IDE-scsi.

23 years ago[PATCH] 2.5.6 IDE 18
Martin Dalecki [Mon, 11 Mar 2002 05:40:28 +0000 (21:40 -0800)]
[PATCH] 2.5.6 IDE 18

No fixes for new problems which occured since today, just syncup.

 - Remove help text about suitable compiler versions, which is obsoleted
   by the overall kernel reality.

 - Remove traces of not progressing work in progress code for the
   CONFIG_BLK_DEV_ADMA option as well as the empty ide-adma.c file as
   well as CONFIG_BLK_DEV_IDEDMA_TCQ.

 - Remove redundant CONFIG_BLK_DEV_IDE != n check in ide/Config.in. Hugh,
   this is a tricky one...

 - Add EXPORT_SYMBOL(ide_fops) again, since it's used in ide-cd.c add a
   note there that this is actually possibly adding the same device twice
   to the devfs stuff.

 - Finally change the MAINTAINER entry. Just too many persons bogged me
   about it and it doesn't take me too much time apparently.

 - Apply sis.patch.20020304_1.

 - Don't call ide_release_dma twice in cleanup_ata, since ide_unregister
   is already calling it for us. Change prototype of ide_unregister to
   take a hwif as parameter and disable an ioctl for removing/scanning
   hwif from the list of handled interfaces. I see no reasons for having
   it and doing it is the fastest DOS attack on my home system I know
   about it. Contrary to the comments found here and there, hdparm
   doesn't use it. There are better hot plugging interfaces coming to the
   kernel right now anyway.

 - Wrap invalidate_drives in ide_unregister under the ide_lock instead of
   disabling and enabling interrupts during this operation. There are
   plenty of other places where the IDE drivers are enabling and
   disabling interrupts just to protect some data structures.

 - Don't call destroy_proc_ide_drives(hwif) for every single drive out
   there.This routine takes a hwif as a parameter.

 - Resync with the instable 2.5.6...

23 years agoFix up auto merge problems.
Russell King [Sun, 10 Mar 2002 17:32:23 +0000 (17:32 +0000)]
Fix up auto merge problems.

23 years agoMerge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk-patchtest
Russell King [Sun, 10 Mar 2002 17:12:57 +0000 (17:12 +0000)]
Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk-patchtest
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk

23 years agoSplit out copy_user_page/clear_user_page to allow more efficient
Russell King [Sun, 10 Mar 2002 17:10:20 +0000 (17:10 +0000)]
Split out copy_user_page/clear_user_page to allow more efficient
selection depending on processor features.

23 years agoTidy up abort handler selection. Use new glue.h to select relevant
Russell King [Sun, 10 Mar 2002 16:07:51 +0000 (16:07 +0000)]
Tidy up abort handler selection.  Use new glue.h to select relevant
handler to allow for better optimisation.

23 years ago[PATCH] 995/1: better EBSA110 idle
Nicolas Pitre [Sun, 10 Mar 2002 14:44:30 +0000 (14:44 +0000)]
[PATCH] 995/1: better EBSA110 idle

This should bring better performances as all interrupts are always run with
clock switching enabled and the idle spinning always with the lower clock.

This also keeps the brokenness of that architecture localized while
preserving the sanity of the common SA idle function.

23 years agoFix up couple of bugs in Integrator PCI code.
Russell King [Sun, 10 Mar 2002 14:38:06 +0000 (14:38 +0000)]
Fix up couple of bugs in Integrator PCI code.

23 years agoMake iq80310_gettimeoffset() return the currect time delta.
Russell King [Sun, 10 Mar 2002 14:12:34 +0000 (14:12 +0000)]
Make iq80310_gettimeoffset() return the currect time delta.
Remove redundant irq_enter/irq_exit calls.

23 years ago[PATCH] 889/1: updated jornada720 config file
Jamey Hicks [Sun, 10 Mar 2002 14:03:38 +0000 (14:03 +0000)]
[PATCH] 889/1: updated jornada720 config file

Updates the jornada720 config file to build with 2.4.17-rmk4

23 years agoRe-jig ARMv3 and up page table handing for better correctness with
Russell King [Sun, 10 Mar 2002 12:06:50 +0000 (12:06 +0000)]
Re-jig ARMv3 and up page table handing for better correctness with
Ingo's highmem code.  This also helps with Riel's rmap VM, and
eliminates the slab overhead for these processors.

For more information, see:
http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2002-March/008089.html

23 years ago[PATCH] Futexes IV (Fast Lightweight Userspace Semaphores)
Rusty Russell [Sun, 10 Mar 2002 03:50:14 +0000 (19:50 -0800)]
[PATCH] Futexes IV (Fast Lightweight Userspace Semaphores)

Fast user-space mutex implementation, allowing user space to do all
of the normal handling, with a minimal fallback to kernel space for
when there is lock contention.

The kernel space implementation does not keep any per-lock data
structures, but instead does a fast hash on the physical page and offset
of the user-space lock when contended.  Thus no build/teardown costs, or
any scalability costs wrt metadata.

Updated syscall numbers for 2.5.6, and changed FUTEX_UP/DOWN definitions
to be more logical for future expansions (eg.  r/w).

23 years ago[PATCH] 1036/1: allow APM to be build as module (for 2.5.5) (modified)
Tomas Kasparek [Sat, 9 Mar 2002 23:20:38 +0000 (23:20 +0000)]
[PATCH] 1036/1: allow APM to be build as module (for 2.5.5) (modified)

This is updated version of patch 1002/1 . As build system in 2.5.5 kernel allows same name of .c files in different directories when computing dependencies and versioning information, the patch becomes simple. Now it just modify appropriate Makefile (in arch/arm/mach-sa1100) and exports one symbol in arch/arm/mach-sa10/pm.c)

This patch replace 1002/1.

(Hope, this is what you want Russel :)

23 years agoMerge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk
Russell King [Sat, 9 Mar 2002 23:10:29 +0000 (23:10 +0000)]
Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk-patchtest

23 years agoUpdate Makefile, sa1110 cpufreq code. Drop static flash mapping from
Russell King [Sat, 9 Mar 2002 22:54:17 +0000 (22:54 +0000)]
Update Makefile, sa1110 cpufreq code.  Drop static flash mapping from
system3.c

23 years ago[PATCH] 1039/1: EXPORT_SYMBOL(dma_spin_lock) for ALSA
Tomas Kasparek [Sat, 9 Mar 2002 22:21:53 +0000 (22:21 +0000)]
[PATCH] 1039/1: EXPORT_SYMBOL(dma_spin_lock) for ALSA

Even I do not realy use any ISA code of ALSA on my iPAQ I need it for compilation. As I build ALSA as modules, the dma_spin_lock symbol is missing.

I have seen both definitions of dma_spin_lock (in kernel/dma.c and arch/arm/kernel/dma.c) same as EXPORT_SYMBOL in kernel/ksyms.c, but I think, exporting it in arch/arm/kernel/dma.c should be better then making confusion in kernel/ksyms.c

2Russel: If you don't think this is good solution, we should discuss this in linux-arm-kernel mailing list

23 years ago[PATCH] 1008/1: PCMCIA MECR handling
Stefan Eletzhofer [Sat, 9 Mar 2002 22:12:22 +0000 (22:12 +0000)]
[PATCH] 1008/1: PCMCIA MECR handling
This patch changes PCMCIA MECR handling such that:
- MECR is changed in one function only and atomically
- a additional callback for boards to allow them to
  tweak BS values on a per-socket basis

Note: I don't know wether or not tish changes are WIP or done
already. If so, please drop it and send me a note.

Changes files:
linux/drivers/pcmcia/sa1100_generic.h
linux/drivers/pcmcia/sa1100_generic.c

23 years ago[PATCH] 1033/1: latest 2.5.x badge4 def-config
Christopher Hoover [Sat, 9 Mar 2002 19:45:48 +0000 (19:45 +0000)]
[PATCH] 1033/1: latest 2.5.x badge4 def-config

23 years agoFix formatting in Makefile.
David Mosberger [Sat, 9 Mar 2002 09:49:00 +0000 (01:49 -0800)]
Fix formatting in Makefile.

23 years agoFixup bad merge.
David Mosberger [Sat, 9 Mar 2002 07:19:01 +0000 (23:19 -0800)]
Fixup bad merge.

23 years agoSync up with Linus's tree and resolve conflicts in perfmon.c.
David Mosberger [Sat, 9 Mar 2002 05:49:33 +0000 (21:49 -0800)]
Sync up with Linus's tree and resolve conflicts in perfmon.c.

23 years agoas-flags.diff
David Mosberger [Sat, 9 Mar 2002 05:26:59 +0000 (21:26 -0800)]
as-flags.diff

23 years agopci.c:
David Mosberger [Sat, 9 Mar 2002 05:16:51 +0000 (21:16 -0800)]
pci.c:
  Print values of type dma_addr_t by casting to unsigned long and using the %lx format.

23 years agop4
David Mosberger [Sat, 9 Mar 2002 04:59:38 +0000 (20:59 -0800)]
p4

23 years agoFix two typos in comments.
David Mosberger [Fri, 8 Mar 2002 20:07:31 +0000 (12:07 -0800)]
Fix two typos in comments.

23 years agoUpdate EFI RTC driver to version 0.3.
David Mosberger [Fri, 8 Mar 2002 20:01:12 +0000 (12:01 -0800)]
Update EFI RTC driver to version 0.3.

23 years agoThis patch got dropped from the VM_DATA_DEFAULT_FLAGS patch sent earlier.
David Mosberger [Fri, 8 Mar 2002 19:39:22 +0000 (11:39 -0800)]
This patch got dropped from the VM_DATA_DEFAULT_FLAGS patch sent earlier.

23 years agoia64-patches
David Mosberger [Fri, 8 Mar 2002 18:25:21 +0000 (10:25 -0800)]
ia64-patches

23 years agoFix missing '!' in set_fs_altroot()
Linus Torvalds [Fri, 8 Mar 2002 10:30:52 +0000 (02:30 -0800)]
Fix missing '!' in set_fs_altroot()

23 years agomm cleanup: split out mincore() system call from filemap.c
Linus Torvalds [Fri, 8 Mar 2002 07:31:20 +0000 (23:31 -0800)]
mm cleanup: split out mincore() system call from filemap.c

23 years agomsync cleanups
Linus Torvalds [Fri, 8 Mar 2002 06:38:18 +0000 (22:38 -0800)]
msync cleanups

23 years agoSplit out "msync" logic into a file of its own. No actual code
Linus Torvalds [Fri, 8 Mar 2002 05:02:18 +0000 (21:02 -0800)]
Split out "msync" logic into a file of its own. No actual code
changes.

23 years agoFix parport_cs compile troubles
Linus Torvalds [Fri, 8 Mar 2002 03:02:13 +0000 (19:02 -0800)]
Fix parport_cs compile troubles

23 years agoUpdate defconfig and version v2.5.6
Linus Torvalds [Thu, 7 Mar 2002 09:50:57 +0000 (01:50 -0800)]
Update defconfig and version

23 years agoRemove circular header file dependency
Linus Torvalds [Thu, 7 Mar 2002 09:50:14 +0000 (01:50 -0800)]
Remove circular header file dependency

23 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Thu, 7 Mar 2002 09:13:15 +0000 (01:13 -0800)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years ago[PATCH] matroxfb compile fix
Petr Vandrovec [Thu, 7 Mar 2002 09:00:08 +0000 (01:00 -0800)]
[PATCH] matroxfb compile fix

* Make matroxfb compilable with Mystique, but without G450 support.

Petr Vandrovec

23 years agoMerge bk://are.twiddle.net:8080/axp-2.5
Linus Torvalds [Thu, 7 Mar 2002 08:59:10 +0000 (00:59 -0800)]
Merge bk://are.twiddle.net:8080/axp-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years ago[PATCH] cramfs updates for 2.5.6-pre2
Daniel Quinlan [Thu, 7 Mar 2002 08:58:46 +0000 (00:58 -0800)]
[PATCH] cramfs updates for 2.5.6-pre2

Documentation/filesystems/cramfs.txt
  - remove comment about ROM size limit
  - fix up magic
  - update location of tools

fs/cramfs/README
  - add note about sorted directory entries
  - mkcramfs compile-time DO_HOLES option replaced by run-time -z option
  - update tools section
  - add note about PAGE_CACHE_SIZE possibly changing on arm and ia64

fs/cramfs/inode.c
  - statfs->f_namelen = CRAMFS_MAXPATHLEN

include/linux/cramfs_fs.h
  - add CRAMFS_MAXPATHLEN (252)
  - clarify CRAMFS_SUPPORTED_FLAGS definition

scripts/cramfs
  - directory removed, the cramfs user-space tools are now located at
    <http://sourceforge.net/projects/cramfs/>.

23 years ago[PATCH] Two small compile fixes for x86-64
Andi Kleen [Thu, 7 Mar 2002 08:57:13 +0000 (00:57 -0800)]
[PATCH] Two small compile fixes for x86-64

Here are two small compile fixes for x86-64 in 2.5.6pre2.
- Remove call to schedule_tail.
- Fix inline assembly of semaphores to work with latest gcc 3.1.

23 years ago[PATCH] smbfs unicode support
Urban Widmark [Thu, 7 Mar 2002 08:55:56 +0000 (00:55 -0800)]
[PATCH] smbfs unicode support

This patch adds unicode support and wants to be applied on top of the LFS
one. It uses a fake nls module to do the (little endian) unicode
translation.

23 years ago[PATCH] smbfs LFS
Urban Widmark [Thu, 7 Mar 2002 08:55:51 +0000 (00:55 -0800)]
[PATCH] smbfs LFS

This patch adds LFS and moves some smb operations into per-protocol level
structs. It wants the nls patch to applied already.

23 years ago[PATCH] smbfs nls oops fix
Urban Widmark [Thu, 7 Mar 2002 08:55:46 +0000 (00:55 -0800)]
[PATCH] smbfs nls oops fix

Fixes smbfs oopsing on failed nls translations and maps unknown chars to
:#### strings. Also PATHLEN vs NAMELEN mixups.

23 years ago[PATCH] forward port of NUMA-Q pci patch from 2.4.19-pre2
Martin J. Bligh [Thu, 7 Mar 2002 08:54:03 +0000 (00:54 -0800)]
[PATCH] forward port of NUMA-Q pci patch from 2.4.19-pre2

This patch enables PCI buses on nodes above node 0 for
the NUMA-Q architecture. It also enables node-directed
port/IO, and cleans up a couple of tiny things that only
affect CONFIG_MULTIQUAD.

23 years agoAutomerge
Linus Torvalds [Thu, 7 Mar 2002 08:51:47 +0000 (00:51 -0800)]
Automerge

23 years agoAutomerge
Linus Torvalds [Thu, 7 Mar 2002 08:51:20 +0000 (00:51 -0800)]
Automerge

23 years agoUSB Pegasus driver patch
Petko Manolov [Thu, 7 Mar 2002 08:48:22 +0000 (00:48 -0800)]
USB Pegasus driver patch

the patch is against 2.5.6-pre3 and contains:
        - ethtool support;
        - using mii.h for the MII registers and constants;
        - 2 more device/vendor IDs added;

23 years ago[PATCH] SCSI cdrom cleanup
Christoph Hellwig [Thu, 7 Mar 2002 08:47:49 +0000 (00:47 -0800)]
[PATCH] SCSI cdrom cleanup

This is one of the very early steps on cleaning up the SCSI cdrom
driver.  It gets rid of directly accessing the scsi_CDs array in favour
of using the handle we get from the generic cdrom layer.  Also uses
local vars instead of many grouped scsi_CDs accesses in other places.

The gain is to get rid of the global, static array of CDROMS
in the end.

23 years agoUSB
David Brownell [Thu, 7 Mar 2002 08:47:41 +0000 (00:47 -0800)]
USB
ehci-0306, iso, philips, speedups

      - adds preliminary highspeed ISO support
      - tweaks the driver to support the Philips EHCI
      - does less in the IRQ handler
      - avoids accessing one immutable PCI register

The ISO support should be enough to start writing
drivers, not that I know of any ISO devices that are
really available yet, but it's not fully cooked yet.

As a functional milestone, this means Linux now
handles all kinds of highspeed device I/O.  (But it
doesn't yet handle split periodic transactions, to
full or low speed devices through USB 2.0 hubs.)

Thanks to Rory Bolt for the non-ISO bits here!

23 years ago[PATCH] execve TGID dethreading bug fix
David Howells [Thu, 7 Mar 2002 08:46:44 +0000 (00:46 -0800)]
[PATCH] execve TGID dethreading bug fix

kill all subsidiary threads in a thread group when the main thread
exits.

Features:

 - It sends the subsidiary threads SIGKILL with SI_DETHREAD.

 - Subsidiary threads doing an execve() just leave the thread group (rather
   than forcing the master thread to do an execve() which would be more POSIX
   like).

23 years agoUSB
David Brownell [Thu, 7 Mar 2002 08:46:43 +0000 (00:46 -0800)]
USB
hcd-0305, periodic and pci fixup

      - removes the pci dependency you mentioned in the
        rh_string code (friendlier to non-PCI HCs)
      - makes code match doc (8859-1 chars, not just ascii)
      - adds sanity checking for the periodic transfer interval,
        and forces it to a power-of-two (code can leave HCDs)
      - facilitates better IRQ sharing

23 years agoUSB ir-usb.c driver
Greg Kroah-Hartman [Thu, 7 Mar 2002 08:45:54 +0000 (00:45 -0800)]
USB ir-usb.c driver
- removed dependancy on net/irda header files from the driver.

23 years agoUSB
Greg Kroah-Hartman [Thu, 7 Mar 2002 08:44:59 +0000 (00:44 -0800)]
USB
 - changed printer.c to use dynamic urbs, as that is now necessary.

23 years ago[PATCH] misc_register/request_region
Rusty Russell [Thu, 7 Mar 2002 08:44:55 +0000 (00:44 -0800)]
[PATCH] misc_register/request_region

These are the small subset which were obviously correct.

Evgeniy Polyakov <johnpol@2ka.mipt.ru>:
Patches check return values for request_region() and misc_register().
This patches make janitorial project TODO list a bit smaller.

23 years ago[PATCH] 2.5.6-pre3. APM idle fix.
Rusty Russell [Thu, 7 Mar 2002 08:44:50 +0000 (00:44 -0800)]
[PATCH] 2.5.6-pre3. APM idle fix.

Stephen Rothwell <sfr@canb.auug.org.au>: [PATCH] APM idleing fix:

This bug slipped back in with the need_resched() macro substitution.

23 years ago[PATCH] 2.5.6-pre3. Documentation
Rusty Russell [Thu, 7 Mar 2002 08:44:45 +0000 (00:44 -0800)]
[PATCH] 2.5.6-pre3. Documentation

atomic ops are *not* barriers any more.

Sebastian Wilhelmi <wilhelmi@ira.uka.de>: Re: Question on your "Unreliable Guide To Locking":
  > Yes, this is no longer true.  The modern assumptions are that they are
  > not barriers.

23 years agochanged drivers/usb/Config.in to not display any USB items if CONFIG_USB is not
Greg Kroah-Hartman [Thu, 7 Mar 2002 08:44:07 +0000 (00:44 -0800)]
changed drivers/usb/Config.in to not display any USB items if CONFIG_USB is not
set.

23 years agochanged maintainer of USB Keyspan drivers from Hugh to me.
Greg Kroah-Hartman [Thu, 7 Mar 2002 08:43:17 +0000 (00:43 -0800)]
changed maintainer of USB Keyspan drivers from Hugh to me.

23 years ago[PATCH] pnpbios compilation warning fix
Kai Germaschewski [Thu, 7 Mar 2002 08:40:19 +0000 (00:40 -0800)]
[PATCH] pnpbios compilation warning fix

Declare pnpbios_init as returning int, as __initcalls are supposed to.