lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20140319073431.GA32427@localhost>
Date:	Wed, 19 Mar 2014 15:34:31 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Daniel Vetter <daniel.vetter@...ll.ch>
Cc:	Alex Deucher <alexander.deucher@....com>,
	dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [cirrus_init] WARNING: CPU: 0 PID: 1 at
 drivers/gpu/drm/drm_crtc.c:94 drm_warn_on_modeset_not_all_locked()

Hi Daniel,

FYI, this patch triggers a new warning (in addition to some other old warnings).

git://people.freedesktop.org/~danvet/drm drm-docs

commit 62ff94a5492175759546f8bc61383189d6b49122
Author:     Daniel Vetter <daniel.vetter@...ll.ch>
AuthorDate: Thu Jan 23 22:18:47 2014 +0100
Commit:     Daniel Vetter <daniel.vetter@...ll.ch>
CommitDate: Thu Mar 13 12:48:47 2014 +0100

    drm/crtc-helper: remove LOCKING from kerneldoc
    
    - It yells.
    - WARNing about incorrect locking is harder to ignore, so better
      than kerneldoc.
    - Since those have been written per-crtc locks were added ...
    
    So remove them and replace them by appropriate WARNs.
    
    Reviewed-by: Alex Deucher <alexander.deucher@....com>
    Signed-off-by: Daniel Vetter <daniel.vetter@...ll.ch>

===================================================
PARENT COMMIT NOT CLEAN. LOOK OUT FOR WRONG BISECT!
===================================================

+------------------------------------------------------------------------------------------------+------------+------------+------------+
|                                                                                                | 9fd93784f1 | 62ff94a549 | ac96a27ebf |
+------------------------------------------------------------------------------------------------+------------+------------+------------+
| boot_successes                                                                                 | 0          | 0          | 0          |
| boot_failures                                                                                  | 80         | 20         | 19         |
| WARNING:CPU:PID:at_drivers/gpu/drm/drm_modes.c:drm_mode_probed_add()                           | 80         | 20         | 19         |
| WARNING:CPU:PID:at_drivers/gpu/drm/drm_modes.c:drm_mode_connector_list_update()                | 80         | 20         | 19         |
| WARNING:CPU:PID:at_kernel/events/core.c:perf_swevent_add()                                     | 1          |            |            |
| backtrace:drm_fb_helper_initial_config                                                         | 80         | 20         | 19         |
| backtrace:cirrus_fbdev_init                                                                    | 80         | 20         | 19         |
| backtrace:cirrus_modeset_init                                                                  | 80         | 20         | 19         |
| backtrace:__pci_register_driver                                                                | 80         | 20         | 19         |
| backtrace:drm_pci_init                                                                         | 80         | 20         | 19         |
| backtrace:cirrus_init                                                                          | 80         | 20         | 19         |
| backtrace:kernel_init_freeable                                                                 | 80         | 20         | 19         |
| WARNING:CPU:PID:at_drivers/gpu/drm/drm_crtc.c:drm_warn_on_modeset_not_all_locked()             | 0          | 20         | 19         |
| WARNING:CPU:PID:at_drivers/gpu/drm/drm_crtc_helper.c:drm_helper_encoder_in_use()               | 0          | 20         | 19         |
| WARNING:CPU:PID:at_drivers/gpu/drm/drm_crtc_helper.c:drm_helper_crtc_in_use()                  | 0          | 20         | 19         |
| WARNING:CPU:PID:at_drivers/gpu/drm/drm_crtc_helper.c:drm_helper_probe_single_connector_modes() | 0          | 20         | 19         |
| backtrace:drm_helper_disable_unused_functions                                                  | 0          | 20         | 19         |
+------------------------------------------------------------------------------------------------+------------+------------+------------+

