intel_sdvo_init: trying to register non-static key (original) (raw)

Borislav Petkov bp at alien8.de
Fri Feb 7 07:49:11 PST 2014


On Fri, Feb 07, 2014 at 05:32:06PM +0200, Imre Deak wrote:

I just realized it's a different issue, since it's on the init path. Also we set the drm device as the parent for the sdvo i2c adapter as opposed to the dp i2c adapter where it's the connector device. So the above patch won't help in Borislav's case.

Yep, correct:

[ 0.555355] Linux agpgart interface v0.103 [ 0.555524] [drm] Initialized drm 1.1.0 20060810 [ 0.559559] [drm] Memory usable by graphics device = 2048M [ 0.630197] i915 0000:00:02.0: irq 42 for MSI/MSI-X [ 0.630301] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 0.630384] [drm] Driver supports precise vblank timestamp query. [ 0.631116] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 0.653810] INFO: trying to register non-static key. [ 0.653896] the code is fine but needs lockdep annotation. [ 0.653974] turning off the locking correctness validator. [ 0.654057] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.14.0-rc1+ #1 [ 0.654136] Hardware name: LENOVO 2320CTO/2320CTO, BIOS G2ET86WW (2.06 ) 11/13/2012 [ 0.654236] ffff880213ca8000 ffff880213d01518 ffffffff81610028 ffffffff810ad3c1 [ 0.654525] ffff8800ca6f5ab8 ffff880213d01618 ffffffff8109e7c7 ffff880213ca8000 [ 0.654819] ffff880213ca8780 0000000000000000 0000000000000000 ffff880200000000 [ 0.655108] Call Trace: [ 0.655186] [] dump_stack+0x4f/0x7c [ 0.655270] [] ? console_unlock+0x2a1/0x450 [ 0.655357] [] __lock_acquire+0x1b57/0x1d50 [ 0.655441] [] ? mark_held_locks+0x74/0x140 [ 0.655525] [] ? debug_check_no_locks_freed+0x8e/0x160 [ 0.655612] [] ? lockdep_init_map+0xb3/0x570 [ 0.655696] [] ? trace_hardirqs_on_caller+0x11d/0x1e0 [ 0.655784] [] ? kernfs_addrm_finish+0x38/0x60 [ 0.655868] [] lock_acquire+0x87/0x130 [ 0.655953] [] ? kernfs_addrm_finish+0x38/0x60 [ 0.656035] [] kernfs_deactivate+0x10e/0x150 [ 0.656119] [] ? kernfs_addrm_finish+0x38/0x60 [ 0.656206] [] kernfs_addrm_finish+0x38/0x60 [ 0.656290] [] kernfs_remove_by_name_ns+0x58/0xb0 [ 0.656375] [] remove_files.isra.1+0x41/0x80 [ 0.656455] [] sysfs_remove_group+0x50/0xb0 [ 0.656541] [] sysfs_remove_groups+0x3b/0x60 [ 0.656627] [] device_remove_attrs+0x5b/0x80 [ 0.656712] [] device_del+0x125/0x1c0 [ 0.656794] [] device_unregister+0x16/0x30 [ 0.656876] [] i2c_del_adapter+0x1ba/0x270 [ 0.656962] [] intel_sdvo_init+0x1f6/0x830 [ 0.657048] [] ? preempt_count_sub+0xb1/0x100 [ 0.657134] [] ? _raw_spin_unlock_irqrestore+0x4b/0x80 [ 0.657220] [] ? gen6_read32+0x63/0x170 [ 0.657305] [] intel_modeset_init+0xb3d/0x1010 [ 0.657392] [] ? intel_power_domains_init_hw+0xa9/0x110 [ 0.657478] [] i915_driver_load+0xd5f/0xeb0 [ 0.657565] [] drm_dev_register+0x8a/0x190 [ 0.657649] [] drm_get_pci_dev+0xf9/0x230 [ 0.657733] [] i915_pci_probe+0x3b/0x60 [ 0.657818] [] local_pci_probe+0x4e/0xa0 [ 0.657899] [] ? get_device+0x19/0x20 [ 0.657982] [] pci_device_probe+0xe1/0x130 [ 0.658067] [] driver_probe_device+0x7b/0x240 [ 0.658151] [] __driver_attach+0xab/0xb0 [ 0.658234] [] ? driver_probe_device+0x240/0x240 [ 0.658319] [] bus_for_each_dev+0x5e/0x90 [ 0.658403] [] driver_attach+0x1e/0x20 [ 0.658487] [] bus_add_driver+0x117/0x230 [ 0.658570] [] driver_register+0x64/0xf0 [ 0.658650] [] __pci_register_driver+0x64/0x70 [ 0.658738] [] ? ftrace_define_fields_drm_vblank_event+0x6d/0x6d [ 0.658839] [] drm_pci_init+0x115/0x130 [ 0.658919] [] ? ftrace_define_fields_drm_vblank_event+0x6d/0x6d [ 0.659021] [] i915_init+0x6a/0x6c [ 0.659102] [] do_one_initcall+0x4e/0x170 [ 0.659187] [] ? parse_args+0xb0/0x360 [ 0.659270] [] kernel_init_freeable+0x106/0x19a [ 0.659355] [] ? do_early_param+0x86/0x86 [ 0.659440] [] ? rest_init+0xd0/0xd0 [ 0.659521] [] kernel_init+0xe/0x130 [ 0.659604] [] ret_from_fork+0x7c/0xb0 [ 0.659685] [] ? rest_init+0xd0/0xd0 [ 0.745837] [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit banging on pin 5 [ 0.756633] fbcon: inteldrmfb (fb0) is primary device

-- Regards/Gruss, Boris.

Sent from a fat crate under my desk. Formatting is fine.



More information about the dri-devel mailing list