]> git.hungrycats.org Git - linux/log
linux
22 years agoLinux v2.5.40 v2.5.40
Linus Torvalds [Mon, 30 Sep 2002 16:56:34 +0000 (09:56 -0700)]
Linux v2.5.40

22 years agoMerge http://linux-scsi.bkbits.net/scsi-for-linus-2.5
Linus Torvalds [Mon, 30 Sep 2002 12:34:45 +0000 (05:34 -0700)]
Merge http://linux-scsi.bkbits.net/scsi-for-linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge mulgrave.(none):/home/jejb/BK/linux-2.5
James Bottomley [Mon, 30 Sep 2002 13:55:44 +0000 (09:55 -0400)]
Merge mulgrave.(none):/home/jejb/BK/linux-2.5
into mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.5

22 years agoError handler general clean up
Mike Anderson [Mon, 30 Sep 2002 13:43:45 +0000 (09:43 -0400)]
Error handler general clean up

22 years ago[PATCH] sg.c and USER_HZ, kernel 2.5.37
Rolf Fokkens [Mon, 30 Sep 2002 13:41:12 +0000 (09:41 -0400)]
[PATCH] sg.c and USER_HZ, kernel 2.5.37

Hi!

Since the introduction of USER_HZ the SG_[GS]ET_TIMEOUT ioctls may have
a serious BUG as userspace uses a different HZ from the HZ in kernelspace.

In x86 HZ=1000 and USER_HZ=100, resulting in confusing timouts as the
kernel measures time 10 times as fast as userspace.

This patch is an attempt to fix this by transforming USER_HZ based timing to
HZ based timing before storing it in timeout. To make sure that SG_GET_TIMEOUT
and SG_SET_TIMEOUT behave consistently a field timeout_user is added which
stores the exact value that's passed by SG_SET_TIMEOUT and it's returned on
SG_GET_TIMEOUT.

Rolf Fokkens
fokkensr@fokkensr.vertis.nl

P.S. this is the second post of this patch

22 years ago[SCSI 53c700] flag as able to do I/O from highmem
James Bottomley [Mon, 30 Sep 2002 13:39:32 +0000 (09:39 -0400)]
[SCSI 53c700] flag as able to do I/O from highmem

22 years agoscsi_initialise_merge_fn() will only set highio if ->type == TYPE_DISK.
Andrew Morton [Mon, 30 Sep 2002 13:38:52 +0000 (09:38 -0400)]
scsi_initialise_merge_fn() will only set highio if ->type == TYPE_DISK.
But it's called from scsi_add_lun()->scsi_alloc_sdev() before the type
is known.  The type is -1 all the time in scsi_initialise_merge_fn()
and scsi always bounces.

This patch makes it do the right thing - just enable block-highmem for
all scsi devices.

Jens had this to say:

"I guess that block-highmem has been around long enough, that I can
 use the term 'historically' at least in the kernel sense :-)

 This extra check was added for IDE because each device type driver
 (ide-disk, ide-cd, etc) needed to be updated to not assume virtual
 mappings of request data was valid.  I only did that for ide-disk,
 since this is the only one where bounce buffering really hurt
 performance wise.  So while ide-cd and ide-tape etc could have been
 updated, I deemed it uninteresting and not worthwhile.

 Now, this was just carried straight into the scsi counter parts,
 conveniently, because of laziness.  A quick glance at sr shows that it
 too can aviod bouncing easily (no changes needed).  st may need some
 changes, though.  So again, for scsi it was a matter of not impacting
 existing code in 2.4 too much.

 So TYPE_DISK check can be killed in 2.5 if someone does the work of
 checking that it is safe.  I'm not so sure it will make eg your SCSI
 CD-ROM that much faster :-)"

22 years ago[PATCH] Squash warning in fs/devfs/base.c
David Gibson [Mon, 30 Sep 2002 12:33:46 +0000 (05:33 -0700)]
[PATCH] Squash warning in fs/devfs/base.c

This removes an unused label in fs/devfs/base.c

