Skip to content
Snippets Groups Projects
  1. Jul 12, 2006
    • Thomas Andrews's avatar
      [PATCH] scx200_acb: Fix the state machine · fd627a01
      Thomas Andrews authored
      
      Fix the scx200_acb state machine:
      
      * Nack was sent one byte too late on reads >= 2 bytes.
      * Stop bit was set one byte too late on reads.
      
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      fd627a01
    • Peter Milne's avatar
      [PATCH] i2c-iop3xx: Avoid addressing self · 39288e1a
      Peter Milne authored
      
      Avoid addressing self when sending a slave address. Follows instruction
      in Intel 80331/80321 manuals.
      Ignoring this worked previously on 80321, but causes a hang on i2cdetect
      on 80331.
      
      Signed-off-by: default avatarPeter Milne <peter.milne@d-tacq.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      39288e1a
    • Mark M. Hoffman's avatar
      [PATCH] i2c: Fix 'ignore' module parameter handling in i2c-core · 2369df93
      Mark M. Hoffman authored
      
      This patch fixes a bug in the handling of 'ignore' module parameters of I2C
      client drivers.
      
      Signed-off-by: default avatarMark M. Hoffman <mhoffman@lightlink.com>
      Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      2369df93
    • Alan Cox's avatar
      [PATCH] ide: fix Jmicron support · 15e0c694
      Alan Cox authored
      
      Prior to 2.6.18rc1 you could install with devices on a JMicron chipset
      using the "all-generic-ide" option. As of this kernel the AHCI driver
      grabs the controller and rams it into AHCI mode losing the PATA ports
      and making CD drives and the like vanish. The all-generic-ide option
      fails because the AHCI driver grabbed the PCI device and reconfigured
      it.
      
      To fix this three things are needed.
      
      #1 We must put the chip into dual function mode
      #2 The AHCI driver must grab only function 0 (already in your rc1 tree)
      #3 Something must grab the PATA ports
      
      The attached patch is the minimal risk edition of this. It puts the chip
      into dual function mode so that AHCI will grab the SATA ports without
      losing the PATA ports. To keep the risk as low as possible the third
      patch adds the PCI identifiers for the PATA port and the FN check to the
      ide-generic driver. There is a more featured jmicron driver on its way
      but that adds risk and the ide-generic support is sufficient to install
      and run a system.
      
      The actual chip setup done by the quirk is the precise setup recommended
      by the vendor.
      
      (The JMB368 appears only in the ide-generic entry as it has no AHCI so
      does not need the quirk)
      
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Acked-by: default avatarJeff Garzik <jgarzik@pobox.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      15e0c694
    • Ingo Molnar's avatar
      [PATCH] lockdep: HPET/RTC fix · 0f749646
      Ingo Molnar authored
      
      Joseph Fannin reported that hpet_rtc_interrupt() enables hardirqs
      in irq context:
      
      [   25.628000]  [<c014af4e>] trace_hardirqs_on+0xce/0x200
      [   25.628000]  [<c036cf21>] _spin_unlock_irq+0x31/0x70
      [   25.628000]  [<c0296584>] rtc_get_rtc_time+0x44/0x1a0
      [   25.628000]  [<c01198bb>] hpet_rtc_interrupt+0x21b/0x280
      [   25.628000]  [<c0161141>] handle_IRQ_event+0x31/0x70
      [   25.628000]  [<c0162d37>] handle_edge_irq+0xe7/0x210
      [   25.628000]  [<c0106192>] do_IRQ+0x92/0x120
      [   25.628000]  [<c0104121>] common_interrupt+0x25/0x2c
      
      the call of rtc_get_rtc_time() is highly suspect. At a minimum we
      need the patch below to save/restore hardirq state.
      
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      Cc: Joseph Fannin <jfannin@gmail.com>
      Cc: John Stultz <johnstul@us.ibm.com>
      Cc: Arjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      0f749646
    • Eric W. Biederman's avatar
      [PATCH] msi: Only keep one msi_desc in each slab entry. · ec572e3f
      Eric W. Biederman authored
      
      It looks like someone confused kmem_cache_create with a different allocator
      and was attempting to give it knowledge of how many cache entries there
      were.
      
      With the unfortunate result that each slab entry was big enough to hold
      every irq.
      
      Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      ec572e3f
    • Linus Torvalds's avatar
      Add PIIX4 APCI quirk for the 440MX chipset too · c6764664
      Linus Torvalds authored
      
      This is confirmed to fix a hang due to PCI resource conflicts with
      setting up the Cardbus bridge on old laptops with the 440MX chipsets.
      Original report by Alessio Sangalli, lspci debugging help by Pekka
      Enberg, and trial patch suggested by Daniel Ritz:
      
        "From the docs available i would _guess_ this thing is really similar
         to the 82443BX/82371AB combination.  at least the SMBus base address
         register is hidden at the very same place (32bit at 0x90 in function
         3 of the "south" brigde)"
      
      The dang thing is largely undocumented, but the patch was corroborated
      by Asit Mallick:
      
        "I am trying to find the register information. 440MX is an integration of
         440BX north-bridge without AGP and PIIX4E (82371EB).  PIIX4 quirk
         should cover the ACPI and SMBus related I/O registers."
      
      and verified to fix the problem by Alessio.
      
      Cc: Daniel Ritz <daniel.ritz-ml@swissonline.ch>
      Cc: Asit Mallick <asit.k.mallick@intel.com>
      Cc: Pekka Enberg <penberg@cs.helsinki.fi>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Dmitry Torokhov <dtor_core@ameritech.net>
      Tested-by: default avatarAlessio Sangalli <alesan@manoweb.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      c6764664
    • Heiko Carstens's avatar
      d2c993d8
    • Cornelia Huck's avatar
      [S390] path grouping and path verifications fixes. · 7e560814
      Cornelia Huck authored
      
      1. Multipath devices for which SetPGID is not supported are not handled well.
         Use NOP ccws for path verification (sans path grouping) when SetPGID is not
         supported.
      2. Check for PGIDs already set with SensePGID on _all_ paths (not just the
         first one) and try to find a common one. Moan if no common PGID can be
         found (and use NOP verification). If no PGIDs have been set, use the css
         global PGID (as before). (Rationale: SetPGID will get a command reject if
         the PGID it tries to set does not match the already set PGID.)
      3. Immediately before reboot, issue RESET CHANNEL PATH (rcp) on all chpids. This
         will remove the old PGIDs. rcp will generate solicited CRWs which can be
         savely ignored by the machine check handler (all other actions create
         unsolicited CRWs).
      
      Signed-off-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      7e560814
    • Heiko Carstens's avatar
      [S390] xpram module parameter parsing. · 5c898ba9
      Heiko Carstens authored
      
      The module parameters for xpram are not or in a wrong way parsed.
      The xpram module uses the module_param_array directive with an int
      parameter which causes the kernel to automatically parse the passed
      numbers. This will cause errors if arguments are omitted or cause
      wrong results if arguments have size qualifiers.
      Use module_param_array with charp and parse the arguments later.
      
      Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      5c898ba9
    • Cornelia Huck's avatar
      [S390] subchannel register/unregister mutex. · 6ab4879a
      Cornelia Huck authored
      
      Add a reg_mutex to prevent unregistering a subchannel before it has been
      registered. Since 2.6.17, we've seen oopses in kslowcrw when a device is
      found to be not operational during sense id when doing initial device
      recognition; it is not clear yet why that particular problem was not (yet)
      observed with earlier kernels...
      
      Signed-off-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
      6ab4879a
  2. Jul 10, 2006
Loading