Michal Wajdeczko
28647b52ec
drm/i915/guc: Don't try to create log runtime if there is no log
...
In case of GuC initialization failure we may continue with driver
load, but we wrongly assume that GuC is fully functional. This
leads to the BUG as we attempt to access non-existing log vma.
[26386.121085] BUG: unable to handle kernel NULL pointer dereference at 00000000000000a0
[26386.121225] IP: guc_log_runtime_create+0x23/0xe0 [i915]
[26386.121763] Call Trace:
[26386.121870] guc_log_late_setup+0xfd/0x140 [i915]
[26386.121969] i915_driver_load+0x7ab/0x1730 [i915]
[26386.122069] i915_pci_probe+0x2d/0x90 [i915]
[26386.122089] pci_device_probe+0x9c/0x120
[26386.122107] driver_probe_device+0x2a9/0x490
[26386.122126] __driver_attach+0xd9/0xe0
[26386.122143] ? driver_probe_device+0x490/0x490
[26386.122158] bus_for_each_dev+0x57/0x90
[26386.122175] bus_add_driver+0x1eb/0x260
[26386.122190] ? 0xffffffffa069a000
[26386.122206] driver_register+0x52/0xc0
[26386.122220] ? 0xffffffffa069a000
[26386.122234] do_one_initcall+0x39/0x170
[26386.122252] ? kmem_cache_alloc_trace+0x1fd/0x2e0
[26386.122273] do_init_module+0x56/0x1ec
[26386.122289] load_module+0x219e/0x2550
[26386.122309] ? vfs_read+0x121/0x140
[26386.122331] ? SyS_finit_module+0xa5/0xe0
[26386.122346] SyS_finit_module+0xa5/0xe0
[26386.122371] entry_SYSCALL_64_fastpath+0x22/0x8f
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180131173241.19704-4-michal.wajdeczko@intel.com
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2018-02-01 12:36:50 +00:00
..
2017-11-02 11:10:55 +01:00
2017-12-23 13:47:22 -08:00
2017-11-14 16:54:12 -08:00
2017-12-18 15:47:12 +01:00
2017-12-04 13:57:03 -08:00
2017-11-29 13:10:25 -08:00
2017-11-27 12:36:45 -08:00
2018-01-18 09:32:15 +10:00
2017-11-15 11:56:19 -08:00
2018-01-11 16:57:32 -08:00
2017-11-04 09:26:51 +09:00
2018-01-04 17:06:25 +01:00
2017-11-14 15:32:19 -08:00
2017-12-21 11:08:30 +10:00
2017-12-26 17:34:03 -08:00
2017-11-23 16:29:05 +01:00
2017-10-22 02:22:39 +01:00
2017-12-18 12:09:39 +01:00
2017-11-16 12:47:46 -08:00
2017-12-22 19:48:01 +11:00
2017-11-29 18:40:42 -08:00
2017-11-13 01:41:39 +01:00
2017-11-02 11:10:55 +01:00
2017-12-15 09:53:04 +05:30
2017-12-04 05:42:49 +10:00
2017-11-15 13:46:33 -08:00
2017-11-02 11:10:55 +01:00
2017-11-13 21:14:07 -08:00
2017-11-13 17:56:58 -08:00
2018-01-03 13:54:31 +01:00
2017-11-02 11:10:55 +01:00
2017-11-16 09:10:59 -08:00
2018-01-10 14:17:17 +01:00
2018-02-01 12:36:50 +00:00
2017-12-30 10:16:51 -08:00
2017-11-15 13:35:43 -08:00
2017-12-18 15:47:12 +01:00
2017-12-26 11:53:24 -08:00
2017-11-17 20:16:20 -08:00
2017-12-04 07:14:30 -05:00
2017-12-12 23:27:04 +01:00
2017-11-19 08:04:41 -10:00
2017-11-13 01:34:14 +01:00
2017-12-02 11:15:14 +00:00
2018-01-08 16:17:31 -08:00
2018-01-05 16:45:06 -08:00
2018-01-02 16:45:51 +00:00
2017-12-29 21:13:04 +01:00
2017-11-21 15:57:09 -08:00
2018-01-07 13:27:07 +01:00
2017-11-21 15:46:44 -08:00
2017-11-13 17:56:58 -08:00
2017-11-15 13:39:18 -08:00
2017-11-02 11:10:55 +01:00
2017-12-17 13:57:15 +01:00
2017-12-19 21:37:24 +10:00
2017-11-16 16:05:01 -08:00
2017-11-21 15:57:07 -08:00
2017-11-15 13:46:33 -08:00
2018-01-05 11:14:57 +00:00
2017-12-17 13:54:31 -08:00
2018-01-04 12:42:31 +01:00
2018-01-06 23:06:58 +01:00
2018-01-09 14:19:41 +01:00
2018-01-10 15:58:23 -05:00
2017-11-21 15:57:09 -08:00
2017-11-21 15:57:07 -08:00
2017-11-13 12:10:24 -08:00
2017-12-21 14:59:27 -08:00
2018-01-08 10:52:03 +01:00
2017-12-23 16:46:23 +01:00
2018-01-10 15:07:47 -05:00
2017-11-02 11:10:55 +01:00
2018-01-02 21:01:02 +01:00
2017-11-16 09:10:59 -08:00
2017-12-31 13:13:56 -08:00
2017-11-17 16:10:04 -08:00
2017-11-15 10:56:56 -08:00
2017-12-15 16:00:41 +05:30
2017-12-29 21:13:04 +01:00
2018-01-08 10:47:48 -08:00
2017-11-02 11:10:55 +01:00
2017-11-15 13:37:15 -08:00
2017-11-21 15:57:07 -08:00
2017-11-16 13:06:27 -08:00
2017-11-22 21:09:18 -10:00
2017-11-17 16:56:17 -08:00
2017-11-13 17:56:58 -08:00
2017-11-16 09:15:57 -08:00
2017-11-17 20:14:10 -08:00
2017-11-16 16:05:01 -08:00
2017-11-17 20:12:08 -08:00
2017-11-25 08:37:16 -10:00
2018-01-05 12:17:33 -08:00
2017-11-17 20:21:44 -08:00
2017-12-30 14:31:30 -08:00
2017-11-14 16:54:12 -08:00
2017-11-30 15:29:44 -08:00
2017-12-19 11:07:00 +00:00
2017-11-02 11:10:55 +01:00
2018-01-18 09:32:15 +10:00
2017-12-18 13:55:43 -07:00
2017-11-29 10:24:57 +01:00
2017-11-17 14:31:27 -08:00
2017-12-16 16:37:51 +01:00
2017-12-21 11:19:22 +01:00
2017-11-02 11:10:55 +01:00
2018-01-11 18:39:52 +01:00
2017-11-21 15:57:07 -08:00
2017-11-14 16:47:47 -08:00
2017-12-02 21:31:03 -05:00
2017-12-19 10:32:00 +02:00
2017-12-14 21:01:40 +02:00
2017-11-16 09:10:59 -08:00
2017-11-16 09:10:59 -08:00
2017-11-21 15:57:07 -08:00
2018-01-12 10:00:15 -08:00
2017-11-02 11:10:55 +01:00
2017-11-13 01:40:52 +01:00
2017-11-28 15:17:49 +01:00