22 years agoMerge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
Greg Kroah-Hartman [Mon, 30 Sep 2002 10:18:52 +0000 (03:18 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5

22 years ago[PATCH] hc_sl811 build and memory leak
Randy Dunlap [Mon, 30 Sep 2002 09:50:31 +0000 (02:50 -0700)]
[PATCH] hc_sl811 build and memory leak

It needs s/malloc.h/slab.h/ .
It also forgets to free some memory on an error exit patch.
Patch for 2.5.39 follows.

22 years ago[PATCH] usb_sg_{init,wait,cancel}()
David Brownell [Mon, 30 Sep 2002 09:45:33 +0000 (02:45 -0700)]
[PATCH] usb_sg_{init,wait,cancel}()

Here are the scatterlist primitives there's been mail about before.
Now the code has passed basic sanity testing, and is ready to merge
into Linus' tree to start getting wider use.  Greg, please merge!

To recap, the routines are a utility layer packaging several usb
core facilities to improve system performance.  It's synchronous.
The code uses functionality that drivers could use already, but
generally haven't:

    - Request queueing.  This is a big performance win.  It lets
      device drivers help the hcds avoid wasted i/o bandwidth, by
      eliminating irq and scheduling latencies between requests.  It
      can make a huge difference at high speed, when the latencies
      often exceed the time to handle each i/o request!

    - The new usb_map_sg() primitives, leveraging IOMMU hardware
      if it's there (better than entry-at-a-time mapping).

    - URB_NO_INTERRUPT transfer flag, a hint to hcds that they
      can avoid a 'success irq' for this urb.  Only the urb for
      the last scatterlist entry really needs an IRQ, the others
      can be eliminated or delayed.  (OHCI uses this today, and
      any HCD can safely ignore it.)

The particular functionality in these APIs seemed to meet Matt's
requirements for usb-storage, so I'd hope the 2.5 usb-storage
code will start to use these routines in a while.  (And maybe
those two scanner drivers: hpusbscsi, microtek.)

Brief summary of testing:  this code seems correct for normal
reads and writes, but the fault paths (including cancelation)
haven't been tested yet.  Both EHCI and OHCI seem to be mostly
OK with these more aggressive queued loads, but may need small
updates (like the two I sent yesterday).  Unfortunately I have
to report that UHCI and urb queueing will sometimes lock up my
hardware (PIIX4), so while we're lots better than 2.4 this is
still a bit of a trouble spot for now.

I'll be making some testing software available shortly, which
will help track down remaining HCD level problems by giving the
queuing APIs (and some others!) a more strenuous workout than
most drivers will, in their day-to-day usage.

- Dave

22 years ago[PATCH] USB-storage: problem clearing halts
Matthew Dharm [Mon, 30 Sep 2002 09:43:41 +0000 (02:43 -0700)]
[PATCH] USB-storage: problem clearing halts

Greg, attached is a patch designed for diagnostic purposes.  Please apply
to the 2.5 tree -- yes, we'll be removing this at some point in the future.

It appears that we have a problem clearing halts.  This patch causes a very
clear message to be printed whenever a usb_stor_clear_halt() manages to
work.  So far, I haven't seen such a thing happen.  And I've seen _lots_ of
STALL conditions.

This problem has likely been around for a while... however, it hasn't been
noticed before because usb-storage was difficult to use because of other
bugs.  Heck, the most recent 'bk pull' is the first one for me in _months_
which let me boot all the way into X11.

I'm going to hold my patch queue until this is resolved.  On my test setup,
it's easy to see this failing.  I've tried with 4 different devices, with
both UHCI and EHCI drivers.  I don't want to confuse this problem with
other patches...

'result' in this function always seems to be -32.  Which is odd, because
control endpoints shouldn't do that.

I'm open to suggestions as to where to look for this bug, but my instincts
are telling me that this is a core or HCD issue, not a usb-storage issue.

On a positive note, this means that the error-recovery system gets a good
workout.

22 years agoMerge bk://bk.arm.linux.org.uk
Linus Torvalds [Mon, 30 Sep 2002 09:43:09 +0000 (02:43 -0700)]
Merge bk://bk.arm.linux.org.uk
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoMerge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5
Russell King [Tue, 1 Oct 2002 01:18:30 +0000 (02:18 +0100)]
Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk

22 years ago[ARM] iPAQ updates from Jamey Hicks
Russell King [Tue, 1 Oct 2002 01:04:09 +0000 (02:04 +0100)]
[ARM] iPAQ updates from Jamey Hicks

22 years ago[ARM] General cleanups/missed bits in previous csets
Russell King [Tue, 1 Oct 2002 00:57:43 +0000 (01:57 +0100)]
[ARM] General cleanups/missed bits in previous csets
This corrects spelling mistakes, adds missed configuration for
cpufreq, corrects free_irq comment, etc.

22 years ago[ARM] Prevent namespace clash with IRq numbering
Russell King [Tue, 1 Oct 2002 00:15:45 +0000 (01:15 +0100)]
[ARM] Prevent namespace clash with IRq numbering
Add "IRQ_" prefix to these sa1111 irq numbers.

22 years ago[ARM] Fix sa1111 IRQ handling
Russell King [Mon, 30 Sep 2002 23:57:26 +0000 (00:57 +0100)]
[ARM] Fix sa1111 IRQ handling
We must clear down all currently pending IRQs before servicing any
IRQ on the chip.  This prevents immediate recursion into the
interrupt handling paths when we service the first IRQ.

22 years ago[ARM] Update cpufreq related sa1100 related drivers and CPU code
Russell King [Mon, 30 Sep 2002 23:45:29 +0000 (00:45 +0100)]
[ARM] Update cpufreq related sa1100 related drivers and CPU code
This cset updates sa1100 code for the now merged cpufreq next-gen.

22 years ago[ARM] sa1100fb updates
Russell King [Mon, 30 Sep 2002 23:20:40 +0000 (00:20 +0100)]
[ARM] sa1100fb updates
Update sa1100fb for recent fbcon changes, and move stork LCD power
handling into machine specific file.

22 years ago[ARM] Remove "struct device" from sa1111_init() callers
Russell King [Mon, 30 Sep 2002 22:04:23 +0000 (23:04 +0100)]
[ARM] Remove "struct device" from sa1111_init() callers
This didn't follow the LDM model correctly.  The SA1111 is always
a device on the root bus.

22 years ago[ARM] Add LDM suspend/resume support to SA1100 suspend code.
Russell King [Mon, 30 Sep 2002 21:32:40 +0000 (22:32 +0100)]
[ARM] Add LDM suspend/resume support to SA1100 suspend code.

22 years ago[ARM] Update SA1111 core and related drivers for LDM.
Russell King [Mon, 30 Sep 2002 21:23:43 +0000 (22:23 +0100)]
[ARM] Update SA1111 core and related drivers for LDM.
This cset updates the SA1111 core, PCMCIA, OHCI and keyboard drivers,
allowing them to take advantage of the Linux device manager code;
this implements initial suspend/resume support for the SA1111 in the
core.  Many existing drivers currently rely on the old PM-based
interface for suspend/resume support.

22 years ago[PATCH] ohci-hcd, paranoia
David Brownell [Mon, 30 Sep 2002 09:41:46 +0000 (02:41 -0700)]
[PATCH] ohci-hcd, paranoia

In a test where some memory corruption happened, I noticed an
oops (null pointer exception in_irq) that's avoidable.  Here's
a patch that avoids it ... anyone seeing the err() is likely
to hang some process, but that's better than the alternative.
(Also inlines some used-once routines, saving a bit of space
to make up for the new diagnostic.)

22 years ago[PATCH] ehci-hcd, urb queuing
David Brownell [Mon, 30 Sep 2002 09:41:16 +0000 (02:41 -0700)]
[PATCH] ehci-hcd, urb queuing

In doing some more extensive testing of the urb queueing behavior,
I noticed that (a) IOC wasn't always being set for each urb, while
for now it needs to be set; (b) a qh patchup wasn't done quite
where it should be.  This resolves those two issues, as well
as making it a bit less noisy to unlink lots of urbs at the once.

22 years agoUSB: fix typo from previous schedule_task() patch.
Greg Kroah-Hartman [Mon, 30 Sep 2002 09:40:06 +0000 (02:40 -0700)]
USB: fix typo from previous schedule_task() patch.

22 years ago[PATCH] usbcore misc cleanup
David Brownell [Mon, 30 Sep 2002 09:28:15 +0000 (02:28 -0700)]
[PATCH] usbcore misc cleanup

This has minor usbcore cleanups:

DOC:
    - the changes passing a usb_interface to driver probe() and disconnect()
      weren't reflected in their adjacent docs.  likewise they still said
      it was possible to get a null usb_device_id (no more).

    - the (root) hub API restrictions from rmk's ARM patch weren't
      flagged

    - mention the non-dma-coherent cache issue for usb_buffer_alloc()

    - mention disconnect() cleanup issue with usb_{control,bulk}_msg()
      [ you can't cancel those urbs from disconnect() ]

CODE
    - make driver ioctl() use 'usb_interface' too ... this update
      also resolves an old 'one instance per device' bad assumption

    - module locking on driver->ioctl() was goofy, kept BKL way too
      long and didn't try_inc_mod_count() like the rest of usbcore

    - hcd unlink code treated iso inappropriately like interrupt;
      only interrupt still wants that automagic mode

    - move iso init out of ohci into shared submit_urb logic

    - remove interrupt transfer length restriction; hcds that don't
      handle packetization (just like bulk :) should be updated,
      but device drivers won't care for now.

22 years agoUSB: allow /sbin/hotplug to be called for the main USB device.
Greg Kroah-Hartman [Mon, 30 Sep 2002 09:11:26 +0000 (02:11 -0700)]
USB: allow /sbin/hotplug to be called for the main USB device.

22 years agoUSB: Fix the name of usb hubs in driverfs.
Greg Kroah-Hartman [Mon, 30 Sep 2002 09:09:50 +0000 (02:09 -0700)]
USB: Fix the name of usb hubs in driverfs.

22 years agoUSB: add a lot more driverfs files for all usb devices.
Greg Kroah-Hartman [Mon, 30 Sep 2002 09:09:11 +0000 (02:09 -0700)]
USB: add a lot more driverfs files for all usb devices.

22 years agodriver core: added location of device in driverfs tree to /sbin/hotplug call.
Greg Kroah-Hartman [Mon, 30 Sep 2002 09:07:29 +0000 (02:07 -0700)]
driver core: added location of device in driverfs tree to /sbin/hotplug call.

/sbin/hotplug is now called when any device is added or removed from the
system.

22 years agoUSB: added Palm Zire id to the visor driver, thanks to Martin Brachtl
Greg Kroah-Hartman [Mon, 30 Sep 2002 09:05:03 +0000 (02:05 -0700)]
USB: added Palm Zire id to the visor driver, thanks to Martin Brachtl

22 years agoUSB: queue_task() fixups
Greg Kroah-Hartman [Mon, 30 Sep 2002 08:54:02 +0000 (01:54 -0700)]
USB: queue_task() fixups

22 years ago[PATCH] include fix
Dave Jones [Mon, 30 Sep 2002 08:46:51 +0000 (01:46 -0700)]
[PATCH] include fix

Trivial include file fix..

22 years ago[PATCH] Various trivial module related fixes.
Dave Jones [Mon, 30 Sep 2002 08:46:24 +0000 (01:46 -0700)]
[PATCH] Various trivial module related fixes.

More bits from 2.5.39-dj sucked out by Adrian Bunk.

 - drivers/char/toshiba.c: add
   MODULE_{PARM_DESC,AUTHOR,DESCRIPTION,SUPPORTED_DEVICE}
 - drivers/mtd/nand/nand_ecc.c: add MODULE_{AUTHOR,DESCRIPTION}
 - drivers/net/skfp/skfddi.c: add MODULE_AUTHOR
 - drivers/net/tokenring/olympic.c: remove "\n" at the end of
   MODULE_DESCRIPTION
 - fs/driverfs/inode.c: add MODULE_LICENSE
 - fs/nls/nls_cp1250.c: correct MODULE_LICENSE
 - include/linux/module.h: add "GPL v2" to the list of free software
   licenses

22 years ago[PATCH] trivial bits.
Dave Jones [Mon, 30 Sep 2002 08:45:33 +0000 (01:45 -0700)]
[PATCH] trivial bits.

Adrian Bunk went through .39-dj, and pulled out a bunch of
trivial bits (docs changes, whitespace fixes etc)

 - CREDITS: update the web-address of Tigran A. Aivazian
 - Documentation/Changes: higher minimum version of reiserfsprogs
 - s/www.linuxdoc.org/www.tldp.org/g in:
   - Documentation/DocBook/sis900.tmpl
   - Documentation/kernel-docs.txt
   - Documentation/scsi-generic.txt
   - Documentation/scsi.txt
   - Documentation/sound/oss/PAS16
 - Documentation/filesystems/isofs.txt: document where to get ISO 9660
   docs from
 - Documentation/networking/00-INDEX: document that e100.txt and e1000.txt
   are present
 - typo fixes in:
   - Documentation/networking/ip-sysctl.txt
   - Documentation/s390/Debugging390.txt
   - drivers/ide/Config.help
 - MAINTAINERS:
   - update location of the emu10k1-devel and linux-mips lists
   - Remy Card is no longer ext2 maintainer
   - list Andrew Morton instead of Remy Card as second ext3 maintainer
   - update mail addresses of Riley H. Williams and Jack Hammer
   - misc whitespace -> tab fixes
 - arch/mips/kernel/time.c: correct the location of a README
 - whitespace -> tab fixes in
   drivers/net/{3c505,3c509,arcnet/arcnet,at1700,hamradio/scc,ni65,
   pcmcia/aironet4500_cs}.c and drivers/net/wan/lmc/lmc_var.h
 - drivers/pci/quirks.c: update URL
 - remove tabs/whitespace at the end of lines in:
   - drivers/tc/lk201-map.map
   - drivers/tc/lk201-remap.c
   - drivers/tc/zs.h
 - fs/jfs/jfs_logmgr.c: remove two extra empty lines
 - include/linux/auto_fs.h: s/__x86_64/__x86_64__/

22 years ago[PATCH] cpufreq crashes on P4
Dominik Brodowski [Mon, 30 Sep 2002 07:10:35 +0000 (00:10 -0700)]
[PATCH] cpufreq crashes on P4

In two drivers a wrong size of memory was allocated for cpufreq_driver: as
it must include NR_CPUS times a struct cpufreq_policy (and not struct
cpufreq_freqs). Thanks to Petr Vandrovec for this patch.

22 years ago[PATCH] Remove QDIO_BH
Matthew Wilcox [Mon, 30 Sep 2002 06:23:37 +0000 (23:23 -0700)]
[PATCH] Remove QDIO_BH

QDIO_BH was never actually used anyway, and won't do much good now BHs
are gone.

22 years ago[PATCH] alloc_disk/put_disk
Alexander Viro [Mon, 30 Sep 2002 06:22:56 +0000 (23:22 -0700)]
[PATCH] alloc_disk/put_disk

Beginning of proper refcounting.  New helpers introduced, several drivers
switched to using them for dynamic allocation of gendisks.  Once everything
is switched (and that will be way easier than per-drive gendisks series)
we will be able to add sane reference counts on gendisk, at which point
we can safely put pointer to gendisk in struct block_device / struct request
and we had pretty much won - from that point it's pretty straightforward
crapectomy in drivers.

22 years ago[PATCH] ->major_name inlined
Alexander Viro [Mon, 30 Sep 2002 06:21:56 +0000 (23:21 -0700)]
[PATCH] ->major_name inlined

char *major_name replaced with char disk_name[16];  All uses of ->major_name
replaced with those of ->disk_name and (obviously) simplified big way.  Bunch
of arrays, kmallocs, etc. is gone.

22 years ago[PATCH] register_disk() unexported
Alexander Viro [Mon, 30 Sep 2002 05:42:46 +0000 (22:42 -0700)]
[PATCH] register_disk() unexported

... now it can be done.  We also drop almost all arguments - there is only
one caller and everything is determined by the first argument.

22 years ago[PATCH] ubd fixes
Alexander Viro [Mon, 30 Sep 2002 05:42:14 +0000 (22:42 -0700)]
[PATCH] ubd fixes

Cleans the handling of partitioning up.  More or less the same story as with
other drivers...

22 years ago[PATCH] floppy fixes
Alexander Viro [Mon, 30 Sep 2002 05:41:46 +0000 (22:41 -0700)]
[PATCH] floppy fixes

corrected handling of sizes.  Ugh.

22 years ago[PATCH] get_gendisk() prototype change
Alexander Viro [Mon, 30 Sep 2002 05:41:32 +0000 (22:41 -0700)]
[PATCH] get_gendisk() prototype change

get_gendisk() now takes dev_t (instead of kdev_t) and gets an additional
argument - int *part.  Set to 0 for non-partitioned, partition number
for partititoned.  Callers updated.  Yes, I hate passing return values
that way ;-/  We need that since old "minor(dev) - disk->first_minor"
doesn't work for stuff with non-trivial numbers (e.g. floppy) and
get_gendisk() really has to return both gendisk and partition number.
Fortunately, amount of callers of gendisk() is about to drop RSN big way...

22 years ago[PATCH] gendisks list switched to list_head
Alexander Viro [Mon, 30 Sep 2002 05:41:00 +0000 (22:41 -0700)]
[PATCH] gendisks list switched to list_head

The list used to generate /proc/partitions turned into list_head one;
we also restore the old order of elements (originally we added to the end
of list; recent changes had reverted that, now we are back to original
order).

22 years ago[PATCH] set ide pci dma mask
Jens Axboe [Mon, 30 Sep 2002 05:36:06 +0000 (22:36 -0700)]
[PATCH] set ide pci dma mask

Make IDE set the dma mask to full 32-bit dma.

22 years ago[PATCH] loop clear q->queuedata on exit
Jens Axboe [Mon, 30 Sep 2002 05:35:48 +0000 (22:35 -0700)]
[PATCH] loop clear q->queuedata on exit

Just for niceness, loop should clear queue queuedata when it exits.

22 years ago[PATCH] raid5 BIO_UPTODATE set
Jens Axboe [Mon, 30 Sep 2002 05:35:16 +0000 (22:35 -0700)]
[PATCH] raid5 BIO_UPTODATE set

These days we only require a clear of BIO_UPTODATE on -EIO, we don't set
it on success. This breaks raid5. It appears to clear BIO_UPTODATE fine
but doesn't start out with it set.

22 years ago[PATCH] make loop set right queue restrictions
Jens Axboe [Mon, 30 Sep 2002 05:34:45 +0000 (22:34 -0700)]
[PATCH] make loop set right queue restrictions

This makes loop honor the queue restrictions by basically stacking all
of those, and mirroring the merge_bvec_fn() on the target queue. It also
switches loop to use per-loop device queues, since that is the only sane
way to do this from a performance POV. Also, in principle I find it to
be much nicer if every distinct block device has its own queue.

22 years ago[PATCH] don't BUG() on too big a bio
Jens Axboe [Mon, 30 Sep 2002 05:34:11 +0000 (22:34 -0700)]
[PATCH] don't BUG() on too big a bio

There's really no reason to BUG() out on a bio that is too big, the
gentleman thing to do would be to print a warning and just end the bio
with -EIO quietly.

22 years ago[PATCH] add function to set q->merge_bvec_fn
Jens Axboe [Mon, 30 Sep 2002 05:33:53 +0000 (22:33 -0700)]
[PATCH] add function to set q->merge_bvec_fn

Add a function to set queue merge_bvec_fn to mimic the rest of the api,
and also add documentation for that and blk_queue_prep_rq().

22 years ago[PATCH] request_irq() use GFP_ATOMIC
Jens Axboe [Mon, 30 Sep 2002 05:33:22 +0000 (22:33 -0700)]
[PATCH] request_irq() use GFP_ATOMIC

The might_sleep() thing caught ide, which calls request_irq() with a
lock held. It can be argued that this is a bad thing, however I think it
can also validly be argued that requesting an irq should not be a
blocking operation. This might even remove some driver bugs where usage
count is not incremented during init...

It can also be argued, that the very first irq requests cannot be
blocking for io anyways, for good reason :-)

22 years ago[PATCH] fix endless loop walking the MADT
Björn A. Zeeb [Mon, 30 Sep 2002 05:02:20 +0000 (22:02 -0700)]
[PATCH] fix endless loop walking the MADT

Too trivial to see the first time when debugging on weekends ;-))

