Dave Airlie
7f98ca454a
drm/radeon: fix hotplug race at startup
We apparantly get a hotplug irq before we've initialised
modesetting,
[drm] Loading R100 Microcode
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<c125f56f>] __mutex_lock_slowpath+0x23/0x91
*pde = 00000000
Oops: 0002 [#1]
Modules linked in: radeon(+) drm_kms_helper ttm drm i2c_algo_bit backlight pcspkr psmouse evdev sr_mod input_leds led_class cdrom sg parport_pc parport floppy intel_agp intel_gtt lpc_ich acpi_cpufreq processor button mfd_core agpgart uhci_hcd ehci_hcd rng_core snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm usbcore usb_common i2c_i801 i2c_core snd_timer snd soundcore thermal_sys
CPU: 0 PID: 15 Comm: kworker/0:1 Not tainted 4.2.0-rc7-00015-gbf67402 #111
Hardware name: MicroLink /D850MV , BIOS MV85010A.86A.0067.P24.0304081124 04/08/2003
Workqueue: events radeon_hotplug_work_func [radeon]
task: f6ca5900 ti: f6d3e000 task.ti: f6d3e000
EIP: 0060:[<c125f56f>] EFLAGS: 00010282 CPU: 0
EIP is at __mutex_lock_slowpath+0x23/0x91
EAX: 00000000 EBX: f5e900fc ECX: 00000000 EDX: fffffffe
ESI: f6ca5900 EDI: f5e90100 EBP: f5e90000 ESP: f6d3ff0c
DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
CR0: 8005003b CR2: 00000000 CR3: 36f61000 CR4: 000006d0
Stack:
f5e90100 00000000 c103c4c1 f6d2a5a0 f5e900fc f6df394c c125f162 f8b0faca
f6d2a5a0 c138ca00 f6df394c f7395600 c1034741 00d40000 00000000 f6d2a5a0
c138ca00 f6d2a5b8 c138ca10 c1034b58 00000001 f6d40000 f6ca5900 f6d0c940
Call Trace:
[<c103c4c1>] ? dequeue_task_fair+0xa4/0xb7
[<c125f162>] ? mutex_lock+0x9/0xa
[<f8b0faca>] ? radeon_hotplug_work_func+0x17/0x57 [radeon]
[<c1034741>] ? process_one_work+0xfc/0x194
[<c1034b58>] ? worker_thread+0x18d/0x218
[<c10349cb>] ? rescuer_thread+0x1d5/0x1d5
[<c103742a>] ? kthread+0x7b/0x80
[<c12601c0>] ? ret_from_kernel_thread+0x20/0x30
[<c10373af>] ? init_completion+0x18/0x18
Code: 42 08 e8 8e a6 dd ff c3 57 56 53 83 ec 0c 8b 35 48 f7 37 c1 8b 10 4a 74 1a 89 c3 8d 78 04 8b 40 08 89 63
Reported-and-Tested-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2015-08-21 19:43:18 +10:00
..
2015-08-12 12:24:04 -04:00
2015-07-17 10:06:04 +10:00
2015-08-18 10:47:21 +02:00
2015-04-01 08:28:15 +10:00
2015-06-20 00:32:52 +09:00
2015-08-11 17:21:35 +09:00
2015-04-07 17:06:41 +02:00
2015-08-07 04:48:46 +03:00
2015-08-19 11:13:59 +03:00
2015-07-10 11:02:47 +02:00
2015-06-16 10:01:16 +10:00
2015-07-29 16:38:24 -04:00
2015-08-14 09:50:37 +10:00
2015-07-02 15:58:07 +03:00
2015-06-12 16:40:42 +02:00
2015-06-05 11:00:52 +10:00
2015-08-21 19:43:18 +10:00
2015-06-16 14:25:55 +03:00
2015-07-17 10:25:02 +10:00
2015-06-08 15:28:28 +02:00
2015-06-18 12:53:54 +10:00
2015-05-27 13:13:33 +03:00
2015-07-24 11:51:14 +10:00
2015-04-21 14:47:16 +05:30
2015-06-24 11:20:46 +10:00
2015-06-16 11:22:41 +02:00
2015-08-14 09:49:19 +10:00
2015-08-04 11:10:41 +02:00
2015-06-19 17:25:01 +02:00
2015-05-05 09:45:57 +02:00
2015-05-21 13:56:51 +02:00
2015-06-19 17:25:17 +02:00
2015-05-26 15:50:34 +02:00
2015-07-22 14:52:26 +02:00
2015-04-20 09:29:41 -07:00
2015-08-15 14:52:12 +10:00
2015-06-24 11:21:35 +10:00
2015-05-08 13:03:46 +02:00
2015-05-20 09:19:58 +10:00
2015-04-07 18:11:25 +02:00
2015-05-13 11:28:22 +02:00
2015-05-22 16:18:28 +02:00
2015-06-15 07:45:49 +02:00
2015-05-05 09:45:57 +02:00
2015-07-15 11:38:38 +02:00
2015-06-26 13:18:51 -07:00
2015-08-07 14:35:53 +02:00
2015-05-29 09:17:57 +10:00
2015-05-22 16:18:21 +02:00
2015-05-05 09:26:43 +02:00
2015-04-08 11:14:25 +02:00
2015-05-22 08:48:08 +03:00
2015-06-19 17:50:05 +02:00
2015-05-07 13:02:39 +10:00
2015-06-26 13:18:51 -07:00
2015-04-07 12:29:23 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00