1. 21 Sep, 2011 6 commits
  2. 16 Sep, 2011 4 commits
  3. 04 Sep, 2011 1 commit
  4. 02 Sep, 2011 3 commits
  5. 01 Sep, 2011 1 commit
    • Christoph Hellwig's avatar
      xfs: fix ->write_inode return values · 58d84c4e
      Christoph Hellwig authored
      Currently we always redirty an inode that was attempted to be written out
      synchronously but has been cleaned by an AIL pushed internall, which is
      rather bogus.  Fix that by doing the i_update_core check early on and
      return 0 for it.  Also include async calls for it, as doing any work for
      those is just as pointless.  While we're at it also fix the sign for the
      EIO return in case of a filesystem shutdown, and fix the completely
      non-sensical locking around xfs_log_inode.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
      Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
      (cherry picked from commit 297db93bb74cf687510313eb235a7aec14d67e97)
      Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
      58d84c4e
  6. 31 Aug, 2011 6 commits
    • Christoph Hellwig's avatar
      xfs: fix xfs_mark_inode_dirty during umount · 866e4ed7
      Christoph Hellwig authored
      During umount we do not add a dirty inode to the lru and wait for it to
      become clean first, but force writeback of data and metadata with
      I_WILL_FREE set.  Currently there is no way for XFS to detect that the
      inode has been redirtied for metadata operations, as we skip the
      mark_inode_dirty call during teardown.  Fix this by setting i_update_core
      nanually in that case, so that the inode gets flushed during inode reclaim.
      
      Alternatively we could enable calling mark_inode_dirty for inodes in
      I_WILL_FREE state, and let the VFS dirty tracking handle this.  I decided
      against this as we will get better I/O patterns from reclaim compared to
      the synchronous writeout in write_inode_now, and always marking the inode
      dirty in some way from xfs_mark_inode_dirty is a better safetly net in
      either case.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
      Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
      (cherry picked from commit da6742a5a4cc844a9982fdd936ddb537c0747856)
      Signed-off-by: default avatarAlex Elder <aelder@sgi.com>
      866e4ed7
    • Linus Torvalds's avatar
      Merge tag 'for_linus-20110831' of git://github.com/tytso/ext4 · b79c4f75
      Linus Torvalds authored
      * tag 'for_linus-20110831' of git://github.com/tytso/ext4:
        ext4: remove i_mutex lock in ext4_evict_inode to fix lockdep complaining
      b79c4f75
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://neil.brown.name/md · fd53f7d8
      Linus Torvalds authored
      * 'for-linus' of git://neil.brown.name/md:
        md/raid5: fix a hang on device failure.
        md: fix clearing of 'blocked' flag in the presence of bad blocks.
        md/linear: avoid corrupting structure while waiting for rcu_free to complete.
        md: use REQ_NOIDLE flag in md_super_write()
        md: ensure changes to 'write-mostly' are reflected in metadata.
        md: report failure if a 'set faulty' request doesn't.
      fd53f7d8
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · e9208a4e
      Linus Torvalds authored
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
        powerpc/p1023rds: Fix the error of bank-width of nor flash
        powerpc/85xx: enable caam crypto driver by default
        powerpc/85xx: enable the audio drivers in the defconfigs
      e9208a4e
    • Jiaying Zhang's avatar
      ext4: remove i_mutex lock in ext4_evict_inode to fix lockdep complaining · 8c0bec21
      Jiaying Zhang authored
      The i_mutex lock and flush_completed_IO() added by commit 2581fdc8
      in ext4_evict_inode() causes lockdep complaining about potential
      deadlock in several places.  In most/all of these LOCKDEP complaints
      it looks like it's a false positive, since many of the potential
      circular locking cases can't take place by the time the
      ext4_evict_inode() is called; but since at the very least it may mask
      real problems, we need to address this.
      
      This change removes the flush_completed_IO() and i_mutex lock in
      ext4_evict_inode().  Instead, we take a different approach to resolve
      the software lockup that commit 2581fdc8 intends to fix.  Rather
      than having ext4-dio-unwritten thread wait for grabing the i_mutex
      lock of an inode, we use mutex_trylock() instead, and simply requeue
      the work item if we fail to grab the inode's i_mutex lock.
      
      This should speed up work queue processing in general and also
      prevents the following deadlock scenario: During page fault,
      shrink_icache_memory is called that in turn evicts another inode B.
      Inode B has some pending io_end work so it calls ext4_ioend_wait()
      that waits for inode B's i_ioend_count to become zero.  However, inode
      B's ioend work was queued behind some of inode A's ioend work on the
      same cpu's ext4-dio-unwritten workqueue.  As the ext4-dio-unwritten
      thread on that cpu is processing inode A's ioend work, it tries to
      grab inode A's i_mutex lock.  Since the i_mutex lock of inode A is
      still hold before the page fault happened, we enter a deadlock.
      Signed-off-by: default avatarJiaying Zhang <jiayingz@google.com>
      Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
      8c0bec21
    • Dave Airlie's avatar
      drm/radeon/kms: set a default max_pixel_clock · 9adceaa5
      Dave Airlie authored
      On some Power rv100 cards, we have no ATY OF table, but we have
      no combios table either, and hence we refuse all modes on VGA-0
      since we end up with a 0 max pixel clock.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      Cc: stable@kernel.org
      Reviewed-by: default avatarAlex Deucher <alexdeucher@gmail.com>
      Reviewed-by: default avatarJerome Glisse <jglisse@redhat.com>
      9adceaa5
  7. 30 Aug, 2011 10 commits
  8. 29 Aug, 2011 9 commits
    • David S. Miller's avatar
      1a8e0da5
    • Linus Torvalds's avatar
      Merge branch 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm · 90e93648
      Linus Torvalds authored
      * 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm:
        ARM: pm: avoid writing the auxillary control register for ARMv7
        ARM: pm: some ARMv7 requires a dsb in resume to ensure correctness
        ARM: pm: arm920/926: fix number of registers saved
        ARM: pm: CPU specific code should not overwrite r1 (v:p offset)
        ARM: 7066/1: proc-v7: disable SCTLR.TE when disabling MMU
        ARM: 7065/1: kexec: ensure new kernel is entered in ARM state
        ARM: 7003/1: vexpress: Add clock definition for the SP805.
        ARM: 7051/1: cpuimx* boards: fix mach-types errors
        ARM: 7019/1: Footbridge: select CLKEVT_I8253 for ARCH_NETWINDER
        ARM: 7015/1: ARM errata: Possible cache data corruption with hit-under-miss enabled
        ARM: 7014/1: cache-l2x0: Fix L2 Cache size calculation.
        ARM: 6967/1: ep93xx: ts72xx: fix board model detection
        ARM: 6965/1: ep93xx: add model detection for ts-7300 and ts-7400 boards
        ARM: cache: detect VIPT aliasing I-cache on ARMv6
        ARM: twd: register clockevents device before enabling PPI
        ARM: realview: ensure visibility of writes during reset
        ARM: perf: make name of arm_pmu_type consistent
        ARM: perf: fix prototype of release_pmu
        ARM: fix perf build with uclibc toolchains
      90e93648
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc · 3ae627b5
      Linus Torvalds authored
      * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc:
        ARM: mach-footbridge: add missing header file <video/vga.h>
        ARM: mach-orion5x: add missing header file <linux/vga.h>
        arm: fix compile failure in orion5x/dns323-setup.c
        at91: at91sam9261.c: fix typo in t2_clk alias for atmel_tcb.0
        ARM: S5P: fix bug in spdif_clk_get_rate
        ARM: EXYNOS4: Add restart hook for proper reboot
        ARM: EXYNOS4: Increase reset delay for USB HOST PHY
        ARM: S5P: add required chained_irq_enter/exit to gpio-int code
        ARM: EXYNOS4: add required chained_irq_enter/exit to eint code
        ARM: SAMSUNG: Add chained enrty/exit call to timer interrupt handler
        ARM: S3C64XX: Fix build break in PM debug
        ARM: S5PV210: Fix build warning
        ARM: EXYNOS4: Fix the IRQ definitions for MIPI CSIS device
        ARM: EXYNOS4: remove duplicated inclusion
        ARM: EXYNOS4: Fix wrong devname to support clkdev
        ARM: EXYNOS4: Use the correct regulator names on universal_c210
        ARM: SAMSUNG: Fix Section mismatch in samsung_bl_set()
        ARM: S5P64X0: Replace irq_gc_ack() with irq_gc_ack_set_bit()
      3ae627b5
    • Stephen Rothwell's avatar
      remove remaining references to nfsservctl · d4d7b2a1
      Stephen Rothwell authored
      These were missed in commit f5b94099 "All Arch: remove linkage
      for sys_nfsservctl system call" due to them having no sys_ prefix
      (presumably).
      
      Cc: NeilBrown <neilb@suse.de>
      Cc: linuxppc-dev@lists.ozlabs.org
      Cc: linux-parisc@vger.kernel.org
      Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Acked-by: default avatarJames Bottomley <James.Bottomley@hansenpartnership.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d4d7b2a1
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · 0f43dd54
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (42 commits)
        netpoll: fix incorrect access to skb data in __netpoll_rx
        cassini: init before use in cas_interruptN.
        can: ti_hecc: Fix uninitialized spinlock in probe
        can: ti_hecc: Fix unintialized variable
        net: sh_eth: fix the compile error
        net/phy: fix DP83865 phy interrupt handler
        sendmmsg/sendmsg: fix unsafe user pointer access
        ibmveth: Fix leak when recycling skb and hypervisor returns error
        arp: fix rcu lockdep splat in arp_process()
        bridge: fix a possible use after free
        bridge: Pseudo-header required for the checksum of ICMPv6
        mcast: Fix source address selection for multicast listener report
        MAINTAINERS: Update GIT trees for network development
        ath9k: Fix PS wrappers in ath9k_set_coverage_class
        carl9170: Fix mismatch in carl9170_op_set_key mutex lock-unlock
        wl12xx: add max_sched_scan_ssids value to the hw description
        wl12xx: Fix validation of pm_runtime_get_sync return value
        wl12xx: Remove obsolete testmode NVS push command
        bcma: add uevent to the bus, to autoload drivers
        ath9k_hw: Fix STA (AR9485) bringup issue due to incorrect MAC address
        ...
      0f43dd54
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc · 2cd6c7f7
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
        sparc32,sun4d: Change IPI IRQ level to prevent collision between IPI and timer interrupt
        sparc: Remove another reference to nfsservctl
      2cd6c7f7
    • Linus Torvalds's avatar
      Merge branch 'rmobile-fixes-for-linus' of... · 380dc200
      Linus Torvalds authored
      Merge branch 'rmobile-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-3.x
      
      * 'rmobile-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-3.x:
        ARM: mach-shmobile: sh7372 CMT3 and CMT4 clock support
        ARM: mach-shmobile: sh7372 MSIOF clock support
        ARM: mach-shmobile: clock-sh7372: fixup USB-DMAC1 settings
        ARM: mach-shmobile: clock-sh73a0: tidyup CKSCR main clock selecter
        ARM: mach-shmobile: Remove 3DG/SGX from sh7372 INTCS
        ARM: mach-shmobile: mackerel: Add USB-DMA ID
        mmc: sdhi, mmcif: zboot: Correct clock disable logic
        ARM: mach-shmobile: ag5evm: SDHI requires waiting for idle
        ARM: static should be at beginning of declaration
        ARM: mach-shmobile: Use CMT2 for timer on sh7372
        ARM: mach-shmobile: sh7372: Add USB-DMAC support
      380dc200
    • Linus Torvalds's avatar
      Merge branch 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-3.x · c42a2634
      Linus Torvalds authored
      * 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-3.x:
        sh: fix the compile error in setup-sh7757.c
        serial: sh-sci: report CTS as active for get_mctrl
        sh: Add unaligned memory access for PC relative intructions
        sh: Fix unaligned memory access for branches without delay slots
        sh: Fix up fallout from cpuidle changes.
        serial: sh-sci: console Runtime PM support
        sh: Fix conflicting definitions of ptrace_triggered
        serial: sh-sci: fix DMA build by including dma-mapping.h
        serial: sh-sci: Fix up default regtype probing.
        sh: intc: enable both edges GPIO interrupts on sh7372
        shwdt: fix usage of mod_timer
        clocksource: sh_cmt: wait for CMCNT on init V2
      c42a2634
    • Florian Tobias Schandinat's avatar
      MAINTAINERS: change framebuffer maintainer · f9557a44
      Florian Tobias Schandinat authored
      As Paul has not much time for it I take over maintaining the
      framebuffer subsystem.
      Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Acked-by: default avatarPaul Mundt <lethal@linux-sh.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f9557a44