[    2.954664] [TTM] Initializing pool allocator
[    2.955049] [TTM] Initializing DMA pool allocator
[    2.955512] ------------[ cut here ]------------
[    2.955944] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/drm_crtc.c:94 drm_warn_on_modeset_not_all_locked+0x3c/0x61()
[    2.957017] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.0-rc7-00703-gac96a27 #103
[    2.957683] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    2.958187]  00000000 00000000 7803fcd4 79cea3b4 00000000 7803fd04 79055a84 7a04f050
[    2.958965]  00000000 00000001 7a0c8835 0000005e 794f37b2 794f37b2 781c7000 869f3800
[    2.959733]  869f39cc 7803fd14 79055b39 00000009 00000000 7803fd28 794f37b2 869f4180
[    2.960514] Call Trace:
[    2.960759]  [<79cea3b4>] dump_stack+0x48/0x60
[    2.961156]  [<79055a84>] warn_slowpath_common+0x6f/0x86
[    2.961619]  [<794f37b2>] ? drm_warn_on_modeset_not_all_locked+0x3c/0x61
[    2.962196]  [<794f37b2>] ? drm_warn_on_modeset_not_all_locked+0x3c/0x61
[    2.962777]  [<79055b39>] warn_slowpath_null+0x1d/0x1f
[    2.963217]  [<794f37b2>] drm_warn_on_modeset_not_all_locked+0x3c/0x61
[    2.963787]  [<794e5815>] drm_helper_disable_unused_functions+0xd/0xcf
[    2.964357]  [<7961ba05>] cirrus_fbdev_init+0x61/0x7c
[    2.964802]  [<7961b314>] cirrus_modeset_init+0x13f/0x188
[    2.965270]  [<7961a686>] cirrus_driver_load+0x89/0xd4
[    2.965723]  [<794f012f>] drm_dev_register+0x67/0xc9
[    2.966154]  [<794f1aa6>] drm_get_pci_dev+0xd7/0x18a
[    2.966589]  [<79d01f3c>] ? mutex_unlock+0x8/0xa
[    2.966997]  [<7961b40b>] cirrus_pci_probe+0x7d/0x89
[    2.967440]  [<793f03a1>] pci_device_probe+0x44/0x85
[    2.967886]  [<791234fd>] ? sysfs_create_link+0x27/0x2f
[    2.968341]  [<796cf0f4>] driver_probe_device+0x88/0x17a
[    2.968813]  [<793f0222>] ? pci_match_device+0x97/0x9d
[    2.969257]  [<796cf259>] __driver_attach+0x47/0x63
[    2.969687]  [<796cdf74>] bus_for_each_dev+0x55/0x5f
[    2.970132]  [<796cf02d>] driver_attach+0x17/0x19
[    2.970544]  [<796cf212>] ? __device_attach+0x2c/0x2c
[    2.970989]  [<796ce566>] bus_add_driver+0xd1/0x198
[    2.971414]  [<796cf807>] driver_register+0x7a/0xae
[    2.971845]  [<793f027b>] __pci_register_driver+0x2d/0x30
[    2.972324]  [<7a2f95a9>] ? mgag200_init+0x23/0x23
[    2.972748]  [<794f1bb5>] drm_pci_init+0x5c/0xd3
[    2.973143]  [<7a2f95a9>] ? mgag200_init+0x23/0x23
[    2.973562]  [<7a2f95c4>] cirrus_init+0x1b/0x23
[    2.973962]  [<7a2cca6c>] do_one_initcall+0x82/0x10b
[    2.974391]  [<793bf7e3>] ? strlen+0xd/0x17
[    2.974760]  [<7a2cc430>] ? repair_env_string+0x12/0x51
[    2.975222]  [<79066f76>] ? parse_args+0x168/0x224
[    2.975641]  [<7a2ccc43>] kernel_init_freeable+0x14e/0x1e5
[    2.976115]  [<7a2cc41e>] ? do_early_param+0x78/0x78
[    2.976546]  [<79ce1ad4>] kernel_init+0xb/0xc6
[    2.976941]  [<79d03b77>] ret_from_kernel_thread+0x1b/0x28
[    2.977415]  [<79ce1ac9>] ? rest_init+0x6d/0x6d
[    2.977818] ---[ end trace b419620760c3adbd ]---
[    2.978217] ------------[ cut here ]------------