22 years agoMerge http://jdike.stearns.org:5000/highmem-2.5
Linus Torvalds [Mon, 30 Sep 2002 04:48:41 +0000 (21:48 -0700)]
Merge http://jdike.stearns.org:5000/highmem-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoMerge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
Jeff Dike [Mon, 30 Sep 2002 08:54:43 +0000 (04:54 -0400)]
Merge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
into uml.karaya.com:/home/jdike/linux/2.5/highmem-2.5

22 years agoMerge http://jdike.stearns.org:5000/updates-2.5
Linus Torvalds [Mon, 30 Sep 2002 03:55:14 +0000 (20:55 -0700)]
Merge http://jdike.stearns.org:5000/updates-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge master.kernel.org:/home/davem/BK/sparc-2.5
Linus Torvalds [Mon, 30 Sep 2002 03:28:53 +0000 (20:28 -0700)]
Merge master.kernel.org:/home/davem/BK/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge master.kernel.org:/home/davem/BK/net-2.5
Linus Torvalds [Mon, 30 Sep 2002 03:26:53 +0000 (20:26 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] sigfix-2.5.39-D0, BK-curr
Ingo Molnar [Mon, 30 Sep 2002 03:25:00 +0000 (20:25 -0700)]
[PATCH] sigfix-2.5.39-D0, BK-curr

This fixes a procfs crash noticed by Anton Blanchard.

The procfs code can have a reference even to an already exited task, so
it needs to follow special rules accessing p->sig.  The atomic-signals
patch made this bug happen at a much higher frequency, but procfs i
believe was buggy ever since, it potentially used the freed signal
structure - which just did not result in a crash like it does today.

The proper fix is to take the tasklist read-lock in
collect_sigign_sigcatch(), this excludes __exit_sighand() freeing the
signal structure prematurely.

22 years agoMerge http://linus.bkbits.net/linux-2.5
Russell King [Sun, 29 Sep 2002 23:21:45 +0000 (00:21 +0100)]
Merge http://linus.bkbits.net/linux-2.5
into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-rmk

22 years ago[ARM] Fix assabet backlight and power supply settings.
Russell King [Sun, 29 Sep 2002 22:45:42 +0000 (23:45 +0100)]
[ARM] Fix assabet backlight and power supply settings.

22 years ago[ARM] Fix clps711x and ftvpci LEDs initialisation.
Russell King [Sun, 29 Sep 2002 22:31:19 +0000 (23:31 +0100)]
[ARM] Fix clps711x and ftvpci LEDs initialisation.

22 years ago[ARM] Add kmap_types.h and percpu.h
Russell King [Sun, 29 Sep 2002 22:23:36 +0000 (23:23 +0100)]
[ARM] Add kmap_types.h and percpu.h

22 years ago[ARM] Cleanup Ceiva merge.
Russell King [Sun, 29 Sep 2002 22:12:12 +0000 (23:12 +0100)]
[ARM] Cleanup Ceiva merge.

22 years agoReplace local var in 8139cp net driver that was accidentally removed,
Jeff Garzik [Sun, 29 Sep 2002 22:09:09 +0000 (18:09 -0400)]
Replace local var in 8139cp net driver that was accidentally removed,
due to synchronize_irq() becoming a no-op when !CONFIG_SMP.

22 years ago[ARM PATCH] 1243/1: Add support for Ceiva Photoframe, part2: machine specifics (fixed)
Rob Scott [Sun, 29 Sep 2002 22:04:50 +0000 (23:04 +0100)]
[ARM PATCH] 1243/1: Add support for Ceiva Photoframe, part2: machine specifics (fixed)
Adds machine specific support for Ceiva Photoframe. Affects:
arch/arm/mach-clps711x/Makefile
arch/arm/mach-clps711x/ceiva.c (new)
include/asm-arm/arch-clps711x/hardware.h
include/asm-arm/arch-clps711x/memory.h

Differences from 1st patch:
Removed redundant static I/O mapping for flash from hardware.h
Reverted to original CONFIG_DISCONTIGMEM enabling in memory.h
Added PHYS_TO_NID definition, when DISCONTIG undefined in memory.h

22 years ago[ARM] Fix up export-objs for clps711x, integrator and sa1100
Russell King [Sun, 29 Sep 2002 21:41:42 +0000 (22:41 +0100)]
[ARM] Fix up export-objs for clps711x, integrator and sa1100
(From Thunder)

22 years ago[ARM PATCH] 1293/1: fix to the ARM optimized strchr()
Nicolas Pitre [Sun, 29 Sep 2002 21:21:59 +0000 (22:21 +0100)]
[ARM PATCH] 1293/1: fix to the ARM optimized strchr()
Two bugs here:

1) The return value of strchr("foo",0) should be the start address of
   "foo" + 3, not NULL.

