1. 15 3月, 2018 1 次提交
  2. 11 1月, 2018 1 次提交
  3. 18 12月, 2017 1 次提交
  4. 07 12月, 2017 4 次提交
  5. 21 11月, 2017 1 次提交
    • X
      drm/amdgpu: fix kernel hang when starting VNC server · d5a480b4
      Xiangliang.Yu 提交于
      After starting VNC server or running CTS test, kernel will hang and
      can see below call trace:
      
      [961816] INFO: task khugepaged:42 blocked for more than 120 seconds.
      [968581]       Tainted: G           OE   4.13.0 #1
      [973495] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
                this message.
      [980962] khugepaged      D    0    42      2 0x00000000
      [980967] Call Trace:
      [980977]  __schedule+0x28d/0x890
      [980982]  schedule+0x36/0x80
      [980986]  rwsem_down_read_failed+0x139/0x1c0
      [980991]  ? update_curr+0x100/0x1c0
      [981004]  call_rwsem_down_read_failed+0x18/0x30
      [981007]  down_read+0x20/0x40
      [981012]  khugepaged_scan_mm_slot+0x78/0x1ac0
      [981018]  ? __switch_to+0x23e/0x4a0
      [981022]  ? finish_task_switch+0x79/0x240
      [981026]  khugepaged+0x146/0x480
      [981031]  ? remove_wait_queue+0x60/0x60
      [981035]  kthread+0x109/0x140
      [981037]  ? khugepaged_scan_mm_slot+0x1ac0/0x1ac0
      [981039]  ? kthread_park+0x60/0x60
      [981044]  ret_from_fork+0x25/0x30
      
      After checking code and found 'commit b72cf4fc ("drm/amdgpu: move
      taking mmap_sem into get_user_pages v2")' forget to drop one case of
      up_read.
      Signed-off-by: NXiangliang.Yu <Xiangliang.Yu@amd.com>
      Reviewed-by: NChristian König <christian.koenig@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      d5a480b4
  6. 16 11月, 2017 1 次提交
  7. 14 11月, 2017 2 次提交
  8. 25 10月, 2017 1 次提交
    • M
      locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns... · 6aa7de05
      Mark Rutland 提交于
      locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns to READ_ONCE()/WRITE_ONCE()
      
      Please do not apply this to mainline directly, instead please re-run the
      coccinelle script shown below and apply its output.
      
      For several reasons, it is desirable to use {READ,WRITE}_ONCE() in
      preference to ACCESS_ONCE(), and new code is expected to use one of the
      former. So far, there's been no reason to change most existing uses of
      ACCESS_ONCE(), as these aren't harmful, and changing them results in
      churn.
      
      However, for some features, the read/write distinction is critical to
      correct operation. To distinguish these cases, separate read/write
      accessors must be used. This patch migrates (most) remaining
      ACCESS_ONCE() instances to {READ,WRITE}_ONCE(), using the following
      coccinelle script:
      
      ----
      // Convert trivial ACCESS_ONCE() uses to equivalent READ_ONCE() and
      // WRITE_ONCE()
      
      // $ make coccicheck COCCI=/home/mark/once.cocci SPFLAGS="--include-headers" MODE=patch
      
      virtual patch
      
      @ depends on patch @
      expression E1, E2;
      @@
      
      - ACCESS_ONCE(E1) = E2
      + WRITE_ONCE(E1, E2)
      
      @ depends on patch @
      expression E;
      @@
      
      - ACCESS_ONCE(E)
      + READ_ONCE(E)
      ----
      Signed-off-by: NMark Rutland <mark.rutland@arm.com>
      Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: davem@davemloft.net
      Cc: linux-arch@vger.kernel.org
      Cc: mpe@ellerman.id.au
      Cc: shuah@kernel.org
      Cc: snitzer@redhat.com
      Cc: thor.thayer@linux.intel.com
      Cc: tj@kernel.org
      Cc: viro@zeniv.linux.org.uk
      Cc: will.deacon@arm.com
      Link: http://lkml.kernel.org/r/1508792849-3115-19-git-send-email-paulmck@linux.vnet.ibm.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
      6aa7de05
  9. 20 10月, 2017 1 次提交
  10. 10 10月, 2017 1 次提交
  11. 13 9月, 2017 1 次提交
  12. 01 9月, 2017 2 次提交
  13. 30 8月, 2017 3 次提交
  14. 18 8月, 2017 2 次提交
  15. 16 8月, 2017 4 次提交
  16. 14 7月, 2017 2 次提交
  17. 25 5月, 2017 3 次提交
  18. 29 4月, 2017 1 次提交
  19. 08 4月, 2017 1 次提交
  20. 07 4月, 2017 1 次提交
  21. 30 3月, 2017 6 次提交