Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 6, 2005
  1. Linux 2.6.12-rc6

    Linus Torvalds authored
    Getting ready for the real release..
Commits on Jun 5, 2005
  1. [PATCH] serial: update NEC VR4100 series serial support

    Yoichi Yuasa authored Linus Torvalds committed
    - Changed the return value of unknown type to NULL.
    
    - Deleted the NULL check of dev_id in siu_interrupt().
    
    - Deleted the NULL check of port->membase in siu_shutdown().
    
    - Added the NULL check of port->membase to siu_startup().
    
    - Removed early_uart_ops. Now using vr41xx_siu standerd one.
    
    - Changed KSEG1ADDR() in siu_console_setup() to ioremap().
    
    - When uart_add_one_port() failed, changed to set NULL to port->dev.
    
    Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
    Cc: Russell King <rmk@arm.linux.org.uk>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  2. [PATCH] s390: deadlock in appldata

    Gerald Schaefer authored Linus Torvalds committed
    The system might hang when using appldata_mem with high I/O traffic and a
    large number of devices.  The spinlocks bdev_lock and swaplock are acquired
    via calls to si_meminfo() and si_swapinfo() from a tasklet, i.e.  interrupt
    context, which can lead to a deadlock.  Replace tasklet with work queue.
    
    Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  3. [PATCH] s390: in_interrupt vs. in_atomic

    Martin Schwidefsky authored Linus Torvalds committed
    The condition for no context in do_exception checks for hard and soft
    interrupts by using in_interrupt() but not for preemption.  This is bad for
    the users of __copy_from/to_user_inatomic because the fault handler might call
    schedule although the preemption count is != 0.  Use in_atomic() instead
    in_interrupt().
    
    Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  4. [PATCH] s390: uml ptrace fixes

    Bodo Stroesser authored Linus Torvalds committed
    To make UML build and run on s390, I needed to do these two little
    changes:
    
    1) UML includes some of the subarch's (s390) headers. I had to
       change one of them with the following one-liner, to make this
       compile. AFAICS, this change doesn't break compilation of s390
       itself.
    
    2) UML needs to intercept syscalls via ptrace to invalidate the syscall,
       read syscall's parameters and write the result with the result of
       UML's syscall processing. Also, UML needs to make sure, that the host
       does no syscall restart processing. On i386 for example, this can be
       done by writing -1 to orig_eax on the 2nd syscall interception
       (orig_eax is the syscall number, which after the interception is used
       as a "interrupt was a syscall" flag only.
       Unfortunately, s390 holds syscall number and syscall result in gpr2 and
       its "interrupt was a syscall" flag (trap) is unreachable via ptrace.
       So I changed the host to set trap to -1, if the syscall number is changed
       to an invalid value on the first syscall interception.
    
    Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  5. [PATCH] s390: ptrace peek and poke

    Martin Schwidefsky authored Linus Torvalds committed
    The special cases of peek and poke on acrs[15] and the fpc register are not
    handled correctly.  A poke on acrs[15] will clobber the 4 bytes after the
    access registers in the thread_info structure.  That happens to be the kernel
    stack pointer.  A poke on the fpc with an invalid value is not caught by the
    validity check.  On the next context switch the broken fpc value will cause a
    program check in the kernel.  Improving the checks in peek and poke fixes
    this.
    
    Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  6. [PATCH] mpage_end_io_write() I/O error handling fix

    Qu Fuping authored Linus Torvalds committed
    When fsync() runs wait_on_page_writeback_range() it only inspects pages which
    are actually under I/O (PAGECACHE_TAG_WRITEBACK).  If a page completed I/O
    prior to wait_on_page_writeback_range() looking at it, it is supposed to have
    recorded its I/O error state in the address_space.
    
    But mpage_mpage_end_io_write() forgot to set the address_space error flag in
    this case.
    
    Signed-off-by: Qu Fuping <fs@ercist.iscas.ac.cn>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Commits on Jun 4, 2005
  1. Automatic merge of 'misc-fixes' branch from

    Linus Torvalds authored
    	rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
  2. Automatic merge of /spare/repo/netdev-2.6 branch r8169-fix

    Unknown authored Jeff Garzik committed
Commits on Jun 3, 2005
  1. @nathanlynch

    [PATCH] prom_find_machine_type typo breaks pSeries lpar boot

    nathanlynch authored Linus Torvalds committed
    A typo in prom_find_machine_type from Ben's recent patch "ppc64: Fix
    result code handling in prom_init" prevents pSeries LPAR systems from
    booting.
    
    Tested on a pSeries 570 and OpenPower 720 (both Power5 LPAR).
    
    Signed-off-by: Nathan Lynch <ntl@pobox.com>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  2. [PATCH] m68knommu: fix scheduling and race problems in idle loop

    Greg Ungerer authored Linus Torvalds committed
    Re-work the m68knommu specific idle code according to suggestions
    from Nick Piggin <nickpiggin@yahoo.com.au>.
    
    A couple of rules that we need to follow:
    
    1. Preempt should now disabled over idle routines. Should only be enabled
    to call schedule() then disabled again.
    
    3. When cpu_idle finds (need_resched() == 'true'), it should call schedule().
    It should not call schedule() otherwise.
    
    Also fix interrupt locking around the need_resched() and cpu stop state
    so that there is no race condition.
    
    Signed-off-by: Greg Ungerer <gerg@snapgear.com>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  3. [PATCH] USB: resolve Zaurus problem

    David Brownell authored Linus Torvalds committed
    This "obvious" one-liner is needed to recognize Zaurus SL 6000;
    it just checks two GUIDs not just one.
    
    OSDL bugids #4512 and #4545 seem to be duplicates of this report.
    
    From: Gerald Skerbitz <gsker@tcfreenet.org>
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  4. @nathanlynch

    [SCSI] fix slab corruption during ipr probe

    nathanlynch authored James Bottomley committed
    With CONFIG_DEBUG_SLAB=y I see slab corruption messages during boot on
    pSeries machines with IPR adapters with any 2.6.12-rc kernel.
    
    The change which seems to have introduced the problem is "SCSI: revamp
    target scanning routines" and may be found at:
    http://marc.theaimsgroup.com/?l=bk-commits-head&m=111093946426333&w=2
    
    In order to revert that in a 2.6.12-rc1 tree, I had to revert "target
    code updates to support scanned targets" first:
    http://marc.theaimsgroup.com/?l=bk-commits-head&m=111094132524649&w=2
    
    With both patches reverted, the corruption messages go away.
    
    ipr: IBM Power RAID SCSI Device Driver version: 2.0.13 (February 21,
    2005)
    ipr 0001:d0:01.0: Found IOA with IRQ: 167
    ipr 0001:d0:01.0: Starting IOA initialization sequence.
    ipr 0001:d0:01.0: Adapter firmware version: 020A005C
    ipr 0001:d0:01.0: IOA initialized.
    scsi0 : IBM 570B Storage Adapter
      Vendor: IBM       Model: VSBPD4E1  U4SCSI  Rev: 4770
      Type:   Enclosure                          ANSI SCSI revision: 02
      Vendor: IBM   H0  Model: HUS103036FL3800   Rev: RPQF
      Type:   Direct-Access                      ANSI SCSI revision: 04
      Vendor: IBM   H0  Model: HUS103036FL3800   Rev: RPQF
      Type:   Direct-Access                      ANSI SCSI revision: 04
      Vendor: IBM   H0  Model: HUS103036FL3800   Rev: RPQF
      Type:   Direct-Access                      ANSI SCSI revision: 04
      Vendor: IBM   H0  Model: HUS103036FL3800   Rev: RPQF
      Type:   Direct-Access                      ANSI SCSI revision: 04
      Vendor: IBM       Model: VSBPD4E1  U4SCSI  Rev: 4770
      Type:   Enclosure                          ANSI SCSI revision: 02
    Slab corruption: start=c0000001e8de5268, len=512
    Redzone: 0x5a2cf071/0x5a2cf071.
    Last user: [<c00000000029c3a0>](.scsi_target_dev_release+0x28/0x50)
    080: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6a
    Prev obj: start=c0000001e8de5050, len=512
    Redzone: 0x5a2cf071/0x5a2cf071.
    Last user: [<0000000000000000>](0x0)
    000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
    010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
    Next obj: start=c0000001e8de5480, len=512
    Redzone: 0x170fc2a5/0x170fc2a5.
    Last user: [<c000000000228d7c>](.as_init_queue+0x5c/0x228)
    000: c0 00 00 01 e8 83 26 08 00 00 00 00 00 00 00 00
    010: 00 00 00 00 00 00 00 00 c0 00 00 01 e8 de 54 98
    Slab corruption: start=c0000001e8de5268, len=512
    Redzone: 0x5a2cf071/0x5a2cf071.
    Last user: [<c00000000029c3a0>](.scsi_target_dev_release+0x28/0x50)
    080: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6a
    Prev obj: start=c0000001e8de5050, len=512
    Redzone: 0x5a2cf071/0x5a2cf071.
    Last user: [<0000000000000000>](0x0)
    000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
    010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
    Next obj: start=c0000001e8de5480, len=512
    Redzone: 0x170fc2a5/0x170fc2a5.
    Last user: [<c000000000228d7c>](.as_init_queue+0x5c/0x228)
    000: c0 00 00 01 e8 83 26 08 00 00 00 00 00 00 00 00
    010: 00 00 00 00 00 00 00 00 c0 00 00 01 e8 de 54 98
    ...
    
    I did some digging and the problem seems to be a refcounting issue in
    __scsi_add_device.  The target gets freed in scsi_target_reap, and
    then __scsi_add_device tries to do another device_put on it.
    
    Signed-off-by: Nathan Lynch <ntl@pobox.com>
    Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  5. [SCSI] qla2xxx: fix bad locking during eh_abort

    Andrew Vasquez authored James Bottomley committed
    Correct incorrect locking order in qla2xxx_eh_abort() handler which
    would case a hang during certain code-paths.
    
    With extra pieces to fix the irq state in the locks.
    
    Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
    Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  6. @gregkh

    [PATCH] USB: CP2101 Add support for flow control

    Craig Shelley authored gregkh committed
    Added support to get/set flow control line levels using TIOCMGET and
    TIOCMSET.
    Added support for RTSCTS hardware flow control.
    cp2101_get_config and cp2101_set_config modified to support long request
    strings, required for configuring flow control.
    
    Signed-off-by: Craig Shelley craig@microtron.org.uk
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  7. @gregkh

    [PATCH] USB: update urb documentation

    Roman Kagan authored gregkh committed
    On Wed, May 04, 2005 at 01:37:30PM -0700, David Brownell wrote:
    > On Wednesday 04 May 2005 12:19 pm, Roman Kagan wrote:
    > > struct urb {
    > > 	/* private, usb core and host controller only fields in the urb */
    > > 	...
    > > 	struct list_head urb_list;	/* list pointer to all active urbs */
    > > 	...
    > > };
    > >
    > > Is it safe to use it for driver's purposes when the driver owns the urb,
    > > that is, starting from the completion routine until the urb is submitted
    > > with usb_submit_urb()?
    >
    > Right now, it should be.
    
    Great!  FWIW I've briefly tested a modified version of usbatm using
    the list head in struct urb instead of creating a wrapper struct, and I
    haven't seen any failures yet.  So I tend to believe that your "should
    be" actually means "is" :)
    
    > > If it is, can it be guaranteed in future, e.g.
    > > by moving the list head into the public section of struct urb?
    >
    > In fact I'm not sure why it ever got called "private" to usbcore/hcds.
    > I thought the idea was that it should be like urb->status, reserved for
    > whoever controls the URB.
    
    OK then how about the following (essentially documentation) patch?
    
    Signed-off-by: Roman Kagan <rkagan@mail.ru>
    Acked-by: David Brownell <david-b@pacbell.net>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  8. @jaymzh @gregkh

    [PATCH] USB Storage: Add unusual_devs for Trumpion Voice Recorder

    jaymzh authored gregkh committed
    The original entry of this patch was submitted by Filippo Bardelli
    <filibard@libero.it>, with cleanups and patch-ification by me.
    
    This corrects the subclass that the device reports.
    
    Signed-off-by: Phil Dibowitz <phil@ipom.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  9. @gregkh

    [PATCH] USB: make MODALIAS code a bit smaller devices

    Paulo Marques authored gregkh committed
    This patch makes the code to provide modalias in sysfs for usb devices
    56 bytes smaller in i386, while making it clear that the first part of
    the modalias string is the same no matter what the device class is.
    
    Signed-Off-By: Paulo Marques <pmarques@grupopie.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  10. @gregkh

    [PATCH] USB: add Option Card driver

    Matthias Urlichs authored gregkh committed
    This patch adds a new driver for "Option" cards.  This is a GSM data card,
    controlled by three "serial ports" which are connected via an OHCI adapter,
    all located on an oversized PC-Card.  It's sold by several GSM service
    providers.
    
    Traditionally, this card has been accessed via the standard serial driver
    and appropriate vendor= and product= options.  However, testing has
    revealed several problems with this approach, including hung data transfers
    and lost data blocks when receiving.
    
    Therefore, I've written a separate driver.
    
    Signed-off-by: Matthias Urlichs <smurf@smurf.noris.de>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  11. @gregkh

    [PATCH] USB: add Vernier devices to HID blacklist

    gregkh authored
    They aren't really HID devices.
    
    Damm microsoft HID driver, that thing has caused more companies to have
    to do this kind of hack...
    
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  12. @gregkh

    [PATCH] USB: hid-core: add Earthmate lt-20 productid to blacklist table

    Lonnie Mendez authored gregkh committed
    This patch adds the DeLorme Earthmate lt-20 productid to the hid
    blacklist table.  This patch ensures the lt-20 can be claimed by the
    appropriate driver (cypress_m8).
    
    Adds the product id 0x200, of the DeLorme Earthmate lt-20, to the hid
    blacklist table.
    
    Signed-off-by: Lonnie Mendez <lmendez19@austin.rr.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  13. @gregkh

    [PATCH] USB: add new wacom device to usb hid-core list

    Ping Cheng authored gregkh committed
    - add Intuos3 and Cintiq 21UX
    
    Signed-off-by: Ping Cheng <pingc@wacom.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  14. @AdrianBunk @gregkh

    [PATCH] USB: remove drivers/usb/media/pwc/ChangeLog

    AdrianBunk authored gregkh committed
    This patch removes the outdated ChangeLog file for this driver.
    
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  15. @gregkh

    [PATCH] USB: Support multiply-LUN devices in ub

    Pete Zaitcev authored gregkh committed
    Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    
    diff -urp -X dontdiff linux-2.6.12-rc3/drivers/block/ub.c linux-2.6.12-rc3-lem/drivers/block/ub.c
  16. Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/…

    Linus Torvalds authored
    …davem/net-2.6
Commits on Jun 2, 2005
  1. @davem330

    [NET]: Fix HH_DATA_OFF.

    Jiri Benc authored davem330 committed
    When the hardware header size is a multiple of HH_DATA_MOD, HH_DATA_OFF()
    incorrectly returns HH_DATA_MOD (instead of 0). This affects ieee80211 layer
    as 802.11 header is 32 bytes long.
    
    Signed-off-by: Jiri Benc <jbenc@suse.cz>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  2. @davem330

    [NET]: Fix locking in shaper driver.

    Christoph Hellwig authored davem330 committed
     o use a semaphore instead of an opencoded and racy lock
     o move locking out of shaper_kick and into the callers - most just
       released the lock before calling shaper_kick
     o remove in_interrupt() tests.  from ->close we can always block, from
       ->hard_start_xmit and timer context never
    
    Signed-off-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  3. Merge of 'docs' branch from

    Linus Torvalds authored
    	rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev
  4. Automatic merge of /spare/repo/linux-2.6/.git branch HEAD

    Unknown authored Jeff Garzik committed
  5. libata: kernel-doc warning fixes

    Jeff Garzik authored
  6. libata: update inline source docs

    Edward Falk authored Jeff Garzik committed
  7. @AdrianBunk

    [PATCH] drivers/net/hamradio/baycom_epp.c: cleanups

    AdrianBunk authored Linus Torvalds committed
    The times when tricky goto's produced better codes are long gone.
    
    This patch should express the same in a better way.
    
    (Also fixes the final gcc-4.0 x86 compile error)
    
    Signed-off-by: Adrian Bunk <bunk@stusta.de>
    Cc: Jeff Garzik <jgarzik@pobox.com>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  8. @antonblanchard

    [PATCH] ppc64: remove decr_overclock

    antonblanchard authored Linus Torvalds committed
    Now that we have HZ=1000 there is much less of a need for decr_overclock.
    Remove it.
    
    Leave spread_lpevents but move it into iSeries_setup.c.  We should look at
    making event spreading the default some day.
    
    Signed-off-by: Anton Blanchard <anton@samba.org>
    Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  9. @antonblanchard

    [PATCH] ppc64: cleanup iseries runlight support

    antonblanchard authored Linus Torvalds committed
    The iseries has a bar graph on the front panel that shows how busy it is.
    The operating system sets and clears a bit in the CTRL register to control
    it.
    
    Instead of going to the complexity of using a thread info bit, just set and
    clear it in the idle loop.
    
    Also create two helper functions, ppc64_runlatch_on and ppc64_runlatch_off.
    
    Finally don't use the short form of the SPR defines.
    
    Signed-off-by: Anton Blanchard <anton@samba.org>
    Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Something went wrong with that request. Please try again.