[linux-yocto] [PATCH] Fix kernel warnning on cfl-s(KBL PCH) board
Liwei Song
liwei.song at windriver.com
Mon Mar 5 00:53:04 PST 2018
Backport an upstream patch,
fix the following kernel warnning on CoffeeLake + KabyLake PCH board:
[ 3.689176] WARN_ON(!((dev_priv)->info.platform == INTEL_SKYLAKE) && !((dev_priv)->info.platform == INTEL_KABYLAKE))
[ 3.689191] ------------[ cut here ]------------
[ 3.690301] WARNING: CPU: 0 PID: 304 at /kernel-source//drivers/gpu/drm/i915/i915_drv.c:224 i915_driver_load+0x11a0/0x1430 [i915]
[ 3.690873] Modules linked in: i915(+) ac video acpi_pad snd_hda_intel snd_hda_codec snd_hda_core snd_pcm snd_timer aesni_intel aes_x86_64 crypto_simd cryptd efi_pstore glue_helper fan wmi efivars openvswitch nf_defrag_ipv6 nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack
[ 3.692111] CPU: 0 PID: 304 Comm: modprobe Not tainted 4.12.20-yocto-standard #1
[ 3.692731] Hardware name: Intel Corporation Kabylake Client platform/KBL S DDR4 UDIMM EV CRB, BIOS KBLSE2R1.R00.X097.P00.1707031236 07/03/2017
[ 3.693379] task: ffffa05932061d00 task.stack: ffffb919815d0000
[ 3.694042] RIP: 0010:i915_driver_load+0x11a0/0x1430 [i915]
[ 3.694694] RSP: 0000:ffffb919815d3b08 EFLAGS: 00010296
[ 3.695353] RAX: 0000000000000068 RBX: ffffa0592cd28000 RCX: 0000000000000001
[ 3.696019] RDX: 0000000080000001 RSI: 0000000000000092 RDI: 00000000ffffffff
[ 3.696668] RBP: ffffb919815d3b48 R08: 0000000000000068 R09: 0000000000000302
[ 3.697329] R10: ffffb919815d3a38 R11: 0000000000000000 R12: 0000000000000000
[ 3.697969] R13: ffffa059345be000 R14: ffffa059340b8000 R15: ffffffffc02fe840
[ 3.698610] FS: 00007f37b0412740(0000) GS:ffffa05936200000(0000) knlGS:0000000000000000
[ 3.699259] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3.699906] CR2: 00007f61de3d38a0 CR3: 00000002ad6f0003 CR4: 00000000003606f0
[ 3.700559] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 3.701206] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 3.701841] Call Trace:
[ 3.702493] i915_pci_probe+0x27/0x50 [i915]
[ 3.703127] local_pci_probe+0x42/0xa0
[ 3.703756] ? pci_match_device+0xe5/0x110
[ 3.704383] pci_device_probe+0x13b/0x160
[ 3.705009] driver_probe_device+0x226/0x2e0
[ 3.705636] __driver_attach+0x91/0xa0
[ 3.706260] ? driver_probe_device+0x2e0/0x2e0
[ 3.706883] bus_for_each_dev+0x62/0x90
[ 3.707503] driver_attach+0x1e/0x20
[ 3.708116] bus_add_driver+0x19b/0x220
[ 3.708728] ? 0xffffffffc01c3000
[ 3.709335] driver_register+0x60/0xe0
[ 3.709952] ? 0xffffffffc01c3000
[ 3.710637] __pci_register_driver+0x49/0x50
[ 3.711342] i915_init+0x57/0x5a [i915]
[ 3.711942] do_one_initcall+0x41/0x160
[ 3.712538] ? kfree+0x17d/0x190
[ 3.713129] ? kfree+0x17d/0x190
[ 3.713717] do_init_module+0x5f/0x1fc
[ 3.714376] load_module+0x2266/0x25d0
[ 3.714987] SyS_finit_module+0xad/0xd0
[ 3.715572] ? SyS_finit_module+0xad/0xd0
[ 3.716153] entry_SYSCALL_64_fastpath+0x13/0x6c
[ 3.716734] RIP: 0033:0x31f86ebae9
[ 3.717386] RSP: 002b:00007fff2d4c7c28 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 3.718082] RAX: ffffffffffffffda RBX: 00007fff2d4c5c60 RCX: 00000031f86ebae9
[ 3.718676] RDX: 0000000000000000 RSI: 00000000004184a4 RDI: 0000000000000001
[ 3.719273] RBP: 00000000006202d0 R08: 0000000000000000 R09: 0000000000000000
[ 3.719866] R10: 0000000000000001 R11: 0000000000000246 R12: 00007fff2d4c5c58
[ 3.720549] R13: 00000000006202d0 R14: 0000000000000025 R15: 00007fff2d4c5c60
Rodrigo Vivi (1):
drm/i915/cfl: Coffee Lake works on Kaby Lake PCH.
drivers/gpu/drm/i915/i915_drv.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
2.7.4
More information about the linux-yocto
mailing list