]> git.neil.brown.name Git - history.git/log
history.git
23 years agoppc64: more signal32 updates from Stephen Rothwell - replace some
Anton Blanchard [Sat, 1 Jun 2002 04:31:33 +0000 (14:31 +1000)]
ppc64: more signal32 updates from Stephen Rothwell - replace some
awful code with loops

23 years agoppc64: more signal32 updates from Stephen Rothwell
Anton Blanchard [Sat, 1 Jun 2002 04:20:11 +0000 (14:20 +1000)]
ppc64: more signal32 updates from Stephen Rothwell

23 years agoppc64: signal32 updates from Stephen Rothwell - comment changes
Anton Blanchard [Sat, 1 Jun 2002 03:55:22 +0000 (13:55 +1000)]
ppc64: signal32 updates from Stephen Rothwell - comment changes

23 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Fri, 31 May 2002 23:50:53 +0000 (09:50 +1000)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/linux-2.5_ppc64

23 years agoppc64: quota updates
Anton Blanchard [Fri, 31 May 2002 22:26:08 +0000 (08:26 +1000)]
ppc64: quota updates

23 years agoremove bogus panic in ppc32_select
Anton Blanchard [Fri, 31 May 2002 22:25:14 +0000 (08:25 +1000)]
remove bogus panic in ppc32_select

23 years agoppc64: mask top 4 bytes of si_code
Anton Blanchard [Fri, 31 May 2002 22:24:08 +0000 (08:24 +1000)]
ppc64: mask top 4 bytes of si_code

23 years agoppc64: kill MAP_NR, dont mark free_initmem as __init
Anton Blanchard [Fri, 31 May 2002 21:27:43 +0000 (07:27 +1000)]
ppc64: kill MAP_NR, dont mark free_initmem as __init

23 years agoppc64: Fix 32 bit execve to mirror recent generic changes
Anton Blanchard [Fri, 31 May 2002 20:58:09 +0000 (06:58 +1000)]
ppc64: Fix 32 bit execve to mirror recent generic changes

23 years agoppc64: Recent firmware removes the compatible property on pci bridges.
Anton Blanchard [Fri, 31 May 2002 20:56:13 +0000 (06:56 +1000)]
ppc64: Recent firmware removes the compatible property on pci bridges.

23 years agoppc64: fix conflict from generic signal cleanups
Anton Blanchard [Fri, 31 May 2002 02:31:04 +0000 (12:31 +1000)]
ppc64: fix conflict from generic signal cleanups

23 years agoFix up ACPI makefile that got broken by the merge.
Linus Torvalds [Wed, 29 May 2002 14:55:58 +0000 (07:55 -0700)]
Fix up ACPI makefile that got broken by the merge.

23 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Wed, 29 May 2002 14:33:40 +0000 (07:33 -0700)]
Merge bk://bk.arm.linux.org.uk
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[ARM] Remove hard coded per-architecture memory, ramdisk and initrd
Russell King [Thu, 30 May 2002 01:16:58 +0000 (02:16 +0100)]
[ARM] Remove hard coded per-architecture memory, ramdisk and initrd
We have a fair number of command line options which can be used
to pass information about the target to the kernel.  We also provide
a default command line which the kernel will use in absence of one
provided by the boot loader.  We pass the hard coded options via the
command line now.

23 years ago[ARM] Manual merge.
Russell King [Thu, 30 May 2002 00:55:34 +0000 (01:55 +0100)]
[ARM] Manual merge.

23 years ago[ARM] Convert for() delay loops to udelay()
Russell King [Thu, 30 May 2002 00:38:24 +0000 (01:38 +0100)]
[ARM] Convert for() delay loops to udelay()

23 years ago[ARM] Remove an extraneous load from atomic ops
Russell King [Wed, 29 May 2002 17:21:22 +0000 (18:21 +0100)]
[ARM] Remove an extraneous load from atomic ops
atomic.h was generating some extra loads that aren't required.  In
addition, it was needlessly performing various tests inside the
atomic region.  This change fixes both these issues.

23 years ago[ARM] Context switch improvements
Russell King [Wed, 29 May 2002 17:06:54 +0000 (18:06 +0100)]
[ARM] Context switch improvements
 - We don't need to save the CPSR.
 - Rearrange thread_info members so we can pull the fields out of
   thread_info more efficiently.
 - Allocate a couple of extra words for CPU specific context saving
   (eg, for Xscale ACC registers)
 - Always leave 8 bytes free at the top of the kernel stack.  This
   prevents the stack becoming completely empty when do_exit() is
   called from an exiting nfsd() thread, and causing the wrong
   pointer to be returned from current_thread_info()

