Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v3.1-rc5

Sep 04, 2011

  1. Linus Torvalds

    Linux 3.1-rc5

    torvalds authored

Sep 02, 2011

  1. Linus Torvalds

    Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux

    * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
      drm/radeon/kms: make sure pci max read request size is valid on evergreen+ (v2)
      drm/radeon/kms: set a default max_pixel_clock
    torvalds authored
  2. Linus Torvalds

    Merge branch 'for-linus' of git://oss.sgi.com/xfs/xfs

    * 'for-linus' of git://oss.sgi.com/xfs/xfs:
      xfs: fix ->write_inode return values
      xfs: fix xfs_mark_inode_dirty during umount
      xfs: deprecate the nodelaylog mount option
    torvalds authored
  3. drm/radeon/kms: make sure pci max read request size is valid on everg…

    …reen+ (v2)
    
    If the bios or OS sets the pci max read request size to 0 or an
    invalid value (6,7), it can result in a hang or slowdown.  Check
    and set it to something sane if it's invalid.
    
    Fixes:
    https://bugzilla.kernel.org/show_bug.cgi?id=42162
    
    v2: use pci reg defines from include/linux/pci_regs.h
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@kernel.org
    Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Alex Deucher authored Dave Airlie committed

Sep 01, 2011

  1. xfs: fix ->write_inode return values

    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: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Alex Elder <aelder@sgi.com>
    (cherry picked from commit 297db93)
    
    Signed-off-by: Alex Elder <aelder@sgi.com>
    Christoph Hellwig authored Alex Elder committed

Aug 31, 2011

  1. xfs: fix xfs_mark_inode_dirty during umount

    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: Christoph Hellwig <hch@lst.de>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Alex Elder <aelder@sgi.com>
    (cherry picked from commit da6742a)
    
    Signed-off-by: Alex Elder <aelder@sgi.com>
    Christoph Hellwig authored Alex Elder committed
  2. Linus Torvalds

    Merge tag 'for_linus-20110831' of git://github.com/tytso/ext4

    * tag 'for_linus-20110831' of git://github.com/tytso/ext4:
      ext4: remove i_mutex lock in ext4_evict_inode to fix lockdep complaining
    torvalds authored
  3. Linus Torvalds

    Merge branch 'for-linus' of git://neil.brown.name/md

    * '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.
    torvalds authored
  4. Linus Torvalds

    Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git…

    …/benh/powerpc
    
    * '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
    torvalds authored
  5. ext4: remove i_mutex lock in ext4_evict_inode to fix lockdep complaining

    The i_mutex lock and flush_completed_IO() added by commit 2581fdc
    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 2581fdc 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: Jiaying Zhang <jiayingz@google.com>
    Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
    Jiaying Zhang authored tytso committed
  6. drm/radeon/kms: set a default max_pixel_clock

    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: Dave Airlie <airlied@redhat.com>
    Cc: stable@kernel.org
    Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
    Reviewed-by: Jerome Glisse <jglisse@redhat.com>
    Dave Airlie authored
  7. NeilBrown

    md/raid5: fix a hang on device failure.

    Waiting for a 'blocked' rdev to become unblocked in the raid5d thread
    cannot work with internal metadata as it is the raid5d thread which
    will clear the blocked flag.
    This wasn't a problem in 3.0 and earlier as we only set the blocked
    flag when external metadata was used then.
    However we now set it always, so we need to be more careful.
    
    Signed-off-by: NeilBrown <neilb@suse.de>
    neilbrown authored
  8. powerpc/p1023rds: Fix the error of bank-width of nor flash

    In the p1023rds, a physical bus of nor flash is 16 bits width.
    The bank-width is width (in bytes) of the bus width. So, the
    value of bank-width of nor flash is not one, and it should be
    two.
    
    Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
    Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
    Chunhe Lan authored kumargala committed
  9. kimphill

    powerpc/85xx: enable caam crypto driver by default

    corenet based SoCs have SEC4 h/w, so enable the SEC4 driver,
    caam, and the algorithms it supports, and disable the
    SEC2/3 driver, talitos.
    
    Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
    Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
    kimphill authored kumargala committed
  10. powerpc/85xx: enable the audio drivers in the defconfigs

    Enable the audio drivers in the non-corenet 85xx defconfigs so that audio
    is enabled on the Freescale P1022DS reference board.
    
    Signed-off-by: Timur Tabi <timur@freescale.com>
    Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
    Timur Tabi authored kumargala committed

