1. 01 Oct, 2015 1 commit
    • Damian Eppel's avatar
      clocksource: exynos_mct: Avoid blocking calls in the cpu hotplug notifier · 6d913c32
      Damian Eppel authored
      Whilst testing cpu hotplug events on kernel configured with
      DEBUG_PREEMPT and DEBUG_ATOMIC_SLEEP we get following BUG message,
      caused by calling request_irq() and free_irq() in the context of
      hotplug notification (which is in this case atomic context).
      
      [    0.091617] [c0] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100
      [    0.091828] [c0] Running under secure firmware.
      [    0.091901] [c0] Setting up static identity map for 0xc0618b98 - 0xc0618bf0
      [    0.091962] [c0] Exynos-SnapShot: exynos_ss_init failed
      [    0.112330] [c0] ftrace: Allocated trace_printk buffers
      [    0.134323] [c1] CPU1: Booted secondary processor
      [    0.134354] [c1] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101
      [    0.134402] [c1] BUG: sleeping function called from invalid context at mm/page_alloc.c:2638
      [    0.134518] [c1] in_atomic(): 1, irqs_disabled(): 0, pid: 0, name: swapper/1
      [    0.134560] [c1] no locks held by swapper/1/0.
      [    0.134598] [c1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.10.82-xu43hk #11
      [    0.134640] [c1] Backtrace:
      [    0.134694] [c1] [<c00132e4>] (dump_backtrace+0x0/0x114) from [<c0013554>] (show_stack+0x20/0x24)
      [    0.134744] [c1]  r7:00000000 r6:00000000 r5:df2da000 r4:c098c9c0
      [    0.134826] [c1] [<c0013534>] (show_stack+0x0/0x24) from [<c06124d8>] (dump_stack+0x24/0x28)
      [    0.134887] [c1] [<c06124b4>] (dump_stack+0x0/0x28) from [<c00617f8>] (__might_sleep+0x144/0x148)
      [    0.134952] [c1] [<c00616b4>] (__might_sleep+0x0/0x148) from [<c00f5590>] (__alloc_pages_nodemask+0x2a0/0xaac)
      [    0.135006] [c1]  r5:00080008 r4:002012d0
      [    0.135065] [c1] [<c00f52f0>] (__alloc_pages_nodemask+0x0/0xaac) from [<c012875c>] (new_slab+0x7c/0x22c)
      [    0.135132] [c1] [<c01286e0>] (new_slab+0x0/0x22c) from [<c012a92c>] (__slab_alloc.isra.14.constprop.18+0x558/0x61c)
      [    0.135187] [c1]  r9:00000000 r8:df001f00 r7:014f7000 r6:00000000 r5:c1dee9e0
      [    0.135187] r4:c08f79e0
      [    0.135295] [c1] [<c012a3d4>] (__slab_alloc.isra.14.constprop.18+0x0/0x61c) from [<c012af3c>] (kmem_cache_alloc_trace+0x194/0x1c8)
      [    0.135367] [c1] [<c012ada8>] (kmem_cache_alloc_trace+0x0/0x1c8) from [<c00b04e0>] (request_threaded_irq+0x78/0x138)
      [    0.135433] [c1] [<c00b0468>] (request_threaded_irq+0x0/0x138) from [<c0610f7c>] (exynos4_local_timer_setup+0x100/0x160)
      [    0.135507] [c1] [<c0610e7c>] (exynos4_local_timer_setup+0x0/0x160) from [<c060de3c>] (percpu_timer_setup+0xa4/0xb0)
      [    0.135562] [c1]  r8:4000406a r7:c0968c84 r6:10c0387d r5:c09148c0 r4:c1de9280
      [    0.135655] [c1] [<c060dd98>] (percpu_timer_setup+0x0/0xb0) from [<c060e1e4>] (secondary_start_kernel+0x118/0x134)
      [    0.135710] [c1]  r5:c09148c0 r4:00000001
      [    0.135765] [c1] [<c060e0cc>] (secondary_start_kernel+0x0/0x134) from [<4060d784>] (0x4060d784)
      [    0.135815] [c1]  r5:00000015 r4:5f13006a
      [    0.144239] [c2] CPU2: Booted secondary processor
      [    0.144267] [c2] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102
      [    0.154295] [c3] CPU3: Booted secondary processor
      
      Change-Id: I78ee2d3997b2137e3c19432e17b3e3672523cf43
      6d913c32
  2. 02 Sep, 2015 1 commit
  3. 01 Sep, 2015 1 commit
  4. 27 Aug, 2015 2 commits
  5. 25 Aug, 2015 2 commits
  6. 21 Aug, 2015 1 commit
  7. 20 Aug, 2015 2 commits
  8. 18 Aug, 2015 2 commits
  9. 14 Aug, 2015 2 commits
  10. 11 Aug, 2015 4 commits
  11. 10 Aug, 2015 2 commits
  12. 09 Aug, 2015 1 commit
  13. 07 Aug, 2015 1 commit
    • Dongjin Kim's avatar
      media/rc: Fix taint warning when driver is loaded · c428c5cf
      Dongjin Kim authored
      ------------[ cut here ]------------
      WARNING: CPU: 7 PID: 1772 at drivers/base/dd.c:286 driver_probe_device+0x254/0x2b4()
      Modules linked in: gpioplug_ir_recv(+) gpio_ir_recv rc_core fbtft_device(C) fbtft(C) syscs
      CPU: 7 PID: 1772 Comm: modprobe Tainted: G         C 4.2.0-rc1+ #10
      Hardware name: SAMSUNG EXYNOS (Flattened Device Tree)
      [<c0015824>] (unwind_backtrace) from [<c0012798>] (show_stack+0x10/0x14)
      [<c0012798>] (show_stack) from [<c0512fe0>] (dump_stack+0x84/0xc4)
      [<c0512fe0>] (dump_stack) from [<c0028ef8>] (warn_slowpath_common+0x80/0xb0)
      [<c0028ef8>] (warn_slowpath_common) from [<c0028fc4>] (warn_slowpath_null+0x1c/0x24)
      [<c0028fc4>] (warn_slowpath_null) from [<c0362318>] (driver_probe_device+0x254/0x2b4)
      [<c0362318>] (driver_probe_device) from [<c0360878>] (bus_for_each_drv+0x60/0x94)
      [<c0360878>] (bus_for_each_drv) from [<c0362054>] (__device_attach+0x8c/0xd8)
      [<c0362054>] (__device_attach) from [<c03617a4>] (bus_probe_device+0x84/0x8c)
      [<c03617a4>] (bus_probe_device) from [<c035fb90>] (device_add+0x3e8/0x570)
      [<c035fb90>] (device_add) from [<c0363c80>] (platform_device_add+0x84/0x188)
      [<c0363c80>] (platform_device_add) from [<bf03f09c>] (gpio_init+0x9c/0xfc [gpioplug_ir_re)
      [<bf03f09c>] (gpio_init [gpioplug_ir_recv]) from [<c0009710>] (do_one_initcall+0x8c/0x1d4)
      [<c0009710>] (do_one_initcall) from [<c051236c>] (do_init_module+0x5c/0x1cc)
      [<c051236c>] (do_init_module) from [<c008eb4c>] (load_module+0x164c/0x1e08)
      [<c008eb4c>] (load_module) from [<c008f49c>] (SyS_finit_module+0x68/0x78)
      [<c008f49c>] (SyS_finit_module) from [<c000f500>] (ret_fast_syscall+0x0/0x3c)
      ---[ end trace 5040610fa9a8c931 ]---
      
      Change-Id: If08f987033d521d85f3aaff50fd90c506eea5e0d
      Signed-off-by: 's avatarDongjin Kim <tobetter@gmail.com>
      c428c5cf
  14. 06 Aug, 2015 2 commits
  15. 03 Aug, 2015 1 commit
  16. 01 Aug, 2015 2 commits
  17. 30 Jul, 2015 3 commits
  18. 27 Jul, 2015 2 commits
  19. 22 Jul, 2015 1 commit
  20. 14 Jul, 2015 1 commit
  21. 13 Jul, 2015 4 commits
  22. 10 Jul, 2015 1 commit
  23. 09 Jul, 2015 1 commit