1. 08 4月, 2009 10 次提交
    • G
      ide: falconide/q40ide - Use __ide_mm_{in,out}sw() for data · d1881207
      Geert Uytterhoeven 提交于
      Both of commits f94116ae ("ide: cleanup
      <asm-m68k/ide.h>") and 15a453a9 ("ide: include
      <asm/ide.h> only when needed") break falconide:
      
      | Uniform Multi-Platform E-IDE driver
      | ide: Falcon IDE controller
      | Probing IDE interface ide0...
      | hda: Sarge m68k, ATA DISK drive
      | ide0 at 0xfff00000 on irq 15 (serialized)
      | ide-gd driver 1.18
      | hda: max request size: 128KiB
      | hda: 2118816 sectors (1084 MB) w/256KiB Cache, CHS=2102/16/63
      |  hda:<4>hda: lost interrupt
      
      This happens because falconide relies on {in,out}sw() being redefined in
      <asm/ide.h>, as included by <linux/ide.h>, which is no longer the case.
      Use __ide_mm_{in,out}sw() from <asm/ide.h> instead, just like
      ide_{in,out}put_data() do.
      
      The same problem seems to exist in q40ide.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      d1881207
    • G
      ide: Fix host drivers that need IRQF_SHARED · aa07573b
      Geert Uytterhoeven 提交于
      commit 255115fb ("ide: allow host drivers to
      specify IRQ flags") added irq_flags fields to struct ide_port_info and struct
      ide_host.  Drivers can now set ide_port_info.irq_flags = IRQF_SHARED, while
      init_irq() passes ide_host.irq_flags to request_irq().
      
      Unfortunately ide_host.irq_flags is never set, causing (on ARAnyM):
      
      | Uniform Multi-Platform E-IDE driver
      | ide: Falcon IDE controller
      | Probing IDE interface ide0...
      | hda: Sarge m68k, ATA DISK drive
      | init_irq: sa = 0
      | ide0: disabled, unable to get IRQ 15
      | ide0: failed to initialize IDE interface
      | ide0: disabling port
      
      Solve this by copying ide_port_info.irq_flags to ide_host.irq_flags in
      ide_host_alloc().
      
      This bug probably affects the following IDE host drivers:
        - buddha
        - delkin_cb
        - falconide
        - gayle
        - ide-cs
        - macide
        - q40ide
        - scc_pata
        - sgiioc4
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      aa07573b
    • L
      Linux 2.6.30-rc1 · 577c9c45
      Linus Torvalds 提交于
      577c9c45
    • L
      Merge branch 'core/softlockup' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip · 1551260d
      Linus Torvalds 提交于
      * 'core/softlockup' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        softlockup: make DETECT_HUNG_TASK default depend on DETECT_SOFTLOCKUP
        softlockup: move 'one' to the softlockup section in sysctl.c
        softlockup: ensure the task has been switched out once
        softlockup: remove timestamp checking from hung_task
        softlockup: convert read_lock in hung_task to rcu_read_lock
        softlockup: check all tasks in hung_task
        softlockup: remove unused definition for spawn_softlockup_task
        softlockup: fix potential race in hung_task when resetting timeout
        softlockup: fix to allow compiling with !DETECT_HUNG_TASK
        softlockup: decouple hung tasks check from softlockup detection
      1551260d
    • L
      Merge branch 'tracing-fixes-for-linus' of... · c93f216b
      Linus Torvalds 提交于
      Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
      
      * 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        branch tracer, intel-iommu: fix build with CONFIG_BRANCH_TRACER=y
        branch tracer: Fix for enabling branch profiling makes sparse unusable
        ftrace: Correct a text align for event format output
        Update /debug/tracing/README
        tracing/ftrace: alloc the started cpumask for the trace file
        tracing, x86: remove duplicated #include
        ftrace: Add check of sched_stopped for probe_sched_wakeup
        function-graph: add proper initialization for init task
        tracing/ftrace: fix missing include string.h
        tracing: fix incorrect return type of ns2usecs()
        tracing: remove CALLER_ADDR2 from wakeup tracer
        blktrace: fix pdu_len when tracing packet command requests
        blktrace: small cleanup in blk_msg_write()
        blktrace: NUL-terminate user space messages
        tracing: move scripts/trace/power.pl to scripts/tracing/power.pl
      c93f216b
    • L
      Merge branch 'irq/threaded' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip · c61b79b6
      Linus Torvalds 提交于
      * 'irq/threaded' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
        genirq: fix devres.o build for GENERIC_HARDIRQS=n
        genirq: provide old request_irq() for CONFIG_GENERIC_HARDIRQ=n
        genirq: threaded irq handlers review fixups
        genirq: add support for threaded interrupts to devres
        genirq: add threaded interrupt handler support
      c61b79b6
    • T
      NFS: Fix the return value in nfs_page_mkwrite() · 2b2ec755
      Trond Myklebust 提交于
      Commit c2ec175c ("mm: page_mkwrite
      change prototype to match fault") exposed a bug in the NFS
      implementation of page_mkwrite.  We should be returning 0 on success...
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2b2ec755
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 · 8e2c4f28
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
        PCI: pci_slot: grab refcount on slot's bus
        PCI Hotplug: acpiphp: grab refcount on p2p subordinate bus
        PCI: allow PCI core hotplug to remove PCI root bus
        PCI: Fix oops in pci_vpd_truncate
        PCI: don't corrupt enable_cnt when doing manual resource alignment
        PCI: annotate pci_rescan_bus as __ref, not __devinit
        PCI-IOV: fix missing kernel-doc
        PCI: Setup disabled bridges even if buses are added
        PCI: SR-IOV quirk for Intel 82576 NIC
      8e2c4f28
    • L
      Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block · 6a5d2638
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
        loop: mutex already unlocked in loop_clr_fd()
        cfq-iosched: don't let idling interfere with plugging
        block: remove unused REQ_UNPLUG
        cfq-iosched: kill two unused cfqq flags
        cfq-iosched: change dispatch logic to deal with single requests at the time
        mflash: initial support
        cciss: change to discover first memory BAR
        cciss: kernel scan thread for MSA2012
        cciss: fix residual count for block pc requests
        block: fix inconsistency in I/O stat accounting code
        block: elevator quiescing helpers
      6a5d2638
    • L
      Fix build errors due to CONFIG_BRANCH_TRACER=y · aeeae868
      Linus Torvalds 提交于
      The code that enables branch tracing for all (non-constant) branches
      plays games with the preprocessor and #define's the C 'if ()' construct
      to do tracing.
      
      That's all fine, but it fails for some unusual but valid C code that is
      sometimes used in macros, notably by the intel-iommu code:
      
      	if (i=drhd->iommu, drhd->ignored) ..
      
      because now the preprocessor complains about multiple arguments to the
      'if' macro.
      
      So make the macro expansion of this particularly horrid trick use
      varargs, and handle the case of comma-expressions in if-statements.  Use
      another macro to do it cleanly in just one place.
      
      This replaces a patch by David (and acked by Steven) that did this all
      inside that one already-too-horrid macro.
      Tested-by: NIngo Molnar <mingo@elte.hu>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      aeeae868
  2. 07 4月, 2009 30 次提交