All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 76732] New: Kworker using 100% CPU
@ 2014-03-28 12:07 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-76732-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 49+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-03-28 12:07 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 5188 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=76732

          Priority: medium
            Bug ID: 76732
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
           Summary: Kworker using 100% CPU
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: patrick.clara-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: Driver/nouveau
           Product: xorg

Loading the nouveau driver leads to a kworker constantly using  100% of a CPU
core.

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
211 root      20   0       0      0      0 R 100.0  0.0   2:51.00 kworker/1:1

Powertop suggests the problem comes from nouveau_connector_hotplug_work.

I noticed this problem first occurred in kernel 3.9 and still persists in 3.14
rc8. In kernel 3.8 the problem did not occur. Some time ago, trying to figure
out the cause, i also tried a kernel bisect.


git bisect start
# bad: [c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1] Linux 3.9
git bisect bad c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1
# good: [19f949f52599ba7c3f67a5897ac6be14bfcb1200] Linux 3.8
git bisect good 19f949f52599ba7c3f67a5897ac6be14bfcb1200
# good: [d778df51c09264076fe0208c099ef7d428f21790] mm: vmscan: save work
scanning (almost) empty LRU lists
git bisect good d778df51c09264076fe0208c099ef7d428f21790
# bad: [ee89f81252179dcbf6cd65bd48299f5e52292d88] Merge branch
'for-3.9/core' of git://git.kernel.dk/linux-block
git bisect bad ee89f81252179dcbf6cd65bd48299f5e52292d88
# good: [69086a78bdc973ec0b722be790b146e84ba8a8c4] Merge branch 'for-linus'
of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect good 69086a78bdc973ec0b722be790b146e84ba8a8c4
# bad: [ed5dc2372dba46e0ecd08791b1a0399d313e5cff] Merge tag
'mmc-updates-for-3.9-rc1' of git://
git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc
git bisect bad ed5dc2372dba46e0ecd08791b1a0399d313e5cff
# bad: [1f3a574a4bfe86ebf7d51fac37e0668397372fd8] Merge branch
'drm-nouveau-next' of
git://anongit.freedesktop.org/git/nouveau/linux-2.6into drm-next
git bisect bad 1f3a574a4bfe86ebf7d51fac37e0668397372fd8
# good: [cd17ef4114ad5c514b17e6a0bb02a309ab90b692] Merge tag
'drm-intel-next-2013-02-01' of git://
people.freedesktop.org/~danvet/drm-intel into drm-next
git bisect good cd17ef4114ad5c514b17e6a0bb02a309ab90b692
# good: [210561ffd72d00eccf12c0131b8024d5436bae95] intel/iommu: force
writebuffer-flush quirk on Gen 4 Chipsets
git bisect good 210561ffd72d00eccf12c0131b8024d5436bae95
# good: [0f0800661a125ddb038462570c869fe6f8ab5737] drm/nouveau/gpio: pass
number of on-die gpio lines to base
git bisect good 0f0800661a125ddb038462570c869fe6f8ab5737
# good: [35f8badc1cf652381fa3f82c1fbea39f4dbe87fd] drm: Don't set the
plane->fb to NULL on successfull set_plane
git bisect good 35f8badc1cf652381fa3f82c1fbea39f4dbe87fd
# good: [31a34aa421032cfe3b2b892c929e7539e747a7ac] drm/nouveau/i2c: aux
channels not necessarily on nvio
git bisect good 31a34aa421032cfe3b2b892c929e7539e747a7ac
# bad: [0a0afd282fd715dd63d64b243299a64da14f8e8d] drm/nv50-/disp: move DP
link training to core and train from supervisor
git bisect bad 0a0afd282fd715dd63d64b243299a64da14f8e8d
# good: [ac8cc241a81941932da44993242e68c62e115ec7] drm/nv50/devinit:
reverse the logic for running encoder init scripts
git bisect good ac8cc241a81941932da44993242e68c62e115ec7
# good: [7dcd060c0e6e4f76ce7eea94c66437ce8f546530] drm/nouveau/i2c: create
proper chipset-specific class implementations
git bisect good 7dcd060c0e6e4f76ce7eea94c66437ce8f546530
# good: [5cc027f6b1ec651c18a4322ed3e30c6e9cf01e96] drm/nv50-/disp: handle
supervisor tasks from workqueue
git bisect good 5cc027f6b1ec651c18a4322ed3e30c6e9cf01e96
# first bad commit: [0a0afd282fd715dd63d64b243299a64da14f8e8d]
drm/nv50-/disp: move DP link training to core and train from supervisor




0a0afd282fd715dd63d64b243299a64da14f8e8d is the first bad commit
commit 0a0afd282fd715dd63d64b243299a64da14f8e8d
Author: Ben Skeggs <bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date:   Mon Feb 18 23:17:53 2013 -0500

    drm/nv50-/disp: move DP link training to core and train from supervisor

    We need to be able to do link training for PIOR-connected ANX9805 from
    the third supervisor handler (due to script ordering in the bios, can't
    have the "user" call train because some settings are overwritten from
    the modesetting bios scripts).

    This moves link training for SOR-connected DP encoders to the second
    supervisor interrupt, *before* we call the modesetting scripts (yes,
    different ordering from PIOR is necessary).  This is useful since we
    should now be able to remove some hacks to workaround races between
    the supervisor and link training paths.

    Signed-off-by: Ben Skeggs <bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

:040000 040000 8f2f2d8ea35eae1b6e6ff981761be02a8818bac3
2994eb54c689056254c241fe78a3af8d0b61d1df M    drivers

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 6515 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 49+ messages in thread

end of thread, other threads:[~2014-06-13  0:03 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-28 12:07 [Bug 76732] New: Kworker using 100% CPU bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-76732-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2014-03-28 12:12   ` [Bug 76732] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 12:12   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 12:12   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 12:13   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 12:13   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 12:22   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 12:32   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 12:39   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 13:08   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 13:46   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 15:41   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 16:50   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 17:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 17:33   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 17:39   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 18:00   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 18:04   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 21:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 21:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 21:58   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-28 22:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-30 10:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-30 11:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-30 11:17   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-03-30 12:01   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-02  9:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-02  9:50   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-02 13:57   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-04 23:13   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-04 23:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-05  0:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-05  0:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-05  0:22   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-06 10:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-06 10:38   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-06 10:38   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-08 21:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-09 23:54   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-10  8:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-22 15:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-11 23:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-11 23:50   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-12 14:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-12 14:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-12 14:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-12 14:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-12 14:41   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-06-13  0:03   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.