1. 03 Oct, 2014 4 commits
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 80ad99da
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Nothing too major or scary.
      
        One i915 regression fix, nouveau has a tmds regression fix, along with
        a regression fix for the runtime pm code for optimus laptops not
        restoring the display hw correctly"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/nouveau: make sure display hardware is reinitialised on runtime resume
        drm/nouveau: punt fbcon resume out to a workqueue
        drm/nouveau: fix regression on original nv50 board
        drm/nv50/disp: fix dpms regression on certain boards
        drm/i915: Flush the PTEs after updating them before suspend
      80ad99da
    • Linus Torvalds's avatar
      Merge tag 'pm+acpi-3.17-final' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · 58586869
      Linus Torvalds authored
      Pull ACPI and power management fixes from Rafael Wysocki:
       "These are three regression fixes (cpufreq core, pcc-cpufreq, i915 /
        ACPI) and one trivial fix for a callback return value mismatch in the
        cpufreq integrator driver.
      
        Specifics:
      
         - A recent cpufreq core fix went too far and introduced a regression
           in the system suspend code path.  Fix from Viresh Kumar.
      
         - An ACPI-related commit in the i915 driver that fixed backlight
           problems for some Thinkpads inadvertently broke a Dell machine (in
           3.16).  Fix from Aaron Lu.
      
         - The pcc-cpufreq driver was broken during the 3.15 cycle by a commit
           that put wait_event() under a spinlock by mistake.  Fix that
           (Rafael J Wysocki).
      
         - The return value type of integrator_cpufreq_remove() is void, but
           should be int.  Fix from Arnd Bergmann"
      
      * tag 'pm+acpi-3.17-final' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        cpufreq: update 'cpufreq_suspended' after stopping governors
        ACPI / i915: Update the condition to ignore firmware backlight change request
        cpufreq: integrator: fix integrator_cpufreq_remove return type
        cpufreq: pcc-cpufreq: Fix wait_event() under spinlock
      58586869
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2014-10-02' of git://anongit.freedesktop.org/drm-intel into drm-fixes · eee0815d
      Dave Airlie authored
      final regression fix for 3.17.
      
      * tag 'drm-intel-fixes-2014-10-02' of git://anongit.freedesktop.org/drm-intel:
        drm/i915: Flush the PTEs after updating them before suspend
      eee0815d
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpufreq' and 'acpi-video' · abcadddc
      Rafael J. Wysocki authored
      * pm-cpufreq:
        cpufreq: update 'cpufreq_suspended' after stopping governors
        cpufreq: integrator: fix integrator_cpufreq_remove return type
        cpufreq: pcc-cpufreq: Fix wait_event() under spinlock
      
      * acpi-video:
        ACPI / i915: Update the condition to ignore firmware backlight change request
      abcadddc
  2. 02 Oct, 2014 19 commits
  3. 01 Oct, 2014 9 commits
  4. 30 Sep, 2014 8 commits
    • hayeswang's avatar
      r8152: fix setting RTL8152_UNPLUG · f561de33
      hayeswang authored
      The flag of RTL8152_UNPLUG should only be set when the device is
      unplugged, not each time the rtl8152_disconnect() is called.
      Otherwise, the device wouldn't be stopped normally.
      Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f561de33
    • David S. Miller's avatar
      Merge branch 'netxen' · 37b9a267
      David S. Miller authored
      Manish Chopra says:
      
      ====================
      netxen: Bug fixes.
      
      This series fixes some TX specific issues.
      * Move spin_lock(tx_clean_lock) in down path to fix
        atomic sleep bug (Reported by Mike Galbraith).
      * Fix hang in interface down while running traffic.
      
      Please consider applying this to 'net'.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      37b9a267
    • Manish Chopra's avatar
      netxen: Fix bug in Tx completion path. · 9295f940
      Manish Chopra authored
      o Driver is not updating sw_consumer while processing Tx completion
        when interface is going down. Due to this interface down path gets
        stuck forever waiting for NAPI to complete.
      Signed-off-by: default avatarManish Chopra <manish.chopra@qlogic.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9295f940
    • Manish Chopra's avatar
      netxen: Fix BUG "sleeping function called from invalid context" · 0d368820
      Manish Chopra authored
      o __netxen_nic_down() function might sleep while holding spinlock_t(tx_clean_lock).
        Acquire this lock for only releasing TX buffers instead of taking it
        for whole down path.
      Reported-by: default avatarMike Galbraith <umgwanakikbuti@gmail.com>
      Signed-off-by: default avatarManish Chopra <manish.chopra@qlogic.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0d368820
    • J. Bruce Fields's avatar
      nfsd4: fix corruption of NFSv4 read data · 15b23ef5
      J. Bruce Fields authored
      The calculation of page_ptr here is wrong in the case the read doesn't
      start at an offset that is a multiple of a page.
      
      The result is that nfs4svc_encode_compoundres sets rq_next_page to a
      value one too small, and then the loop in svc_free_res_pages may
      incorrectly fail to clear a page pointer in rq_respages[].
      
      Pages left in rq_respages[] are available for the next rpc request to
      use, so xdr data may be written to that page, which may hold data still
      waiting to be transmitted to the client or data in the page cache.
      
      The observed result was silent data corruption seen on an NFSv4 client.
      
      We tag this as "fixing" 05638dc7 because that commit exposed this
      bug, though the incorrect calculation predates it.
      
      Particular thanks to Andrea Arcangeli and David Gilbert for analysis and
      testing.
      
      Fixes: 05638dc7 "nfsd4: simplify server xdr->next_page use"
      Cc: stable@vger.kernel.org
      Reported-by: default avatarAndrea Arcangeli <aarcange@redhat.com>
      Tested-by: default avatar"Dr. David Alan Gilbert" <dgilbert@redhat.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
      15b23ef5
    • Viresh Kumar's avatar
      cpufreq: update 'cpufreq_suspended' after stopping governors · b1b12bab
      Viresh Kumar authored
      Commit 8e30444e ("cpufreq: fix cpufreq suspend/resume for intel_pstate")
      introduced a bug where the governors wouldn't be stopped anymore for
      ->target{_index}() drivers during suspend. This happens because
      'cpufreq_suspended' is updated before stopping the governors during suspend
      and due to this __cpufreq_governor() would return early due to this check:
      
      	/* Don't start any governor operations if we are entering suspend */
      	if (cpufreq_suspended)
      		return 0;
      
      Fixes: 8e30444e ("cpufreq: fix cpufreq suspend/resume for intel_pstate")
      Cc: 3.15+ <stable@vger.kernel.org> # 3.15+: 8e30444e "cpufreq: fix cpufreq suspend/resume for intel_pstate"
      Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      b1b12bab
    • Hannes Frederic Sowa's avatar
      ipv6: remove rt6i_genid · 705f1c86
      Hannes Frederic Sowa authored
      Eric Dumazet noticed that all no-nonexthop or no-gateway routes which
      are already marked DST_HOST (e.g. input routes routes) will always be
      invalidated during sk_dst_check. Thus per-socket dst caching absolutely
      had no effect and early demuxing had no effect.
      
      Thus this patch removes rt6i_genid: fn_sernum already gets modified during
      add operations, so we only must ensure we mutate fn_sernum during ipv6
      address remove operations. This is a fairly cost extensive operations,
      but address removal should not happen that often. Also our mtu update
      functions do the same and we heard no complains so far. xfrm policy
      changes also cause a call into fib6_flush_trees. Also plug a hole in
      rt6_info (no cacheline changes).
      
      I verified via tracing that this change has effect.
      
      Cc: Eric Dumazet <eric.dumazet@gmail.com>
      Cc: YOSHIFUJI Hideaki <hideaki@yoshifuji.org>
      Cc: Vlad Yasevich <vyasevich@gmail.com>
      Cc: Nicolas Dichtel <nicolas.dichtel@6wind.com>
      Cc: Martin Lau <kafai@fb.com>
      Signed-off-by: default avatarHannes Frederic Sowa <hannes@stressinduktion.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      705f1c86
    • Jon Medhurst's avatar
      ARM: 8179/1: kprobes-test: Fix compile error "bad immediate value for offset" · ad684dce
      Jon Medhurst authored
      When compiling kprobes-test-arm.c the following error has been observed
      
      /tmp/ccoT403o.s:21439: Error: bad immediate value for offset (4168)
      
      This is caused by the compiler spilling it's literal pool too far away
      from the site which is trying to reference it with a PC relative load.
      This arises because the compiler is underestimating the size of the
      inline assembler code present, which apparently it approximates as 4
      bytes per line or instruction.
      
      We fix this problem by moving the operations which generate more than
      4 bytes out of the text section. Specifically, moving the .ascii
      directives to the .rodata section.
      Signed-off-by: default avatarJon Medhurst <tixy@linaro.org>
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      ad684dce