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).
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...
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.
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
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.
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.
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.
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.
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
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).
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)
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
[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.
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.
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.
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.
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.
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.)
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).
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
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.
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.
The compiler warns about about crd_load being defined but never used with
my config. The appended patch avoids compiling in the unused code in this
case.
[PATCH] Use phys_to_virt instead of bus_to_virt in vesafb
Several people (including Alan Cox) on lkml claimed that the BIOS
returns CPU addresses, so using phys_to_virt is actually correct -
and it makes my kernel compile again.
As vesafb only compiles on i386, using a more portable API isn't useful,
anyway.
Jaroslav Kysela [Thu, 7 Mar 2002 02:10:05 +0000 (18:10 -0800)]
[PATCH] ALSA patch for 2.5.6pre2
Hello,
this recent ALSA patch includes:
- added initial version of Config.help files
- moved /proc/asound/sndstat to /proc/asound/oss/sndstat
- moved /proc/asound/oss-devices to /proc/asound/oss/devices
- snd-rtctimer updates (blocking of RTC driver change)
- added ioctl conversion code for 32-bit applications running on 64-bit kernels
- fixed dependencies in makefiles
- wavefront driver cleanups (removed LOOPS_PER_SEC)
- created Documentation/sound/alsa directory