2) Since the second argument for strchr() is defined as an int, some
   characters such as 'é' might validly end up to be the value -23 due to
   signedness issues.  Corectly handle those.

22 years ago[ARM] Don't return a value from ptrace_set_bpt()
Russell King [Sun, 29 Sep 2002 21:16:12 +0000 (22:16 +0100)]
[ARM] Don't return a value from ptrace_set_bpt()
The return value from ptrace_set_bit() is never used.  This cset
makes it a void function.

22 years ago[ARM] Update PCI host bridge drivers for GregKH PCI cleanups.
Russell King [Sun, 29 Sep 2002 21:06:15 +0000 (22:06 +0100)]
[ARM] Update PCI host bridge drivers for GregKH PCI cleanups.

22 years ago[ARM] Correct the usage of __FUNCTION__ to make gcc happy.
Russell King [Sun, 29 Sep 2002 20:21:43 +0000 (21:21 +0100)]
[ARM] Correct the usage of __FUNCTION__ to make gcc happy.

22 years ago[ARM] Bring asm/setup.h and asm/unistd.h into line with main ARM tree
Russell King [Sun, 29 Sep 2002 20:10:32 +0000 (21:10 +0100)]
[ARM] Bring asm/setup.h and asm/unistd.h into line with main ARM tree
This removes some minor differences between Linus' tree and the main
ARM tree; comment clarification and some weird formatting.

