1. 13 7月, 2006 5 次提交
    • H
      [PATCH] Driver core: kernel-doc in drivers/base/core.c corrections · 42734daf
      Henrik Kretzschmar 提交于
      Corrects the kerneldocs for device_create() and device_destroy()
      with an eye on coding style, grammar and readability.
      Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      42734daf
    • R
      [PATCH] Driver core: fix driver-core kernel-doc · 7d12e9de
      Randy Dunlap 提交于
      Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'class'
      Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'devt'
      Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:626): No description found for parameter 'devt'
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7d12e9de
    • A
      [PATCH] ide: fix Jmicron support · 15e0c694
      Alan Cox 提交于
      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: NAlan Cox <alan@redhat.com>
      Acked-by: NJeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      15e0c694
    • I
      [PATCH] lockdep: HPET/RTC fix · 0f749646
      Ingo Molnar 提交于
      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: NIngo 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: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      0f749646
    • E
      [PATCH] msi: Only keep one msi_desc in each slab entry. · ec572e3f
      Eric W. Biederman 提交于
      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: NEric W. Biederman <ebiederm@xmission.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ec572e3f
  2. 12 7月, 2006 5 次提交
    • L
      Add PIIX4 APCI quirk for the 440MX chipset too · c6764664
      Linus Torvalds 提交于
      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: NAlessio Sangalli <alesan@manoweb.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c6764664
    • H
      d2c993d8
    • C
      [S390] path grouping and path verifications fixes. · 7e560814
      Cornelia Huck 提交于
      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: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      7e560814
    • H
      [S390] xpram module parameter parsing. · 5c898ba9
      Heiko Carstens 提交于
      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: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      5c898ba9
    • C
      [S390] subchannel register/unregister mutex. · 6ab4879a
      Cornelia Huck 提交于
      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: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      6ab4879a
  3. 11 7月, 2006 30 次提交