Aug 30, 2011

  1. Linus Torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
      sparc64: Only Panther cheetah+ chips have POPC.
    torvalds authored
  2. Linus Torvalds

    Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel…

    …/git/airlied/drm-2.6
    
    * 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
      drm/radeon/kms: add s/r quirk for Compaq Presario V5245EU
      drm/radeon/kms: evergreen & ni reset SPI block on CP resume
      drm: Fix the number of connector and encoder to cleanup functions
    torvalds authored
  3. Geert Uytterhoeven

    bitops: Move find_next_bit.o from lib-y to obj-y

    If there are no builtin users of find_next_bit_le() and
    find_next_zero_bit_le(), these functions are not present in the kernel
    image, causing m68k allmodconfig to fail with:
    
      ERROR: "find_next_zero_bit_le" [fs/ufs/ufs.ko] undefined!
      ERROR: "find_next_bit_le" [fs/udf/udf.ko] undefined!
      ...
    
    This started to happen after commit 171d809 ("m68k: merge mmu and
    non-mmu bitops.h"), as m68k had its own inline versions before.
    
    commit 63e424c ("arch: remove CONFIG_GENERIC_FIND_{NEXT_BIT,
    BIT_LE, LAST_BIT}") added find_last_bit.o to obj-y (so it's always
    included), but find_next_bit.o to lib-y (so it gets removed by the
    linker if there are no builtin users).
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Akinobu Mita <akinobu.mita@gmail.com>
    Cc: Greg Ungerer <gerg@uclinux.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    geertu authored torvalds committed
  4. drm/radeon/kms: add s/r quirk for Compaq Presario V5245EU

    Fixes resume on Compaq Presario V5245EU.
    
    Fixes:
    https://bugzilla.kernel.org/show_bug.cgi?id=41642
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@kernel.org
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Alex Deucher authored Dave Airlie committed
  5. drm/radeon/kms: evergreen & ni reset SPI block on CP resume

    For some reason SPI block is in broken state after module
    unloading. This lead to broken rendering after reloading
    module. Fix this by reseting SPI block in CP resume function
    
    Signed-off-by: Jerome Glisse <jglisse@redhat.com
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Cc: stable@kernel.org
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Jerome Glisse authored Dave Airlie committed
  6. NeilBrown

    md: fix clearing of 'blocked' flag in the presence of bad blocks.

    When the 'blocked' flag on a device is cleared while there are
    unacknowledged bad blocks we must fail the device.  This is needed for
    backwards compatability of the interface.
    
    The code currently uses the wrong test for "unacknowledged bad blocks
    exist".  Change it to the right test.
    
    Signed-off-by: NeilBrown <neilb@suse.de>
    neilbrown authored
  7. davem330

    sparc64: Only Panther cheetah+ chips have POPC.

    Signed-off-by: David S. Miller <davem@davemloft.net>
    davem330 authored

Aug 29, 2011

  1. Linus Torvalds

    Merge branch 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm

    * '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
    torvalds authored
  2. Linus Torvalds

    Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git…

    …/arm/linux-arm-soc
    
    * '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()
    torvalds authored
  3. remove remaining references to nfsservctl

    These were missed in commit f5b9409 "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: Stephen Rothwell <sfr@canb.auug.org.au>
    Acked-by: James Bottomley <James.Bottomley@hansenpartnership.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Stephen Rothwell authored torvalds committed
  4. Linus Torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

    * 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
      ...
    torvalds authored
  5. Linus Torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc

    * 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
    torvalds authored
  6. Linus Torvalds

    Merge branch 'rmobile-fixes-for-linus' of git://git.kernel.org/pub/sc…

    …m/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
    torvalds authored
  7. Linus Torvalds

    Merge branch 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/lethal/sh-3.x
    
    * '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
    torvalds authored
  8. Florian Tobias Schandinat

    MAINTAINERS: change framebuffer maintainer

    As Paul has not much time for it I take over maintaining the
    framebuffer subsystem.
    
    Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
    Acked-by: Paul Mundt <lethal@linux-sh.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    schandinat authored torvalds committed
  9. sparc32,sun4d: Change IPI IRQ level to prevent collision between IPI …

    …and timer interrupt
    
    On Sun4d systems running in SMP mode, IRQ 14 is used for timer interrupts
    and has a specialized interrupt handler. IPI is currently set to use IRQ 14
    as well, which causes it to trigger the timer interrupt handler, and not the
    IPI interrupt handler.
    
    The IPI interrupt is therefore changed to IRQ 13, which is the highest
    normally handled interrupt. This IRQ is also used for SBUS interrupts,
    however there is nothing in the IPI/SBUS interrupt handlers that indicate
    that they will not handle sharing the interrupt.
    (IRQ 13 is indicated as audio interrupt, which is unlikely to be found in a
    sun4d system)
    
    Signed-off-by: Kjetil Oftedal <oftedal@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Kjetil Oftedal authored davem330 committed
  10. sparc: Remove another reference to nfsservctl

    Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Stephen Rothwell authored davem330 committed
  11. drm: Fix the number of connector and encoder to cleanup functions

    It is left out the code to decrease the number of connector and encoder
    to the cleanup functions.
    
    Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
    Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
    Signed-off-by: Dave Airlie <airlied@redhat.com>
    Joonyoung Shim authored Dave Airlie committed
  12. ARM: mach-shmobile: sh7372 CMT3 and CMT4 clock support

    Add clock control support for sh7372 CMT hardware blocks.
    
    No upstream sh7372 boards are making use of CMT3 + CMT4,
    but the sh7372 hardware happens to come out of reset with
    all CMT MSTP clocks _enabled_, so to save power we need
    to implement a fix in software to shut down unused clocks.
    
    This patch relies on the recently merged
    
     794d78f drivers: sh: late disabling of clocks V2
    
    to make sure the unused clocks get disabled as expected.
    
    Signed-off-by: Magnus Damm <damm@opensource.se>
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    Magnus Damm authored pmundt committed
  13. ARM: mach-shmobile: sh7372 MSIOF clock support

    Add clock control support for sh7372 MSIOF hardware blocks.
    
    No upstream sh7372 boards are making use of MSIOF0->2,
    but the sh7372 hardware happens to come out of reset with
    all MSIOF MSTP clocks _enabled_, so to save power we need
    to implement a fix in software to shut down unused clocks.
    
    This patch relies on the recently merged
    
     794d78f drivers: sh: late disabling of clocks V2
    
    to make sure the unused clocks get disabled as expected.
    
    Signed-off-by: Magnus Damm <damm@opensource.se>
    Signed-off-by: Paul Mundt <lethal@linux-sh.org>
    Magnus Damm authored pmundt committed
Something went wrong with that request. Please try again.