22 years agomain.o needed to be added to the vmlinux dependencies so it would build.
Jeff Dike [Sun, 29 Sep 2002 20:02:33 +0000 (16:02 -0400)]
main.o needed to be added to the vmlinux dependencies so it would build.

22 years agoMoved the linker script from vmlinux.lds.S, which will be empty, to
Jeff Dike [Sun, 29 Sep 2002 18:43:05 +0000 (14:43 -0400)]
Moved the linker script from vmlinux.lds.S, which will be empty, to
uml.ld.S.

22 years ago[ARM] Remove keyboard.h includes and some generic ARM keyboard bits.
Russell King [Sun, 29 Sep 2002 18:42:34 +0000 (19:42 +0100)]
[ARM] Remove keyboard.h includes and some generic ARM keyboard bits.
This keeps ARM in line with the continued transition to the input
layer.

22 years ago[ARM] NWFPE updates for new entry conditions.
Russell King [Sun, 29 Sep 2002 18:34:05 +0000 (19:34 +0100)]
[ARM] NWFPE updates for new entry conditions.

22 years agosound/pci/cs46xx/dsp_spos.c: Include linux/vmalloc.h
David S. Miller [Sun, 29 Sep 2002 18:29:41 +0000 (11:29 -0700)]
sound/pci/cs46xx/dsp_spos.c: Include linux/vmalloc.h

