1. 12 Dec, 2009 1 commit
  2. 11 Dec, 2009 16 commits
  3. 10 Dec, 2009 11 commits
    • Pavel Machek's avatar
      HTC Dream: mmc compilation fixes · 3989d178
      Pavel Machek authored
      Add missing include for msm_sdcc compilation, and remove pwrsink
      support that is not mainline, yet.
      Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
      [dwalker@codeaurora.org : fixed indent in mmc.h]
      Signed-off-by: default avatarDaniel Walker <dwalker@codeaurora.org>
      3989d178
    • Cyrill Gorcunov's avatar
      x86, perf events: Check if we have APIC enabled · 12558038
      Cyrill Gorcunov authored
      Ralf Hildebrandt reported this boot warning:
      
      | Running a vanilla 2.6.32 as Xen DomU, I'm getting:
      |
      | [    0.000999] CPU: Physical Processor ID: 0
      | [    0.000999] CPU: Processor Core ID: 1
      | [    0.000999] Performance Events: AMD PMU driver.
      | [    0.000999] ------------[ cut here ]------------
      | [    0.000999] WARNING: at arch/x86/kernel/apic/apic.c:249 native_apic_write_dummy
      
      So we need to check if APIC functionality is available, and
      not just in the P6 driver but elsewhere as well.
      Reported-by: default avatarRalf Hildebrandt <Ralf.Hildebrandt@charite.de>
      Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      LKML-Reference: <20091210165634.GF5086@lenovo>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      12558038
    • Xiao Guangrong's avatar
      perf_event: Fix variable initialization in other codepaths · 5e855db5
      Xiao Guangrong authored
      Signed-off-by: default avatarXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Paul Mackerras <paulus@samba.org>
      LKML-Reference: <4B20BAA6.7010609@cn.fujitsu.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      5e855db5
    • Christoph Hellwig's avatar
      vfs: Implement proper O_SYNC semantics · 6b2f3d1f
      Christoph Hellwig authored
      While Linux provided an O_SYNC flag basically since day 1, it took until
      Linux 2.4.0-test12pre2 to actually get it implemented for filesystems,
      since that day we had generic_osync_around with only minor changes and the
      great "For now, when the user asks for O_SYNC, we'll actually give
      O_DSYNC" comment.  This patch intends to actually give us real O_SYNC
      semantics in addition to the O_DSYNC semantics.  After Jan's O_SYNC
      patches which are required before this patch it's actually surprisingly
      simple, we just need to figure out when to set the datasync flag to
      vfs_fsync_range and when not.
      
      This patch renames the existing O_SYNC flag to O_DSYNC while keeping it's
      numerical value to keep binary compatibility, and adds a new real O_SYNC
      flag.  To guarantee backwards compatiblity it is defined as expanding to
      both the O_DSYNC and the new additional binary flag (__O_SYNC) to make
      sure we are backwards-compatible when compiled against the new headers.
      
      This also means that all places that don't care about the differences can
      just check O_DSYNC and get the right behaviour for O_SYNC, too - only
      places that actuall care need to check __O_SYNC in addition.  Drivers and
      network filesystems have been updated in a fail safe way to always do the
      full sync magic if O_DSYNC is set.  The few places setting O_SYNC for
      lower layers are kept that way for now to stay failsafe.
      
      We enforce that O_DSYNC is set when __O_SYNC is set early in the open path
      to make sure we always get these sane options.
      
      Note that parisc really screwed up their headers as they already define a
      O_DSYNC that has always been a no-op.  We try to repair it by using it for
      the new O_DSYNC and redefinining O_SYNC to send both the traditional
      O_SYNC numerical value _and_ the O_DSYNC one.
      
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      Cc: Grant Grundler <grundler@parisc-linux.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Andreas Dilger <adilger@sun.com>
      Acked-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      Acked-by: default avatarKyle McMartin <kyle@mcmartin.ca>
      Acked-by: default avatarUlrich Drepper <drepper@redhat.com>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarJan Kara <jack@suse.cz>
      6b2f3d1f
    • Joerg Roedel's avatar
      x86/amd-iommu: Fix PCI hotplug with passthrough mode · 8638c491
      Joerg Roedel authored
      The device change notifier is initialized in the dma_ops
      initialization path. But this path is never executed for
      iommu=pt. Move the notifier initialization to IOMMU hardware
      init code to fix this.
      Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
      8638c491
    • Joerg Roedel's avatar
      x86/amd-iommu: Fix passthrough mode · b7cc9554
      Joerg Roedel authored
      The data structure changes to use dev->archdata.iommu field
      broke the iommu=pt mode because in this case the
      dev->archdata.iommu was left uninitialized. This moves the
      inititalization of the devices into the main init function
      and fixes the problem.
      Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
      b7cc9554
    • Joe Perches's avatar
      x86: mmio-mod.c: Use pr_fmt · 3a0340be
      Joe Perches authored
      - Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
       - Remove #define NAME
       - Remove NAME from pr_<level>
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      LKML-Reference: <009cb214c45ef932df0242856228f4739cc91408.1260383912.git.joe@perches.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      3a0340be
    • Joe Perches's avatar
      x86: kmmio.c: Add and use pr_fmt(fmt) · 1bd591a5
      Joe Perches authored
      - Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
       - Strip "kmmio: " from pr_<level>s
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      LKML-Reference: <7aa509f8a23933036d39f54bd51e9acc52068049.1260383912.git.joe@perches.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      1bd591a5
    • Joe Perches's avatar
      x86: i8254.c: Add pr_fmt(fmt) · a78d9626
      Joe Perches authored
      - Add pr_fmt(fmt) "pit: " fmt
       - Strip pit: prefixes from pr_debug
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      LKML-Reference: <bbd4de532f18bb7c11f64ba20d224c08291cb126.1260383912.git.joe@perches.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      a78d9626
    • Joe Perches's avatar
      x86: setup_percpu.c: Use pr_<level> and add pr_fmt(fmt) · 40685236
      Joe Perches authored
      - Added #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
       - Stripped PERCPU: from a pr_warning
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      LKML-Reference: <7ead24eccbea8f2b11795abad3e2893a98e1e111.1260383912.git.joe@perches.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      40685236
    • Joe Perches's avatar
      x86: es7000_32.c: Use pr_<level> and add pr_fmt(fmt) · 5cd476ef
      Joe Perches authored
      - Added #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
       - Converted a few printk(KERN_INFO to pr_info(
       - Stripped "es7000_mipcfg" from pr_debug
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      LKML-Reference: <3b4375af246dec5941168858910210937c110af9.1260383912.git.joe@perches.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      5cd476ef
  4. 09 Dec, 2009 12 commits