git bisect start ac96a27ebfe1ac1631a679f24991143c124127b5 dcb99fd9b08cfe1afe426af4d8d3cbc429190f15 --
git bisect  bad 836bf362b72114e5d4cdb6895fbd26e9a415e854  # 23:32      0-     14  Merge 'drm-intel/drm-intel-nightly' into devel-roam-i386-201403182248
git bisect good 5f85f4962e667de0adda472a5f9dee73f9815ec5  # 00:07     20+      2  0day base guard for 'devel-roam-i386-201403182248'
git bisect good e9dbd2b20201b49b04476d2e5763faa822967913  # 00:27     20+      1  drm/i915: Fix forcewake counts for gen8
git bisect good a1a8bdf355e75037538aaa602baeeda447da8346  # 00:52     20+      1  Merge remote-tracking branch 'origin/drm-intel-fixes' into drm-intel-nightly
git bisect good 3a05700dc874f377b13e4368550e8c7228826ab4  # 00:57     20+      1  drm/doc: Update copyright
git bisect  bad 978c6050165bba52eab7ef3581d447eb215def77  # 01:04      0-      1  Merge branch 'drm-docs' of ssh://people.freedesktop.org/~danvet/drm into drm-next
git bisect good e40d641099213145a034981e646dc2180a488152  # 01:14     20+      1  Merge branch 'drm-minor' of git://people.freedesktop.org/~dvdhrm/linux into drm-next
git bisect good 3e70292cd4a002cd799a1cd4115286cba3933d6d  # 01:23     20+     20  drm/modes: drop maxPitch from drm_mode_validate_size
git bisect  bad 00d762cbd1fb5df63bf005ffa1c8d0275f79890e  # 01:30      0-      3  drm: drop error code for drm_helper_resume_force_mode
git bisect good 9ee984a5f735d6afc6f889e179b2e4b1f2ec335f  # 01:40     20+     20  drm/doc: Fix misplaced </para>
git bisect  bad 62ff94a5492175759546f8bc61383189d6b49122  # 02:03      0-      2  drm/crtc-helper: remove LOCKING from kerneldoc
git bisect good 9fd93784f1719532d796914935f87cc1c6afd687  # 02:26     20+     20  drm: remove return value from drm_helper_mode_fill_fb_struct
# first bad commit: [62ff94a5492175759546f8bc61383189d6b49122] drm/crtc-helper: remove LOCKING from kerneldoc
git bisect good 9fd93784f1719532d796914935f87cc1c6afd687  # 02:44     60+     80  drm: remove return value from drm_helper_mode_fill_fb_struct
git bisect  bad ac96a27ebfe1ac1631a679f24991143c124127b5  # 02:44      0-     19  0day head guard for 'devel-roam-i386-201403182248'
git bisect good 9a15c944f76cffa5581959cefe709c7c4ea26994  # 03:14     60+      5  Merge branch 'for-linus' of git://git.kernel.dk/linux-block
git bisect good 3bd688c0bfa306c861da2311afbaa4413768dc7c  # 04:00     60+      3  Add linux-next specific files for 20140318

Thanks,
Fengguang

View attachment "dmesg-yocto-cairo-10:20140318230122:i386-randconfig-r0-0318:3.14.0-rc7-00703-gac96a27:103" of type "text/plain" (148507 bytes)

Download attachment "i386-randconfig-r0-0318-ac96a27ebfe1ac1631a679f24991143c124127b5-WARNING:---at----drm_warn_on_modeset_not_all_locked+-x-113476.log" of type "application/octet-stream" (40214 bytes)

View attachment "config-3.14.0-rc7-00703-gac96a27" of type "text/plain" (94005 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