22 years ago[ARM PATCH] 1260/1: Fix comment in nwfpe
Dr. David Alan Gilbert [Sun, 29 Sep 2002 18:22:33 +0000 (19:22 +0100)]
[ARM PATCH] 1260/1: Fix comment in nwfpe
Hi,
  I believe the comment in the nwfpe fpopcodes is slightly wrong -
although a 2nd pair of eyes on this would be a good idea.

22 years ago[ARM PATCH] 1257/1: Helpful comment in stat.h
Dr. David Alan Gilbert [Sun, 29 Sep 2002 18:20:50 +0000 (19:20 +0100)]
[ARM PATCH] 1257/1: Helpful comment in stat.h
Hi,
  For reasons of great complexity I found out the hard way that the
kernel must (and does) zero the pad sections in the stat structures.
Here is a comment that states this for the next person who needs to
know.

22 years agoAdded CONFIG_HIGHMEM to defconfig.
Jeff Dike [Sun, 29 Sep 2002 18:18:25 +0000 (14:18 -0400)]
Added CONFIG_HIGHMEM to defconfig.

22 years ago[ARM] Unify integer register usage passed into FP module.
Russell King [Sun, 29 Sep 2002 18:16:01 +0000 (19:16 +0100)]
[ARM] Unify integer register usage passed into FP module.
This allows the FP module to perform some extra optimisations.

