Skip to content
  1. Aug 31, 2010
    • Paul Mackerras's avatar
      powerpc/perf_event: Reduce latency of calling perf_event_do_pending · b0d278b7
      Paul Mackerras authored
      Commit 0fe1ac48
      
       ("powerpc/perf_event: Fix oops due to
      perf_event_do_pending call") moved the call to perf_event_do_pending
      in timer_interrupt() down so that it was after the irq_enter() call.
      Unfortunately this moved it after the code that checks whether it
      is time for the next decrementer clock event.  The result is that
      the call to perf_event_do_pending() won't happen until the next
      decrementer clock event is due.  This was pointed out by Milton
      Miller.
      
      This fixes it by moving the check for whether it's time for the
      next decrementer clock event down to the point where we're about
      to call the event handler, after we've called perf_event_do_pending.
      
      This has the side effect that on old pre-Core99 Powermacs where we
      use the ppc_n_lost_interrupts mechanism to replay interrupts, a
      replayed interrupt will incur a little more latency since it will
      now do the code from the irq_enter down to the irq_exit, that it
      used to skip.  However, these machines are now old and rare enough
      that this doesn't matter.  To make it clear that ppc_n_lost_interrupts
      is only used on Powermacs, and to speed up the code slightly on
      non-Powermac ppc32 machines, the code that tests ppc_n_lost_interrupts
      is now conditional on CONFIG_PMAC as well as CONFIG_PPC32.
      
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      Cc: stable@kernel.org
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      b0d278b7
    • Matthew McClintock's avatar
      powerpc/kexec: Adds correct calling convention for kexec purgatory · 4562c986
      Matthew McClintock authored
      
      
      Call kexec purgatory code correctly. We were getting lucky before.
      If you examine the powerpc 32bit kexec "purgatory" code you will
      see it expects the following:
      
      >From kexec-tools: purgatory/arch/ppc/v2wrap_32.S
      -> calling convention:
      ->   r3 = physical number of this cpu (all cpus)
      ->   r4 = address of this chunk (master only)
      
      As such, we need to set r3 to the current core, r4 happens to be
      unused by purgatory at the moment but we go ahead and set it
      here as well
      
      Signed-off-by: default avatarMatthew McClintock <msm@freescale.com>
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      4562c986
  2. Aug 29, 2010
    • Linus Torvalds's avatar
      Linux 2.6.36-rc3 · 2bfc96a1
      Linus Torvalds authored
      2bfc96a1
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 · 994b384a
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
        firewire: ohci: work around VIA and NEC PHY packet reception bug
        firewire: core: do not use del_timer_sync() in interrupt context
        firewire: net: fix unicast reception RCODE in failure paths
        firewire: sbp2: fix stall with "Unsolicited response"
        firewire: sbp2: fix memory leak in sbp2_cancel_orbs or at send error
        ieee1394: Adjust confusing if indentation
      994b384a
    • Stefan Richter's avatar
      firewire: ohci: work around VIA and NEC PHY packet reception bug · a4dc090b
      Stefan Richter authored
      
      
      VIA VT6306, VIA VT6308, and NEC OrangeLink controllers do not write
      packet event codes for received PHY packets (or perhaps write
      evt_no_status, hard to tell).  Work around it by overwriting the
      packet's ACK by ack_complete, so that upper layers that listen to PHY
      packet reception get to see these packets.
      
      (Also tested:  TI TSB82AA2, TI TSB43AB22/A, TI XIO2213A, Agere FW643,
      JMicron JMB381 --- these do not exhibit this bug.)
      
      Clemens proposed a quirks flag for that, IOW whitelist known misbehaving
      controllers for this workaround.  Though to me it seems harmless enough
      to enable for all controllers.
      
      The log_ar_at_event() debug log will continue to show the original
      status from the DMA unit.
      
      Reported-by: Clemens Ladisch <clemens@ladisch.de> (VT6308)
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      a4dc090b
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 29cfcddc
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
        net/ipv4: Eliminate kstrdup memory leak
        net/caif/cfrfml.c: use asm/unaligned.h
        ax25: missplaced sock_put(sk)
        qlge: reset the chip before freeing the buffers
        l2tp: test for ethernet header in l2tp_eth_dev_recv()
        tcp: select(writefds) don't hang up when a peer close connection
        tcp: fix three tcp sysctls tuning
        tcp: Combat per-cpu skew in orphan tests.
        pxa168_eth: silence gcc warnings
        pxa168_eth: update call to phy_mii_ioctl()
        pxa168_eth: fix error handling in prope
        pxa168_eth: remove unneeded null check
        phylib: Fix race between returning phydev and calling adjust_link
        caif-driver: add HAS_DMA dependency
        3c59x: Fix deadlock between boomerang_interrupt and boomerang_start_tx
        qlcnic: fix poll implementation
        netxen: fix poll implementation
        bridge: netfilter: fix a memory leak
      29cfcddc
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin · 303fd2c2
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin:
        Blackfin: bf52x/bf54x boards: drop unused nand page size
        Blackfin: punt duplicate SPORT MMR defines
      303fd2c2
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · 6b3a7c0f
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
        ALSA: pcm: add more format names
        sound: oss: fix uninitialized spinlock
        ALSA: asihpi - Return hw error directly from oustream_write.
        ASoC: soc-core: fix debugfs_pop_time file permissions
        ALSA: hda - Add Sony VAIO quirk for ALC269
      6b3a7c0f
    • Linus Torvalds's avatar
      Merge branch 's5p-fixes-for-linus' of... · 45b5bed7
      Linus Torvalds authored
      Merge branch 's5p-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung
      
      * 's5p-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
        ARM: S5PV310: Fix on Secondary CPU startup
        ARM: S5PV310: Bug fix on uclk1 and sclk_pwm
        ARM: S5PV310: Fix missed uart clocks
        ARM: S5PV310: Should be clk_sclk_apll not clk_mout_apll
        ARM: S5PV310: Fix on PLL setting for S5PV310
        ARM: S5PV310: Add CMU block for S5PV310 Clock
        ARM: S5PV310: Fix on typo irqs.h of S5PV310
        ARM: S5PV310: Fix on default ZRELADDR of ARCH_S5PV310
        ARM: S5PV310: Fix on GPIO base addresses
        ARM: SAMSUNG: Fix on build warning regarding VMALLOC_END type
        ARM: S5P: VMALLOC_END should be unsigned long
      45b5bed7
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.infradead.org/users/eparis/notify · 30c0f6a0
      Linus Torvalds authored
      * 'for-linus' of git://git.infradead.org/users/eparis/notify:
        fsnotify: drop two useless bools in the fnsotify main loop
        fsnotify: fix list walk order
        fanotify: Return EPERM when a process is not privileged
        fanotify: resize pid and reorder structure
        fanotify: drop duplicate pr_debug statement
        fanotify: flush outstanding perm requests on group destroy
        fsnotify: fix ignored mask handling between inode and vfsmount marks
        fanotify: add MAINTAINERS entry
        fsnotify: reset used_inode and used_vfsmount on each pass
        fanotify: do not dereference inode_mark when it is unset
      30c0f6a0
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6 · e933424c
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6:
        eCryptfs: Fix encrypted file name lookup regression
        ecryptfs: properly mark init functions
        fs/ecryptfs: Return -ENOMEM on memory allocation failure
      e933424c
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://android.git.kernel.org/kernel/tegra · 8f2a0029
      Linus Torvalds authored
      * 'for-linus' of git://android.git.kernel.org/kernel/tegra:
        arm: tegra: VMALLOC_END should be unsigned long
        arm: tegra: fix compilation of board-harmony.c
      8f2a0029
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 · 06f01e73
      Linus Torvalds authored
      * 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
        vgaarb: Wrap vga_(get|put) in CONFIG_VGA_ARB
        drm/radeon/kms: add missing scratch update in dp_detect
        drm/modes: Fix CVT-R modeline generation
        drm: fix regression in drm locking since BKL removal.
        drm/radeon/kms: remove stray radeon_i2c_destroy
        drm: mm: fix range restricted allocations
        drm/nouveau: drop drm_global_mutex before sleeping in submission path
        drm: export drm_global_mutex for drivers to use
        drm/nv20: Don't use pushbuf calls on the original nv20.
        drm/nouveau: Fix TMDS on some DCB1.5 boards.
        drm/nouveau: Fix backlight control on PPC machines with an internal TMDS panel.
        drm/nv30: Apply modesetting to the correct slave encoder
        drm/nouveau: Use a helper function to match PCI device/subsystem IDs.
        drm/nv50: add dcb type 14 to enum to prevent compiler complaint
      06f01e73
    • Linus Torvalds's avatar
      Merge branch 'lguest' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus · 51bbd47d
      Linus Torvalds authored
      * 'lguest' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
        lguest: Odd Fixes
        lguest: clean up warnings in demonstration launcher.
      51bbd47d
    • Linus Torvalds's avatar
      Merge branch 'omap-fixes-for-linus' of... · a5a82834
      Linus Torvalds authored
      Merge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
      
      * 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6:
        OMAP3: PM: ensure IO wakeups are properly disabled
        omap: Fix omap_4430sdp_defconfig for make oldconfig
        omap: Use CONFIG_SMP for test_for_ipi and test_for_ltirq
        omap: Fix sev instruction usage for multi-omap
        OMAP3: Fix a cpu type check problem
        omap3: id: fix 3630 rev detection
      a5a82834
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client · 997396a7
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client:
        ceph: fix get_ticket_handler() error handling
        ceph: don't BUG on ENOMEM during mds reconnect
        ceph: ceph_mdsc_build_path() returns an ERR_PTR
        ceph: Fix warnings
        ceph: ceph_get_inode() returns an ERR_PTR
        ceph: initialize fields on new dentry_infos
        ceph: maintain i_head_snapc when any caps are dirty, not just for data
        ceph: fix osd request lru adjustment when sending request
        ceph: don't improperly set dir complete when holding EXCL cap
        mm: exporting account_page_dirty
        ceph: direct requests in snapped namespace based on nonsnap parent
        ceph: queue cap snap writeback for realm children on snap update
        ceph: include dirty xattrs state in snapped caps
        ceph: fix xattr cap writeback
        ceph: fix multiple mds session shutdown
      997396a7
    • Linus Torvalds's avatar
      Merge branch 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6 · 6f4dbeca
      Linus Torvalds authored
      * 'pm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
        PM QoS: Fix inline documentation.
        PM QoS: Fix kzalloc() parameters swapped in pm_qos_power_open()
      6f4dbeca
    • Linus Torvalds's avatar
      Merge branch 'for-2.6.36' of git://linux-nfs.org/~bfields/linux · 2547d1d2
      Linus Torvalds authored
      * 'for-2.6.36' of git://linux-nfs.org/~bfields/linux:
        nfsd: fix NULL dereference in nfsd_statfs()
        nfsd4: fix downgrade/lock logic
        nfsd4: typo fix in find_any_file
        nfsd4: bad BUG() in preprocess_stateid_op
      2547d1d2
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · 7be0d4f9
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
        Cannot allocate memory error on mount
        [CIFS] Eliminate unused variable warning
      7be0d4f9
    • David Howells's avatar
      Alpha: Fix a missing comma in sys_osf_statfs() · 62b88dc1
      David Howells authored
      
      
      Fix a comma that got accidentally deleted from sys_osf_statfs() leading to the
      following warning:
      
        arch/alpha/kernel/osf_sys.c: In function 'SYSC_osf_statfs':
        arch/alpha/kernel/osf_sys.c:255: error: syntax error before 'buffer'
      
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      62b88dc1
    • David Howells's avatar
      NOMMU: Stub out vm_get_page_prot() if there's no MMU · bad849b3
      David Howells authored
      Stub out vm_get_page_prot() if there's no MMU.
      
      This was added by commit 804af2cf ("[AGPGART] remove private page
      protection map") and is used in commit c07fbfd1
      
       ("fbmem: VM_IO set,
      but not propagated") in the fbmem video driver, but the function doesn't
      exist on NOMMU, resulting in an undefined symbol at link time.
      
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Reviewed-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      bad849b3
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp · 0a3b6e45
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
        amd64_edac: Do not report error overflow as a separate error
        MCE, AMD: Limit MCE decoding to current families for now
      0a3b6e45
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input · 2637d139
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
        Input: pxa27x_keypad - remove input_free_device() in pxa27x_keypad_remove()
        Input: mousedev - fix regression of inverting axes
        Input: uinput - add devname alias to allow module on-demand load
        Input: hil_kbd - fix compile error
        USB: drop tty argument from usb_serial_handle_sysrq_char()
        Input: sysrq - drop tty argument form handle_sysrq()
        Input: sysrq - drop tty argument from sysrq ops handlers
      2637d139
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev · 494e2fbe
      Linus Torvalds authored
      * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
        libata-sff: remove harmful BUG_ON from ata_bmdma_qc_issue
        sata_mv: fix broken DSM/TRIM support (v2)
        libata: be less of a drama queen on empty data commands
        [libata] sata_dwc_460ex: signdness bug
        ahci: add HFLAG_YES_FBS and apply it to 88SE9128
        libata: remove no longer needed pata_winbond driver
        pata_cmd64x: revert commit d62f5576
      494e2fbe
    • Hugh Dickins's avatar
      mm: fix hang on anon_vma->root->lock · f1819427
      Hugh Dickins authored
      
      
      After several hours, kbuild tests hang with anon_vma_prepare() spinning on
      a newly allocated anon_vma's lock - on a box with CONFIG_TREE_PREEMPT_RCU=y
      (which makes this very much more likely, but it could happen without).
      
      The ever-subtle page_lock_anon_vma() now needs a further twist: since
      anon_vma_prepare() and anon_vma_fork() are liable to change the ->root
      of a reused anon_vma structure at any moment, page_lock_anon_vma()
      needs to check page_mapped() again before succeeding, otherwise
      page_unlock_anon_vma() might address a different root->lock.
      
      Signed-off-by: default avatarHugh Dickins <hughd@google.com>
      Reviewed-by: default avatarRik van Riel <riel@redhat.com>
      Cc: Christoph Lameter <cl@linux.com>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Andrea Arcangeli <aarcange@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f1819427
    • Takashi Iwai's avatar
      Merge branch 'fix/asoc' into for-linus · 9dde3f92
      Takashi Iwai authored
      9dde3f92
    • Takashi Iwai's avatar
      Merge branch 'fix/hda' into for-linus · 6a366725
      Takashi Iwai authored
      6a366725
  3. Aug 28, 2010
  4. Aug 27, 2010