23 years ago[ARM] cpufreq_init takes low and high frequency limits.
Russell King [Wed, 29 May 2002 13:45:22 +0000 (14:45 +0100)]
[ARM] cpufreq_init takes low and high frequency limits.

23 years ago[ARM] Fix makefiles for drivers/acorn/{block,char}/
Russell King [Wed, 29 May 2002 13:34:31 +0000 (14:34 +0100)]
[ARM] Fix makefiles for drivers/acorn/{block,char}/

23 years ago[ARM] Remove victor machine type
Russell King [Wed, 29 May 2002 13:12:21 +0000 (14:12 +0100)]
[ARM] Remove victor machine type
This machine type is no longer maintained and is falling into bitrot
heaven.

23 years agoMerge master.kernel.org:/home/mochel/BK/linux-2.5-linus
Linus Torvalds [Wed, 29 May 2002 10:24:23 +0000 (03:24 -0700)]
Merge master.kernel.org:/home/mochel/BK/linux-2.5-linus
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoManual merge
Linus Torvalds [Wed, 29 May 2002 10:22:20 +0000 (03:22 -0700)]
Manual merge

23 years agoMerge master.kernel.org:/home/mochel/BK/linux-2.5-linus
Patrick Mochel [Wed, 29 May 2002 10:09:06 +0000 (03:09 -0700)]
Merge master.kernel.org:/home/mochel/BK/linux-2.5-linus
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-linus

23 years agoMerge hera.kernel.org:/home/mochel/BK/linux-2.5
Patrick Mochel [Wed, 29 May 2002 10:06:07 +0000 (03:06 -0700)]
Merge hera.kernel.org:/home/mochel/BK/linux-2.5
into hera.kernel.org:/home/mochel/BK/linux-2.5-linus

23 years agoPCI: Put pci_match_device back for the people that are still using it.
Patrick Mochel [Wed, 29 May 2002 10:00:52 +0000 (03:00 -0700)]
PCI: Put pci_match_device back for the people that are still using it.

23 years agoMerge bk://linux.bkbits.net/linux-2.5
Patrick Mochel [Wed, 29 May 2002 09:15:14 +0000 (02:15 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-linus

23 years agoCode cleanups
Andy Grover [Wed, 29 May 2002 09:08:25 +0000 (02:08 -0700)]
Code cleanups
1) Eliminate everywhere "if (0 == result)" is used, replace with
"if (!result)" and the like.

2) Move headers mysteriously included in the middle of the file to the top.