22 years agosound/sparc/cs4231.c: Include sound/pcm_params.h
David S. Miller [Sun, 29 Sep 2002 18:13:24 +0000 (11:13 -0700)]
sound/sparc/cs4231.c: Include sound/pcm_params.h

22 years ago[ARM] 2.5.34 update
Russell King [Sun, 29 Sep 2002 18:12:05 +0000 (19:12 +0100)]
[ARM] 2.5.34 update
Update for changes in mainline 2.5.3[01234].

22 years agodrivers/net/ethertap.c: Use C99 initializers.
David S. Miller [Sun, 29 Sep 2002 18:09:05 +0000 (11:09 -0700)]
drivers/net/ethertap.c: Use C99 initializers.

22 years agoOne last fix to make the non-highmem build work.
Jeff Dike [Sun, 29 Sep 2002 18:02:45 +0000 (14:02 -0400)]
One last fix to make the non-highmem build work.

22 years agodrivers/input/keyboard/sunkbd.c: queue_task --> schedule_task
David S. Miller [Sun, 29 Sep 2002 16:57:49 +0000 (09:57 -0700)]
drivers/input/keyboard/sunkbd.c: queue_task --> schedule_task

22 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Sun, 29 Sep 2002 16:46:59 +0000 (09:46 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

22 years agoMerge master.kernel.org:/home/acme/BK/llc-2.5
David S. Miller [Sun, 29 Sep 2002 16:44:37 +0000 (09:44 -0700)]
Merge master.kernel.org:/home/acme/BK/llc-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

22 years ago. LLC: kill mac_send_pdu, use plain dev_queue_xmit
Arnaldo Carvalho de Melo [Mon, 30 Sep 2002 00:18:40 +0000 (21:18 -0300)]
. LLC: kill mac_send_pdu, use plain dev_queue_xmit

With this we avoid doing skb_clone on skbs that will not be kept on
unacked lists.

22 years agoo LLC: make sure llc.o is linked before the datalink protos when !module
Arnaldo Carvalho de Melo [Sun, 29 Sep 2002 21:11:19 +0000 (18:11 -0300)]
o LLC: make sure llc.o is linked before the datalink protos when !module

Thanks do Andries Brouwer for reporting the problem and suggesting a
way to fix it.

22 years agoo LLC: make it clear that Appletalk and IPX needs LLC
Arnaldo Carvalho de Melo [Sun, 29 Sep 2002 17:05:05 +0000 (14:05 -0300)]
o LLC: make it clear that Appletalk and IPX needs LLC

Thanks to Andries Brouwer for providing a patch.

22 years agoo LLC: CONFIG_LLC_UI is really a bool, not a tristate
Arnaldo Carvalho de Melo [Sun, 29 Sep 2002 16:49:15 +0000 (13:49 -0300)]
o LLC: CONFIG_LLC_UI is really a bool, not a tristate

22 years ago[SPARC]: Rename private init_timers to sparc{,64}_init_timers.
David S. Miller [Sun, 29 Sep 2002 16:24:24 +0000 (09:24 -0700)]
[SPARC]: Rename private init_timers to sparc{,64}_init_timers.

22 years ago[SPARC]: sigmask_lock --> sig->siglock
David S. Miller [Sun, 29 Sep 2002 16:14:16 +0000 (09:14 -0700)]
[SPARC]: sigmask_lock --> sig->siglock

22 years agoResolve conflicts with recent ALSA merge.
David S. Miller [Sun, 29 Sep 2002 16:10:41 +0000 (09:10 -0700)]
Resolve conflicts with recent ALSA merge.

22 years agoarch/sparc64/kernel/pci_schizo.c: Enable error interrupts in correct PBM.
David S. Miller [Sun, 29 Sep 2002 16:05:28 +0000 (09:05 -0700)]
arch/sparc64/kernel/pci_schizo.c: Enable error interrupts in correct PBM.

22 years ago[PATCH] Fix: Orinoco driver update
David Gibson [Sun, 29 Sep 2002 15:13:32 +0000 (08:13 -0700)]
[PATCH] Fix: Orinoco driver update

Crud.  Looks like my patch making script was borken, so orinoco_pci.c
wasn't updated properly.  The patch below should fix that, and adds
some other minor updates (driver version 0.13a) as well.

22 years ago[PATCH] Sleeping function called from illegal context...
David Brownell [Sun, 29 Sep 2002 15:08:07 +0000 (08:08 -0700)]
[PATCH] Sleeping function called from illegal context...

Fix pci_pool_create() from calling device_create_file() under
pools_lock.

Found by the new "may_sleep" infrastructure.

22 years agoAll .tmp* files are auto-generated
Linus Torvalds [Sun, 29 Sep 2002 15:07:56 +0000 (08:07 -0700)]
All .tmp* files are auto-generated

22 years agoMerge master.kernel.org:/home/acme/BK/llc-2.5
David S. Miller [Sun, 29 Sep 2002 14:28:40 +0000 (07:28 -0700)]
Merge master.kernel.org:/home/acme/BK/llc-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5