Dave Jones [Fri, 31 May 2002 03:48:35 +0000 (20:48 -0700)]
[PATCH] egcs no longer supported.
Andrew Morton found that egcs was miscompiling the per-cpu area code
on x86. This patch updates the check, and documentation accordingly.
Dave Jones [Fri, 31 May 2002 03:48:26 +0000 (20:48 -0700)]
[PATCH] gazel region handling cleanups
Dave Jones [Fri, 31 May 2002 03:48:17 +0000 (20:48 -0700)]
[PATCH] hd.c compilation fix.
TIMEOUT_VALUE was killed from blk.h and moved to drivers that need it (like this one)
DEVICE_REQUEST is also dead, so we init the queue with the driver request handler
Dave Jones [Fri, 31 May 2002 03:48:08 +0000 (20:48 -0700)]
[PATCH] Conversion of uidhash to use list_t
Conversion done by William Irwin a good while ago.
Dave Jones [Fri, 31 May 2002 03:47:58 +0000 (20:47 -0700)]
[PATCH] teles3 region handling cleanups
Dave Jones [Fri, 31 May 2002 03:47:43 +0000 (20:47 -0700)]
[PATCH] Fix deadlock in nbd
Variant of a patch in 2.4 by Steven Whitehouse.
Dave Jones [Fri, 31 May 2002 03:47:35 +0000 (20:47 -0700)]
[PATCH] Deliver SIGIO to FIFO and pipe devices
Originally from: Jeremy Elson <jelson@circlemud.org>
Dave Jones [Fri, 31 May 2002 03:47:22 +0000 (20:47 -0700)]
[PATCH] missing binfmt check
As per the old comment, this patch adds checking of the return
value of setup_arg_pages() and aborts cleanly. From 2.4
(also a missing GPL tag)
Dave Jones [Fri, 31 May 2002 03:47:11 +0000 (20:47 -0700)]
[PATCH] Some includes that aren't needed.
Stale cruft, and what looks like a merge error.
Dave Jones [Fri, 31 May 2002 03:46:50 +0000 (20:46 -0700)]
[PATCH] niccy region handling cleanups
Dave Jones [Fri, 31 May 2002 03:46:42 +0000 (20:46 -0700)]
[PATCH] isicom check_region() -> request_region()
Dave Jones [Fri, 31 May 2002 03:46:34 +0000 (20:46 -0700)]
[PATCH] ite_gpio region handling cleanups
Dave Jones [Fri, 31 May 2002 03:46:25 +0000 (20:46 -0700)]
[PATCH] rtc max_user_freq sysctl
Allow user to define the upper limit of number of interrupts generated
Dave Jones [Fri, 31 May 2002 03:46:15 +0000 (20:46 -0700)]
[PATCH] forward ioctls on raw devices to underlying devices
Should allow for things like adjusting readahead on raw devices.
Dave Jones [Fri, 31 May 2002 03:46:07 +0000 (20:46 -0700)]
[PATCH] better sizing of queue_nr_requests
Patch from 2.4 sets the maximum size of the queue in a more sensible manner
Dave Jones [Fri, 31 May 2002 03:45:59 +0000 (20:45 -0700)]
[PATCH] istallion janitor work
region handling cleanups
Dave Jones [Fri, 31 May 2002 03:45:49 +0000 (20:45 -0700)]
[PATCH] elsa check_region() -> request_region()
Dave Jones [Fri, 31 May 2002 03:45:33 +0000 (20:45 -0700)]
[PATCH] esp janitor work
o check request_region result
o handle failure gracefully
Dave Jones [Fri, 31 May 2002 03:45:23 +0000 (20:45 -0700)]
[PATCH] aztech CD driver janitor work
o printk levels
o check_region -> request_region cleanups
o allocated region releasing on failure
Dave Jones [Fri, 31 May 2002 03:45:14 +0000 (20:45 -0700)]
[PATCH] mixcomwd janitor work
simple region handling cleanups.
Dave Jones [Fri, 31 May 2002 03:45:06 +0000 (20:45 -0700)]
[PATCH] dltk driver check_region -> request_region
Dave Jones [Fri, 31 May 2002 03:44:52 +0000 (20:44 -0700)]
[PATCH] ib700wdt janitor work
o Check misc_register return code
o request_region() return code checking
o graceful failure
Dave Jones [Fri, 31 May 2002 03:44:43 +0000 (20:44 -0700)]
[PATCH] check misc_register result in efirtc
Dave Jones [Fri, 31 May 2002 03:44:35 +0000 (20:44 -0700)]
[PATCH] h8 janitor work
o Check request_region result
Dave Jones [Fri, 31 May 2002 03:44:23 +0000 (20:44 -0700)]
[PATCH] epca janitor work
o check request_region result
o Handle failure gracefully
Dave Jones [Fri, 31 May 2002 03:44:09 +0000 (20:44 -0700)]
[PATCH] recognise 2 extra devices for xd.c
Wow, someone found some new devices for this beast..
Dave Jones [Fri, 31 May 2002 03:44:01 +0000 (20:44 -0700)]
[PATCH] ps2esdi resource cleanups
checks return codes, and sanitises resource allocation.
Dave Jones [Fri, 31 May 2002 03:43:53 +0000 (20:43 -0700)]
[PATCH] i386 smp tweaks.
o mention a quirk in the athlon smp detection
o mark some use-once paths as __init
Dave Jones [Fri, 31 May 2002 03:43:45 +0000 (20:43 -0700)]
[PATCH] region handling cleanups for gscd driver
The usual check_region -> request_region work, plus freeing
of resources on failure path.
Dave Jones [Fri, 31 May 2002 03:43:37 +0000 (20:43 -0700)]
[PATCH] dumb cpqarray init microoptimisation.
Dave Jones [Fri, 31 May 2002 03:43:28 +0000 (20:43 -0700)]
[PATCH] i386 mmx copying bug.
Odd, this is the missing half of the recent fix where we prefetched
too far. Not sure how this bit got dropped. Without it, we still prefetch
past the end of a range of memory.
Also small compiler hint microoptimisations
Linus Torvalds [Fri, 31 May 2002 03:39:23 +0000 (20:39 -0700)]
Merge http://linuxusb.bkbits.net/linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
Stephen Rothwell [Fri, 31 May 2002 03:36:47 +0000 (20:36 -0700)]
[PATCH] missing bit from signal patches
The following should allow the affected architectures to build in
2.5.19 as currently there will be two definitions of
copy_siginfo_to_user and if an architecture defines its own
siginfo_t it MUST define copy_siginfo().
Stephen Rothwell [Fri, 31 May 2002 03:36:38 +0000 (20:36 -0700)]
[PATCH] APM patch for idle_period handling
This patch from Laurent Latil <laurent@latil.nom.fr> fixes a copy
and paste error.
Martin Dalecki [Fri, 31 May 2002 03:24:07 +0000 (20:24 -0700)]
[PATCH] 2.5.19 IDE 76
- Since Bartek has released finally an entierly user space based setup
monitoring utility, we can finally remove the nonfunctional PROC code from
the host chip drivers. We have preserved it thus far only for documentation
purposes.
- Use generic bus master DMA setup code. There is nothing wrong with it.
- Make the ide-scsi code actually just allow for one device id per scsi host,
since we are registering a host per device right now. This prevents the
repetitive device recognition. Well registering an SCSI host of every single
disk out there isn't the proper thing to do. I will deal with that later
after my visual perception recovers again from already looking too long at
the SCSI code :-).
- Deal properly with host specific data mapping. (Could be that solves some
problems with the driver, which where in reality kernel data corruptions.)
- Homogenize flag handling for ATAPI drivers.
Linus Torvalds [Thu, 30 May 2002 10:09:37 +0000 (03:09 -0700)]
Merge kernel.org:/home/mochel/BK/linux-2.5-linus
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
Linus Torvalds [Thu, 30 May 2002 08:39:59 +0000 (01:39 -0700)]
Make qla1280 driver print out irq information along with bus location.
Greg Kroah-Hartman [Thu, 30 May 2002 07:38:39 +0000 (00:38 -0700)]
Merge kroah.com:/home/greg/linux/BK/gregkh-2.5
into kroah.com:/home/greg/linux/BK/work-2.5
Greg Kroah-Hartman [Thu, 30 May 2002 07:30:20 +0000 (00:30 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5
Patrick Mochel [Thu, 30 May 2002 06:24:42 +0000 (23: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
Patrick Mochel [Thu, 30 May 2002 06:15:03 +0000 (23:15 -0700)]
device model: Use driver_for_each_dev to unbind drivers from its devices (now that it's implemented)
Patrick Mochel [Thu, 30 May 2002 06:13:48 +0000 (23:13 -0700)]
devicemode: Implement driver_for_each_dev
- iterate over all devices a driver has, with proper locking on driver and refcounting on devices
Patrick Mochel [Thu, 30 May 2002 06:10:44 +0000 (23:10 -0700)]
device model: remove flags parameter from struct device_driver::remove and fix all users
Patrick Mochel [Thu, 30 May 2002 06:09:12 +0000 (23:09 -0700)]
driverfs: Remove default 'status' file: it had no useful read information, the commands it supported were minimal and probably broken and the comments were wrong.
Linus Torvalds [Thu, 30 May 2002 05:01:51 +0000 (22:01 -0700)]
Fix PCI irq routing to always look up the bridge swizzling
if a direct lookup didn't work.
Greg Kroah-Hartman [Thu, 30 May 2002 04:49:45 +0000 (21:49 -0700)]
Merge gregkh@/home/mochel/BK/linux-2.5-usb
into kroah.com:/home/greg/linux/BK/work-2.5
Patrick Mochel [Thu, 30 May 2002 04:15:55 +0000 (21:15 -0700)]
USB:
- Set interface's bus type as they're registered with core
- Set bus_id to have device number as well as interface number
Patrick Mochel [Thu, 30 May 2002 02:44:20 +0000 (19:44 -0700)]
USB: define usb_bus_type and register on startup
Patrick Mochel [Thu, 30 May 2002 02:08:50 +0000 (19:08 -0700)]
driverfs update:
- Suggestion from Andrew Morton: use set_page_dirty instead of SetPageDirty and move to commit_write, since it's not dirty yet in prepare_write
- Make we dput on file and directory removal to counter the lookup_hash when we create them
Matthew Dharm [Wed, 29 May 2002 17:53:30 +0000 (10:53 -0700)]
[PATCH] USB storage: Dead code, more abort cleanups, and detached device fix
Here's a patch which does three things:
(1) It removes some dead code.
(2) It moves more code to using the new state machine
(3) It fixes a long standing bug relating to the sense data for a detached
device.
Linus Torvalds [Wed, 29 May 2002 14:55:58 +0000 (07:55 -0700)]
Fix up ACPI makefile that got broken by the merge.
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
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.
Russell King [Thu, 30 May 2002 00:55:34 +0000 (01:55 +0100)]
[ARM] Manual merge.
Russell King [Thu, 30 May 2002 00:38:24 +0000 (01:38 +0100)]
[ARM] Convert for() delay loops to udelay()
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.
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()
Russell King [Wed, 29 May 2002 13:45:22 +0000 (14:45 +0100)]
[ARM] cpufreq_init takes low and high frequency limits.
Russell King [Wed, 29 May 2002 13:34:31 +0000 (14:34 +0100)]
[ARM] Fix makefiles for drivers/acorn/{block,char}/
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.
Linus Torvalds [Wed, 29 May 2002 10:24:23 +0000 (03:24 -0700)]
Merge kernel.org:/home/mochel/BK/linux-2.5-linus
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
Linus Torvalds [Wed, 29 May 2002 10:22:20 +0000 (03:22 -0700)]
Manual merge
Patrick Mochel [Wed, 29 May 2002 10:09:06 +0000 (03:09 -0700)]
Merge kernel.org:/home/mochel/BK/linux-2.5-linus
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-linus
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
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.
Greg Kroah-Hartman [Wed, 29 May 2002 09:30:28 +0000 (02:30 -0700)]
USB OHCI driver: Added SA1111 support
Added the patch from Russell King <rmk@arm.linux.org.uk> that splits
the usb-ohci driver into two pieces, enabling the sa1111 hardware to
work with the driver.
I also added some changes to get the usb-ohci-pci.o module to build
and run properly.
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
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.
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
Andy Grover [Wed, 29 May 2002 08:58:58 +0000 (01:58 -0700)]
ACPI Ancillary files update
Andy Grover [Wed, 29 May 2002 08:54:36 +0000 (01:54 -0700)]
Properly (?) handle the multiple people who can find PCI root bridges
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).
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.
Linus Torvalds [Wed, 29 May 2002 08:45:05 +0000 (01:45 -0700)]
Merge kernel.org:/home/mochel/BK/linux-2.5-linus
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
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.)
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.
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.
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
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.
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.
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
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
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
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
Andy Grover [Wed, 29 May 2002 08:08:57 +0000 (01:08 -0700)]
more file renames
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.
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
Linus Torvalds [Wed, 29 May 2002 04:19:11 +0000 (21:19 -0700)]
Kernel version 2.5.19
Linus Torvalds [Wed, 29 May 2002 04:18:33 +0000 (21:18 -0700)]
Fix IDE Makefile typo
Patrick Mochel [Wed, 29 May 2002 03:58:54 +0000 (20:58 -0700)]
PCI: Make sure id_table is passed to probe callback
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
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.
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)
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
Linus Torvalds [Wed, 29 May 2002 02:57:10 +0000 (19:57 -0700)]
Merge USB update
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
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
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
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
Linus Torvalds [Wed, 29 May 2002 02:47:11 +0000 (19:47 -0700)]
Merge quota update