1. 02 3月, 2011 13 次提交
  2. 28 1月, 2011 9 次提交
  3. 21 1月, 2011 1 次提交
    • D
      kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT · 6a108a14
      David Rientjes 提交于
      The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option
      is used to configure any non-standard kernel with a much larger scope than
      only small devices.
      
      This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes
      references to the option throughout the kernel.  A new CONFIG_EMBEDDED
      option is added that automatically selects CONFIG_EXPERT when enabled and
      can be used in the future to isolate options that should only be
      considered for embedded systems (RISC architectures, SLOB, etc).
      
      Calling the option "EXPERT" more accurately represents its intention: only
      expert users who understand the impact of the configuration changes they
      are making should enable it.
      Reviewed-by: NIngo Molnar <mingo@elte.hu>
      Acked-by: NDavid Woodhouse <david.woodhouse@intel.com>
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Cc: Greg KH <gregkh@suse.de>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Robin Holt <holt@sgi.com>
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6a108a14
  4. 08 1月, 2011 8 次提交
  5. 06 1月, 2011 2 次提交
  6. 27 12月, 2010 1 次提交
    • J
      pata_cs5536: avoid implicit MSR API inclusion on x86-64 · ff5dd32b
      Jeff Garzik 提交于
      We don't need or want MSR usage here, on x86-64.
      x86-64 was disabled intentionally in Kconfig, but commit
      9272dcc2 changed that.
      
      drivers/ata/pata_cs5536.c:47:1: warning: "rdmsr" redefined
      In file included from arch/x86/include/asm/irqflags.h:60,
                       from include/linux/irqflags.h:15,
                       from arch/x86/include/asm/system.h:11,
                       from arch/x86/include/asm/processor.h:17,
                       from include/linux/prefetch.h:14,
                       from include/linux/list.h:7,
                       from include/linux/module.h:9,
                       from drivers/ata/pata_cs5536.c:33:
      arch/x86/include/asm/paravirt.h:146:1: warning: this is the location of the previous definition
      drivers/ata/pata_cs5536.c:48:1: warning: "wrmsr" redefined
      arch/x86/include/asm/paravirt.h:154:1: warning: this is the location of the previous definition
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      ff5dd32b
  7. 25 12月, 2010 5 次提交
    • T
      libata: issue DIPM enable commands with LPM state updated · e5005b15
      Tejun Heo 提交于
      Low level drivers may behave differently depending on the current
      link->lpm_policy.  During ata_eh_set_lpm(), DIPM enable commands are
      issued after the successful completion of ap->ops->set_lpm(), which
      means that the controller is already in the target state.  This causes
      DIPM enable commands to be processed with mismatching controller power
      state and link->lpm_policy value.
      
      In ahci, link->lpm_policy is used to ignore certain PHY events if LPM
      is enabled; however, as DIPM commands are issued with stale
      link->lpm_policy, they sometimes end up triggering these conditions
      and get aborted leading to LPM configuration failure.
      
      Fix it by updating link->lpm_policy before issuing DIPM enable
      commands.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Reported-by: NKyle McMartin <kyle@mcmartin.ca>
      Cc: stable@kernel.org
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      e5005b15
    • T
      libata: no special completion processing for EH commands · f08dc1ac
      Tejun Heo 提交于
      ata_qc_complete() contains special handling for certain commands.  For
      example, it schedules EH for device revalidation after certain
      configurations are changed.  These shouldn't be applied to EH
      commands but they were.
      
      In most cases, it doesn't cause an actual problem because EH doesn't
      issue any command which would trigger special handling; however, ACPI
      can issue such commands via _GTF which can cause weird interactions.
      
      Restructure ata_qc_complete() such that EH commands are always passed
      on to __ata_qc_complete().
      
      stable: Please apply to -stable only after 2.6.38 is released.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Reported-by: NKyle McMartin <kyle@mcmartin.ca>
      Cc: stable@kernel.org
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      f08dc1ac
    • W
      pata_mpc52xx: driver needs BMDMA · 869934ad
      Wolfram Sang 提交于
      Found by this build-error if BMDMA is disabled:
      
      drivers/ata/pata_mpc52xx.c: In function 'mpc52xx_ata_init_one':
      drivers/ata/pata_mpc52xx.c:662: error: 'ata_bmdma_interrupt' undeclared (first use in this function)
      ...
      
      Move the Kconfig entry to the proper location as needed since
      9a7780c9 (libata-sff: make BMDMA optional)
      Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      869934ad
    • W
      pata_cs5536: Add support for non-X86_32 platforms · 9272dcc2
      Wu Zhangjin 提交于
      pata_cs5536 does work on the other platforms(e.g. Loongson, a MIPS
      variant), so, remove the dependency of X86_32 and fix the building
      errors under the other platforms via only reserving the X86_32 specific
      parts for X86_32.
      
      pata_amd also supports cs5536 IDE controller, but this one saves about
      33k for the compressed kernel image(vmlinuz for MIPS).
      Signed-off-by: NZhang Le <r0bertz@gentoo.org>
      Signed-off-by: NChen Jie <chenj@lemote.com>
      Signed-off-by: NWu Zhangjin <wuzhangjin@gmail.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      9272dcc2
    • T
      libata-sff: fix HSM_ST_ERR handling in __ata_sff_port_intr() · 687a9933
      Tejun Heo 提交于
      While separating out BMDMA irq handler from SFF, commit c3b28894
      (libata-sff: separate out BMDMA irq handler) incorrectly made
      __ata_sff_port_intr() consider an IRQ to be an idle one if the host
      state was transitioned to HSM_ST_ERR by ata_bmdma_port_intr().
      
      This makes BMDMA drivers ignore IRQs reporting host bus error which
      leads to timeouts instead of triggering EH immediately.  Fix it by
      making __ata_sff_port_intr() consider the IRQ to be an idle one iff
      the state is HSM_ST_IDLE.  This is equivalent to adding HSM_ST_ERR to
      the "break"ing case but less error-prone.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Reported-by: NAntonio Toma <antonio.toma@gmail.com>
      Cc: stable@kernel.org
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      687a9933
  8. 15 12月, 2010 1 次提交
    • T
      workqueue: convert cancel_rearming_delayed_work[queue]() users to cancel_delayed_work_sync() · afe2c511
      Tejun Heo 提交于
      cancel_rearming_delayed_work[queue]() has been superceded by
      cancel_delayed_work_sync() quite some time ago.  Convert all the
      in-kernel users.  The conversions are completely equivalent and
      trivial.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Acked-by: N"David S. Miller" <davem@davemloft.net>
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Acked-by: NEvgeniy Polyakov <zbr@ioremap.net>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: netdev@vger.kernel.org
      Cc: Anton Vorontsov <cbou@mail.ru>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: "J. Bruce Fields" <bfields@fieldses.org>
      Cc: Neil Brown <neilb@suse.de>
      Cc: Alex Elder <aelder@sgi.com>
      Cc: xfs-masters@oss.sgi.com
      Cc: Christoph Lameter <cl@linux-foundation.org>
      Cc: Pekka Enberg <penberg@cs.helsinki.fi>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: netfilter-devel@vger.kernel.org
      Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
      Cc: linux-nfs@vger.kernel.org
      afe2c511