23 years agomove arch-dependent macros from drivers/acpi/include/platform/acenv.h
Andy Grover [Wed, 29 May 2002 09:01:26 +0000 (02:01 -0700)]
move arch-dependent macros from drivers/acpi/include/platform/acenv.h
(where they clearly didn't belong) into arch/asm/acpi.h

23 years agoACPI Ancillary files update
Andy Grover [Wed, 29 May 2002 08:58:58 +0000 (01:58 -0700)]
ACPI Ancillary files update

23 years agoProperly (?) handle the multiple people who can find PCI root bridges
Andy Grover [Wed, 29 May 2002 08:54:36 +0000 (01:54 -0700)]
Properly (?) handle the multiple people who can find PCI root bridges

23 years ago[PATCH] Missing include in drivers/base/bus.c and drivers/pci/pci-driver.c
Tom Rini [Wed, 29 May 2002 08:52:28 +0000 (01:52 -0700)]
[PATCH] Missing include in drivers/base/bus.c and drivers/pci/pci-driver.c

drivers/base/bus.c and drivers/pci/pci-driver.c both have functions
which are marked with __init, but didn't include <linux/init.h> directly.
The following fixes that (and allows 2.5.19 to compile on PPC32).

23 years ago[PATCH] drivers/net/wan/dscc4.c - gross overflow
François Romieu [Wed, 29 May 2002 08:51:46 +0000 (01:51 -0700)]
[PATCH] drivers/net/wan/dscc4.c - gross overflow

bug: array of u32 is accessed with offset in u8 units.

23 years agoMerge master.kernel.org:/home/mochel/BK/linux-2.5-linus
Linus Torvalds [Wed, 29 May 2002 08:45:05 +0000 (01:45 -0700)]
Merge master.kernel.org:/home/mochel/BK/linux-2.5-linus
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoACPI PCI IRQ Improvements:
Andy Grover [Wed, 29 May 2002 08:41:56 +0000 (01:41 -0700)]
ACPI PCI IRQ Improvements:
We now can boot without MPS and PIRQ!
ACPI finds IO APICs, Local apics (CPUS), interrupt source overrides,
the works. (Paul Diefenbaugh) Mucho thanks to Dominik Brodowski and
the whole acpi-devel gang.

(Note, I think this conflicts slightly with Pavel's code in i386/kernel/acpi.c
but I'd like to get this applied, and then I'm working with Pavel to hopefully
get the ACPI and swsusp stuff working properly.)

23 years ago[PATCH] de4x5 does not compile in 2.5.19 due to bus_type conflict
Petr Vandrovec [Wed, 29 May 2002 08:34:15 +0000 (01:34 -0700)]
[PATCH] de4x5 does not compile in 2.5.19 due to bus_type conflict

de4x5.c used struct bus_type for its internal bookkeeping. It should
be proably converted to struct device, but as I prefer
Jeff's tulip driver, and I have no knowledge about EISA support,
I only changed the structure name to make thing compile.

23 years ago[PATCH] Fix RAMDISK config problem
Tom Rini [Wed, 29 May 2002 08:28:16 +0000 (01:28 -0700)]
[PATCH] Fix RAMDISK config problem

The following fixes compilation with CONFIG_BLK_DEV_RAM=y I assume that
Rusty intended to use a test for CONFIG_BLK_DEV_RAM and not
BLOCK_DEV_RAM.

23 years agoClean up code based on things flagged by lint
Andy Grover [Wed, 29 May 2002 08:27:53 +0000 (01:27 -0700)]
Clean up code based on things flagged by lint
Improved error checking on hw accesses
Moved arch specific macros to arch/asm/acpi.h

23 years ago[PATCH] suspend-to-ram: clean up according to Andy
Pavel Machek [Wed, 29 May 2002 08:21:44 +0000 (01:21 -0700)]
[PATCH] suspend-to-ram: clean up according to Andy

Andy did not quite like the comments, please apply this.

23 years agoFix free-space leak truncating files in JFS.
Dave Kleikamp [Wed, 29 May 2002 11:14:30 +0000 (06:14 -0500)]
Fix free-space leak truncating files in JFS.

There was a bug truncating large files to non-zero lengths which led
to space not being marked free in the block map.

23 years agoJFS: support for kNFSD
Dave Kleikamp [Wed, 29 May 2002 11:09:12 +0000 (06:09 -0500)]
JFS: support for kNFSD

Add support for the get_parent export operation to make nfs exporting
work on 2.5.
Switch to the new iget_locked and eliminate ->read_inode.

Submitted by Christoph Hellwig, and Dave Kleikamp

23 years agoJFS: misc stuff for 2.5
Dave Kleikamp [Wed, 29 May 2002 11:03:17 +0000 (06:03 -0500)]
JFS: misc stuff for 2.5

 o make JFS_SBI an inline instead of a macros, as the other filesystems do
 o ditto for isReadOnly
 o move initialization of sb into the common part of lmLogOpen

Submitted by Christoph Hellwig

23 years agoJFS: metapage changes
Dave Kleikamp [Wed, 29 May 2002 10:58:08 +0000 (05:58 -0500)]
JFS: metapage changes

This patch is a first preparation of using the bdev mapping instead
of the JFS-private device mapping/inode for 2.4.1x/2.5:

 * add metapages to ->mp_list of the inode passed to __get_metapage
   instead of mp->mapping->host.  Do this outside of add_to_hash,
   and only do it for metapages that aren't mapped absolutely.
   RATIONALE: when using the bdev mapping, the absoloute inode won't
   have the JFS-private inode info.  It is save because we never
   traverse the mp_list of the direct inodes.
 * use a goto to unify two error handling pathes in __get_metapage.

Submitted by Christoph Hellwig

23 years agoJFS: cleanup dbAlloc
Dave Kleikamp [Wed, 29 May 2002 10:46:42 +0000 (05:46 -0500)]
JFS: cleanup dbAlloc

Reduces number of return paths to two.  This is a preparation for
quota support.

Submitted by Christoph Hellwig

23 years agomore file renames
Andy Grover [Wed, 29 May 2002 08:08:57 +0000 (01:08 -0700)]
more file renames

23 years agorename ACPI files to remove acpi_ prefix. Why did we ever name them that way?
Andy Grover [Wed, 29 May 2002 07:48:40 +0000 (00:48 -0700)]
rename ACPI files to remove acpi_ prefix. Why did we ever name them that way?
I don't know but it was dumb, so put them back.

23 years agoMerge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-sync
Patrick Mochel [Wed, 29 May 2002 04:24:53 +0000 (21:24 -0700)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-sync
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-linus

23 years agoKernel version 2.5.19 v2.5.19
Linus Torvalds [Wed, 29 May 2002 04:19:11 +0000 (21:19 -0700)]
Kernel version 2.5.19

23 years agoFix IDE Makefile typo
Linus Torvalds [Wed, 29 May 2002 04:18:33 +0000 (21:18 -0700)]
Fix IDE Makefile typo

23 years agoPCI: Make sure id_table is passed to probe callback
Patrick Mochel [Wed, 29 May 2002 03:58:54 +0000 (20:58 -0700)]
PCI: Make sure id_table is passed to probe callback

23 years agoPCI Update:
Patrick Mochel [Wed, 29 May 2002 03:37:43 +0000 (20:37 -0700)]
PCI Update:
- Change pci_match_device to pci_bus_bind, which becomes bind callback of pci_bus_type
- Remove explicit driver binding; let the device core handle it

23 years ago[PATCH] 2.5.18 IDE 75
Martin Dalecki [Wed, 29 May 2002 03:22:20 +0000 (20:22 -0700)]
[PATCH] 2.5.18 IDE 75

 - Comment out config_chipset_for_pio from hpt366 driver. It seems to hang on it
   and many people consistently reported that this may be necessary.
   Well apparently this host chip is forced to be in DMA read mode anyway
   and we where undoing this there.

 - Apply small cosmetics to pdc202xx.c driver by Thierry Vignaud.
   His change log entries follow:

      - factorize constants with PDC_CLOCK and UDMA_SPEED_FLAG macros and
the init_high_16() static inline functions, thus removing floating
constants in code

      - remove unused variables and pci space read

      - kill useless code in pdc202xx_udma_irq_status() resulting in
removing unused variable: the code does lots of tests to check what
value to return but just always return the same exact value in all
code paths!
this also saves a few cpu & pci bus cyles by removing a useless read
in pci space

      - simplify #if/#else resulting in code duplication

      - make init_pdc202xx clearer

      - remove duplicated initializations in config_drive_xfer_rate() and
simplify code paths

 - Kill unused init_speed member from ata_device struct. Spotted by
   M.H.VanLeeuwen.

23 years agoDevice Model: Implement centralized device/driver binding
Patrick Mochel [Wed, 29 May 2002 03:01:51 +0000 (20:01 -0700)]
Device Model: Implement centralized device/driver binding
- on device registration, all drivers of bus are iterated over
- bus's bind callback is called to match device to driver
- if successful, driver's probe callback is called
- on device removal, driver's remove callback is called
- on driver registration, list of devices is iterated over (and same thing happens)

23 years ago[PATCH] swsusp: cleanup
Pavel Machek [Wed, 29 May 2002 03:00:18 +0000 (20:00 -0700)]
[PATCH] swsusp: cleanup

 - use list_for_each in head_of_free_region
 - cleanups from 2.4
 - fix for usb
 - kill broken queueing

23 years agoMerge USB update
Linus Torvalds [Wed, 29 May 2002 02:57:10 +0000 (19:57 -0700)]
Merge USB update

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Wed, 29 May 2002 02:51:11 +0000 (19:51 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Thu, 30 May 2002 03:36:58 +0000 (13:36 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoMerge samba.org:/home/paulus/kernel/linux-2.5
Paul Mackerras [Thu, 30 May 2002 00:10:26 +0000 (10:10 +1000)]
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc

23 years agoDevice Model: Add helpers bus_for_each_dev and bus_for_each_drv
Patrick Mochel [Wed, 29 May 2002 02:51:08 +0000 (19:51 -0700)]
Device Model: Add helpers bus_for_each_dev and bus_for_each_drv
- iterators for accessing bus's lists of devices and drivers
- does locking on bus for each list access
- does reference counting on objects as it grabs and releases them
- calls callback for each object in list

23 years agoMerge quota update
Linus Torvalds [Wed, 29 May 2002 02:47:11 +0000 (19:47 -0700)]
Merge quota update

23 years ago[PATCH] Quota update [3/3]
Jan Kara [Wed, 29 May 2002 02:45:05 +0000 (19:45 -0700)]
[PATCH] Quota update [3/3]

Remove the old backward-compatible quota interface.

The patch also contains a renaming of functions vfs_{get|set}_info() to
vfs_{get|set}_dqinfo() and minor compilation fix needed for 2.5.18
(include <linux/namei.h>).

23 years ago[PATCH] Quota update [2/3]
Jan Kara [Wed, 29 May 2002 02:45:00 +0000 (19:45 -0700)]
[PATCH] Quota update [2/3]

This changes the sysctl interface to use reasonable names in
/proc/sys/fs/quota/

23 years ago[PATCH] Quota update [1/3]
Jan Kara [Wed, 29 May 2002 02:44:55 +0000 (19:44 -0700)]
[PATCH] Quota update [1/3]

I ported the quota changes to 2.5.18.  The first one is just a minor
change to Makefile and Config.in to not build quota.c when not needed.

23 years agoMerge master.kernel.org:/home/mochel/BK/linux-2.5-linus
Linus Torvalds [Wed, 29 May 2002 02:17:44 +0000 (19:17 -0700)]
Merge master.kernel.org:/home/mochel/BK/linux-2.5-linus
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] 2.5.18 IDE 74
Martin Dalecki [Wed, 29 May 2002 02:17:00 +0000 (19:17 -0700)]
[PATCH] 2.5.18 IDE 74

- Simplify the ide-pci code further.

23 years ago[PATCH] 2.5.18 IDE 73
Martin Dalecki [Wed, 29 May 2002 02:14:28 +0000 (19:14 -0700)]
[PATCH] 2.5.18 IDE 73

 - Merge ide-probe.c and ide-features.c in to one single file.  They are
   mutually doing basically the same and in esp. in case of the device ID
   retrieval there *is* quite a lot of code duplication between them.
   ide-geometry.c fits there as well.

 - Remove ide_xfer_verbose - it wasn't really used.

 - Don't allow check_partition to be more clever then the writer of a driver.
   It was interfering with drivers which check partitions as they go and
   finally if we want to spew something about it - we can do it ourself.

 - Eliminate ide_geninit(). We scan for partitions now inside the recently
   introduced attach method. register_disk() is broken by the way and 90% of
   places where it's used it is doing literally nothing. Either some one didn't
   finish some code or the code is basically just junk from the past.

   Anyway we grok the partitions now one by one as we detect the channels.

 - ide_driveid_update is gone. We don't report the drive id through /proc/ide
   and we don't have to update it any longer on the fly. Still someone out there
   complaining that it went away!?

 - Use the global driver spin-lock to protect data structure access in the
   ide_register_subdriver() function instead of blatantly disabling all
   interrupts.

23 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.make-drivers
Linus Torvalds [Wed, 29 May 2002 02:10:12 +0000 (19:10 -0700)]
Merge http://linux-isdn.bkbits.net/linux-2.5.make-drivers
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
Kai Germaschewski [Wed, 29 May 2002 04:47:45 +0000 (23:47 -0500)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-drivers

23 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-ios
Kai Germaschewski [Wed, 29 May 2002 04:46:25 +0000 (23:46 -0500)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-ios
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make

23 years agokbuild: Hand merge link order change form driverfs update.
Kai Germaschewski [Wed, 29 May 2002 04:40:44 +0000 (23:40 -0500)]
kbuild: Hand merge link order change form driverfs update.

23 years agoMerge
Kai Germaschewski [Wed, 29 May 2002 04:37:15 +0000 (23:37 -0500)]
Merge

23 years agoMerge linux-isdn@linux-isdn.bkbits.net:linux-2.5.make-ois
Kai Germaschewski [Wed, 29 May 2002 04:31:45 +0000 (23:31 -0500)]
Merge linux-isdn@linux-isdn.bkbits.net:linux-2.5.make-ois
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-ios

23 years agoMerge master.kernel.org:/home/mochel/BK/linux-2.5
Patrick Mochel [Wed, 29 May 2002 01:54:23 +0000 (18:54 -0700)]
Merge master.kernel.org:/home/mochel/BK/linux-2.5
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-sync

23 years ago[PATCH] Fix the utf8 option of vfat (again)
Hirofumi Ogawa [Wed, 29 May 2002 01:48:27 +0000 (18:48 -0700)]
[PATCH] Fix the utf8 option of vfat (again)

This patch fixes the bug which happens when utf8 option was used,
by using iocharset for upper/lower conversion.

It's a bit strange that utf8 use iocharset, but this is still needed.

23 years agoMerge home.transmeta.com:/home/torvalds/v2.5/blk-plug
Linus Torvalds [Wed, 29 May 2002 01:45:41 +0000 (18:45 -0700)]
Merge home.transmeta.com:/home/torvalds/v2.5/blk-plug
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] block plugging reworked/fixed
Jens Axboe [Wed, 29 May 2002 01:40:17 +0000 (18:40 -0700)]
[PATCH] block plugging reworked/fixed

This implements what we discussed, basically just maintaing a plug list
from the block layer as a direct parallel to the tq_disk task queue we
had before.  blk_run_queues() now splices the blk_plug_list to avoid
holding the blk_plug_lock across all the request_fn calls.

23 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-ok
Kai Germaschewski [Tue, 28 May 2002 18:46:26 +0000 (13:46 -0500)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-ok
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-drivers

23 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-ok
Kai Germaschewski [Tue, 28 May 2002 18:43:52 +0000 (13:43 -0500)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-ok
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make

23 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5
Kai Germaschewski [Tue, 28 May 2002 18:41:40 +0000 (13:41 -0500)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-ok

23 years agoAdd missing thermal interrupt prototype.
Linus Torvalds [Tue, 28 May 2002 17:46:58 +0000 (10:46 -0700)]
Add missing thermal interrupt prototype.

23 years agoMerge kroah.com:/home/linux/linux/BK/bleeding-2.5
Greg Kroah-Hartman [Tue, 28 May 2002 16:47:18 +0000 (09:47 -0700)]
Merge kroah.com:/home/linux/linux/BK/bleeding-2.5
into kroah.com:/home/linux/linux/BK/gregkh-2.5

23 years agoUSB SL811HS host controller driver.
Greg Kroah-Hartman [Tue, 28 May 2002 16:39:52 +0000 (09:39 -0700)]
USB SL811HS host controller driver.

Added the driver to the 2.5 tree.  The original code for 2.4 was
written by Pei Liu <pbl@cypress.com> but cleaned up a bit and
ported to 2.5 by me.  Any problems in the driver is probably due to
my messing with it.

This driver is for the SL811HS USB host controller chip from
Cypress and is typically contained on a ARM based embedded
system.

23 years agokbuild: Provide correct 'make some/dir/file.[iso]'
Kai Germaschewski [Tue, 28 May 2002 16:35:34 +0000 (11:35 -0500)]
kbuild: Provide correct 'make some/dir/file.[iso]'

Don't include Rules.make in the top-level Makefile, we don't
actually build anything from there, so we don't need the rules.

If asked to build some file in a subdirectory, descend into the
subdir and build it from there - only there we can know what
extra flags etc we have to add.

This also works for building preprocessed [.i] and assembler
output [.s].

23 years ago[PATCH] fix thermal_interrupt
Brian Gerst [Tue, 28 May 2002 16:31:06 +0000 (09:31 -0700)]
[PATCH] fix thermal_interrupt

The asm stub for thermal_interrupt was not being created.

23 years agokbuild: Build targets locally
Kai Germaschewski [Tue, 28 May 2002 16:29:36 +0000 (11:29 -0500)]
kbuild: Build targets locally

Targets should always be built from the Makefile local to the subdir
they are in. So build scripts/* from scripts/Makefile.

Clean up scripts/Makefile as we go.

23 years agokbuild: beautify Makefile / Rules.make...
Kai Germaschewski [Tue, 28 May 2002 16:14:17 +0000 (11:14 -0500)]
kbuild: beautify Makefile / Rules.make...

Basically only cosmetics, and move the 'update-modverfile:'
rule from Rules.make to the top-level Makefile, since that's the
only place where it's used.

23 years ago[PATCH] DIE "Russel", DIE!
Rusty Russell [Tue, 28 May 2002 16:12:09 +0000 (09:12 -0700)]
[PATCH] DIE "Russel", DIE!

My name is *not* GPL: you may not derive works without approval.

Rusty.
PS.  I've also applied for a patent...

23 years agoAllocate new mm_struct for execve() early, so that we have
Linus Torvalds [Tue, 28 May 2002 15:55:46 +0000 (08:55 -0700)]
Allocate new mm_struct for execve() early, so that we have
access to it by the time we start copying arguments.

We don't actually use it at this point yet.

23 years agokbuild: Remove remaining O_TARGET in drivers/*/Makefile
Kai Germaschewski [Tue, 28 May 2002 15:51:38 +0000 (10:51 -0500)]
kbuild: Remove remaining O_TARGET in drivers/*/Makefile

23 years agokbuild: Group together descending/linking in drivers/*
Kai Germaschewski [Tue, 28 May 2002 15:16:47 +0000 (10:16 -0500)]
kbuild: Group together descending/linking in drivers/*

We currently decide whether we need to descend into the subdirs of
drivers/ in drivers/Makefile, but link the resulting objects from
the top-level Makefile.

Making these two decisions at the same time (in drivers/Makefile) cleans
up the top-level Makefile quite a bit.

Link order does not change at all apart from sound/, which is now linked
last.

23 years agoMerge http://linus.bkbits.net/linux-2.5
Kai Germaschewski [Tue, 28 May 2002 15:15:02 +0000 (08:15 -0700)]
Merge http://linus.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/ua/repos/l/linux-isdn/linux-2.5.make

23 years ago[PATCH] i386 mm init cleanup part 2
Brian Gerst [Tue, 28 May 2002 15:02:37 +0000 (08:02 -0700)]
[PATCH] i386 mm init cleanup part 2

The remaining cleanups are to switch to using pfn instead of vaddr, and
improve readability.

23 years ago[PATCH] i386 mm init cleanup part 1
Brian Gerst [Tue, 28 May 2002 15:02:27 +0000 (08:02 -0700)]
[PATCH] i386 mm init cleanup part 1

This revised patch starts untangling the mess in arch/i386/mm/init.c
- Pull setting bits in cr4 out of the loop
- Make __PAGE_KERNEL a variable and cache the global bit there.
- New pfn_pmd() for large pages.

23 years ago[PATCH] i386 head.S cleanup
Brian Gerst [Tue, 28 May 2002 15:02:12 +0000 (08:02 -0700)]
[PATCH] i386 head.S cleanup

Cleans up some redundant code in head.S:
- Combine checking of AC and ID eflags.
- Streamline the setting of %cr0.

23 years agoRemove re-use of "struct mm_struct" at execve() time.
Linus Torvalds [Tue, 28 May 2002 15:01:57 +0000 (08:01 -0700)]
Remove re-use of "struct mm_struct" at execve() time.

This will eventually allow us to copy argc/argv without
any intermediate storage (removing current argument size
limitations).

23 years agoMerge master.kernel.org:/home/mochel/BK/linux-2.5-linus
Patrick Mochel [Tue, 28 May 2002 14:03:13 +0000 (07:03 -0700)]
Merge master.kernel.org:/home/mochel/BK/linux-2.5-linus
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-linus

23 years agokbuild: Don't overwrite Rules.make's first_rule
Kai Germaschewski [Tue, 28 May 2002 13:14:59 +0000 (08:14 -0500)]
kbuild: Don't overwrite Rules.make's first_rule

Many Makefiles did a put an own rule in front of
"include $(TOPDIR)/Rules.make" for no good reason at all,
the only places where it made sense are converted to using
EXTRA_TARGETS now.

23 years ago[PATCH] Clean out routines that were obsoleted by previous
Trond Myklebust [Tue, 28 May 2002 13:04:06 +0000 (06:04 -0700)]
[PATCH] Clean out routines that were obsoleted by previous

Remove obsolete NFS and RPC routines.
Remove 'inline' attribute from xdr_decode_fattr().

23 years ago[PATCH] RPC client receive deadlock removal on HIGHMEM systems
Trond Myklebust [Tue, 28 May 2002 13:03:53 +0000 (06:03 -0700)]
[PATCH] RPC client receive deadlock removal on HIGHMEM systems

Remove another class of rpciod deadlocks on HIGHMEM systems. Kick habit of
keeping pages kmap()ed for the entire duration of NFS
read/readdir/readlink operations.

Use struct page directly in RPC client data receive buffer. TCP and UDP
sk->data_ready() bottom-halves copy (and checksum when needed) data into
pages rather than iovecs. atomic_kmap() of single pages is used for the
copy.

include/linux/xdr.h
   Declare structure for copying an sk_buff here rather than in xprt.c.
   Forward declaration of new functions.

include/linux/sunrpc/xprt.h
   RPC client receive buffer changed to use new format 'struct xdr_buf'.

net/sunrpc/clnt.c
   Initialize new format receive buffer.

net/sunrpc/sunrpc_syms.c
   Export xdr_inline_pages(), xdr_shift_buf()

net/sunrpc/xdr.c
   xdr_inline_pages() inlines pages into the receive buffer.
   xdr_partial_copy_from_skb() replaces csum_partial_copy_to_page_cache()
and copy code in tcp_read_request(). Provides sendfile()-style
method for copying data from an skb into a struct xdr_buf.
   xdr_shift_buf() replaces xdr_shift_iovec() for when we overestimate
the size of the RPC/NFS header.

net/sunrpc/xprt.c
   Adapt UDP and TCP receive routines to use new format xdr_buf.

include/linux/nfs_xdr.h
   struct nfs_readargs, nfs_readdirargs, nfs_readlinkargs,
nfs3_readdirargs, nfs3_readlinkargs all transmit page information.
   struct nfs_readdirres, nfs_readlinkres, nfs3_readlinkres obsoleted.
   struct nfs_rpc_ops->readlink(), readdir(), read() now send pages

fs/nfs/dir.c
   Adapt to new format ->readdir().
   Avoid kmap() around the RPC call.

fs/nfs/read.c
   Adapt to new format ->read() and struct nfs_readargs.

fs/nfs/symlink.c
   Adapt to new format ->readlink().

fs/nfs/proc.c
   Convert nfs_proc_readlink(), nfs_proc_readdir(), nfs_proc_read()

fs/nfs/nfs2xdr.c
   Convert XDR routines to transmit page information.
   Remove duplicate zeroing of pages when server returns a short read.

fs/nfs/nfs3proc.c
   Convert nfs3_proc_readlink(),nfs3_proc_readdir(),nfs3_proc_read()

fs/nfs/nfs3xdr.c
   Convert XDR routines to transmit page information.
   Remove duplicate zeroing of pages when server returns a short read.

Cheers,
  Trond

23 years ago[PATCH] Teach RPC client to send pages rather than iovecs.
Trond Myklebust [Tue, 28 May 2002 13:03:42 +0000 (06:03 -0700)]
[PATCH] Teach RPC client to send pages rather than iovecs.

Stop rpciod from deadlocking against itself in map_new_virtual() on HIGHMEM
systems. RPC client currently has to keep all pages that are scheduled for
transmission kmap()ed into an iovec for the entire duration of the call.
We only actually need to kmap() pages while making the (non-blocking)
call to sock_sendmsg().

NOTE: When transmitting several pages in one RPC call, sock_sendmsg()
requires us to kmap() *all* those pages at the same time. Opens for
deadlocks between rpciod and some other process that also kmaps more
than 1 page at a time.
For the TCP case we can solve later by converting to TCP_CORK+sendpage().

include/linux/sunrpc/xdr.h
   Introduce 'struct xdr_buf' in order to allow RPC layer to handle
   pages directly.

include/linux/sunrpc/xprt.h:
   Convert the RPC client send-buffer to the new format.

net/sunrpc/clnt.c
   Initialize the new format RPC send-buffer.

net/sunrpc/sunrpc_syms.c
   Export xdr_encode_pages()

net/sunrpc/xdr.c
   xdr_kmap() kmap()+copy a struct xdr_buf into an iovec array.
   xdr_kunmap() clean up after xdr_kmap().
   xdr_encode_pages() used to inline pages for transmission.

net/sunrpc/xprt.c
   xprt_sendmsg() needs to kmap() the pages into an iovec for transmission.

include/linux/nfs_xdr.h
   struct nfs_writeargs transmits full page information.
   Convert nfs_rpc_ops->write() to send pages.

fs/nfs/write.c
   Adapt to new format nfs_writeargs / nfs_rpc_ops->write()

fs/nfs/proc.c
   Convert nfs_proc_write().

fs/nfs/nfs2xdr.c
   Convert nfs_xdr_writeargs()

fs/nfs/nfs3proc.c
   Convert nfs3_proc_write().

fs/nfs/nfs3xdr.c
   Convert nfs3_xdr_writeargs()

Cheers,
   Trond