dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
@ 2015-09-21 13:31 Borislav Petkov
  2015-09-22 19:06 ` Borislav Petkov
  2015-09-22 19:58 ` Alex Deucher
  0 siblings, 2 replies; 24+ messages in thread
From: Borislav Petkov @ 2015-09-21 13:31 UTC (permalink / raw)
  To: Alex Deucher, Christian König; +Cc: dri-devel, lkml

Hi guys,

this assert_drm_connector_list_read_locked() thing fires here when
suspending to disk with Linus' master from around a week ago and
tip/master merged ontop.

After I resume, box comes up but wedges solid. I've managed to capture
that splat in its whole glory too, see the end of this mail.

Let me know if you need more info.

Thanks.

...
[    6.702579] [drm] ring test on 5 succeeded in 1 usecs
[    6.702584] [drm] UVD initialized successfully.
[    6.703003] kvm: Nested Virtualization enabled
[    6.703008] kvm: Nested Paging enabled
[    6.703236] [drm] ib test on ring 0 succeeded in 0 usecs
[    7.350567] [drm] ib test on ring 5 succeeded
[    7.355083] [drm] Radeon Display Connectors
[    7.355085] [drm] Connector 0:
[    7.355087] [drm]   DVI-I-1
[    7.355088] [drm]   HPD1
[    7.355092] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[    7.355093] [drm]   Encoders:
[    7.355094] [drm]     DFP1: INTERNAL_UNIPHY
[    7.355096] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
[    7.355097] [drm] Connector 1:
[    7.355099] [drm]   DIN-1
[    7.355100] [drm]   Encoders:
[    7.355101] [drm]     TV1: INTERNAL_KLDSCP_DAC2
[    7.355102] [drm] Connector 2:
[    7.355104] [drm]   DVI-I-2
[    7.355105] [drm]   HPD2
[    7.355108] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[    7.355109] [drm]   Encoders:
[    7.355110] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    7.355111] [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
[    7.433440] [drm] fb mappable at 0xC0355000
[    7.433441] [drm] vram apper at 0xC0000000
[    7.433442] [drm] size 9216000
[    7.433442] [drm] fb depth is 24
[    7.433443] [drm]    pitch is 7680
[    7.726046] fbcon: radeondrmfb (fb0) is primary device
[    7.778688] Console: switching to colour frame buffer device 240x75
[    7.794402] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[    7.806218] [drm] Initialized radeon 2.43.0 20080528 for 0000:01:00.0 on minor 0
[    8.325617] Adding 15624188k swap on /dev/sda1.  Priority:-1 extents:1 across:15624188k SS
[    8.388944] EXT4-fs (sda2): re-mounted. Opts: (null)
[    8.463474] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
[    9.067027] device-mapper: ioctl: 4.33.0-ioctl (2015-8-18) initialised: dm-devel@redhat.com
[    9.156228] fuse init (API version 7.23)
[    9.423650] EXT4-fs (sdb1): recovery complete
[    9.429639] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[    9.693493] EXT4-fs (sdc1): recovery complete
[    9.713762] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
[    9.722179] EXT4-fs (sdd1): mounting ext3 file system using the ext4 subsystem
[    9.823570] EXT4-fs (sdd1): recovery complete
[    9.841202] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null)
[   10.487124] NET: Registered protocol family 10
[   10.577013] r8169 0000:02:00.0 eth0: link down
[   10.577139] r8169 0000:02:00.0 eth0: link down
[   10.588052] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.163524] r8169 0000:02:00.0 eth0: link up
[   12.170637] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   31.654000] hib.sh (3258): drop_caches: 3
[   31.658377] PM: Hibernation mode set to 'shutdown'
[   31.669415] PM: Syncing filesystems ... done.
[   31.677368] Freezing user space processes ... (elapsed 0.001 seconds) done.
[   31.686887] PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
[   31.693064] PM: Marking nosave pages: [mem 0x0009e000-0x000fffff]
[   31.699188] PM: Marking nosave pages: [mem 0xba9b8000-0xbca4dfff]
[   31.705428] PM: Marking nosave pages: [mem 0xbca4f000-0xbcc54fff]
[   31.711544] PM: Marking nosave pages: [mem 0xbd083000-0xbd7f3fff]
[   31.717693] PM: Marking nosave pages: [mem 0xbd800000-0x100000fff]
[   31.724553] PM: Basic memory bitmaps created
[   31.728833] PM: Preallocating image memory... done (allocated 129259 pages)
[   32.040891] PM: Allocated 517036 kbytes in 0.30 seconds (1723.45 MB/s)
[   32.047431] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[   32.060464] ------------[ cut here ]------------
[   32.065167] WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
[   32.075255] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 amd64_edac_mod lrw gf128mul glue_helper ablk_helper cryptd fam15h_power k10temp edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   32.098694] CPU: 4 PID: 863 Comm: kworker/u16:9 Not tainted 4.3.0-rc1+ #1
[   32.105543] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   32.115538] Workqueue: events_unbound async_run_entry_fn
[   32.120927]  ffffffff81959a25 ffff8800ba00fb60 ffffffff812c8c2a 0000000000000000
[   32.128494]  ffff8800ba00fb98 ffffffff81053e55 ffff880429ff1000 ffff8804280caa00
[   32.136057]  0000000000000003 0000000000000000 ffffffff81960c81 ffff8800ba00fba8
[   32.143624] Call Trace:
[   32.146106]  [<ffffffff812c8c2a>] dump_stack+0x4e/0x84
[   32.151295]  [<ffffffff81053e55>] warn_slowpath_common+0x95/0xe0
[   32.157359]  [<ffffffff81053f5a>] warn_slowpath_null+0x1a/0x20
[   32.163253]  [<ffffffff813c0228>] drm_helper_choose_encoder_dpms+0x88/0x90
[   32.170197]  [<ffffffff813c066e>] drm_helper_connector_dpms+0x4e/0x110
[   32.176830]  [<ffffffffa00204bf>] radeon_suspend_kms+0x6f/0x380 [radeon]
[   32.183597]  [<ffffffff816c3dfb>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   32.190460]  [<ffffffff81311b00>] ? pci_pm_poweroff+0x100/0x100
[   32.196455]  [<ffffffffa001e1ac>] radeon_pmops_freeze+0x1c/0x20 [radeon]
[   32.203232]  [<ffffffff81311b6a>] pci_pm_freeze+0x6a/0x100
[   32.208777]  [<ffffffff81311b00>] ? pci_pm_poweroff+0x100/0x100
[   32.214756]  [<ffffffff8147180a>] dpm_run_callback+0x7a/0x280
[   32.220562]  [<ffffffff81472498>] __device_suspend+0xf8/0x2d0
[   32.226369]  [<ffffffff8147268f>] async_suspend+0x1f/0xa0
[   32.231818]  [<ffffffff81079666>] async_run_entry_fn+0x46/0xf0
[   32.237712]  [<ffffffff810700fc>] process_one_work+0x1ec/0x610
[   32.243604]  [<ffffffff81070058>] ? process_one_work+0x148/0x610
[   32.249670]  [<ffffffff81070586>] worker_thread+0x66/0x450
[   32.255207]  [<ffffffff81070520>] ? process_one_work+0x610/0x610
[   32.261274]  [<ffffffff81076a58>] kthread+0x108/0x120
[   32.266382]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   32.273000]  [<ffffffff816c4cff>] ret_from_fork+0x3f/0x70
[   32.278450]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   32.285037] ---[ end trace 5941400179d67357 ]---
[   32.289771] ------------[ cut here ]------------
[   32.294456] WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_crtc_dpms+0x91/0xa0()
[   32.304274] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 amd64_edac_mod lrw gf128mul glue_helper ablk_helper cryptd fam15h_power k10temp edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   32.327736] CPU: 4 PID: 863 Comm: kworker/u16:9 Tainted: G        W       4.3.0-rc1+ #1
[   32.335810] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   32.345803] Workqueue: events_unbound async_run_entry_fn
[   32.351186]  ffffffff81959a25 ffff8800ba00fb60 ffffffff812c8c2a 0000000000000000
[   32.358768]  ffff8800ba00fb98 ffffffff81053e55 ffff880429ff1000 ffff8804298fc000
[   32.366333]  0000000000000003 0000000000000000 0000000000000003 ffff8800ba00fba8
[   32.373897] Call Trace:
[   32.376378]  [<ffffffff812c8c2a>] dump_stack+0x4e/0x84
[   32.381568]  [<ffffffff81053e55>] warn_slowpath_common+0x95/0xe0
[   32.387634]  [<ffffffff81053f5a>] warn_slowpath_null+0x1a/0x20
[   32.393528]  [<ffffffff813c02c1>] drm_helper_choose_crtc_dpms+0x91/0xa0
[   32.400224]  [<ffffffffa002a9b0>] ? atombios_blank_crtc+0x140/0x140 [radeon]
[   32.407361]  [<ffffffff813c071d>] drm_helper_connector_dpms+0xfd/0x110
[   32.413974]  [<ffffffffa00204bf>] radeon_suspend_kms+0x6f/0x380 [radeon]
[   32.420739]  [<ffffffff816c3dfb>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   32.427596]  [<ffffffff81311b00>] ? pci_pm_poweroff+0x100/0x100
[   32.433591]  [<ffffffffa001e1ac>] radeon_pmops_freeze+0x1c/0x20 [radeon]
[   32.440358]  [<ffffffff81311b6a>] pci_pm_freeze+0x6a/0x100
[   32.445925]  [<ffffffff81311b00>] ? pci_pm_poweroff+0x100/0x100
[   32.451903]  [<ffffffff8147180a>] dpm_run_callback+0x7a/0x280
[   32.457708]  [<ffffffff81472498>] __device_suspend+0xf8/0x2d0
[   32.463518]  [<ffffffff8147268f>] async_suspend+0x1f/0xa0
[   32.468975]  [<ffffffff81079666>] async_run_entry_fn+0x46/0xf0
[   32.474868]  [<ffffffff810700fc>] process_one_work+0x1ec/0x610
[   32.484062]  [<ffffffff81070058>] ? process_one_work+0x148/0x610
[   32.493413]  [<ffffffff81070586>] worker_thread+0x66/0x450
[   32.502219]  [<ffffffff81070520>] ? process_one_work+0x610/0x610
[   32.511569]  [<ffffffff81076a58>] kthread+0x108/0x120
[   32.519970]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   32.529874]  [<ffffffff816c4cff>] ret_from_fork+0x3f/0x70
[   32.538660]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   32.548615] ---[ end trace 5941400179d67358 ]---
[   32.559780] ------------[ cut here ]------------
[   32.567771] WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
[   32.581227] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 amd64_edac_mod lrw gf128mul glue_helper ablk_helper cryptd fam15h_power k10temp edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   32.611715] CPU: 4 PID: 863 Comm: kworker/u16:9 Tainted: G        W       4.3.0-rc1+ #1
[   32.623351] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   32.636827] Workqueue: events_unbound async_run_entry_fn
[   32.645614]  ffffffff81959a25 ffff8800ba00fb60 ffffffff812c8c2a 0000000000000000
[   32.656576]  ffff8800ba00fb98 ffffffff81053e55 ffff880429ff1000 ffff8804280c8400
[   32.667498]  0000000000000003 0000000000000000 ffffffff81960c81 ffff8800ba00fba8
[   32.678404] Call Trace:
[   32.684244]  [<ffffffff812c8c2a>] dump_stack+0x4e/0x84
[   32.692771]  [<ffffffff81053e55>] warn_slowpath_common+0x95/0xe0
[   32.702155]  [<ffffffff81053f5a>] warn_slowpath_null+0x1a/0x20
[   32.711341]  [<ffffffff813c0228>] drm_helper_choose_encoder_dpms+0x88/0x90
[   32.721589]  [<ffffffff813c066e>] drm_helper_connector_dpms+0x4e/0x110
[   32.731479]  [<ffffffffa00204bf>] radeon_suspend_kms+0x6f/0x380 [radeon]
[   32.741561]  [<ffffffff816c3dfb>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   32.751739]  [<ffffffff81311b00>] ? pci_pm_poweroff+0x100/0x100
[   32.761054]  [<ffffffffa001e1ac>] radeon_pmops_freeze+0x1c/0x20 [radeon]
[   32.771150]  [<ffffffff81311b6a>] pci_pm_freeze+0x6a/0x100
[   32.780024]  [<ffffffff81311b00>] ? pci_pm_poweroff+0x100/0x100
[   32.789321]  [<ffffffff8147180a>] dpm_run_callback+0x7a/0x280
[   32.798439]  [<ffffffff81472498>] __device_suspend+0xf8/0x2d0
[   32.807538]  [<ffffffff8147268f>] async_suspend+0x1f/0xa0
[   32.816291]  [<ffffffff81079666>] async_run_entry_fn+0x46/0xf0
[   32.825451]  [<ffffffff810700fc>] process_one_work+0x1ec/0x610
[   32.834637]  [<ffffffff81070058>] ? process_one_work+0x148/0x610
[   32.843983]  [<ffffffff81070586>] worker_thread+0x66/0x450
[   32.852826]  [<ffffffff81070520>] ? process_one_work+0x610/0x610
[   32.862169]  [<ffffffff81076a58>] kthread+0x108/0x120
[   32.870586]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   32.880490]  [<ffffffff816c4cff>] ret_from_fork+0x3f/0x70
[   32.889259]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   32.899184] ---[ end trace 5941400179d67359 ]---
[   32.907238] ------------[ cut here ]------------
[   32.915248] WARNING: CPU: 5 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_crtc_dpms+0x91/0xa0()
[   32.928439] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 amd64_edac_mod lrw gf128mul glue_helper ablk_helper cryptd fam15h_power k10temp edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   32.958998] CPU: 5 PID: 863 Comm: kworker/u16:9 Tainted: G        W       4.3.0-rc1+ #1
[   32.970661] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   32.984157] Workqueue: events_unbound async_run_entry_fn
[   32.992966]  ffffffff81959a25 ffff8800ba00fb60 ffffffff812c8c2a 0000000000000000
[   33.003955]  ffff8800ba00fb98 ffffffff81053e55 ffff880429ff1000 ffff8804298fa000
[   33.014908]  0000000000000003 0000000000000000 0000000000000003 ffff8800ba00fba8
[   33.025846] Call Trace:
[   33.031701]  [<ffffffff812c8c2a>] dump_stack+0x4e/0x84
[   33.040227]  [<ffffffff81053e55>] warn_slowpath_common+0x95/0xe0
[   33.049621]  [<ffffffff81053f5a>] warn_slowpath_null+0x1a/0x20
[   33.058833]  [<ffffffff813c02c1>] drm_helper_choose_crtc_dpms+0x91/0xa0
[   33.068859]  [<ffffffffa002a9b0>] ? atombios_blank_crtc+0x140/0x140 [radeon]
[   33.079302]  [<ffffffff813c071d>] drm_helper_connector_dpms+0xfd/0x110
[   33.089264]  [<ffffffffa00204bf>] radeon_suspend_kms+0x6f/0x380 [radeon]
[   33.099381]  [<ffffffff816c3dfb>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   33.109582]  [<ffffffff81311b00>] ? pci_pm_poweroff+0x100/0x100
[   33.118898]  [<ffffffffa001e1ac>] radeon_pmops_freeze+0x1c/0x20 [radeon]
[   33.129009]  [<ffffffff81311b6a>] pci_pm_freeze+0x6a/0x100
[   33.137867]  [<ffffffff81311b00>] ? pci_pm_poweroff+0x100/0x100
[   33.147183]  [<ffffffff8147180a>] dpm_run_callback+0x7a/0x280
[   33.156290]  [<ffffffff81472498>] __device_suspend+0xf8/0x2d0
[   33.165406]  [<ffffffff8147268f>] async_suspend+0x1f/0xa0
[   33.174152]  [<ffffffff81079666>] async_run_entry_fn+0x46/0xf0
[   33.183355]  [<ffffffff810700fc>] process_one_work+0x1ec/0x610
[   33.192568]  [<ffffffff81070058>] ? process_one_work+0x148/0x610
[   33.201953]  [<ffffffff81070586>] worker_thread+0x66/0x450
[   33.210793]  [<ffffffff81070520>] ? process_one_work+0x610/0x610
[   33.220187]  [<ffffffff81076a58>] kthread+0x108/0x120
[   33.228596]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   33.238492]  [<ffffffff816c4cff>] ret_from_fork+0x3f/0x70
[   33.247260]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   33.257225] ---[ end trace 5941400179d6735a ]---
[   33.562334] PM: freeze of devices complete after 1505.243 msecs
[   33.574510] PM: late freeze of devices complete after 6.235 msecs
[   33.587264] PM: noirq freeze of devices complete after 6.647 msecs
[   33.593490] Disabling non-boot CPUs ...
[   33.618614] smpboot: CPU 1 is now offline
[   33.652741] smpboot: CPU 2 is now offline
[   33.700532] smpboot: CPU 3 is now offline
[   33.742880] smpboot: CPU 4 is now offline
[   33.788740] smpboot: CPU 5 is now offline
[   33.820800] smpboot: CPU 6 is now offline
[   33.852632] smpboot: CPU 7 is now offline
[   33.870237] PM: Creating hibernation image:
[   34.354018] PM: Need to copy 139046 pages
[   34.358033] PM: Normal pages needed: 139046 + 1024, available pages: 4029762
[   35.110019] PM: Hibernation image created (139046 pages copied)
[   34.279213] LVT offset 0 assigned for vector 0x400
[   34.284682] Enabling non-boot CPUs ...
[   34.288640] x86: Booting SMP configuration:
[   34.292830] smpboot: Booting Node 0 Processor 1 APIC 0x11
[   34.320336]  cache: parent cpu1 should not be sleeping
[   34.326904] CPU1 is up
[   34.329376] smpboot: Booting Node 0 Processor 2 APIC 0x12
[   34.356093]  cache: parent cpu2 should not be sleeping
[   34.361949] CPU2 is up
[   34.364416] smpboot: Booting Node 0 Processor 3 APIC 0x13
[   34.395004]  cache: parent cpu3 should not be sleeping
[   34.400844] CPU3 is up
[   34.403269] smpboot: Booting Node 0 Processor 4 APIC 0x14
[   34.426890]  cache: parent cpu4 should not be sleeping
[   34.434053] CPU4 is up
[   34.436562] smpboot: Booting Node 0 Processor 5 APIC 0x15
[   34.463794]  cache: parent cpu5 should not be sleeping
[   34.470967] CPU5 is up
[   34.473493] smpboot: Booting Node 0 Processor 6 APIC 0x16
[   34.500304]  cache: parent cpu6 should not be sleeping
[   34.507428] CPU6 is up
[   34.509945] smpboot: Booting Node 0 Processor 7 APIC 0x17
[   34.535182]  cache: parent cpu7 should not be sleeping
[   34.542453] CPU7 is up
[   34.568007] PM: noirq thaw of devices complete after 2.272 msecs
[   34.576209] PM: early thaw of devices complete after 2.129 msecs
[   34.583042] rtc_cmos 00:03: System wakeup disabled by ACPI
[   34.584556] [drm] PCIE gen 2 link speeds already enabled
[   34.584755] serial 00:06: activated
[   34.587880] [drm] PCIE GART of 512M enabled (table at 0x0000000000254000).
[   34.587932] radeon 0000:01:00.0: WB enabled
[   34.587937] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff8804293b6c00
[   34.588352] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x00000000000521d0 and cpu addr 0xffffc900008121d0
[   34.619311] [drm] ring test on 0 succeeded in 0 usecs
[   34.680684] r8169 0000:02:00.0 eth0: link down
[   34.794001] [drm] ring test on 5 succeeded in 1 usecs
[   34.794008] [drm] UVD initialized successfully.
[   34.794168] [drm] ib test on ring 0 succeeded in 0 usecs
[   34.900888] ata5: SATA link down (SStatus 0 SControl 300)
[   34.900955] ata6: SATA link down (SStatus 0 SControl 300)
[   35.072778] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   35.072843] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   35.072903] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   35.072958] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   35.074925] ata2.00: supports DRM functions and may not be fully accessible
[   35.074969] ata1.00: supports DRM functions and may not be fully accessible
[   35.075058] ata1.00: failed to get NCQ Send/Recv Log Emask 0x1
[   35.075097] ata2.00: failed to get NCQ Send/Recv Log Emask 0x1
[   35.075641] ata1.00: supports DRM functions and may not be fully accessible
[   35.075777] ata1.00: failed to get NCQ Send/Recv Log Emask 0x1
[   35.075793] ata2.00: supports DRM functions and may not be fully accessible
[   35.075888] ata1.00: configured for UDMA/133
[   35.075927] ata2.00: failed to get NCQ Send/Recv Log Emask 0x1
[   35.076103] ata2.00: configured for UDMA/133
[   35.085750] ata4.00: configured for UDMA/133
[   35.096779] ata3.00: configured for UDMA/133
[   35.096932] sd 2:0:0:0: [sdc] 1220942646 4096-byte logical blocks: (4.88 TB/4.54 TiB)
[   35.440724] [drm] ib test on ring 5 succeeded
[   35.541611] ------------[ cut here ]------------
[   35.541624] WARNING: CPU: 0 PID: 55 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
[   35.541654] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 amd64_edac_mod lrw gf128mul glue_helper ablk_helper cryptd fam15h_power k10temp edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   35.541659] CPU: 0 PID: 55 Comm: kworker/u16:2 Tainted: G        W       4.3.0-rc1+ #1
[   35.541661] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   35.541667] Workqueue: events_unbound async_run_entry_fn
[   35.541674]  ffffffff81959a25 ffff88042a21bb80 ffffffff812c8c2a 0000000000000000
[   35.541679]  ffff88042a21bbb8 ffffffff81053e55 ffff880429ff1000 ffff8804280caa00
[   35.541683]  0000000000000000 0000000000000003 0000000000000000 ffff88042a21bbc8
[   35.541684] Call Trace:
[   35.541692]  [<ffffffff812c8c2a>] dump_stack+0x4e/0x84
[   35.541697]  [<ffffffff81053e55>] warn_slowpath_common+0x95/0xe0
[   35.541700]  [<ffffffff81053f5a>] warn_slowpath_null+0x1a/0x20
[   35.541704]  [<ffffffff813c0228>] drm_helper_choose_encoder_dpms+0x88/0x90
[   35.541709]  [<ffffffff813c066e>] drm_helper_connector_dpms+0x4e/0x110
[   35.541713]  [<ffffffff813c0cfd>] ? drm_helper_resume_force_mode+0xfd/0x130
[   35.541748]  [<ffffffffa0020a49>] radeon_resume_kms+0x279/0x3b0 [radeon]
[   35.541753]  [<ffffffff813118c0>] ? pci_pm_restore+0xd0/0xd0
[   35.541775]  [<ffffffffa001e0bc>] radeon_pmops_thaw+0x1c/0x20 [radeon]
[   35.541778]  [<ffffffff8131191f>] pci_pm_thaw+0x5f/0x90
[   35.541783]  [<ffffffff8147180a>] dpm_run_callback+0x7a/0x280
[   35.541786]  [<ffffffff81471de7>] device_resume+0x97/0x1b0
[   35.541789]  [<ffffffff81471f1d>] async_resume+0x1d/0x50
[   35.541793]  [<ffffffff81079666>] async_run_entry_fn+0x46/0xf0
[   35.541797]  [<ffffffff810700fc>] process_one_work+0x1ec/0x610
[   35.541800]  [<ffffffff81070058>] ? process_one_work+0x148/0x610
[   35.541804]  [<ffffffff81070586>] worker_thread+0x66/0x450
[   35.541807]  [<ffffffff81070520>] ? process_one_work+0x610/0x610
[   35.541812]  [<ffffffff81076a58>] kthread+0x108/0x120
[   35.541817]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   35.541823]  [<ffffffff816c4cff>] ret_from_fork+0x3f/0x70
[   35.541827]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   35.541830] ---[ end trace 5941400179d6735b ]---
[   35.541832] ------------[ cut here ]------------
[   35.541838] WARNING: CPU: 0 PID: 55 at include/drm/drm_crtc.h:1577 drm_helper_choose_crtc_dpms+0x91/0xa0()
[   35.541863] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 amd64_edac_mod lrw gf128mul glue_helper ablk_helper cryptd fam15h_power k10temp edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   35.541866] CPU: 0 PID: 55 Comm: kworker/u16:2 Tainted: G        W       4.3.0-rc1+ #1
[   35.541868] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   35.541872] Workqueue: events_unbound async_run_entry_fn
[   35.541877]  ffffffff81959a25 ffff88042a21bb80 ffffffff812c8c2a 0000000000000000
[   35.541882]  ffff88042a21bbb8 ffffffff81053e55 ffff880429ff1000 ffff8804298fc000
[   35.541887]  0000000000000000 0000000000000003 0000000000000000 ffff88042a21bbc8
[   35.541888] Call Trace:
[   35.541892]  [<ffffffff812c8c2a>] dump_stack+0x4e/0x84
[   35.541896]  [<ffffffff81053e55>] warn_slowpath_common+0x95/0xe0
[   35.541899]  [<ffffffff81053f5a>] warn_slowpath_null+0x1a/0x20
[   35.541903]  [<ffffffff813c02c1>] drm_helper_choose_crtc_dpms+0x91/0xa0
[   35.541908]  [<ffffffff813c0697>] drm_helper_connector_dpms+0x77/0x110
[   35.541933]  [<ffffffffa002a9b0>] ? atombios_blank_crtc+0x140/0x140 [radeon]
[   35.541955]  [<ffffffffa0020a49>] radeon_resume_kms+0x279/0x3b0 [radeon]
[   35.541960]  [<ffffffff813118c0>] ? pci_pm_restore+0xd0/0xd0
[   35.541980]  [<ffffffffa001e0bc>] radeon_pmops_thaw+0x1c/0x20 [radeon]
[   35.541984]  [<ffffffff8131191f>] pci_pm_thaw+0x5f/0x90
[   35.541987]  [<ffffffff8147180a>] dpm_run_callback+0x7a/0x280
[   35.541991]  [<ffffffff81471de7>] device_resume+0x97/0x1b0
[   35.541993]  [<ffffffff81471f1d>] async_resume+0x1d/0x50
[   35.541997]  [<ffffffff81079666>] async_run_entry_fn+0x46/0xf0
[   35.542000]  [<ffffffff810700fc>] process_one_work+0x1ec/0x610
[   35.542003]  [<ffffffff81070058>] ? process_one_work+0x148/0x610
[   35.542007]  [<ffffffff81070586>] worker_thread+0x66/0x450
[   35.542011]  [<ffffffff81070520>] ? process_one_work+0x610/0x610
[   35.542014]  [<ffffffff81076a58>] kthread+0x108/0x120
[   35.542020]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   35.542024]  [<ffffffff816c4cff>] ret_from_fork+0x3f/0x70
[   35.542029]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   35.542032] ---[ end trace 5941400179d6735c ]---
[   35.559660] ------------[ cut here ]------------
[   35.559670] WARNING: CPU: 0 PID: 55 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
[   35.559698] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 amd64_edac_mod lrw gf128mul glue_helper ablk_helper cryptd fam15h_power k10temp edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   35.559702] CPU: 0 PID: 55 Comm: kworker/u16:2 Tainted: G        W       4.3.0-rc1+ #1
[   35.559704] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   35.559709] Workqueue: events_unbound async_run_entry_fn
[   35.559716]  ffffffff81959a25 ffff88042a21bb80 ffffffff812c8c2a 0000000000000000
[   35.559720]  ffff88042a21bbb8 ffffffff81053e55 ffff880429ff1000 ffff8804280c8400
[   35.559725]  0000000000000000 0000000000000003 0000000000000000 ffff88042a21bbc8
[   35.559726] Call Trace:
[   35.559732]  [<ffffffff812c8c2a>] dump_stack+0x4e/0x84
[   35.559737]  [<ffffffff81053e55>] warn_slowpath_common+0x95/0xe0
[   35.559740]  [<ffffffff81053f5a>] warn_slowpath_null+0x1a/0x20
[   35.559744]  [<ffffffff813c0228>] drm_helper_choose_encoder_dpms+0x88/0x90
[   35.559749]  [<ffffffff813c066e>] drm_helper_connector_dpms+0x4e/0x110
[   35.559778]  [<ffffffffa002a9b0>] ? atombios_blank_crtc+0x140/0x140 [radeon]
[   35.559801]  [<ffffffffa0020a49>] radeon_resume_kms+0x279/0x3b0 [radeon]
[   35.559806]  [<ffffffff813118c0>] ? pci_pm_restore+0xd0/0xd0
[   35.559827]  [<ffffffffa001e0bc>] radeon_pmops_thaw+0x1c/0x20 [radeon]
[   35.559831]  [<ffffffff8131191f>] pci_pm_thaw+0x5f/0x90
[   35.559835]  [<ffffffff8147180a>] dpm_run_callback+0x7a/0x280
[   35.559838]  [<ffffffff81471de7>] device_resume+0x97/0x1b0
[   35.559841]  [<ffffffff81471f1d>] async_resume+0x1d/0x50
[   35.559844]  [<ffffffff81079666>] async_run_entry_fn+0x46/0xf0
[   35.559848]  [<ffffffff810700fc>] process_one_work+0x1ec/0x610
[   35.559851]  [<ffffffff81070058>] ? process_one_work+0x148/0x610
[   35.559855]  [<ffffffff81070586>] worker_thread+0x66/0x450
[   35.559859]  [<ffffffff81070520>] ? process_one_work+0x610/0x610
[   35.559863]  [<ffffffff81076a58>] kthread+0x108/0x120
[   35.559869]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   35.559873]  [<ffffffff816c4cff>] ret_from_fork+0x3f/0x70
[   35.559878]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   35.559881] ---[ end trace 5941400179d6735d ]---
[   35.559883] ------------[ cut here ]------------
[   35.559888] WARNING: CPU: 0 PID: 55 at include/drm/drm_crtc.h:1577 drm_helper_choose_crtc_dpms+0x91/0xa0()
[   35.559941] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 amd64_edac_mod lrw gf128mul glue_helper ablk_helper cryptd fam15h_power k10temp edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   35.559944] CPU: 0 PID: 55 Comm: kworker/u16:2 Tainted: G        W       4.3.0-rc1+ #1
[   35.559946] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   35.559950] Workqueue: events_unbound async_run_entry_fn
[   35.559956]  ffffffff81959a25 ffff88042a21bb80 ffffffff812c8c2a 0000000000000000
[   35.559960]  ffff88042a21bbb8 ffffffff81053e55 ffff880429ff1000 ffff8804298fa000
[   35.559965]  0000000000000000 0000000000000003 0000000000000000 ffff88042a21bbc8
[   35.559966] Call Trace:
[   35.559971]  [<ffffffff812c8c2a>] dump_stack+0x4e/0x84
[   35.559974]  [<ffffffff81053e55>] warn_slowpath_common+0x95/0xe0
[   35.559977]  [<ffffffff81053f5a>] warn_slowpath_null+0x1a/0x20
[   35.559981]  [<ffffffff813c02c1>] drm_helper_choose_crtc_dpms+0x91/0xa0
[   35.559986]  [<ffffffff813c0697>] drm_helper_connector_dpms+0x77/0x110
[   35.560010]  [<ffffffffa002a9b0>] ? atombios_blank_crtc+0x140/0x140 [radeon]
[   35.560032]  [<ffffffffa0020a49>] radeon_resume_kms+0x279/0x3b0 [radeon]
[   35.560037]  [<ffffffff813118c0>] ? pci_pm_restore+0xd0/0xd0
[   35.560057]  [<ffffffffa001e0bc>] radeon_pmops_thaw+0x1c/0x20 [radeon]
[   35.560061]  [<ffffffff8131191f>] pci_pm_thaw+0x5f/0x90
[   35.560064]  [<ffffffff8147180a>] dpm_run_callback+0x7a/0x280
[   35.560068]  [<ffffffff81471de7>] device_resume+0x97/0x1b0
[   35.560071]  [<ffffffff81471f1d>] async_resume+0x1d/0x50
[   35.560074]  [<ffffffff81079666>] async_run_entry_fn+0x46/0xf0
[   35.560077]  [<ffffffff810700fc>] process_one_work+0x1ec/0x610
[   35.560080]  [<ffffffff81070058>] ? process_one_work+0x148/0x610
[   35.560084]  [<ffffffff81070586>] worker_thread+0x66/0x450
[   35.560087]  [<ffffffff81070520>] ? process_one_work+0x610/0x610
[   35.560091]  [<ffffffff81076a58>] kthread+0x108/0x120
[   35.560097]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   35.560101]  [<ffffffff816c4cff>] ret_from_fork+0x3f/0x70
[   35.560105]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   35.560108] ---[ end trace 5941400179d6735e ]---
[   35.985316] usb 8-2: reset low-speed USB device number 2 using ohci-pci
[   36.233387] r8169 0000:02:00.0 eth0: link up
[   36.876031] PM: thaw of devices complete after 2295.114 msecs
[   36.887191] PM: writing image.
[   36.894508] PM: Using 3 thread(s) for compression.
[   36.894508] PM: Compressing and saving image data (139318 pages)...
[   36.912145] PM: Image saving progress:   0%
[   37.115082] PM: Image saving progress:  10%
[   37.298480] PM: Image saving progress:  20%
[   37.482715] PM: Image saving progress:  30%
[   37.607467] PM: Image saving progress:  40%
[   37.684382] PM: Image saving progress:  50%
[   37.823122] PM: Image saving progress:  60%
[   37.954283] PM: Image saving progress:  70%
[   38.083761] PM: Image saving progress:  80%
[   38.213594] PM: Image saving progress:  90%
[   38.323446] PM: Image saving progress: 100%
[   38.329418] PM: Image saving done.
[   38.333916] PM: Wrote 557272 kbytes in 1.41 seconds (395.22 MB/s)
[   38.341724] PM: S|
[   38.443187] kvm: exiting hardware virtualization
[   38.462813] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010 address=0x0000000020001000 flags=0x0000]
[   38.654130] sd 3:0:0:0: [sdd] Synchronizing SCSI cache
[   38.662313] sd 3:0:0:0: [sdd] Stopping disk
[   39.541392] sd 2:0:0:0: [sdc] Synchronizing SCSI cache
[   39.547859] sd 2:0:0:0: [sdc] Stopping disk
[   39.726979] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[   39.734877] sd 1:0:0:0: [sdb] Stopping disk
[   40.040149] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[   40.048976] sd 0:0:0:0: [sda] Stopping disk
[   40.218543] pcieport 0000:00:04.0: System wakeup enabled by ACPI
[   40.246902] ACPI: Preparing to enter system sleep state S5
[   40.253967] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query honored via cmdline
[   40.264950] reboot: Power down
[   40.270127] acpi_power_off called

Resuming:

[    5.783459] PM: Checking hibernation image partition /dev/sda1
[    5.789385] PM: Hibernation image partition 8:1 present
[    5.794691] PM: Looking for hibernation image.
[    5.801591] PM: Image signature found, resuming
[    5.808550] PM: Preparing processes for restore.
[    5.813199] Freezing user space processes ... [    5.814966] hid-generic 0003:04B4:0101.0003: input,hidraw2: USB HID v1.00 Device [DATACOMP SteelS쀁̄Љ̒DATA] on usb-0000:00:12.0-2/input1

[    5.830177] (elapsed 0.000 seconds) done.
[    5.834597] PM: Loading hibernation image.
[    5.839039] PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
[    5.845170] PM: Marking nosave pages: [mem 0x0009e000-0x000fffff]
[    5.851309] PM: Marking nosave pages: [mem 0xba9b8000-0xbca4dfff]
[    5.857569] PM: Marking nosave pages: [mem 0xbca4f000-0xbcc54fff]
[    5.863710] PM: Marking nosave pages: [mem 0xbd083000-0xbd7f3fff]
[    5.869861] PM: Marking nosave pages: [mem 0xbd800000-0x100000fff]
[    5.876765] PM: Basic memory bitmaps created
[    5.892558] PM: Using 3 thread(s) for decompression.
[    5.892558] PM: Loading and decompressing image data (139318 pages)...
[    5.969429] PM: Image loading progress:   0%
[    6.268254] PM: Image loading progress:  10%
[    6.344699] random: nonblocking pool is initialized
[    6.366397] PM: Image loading progress:  20%
[    6.457787] PM: Image loading progress:  30%
[    6.529543] PM: Image loading progress:  40%
[    6.601163] PM: Image loading progress:  50%
[    6.675339] PM: Image loading progress:  60%
[    6.749853] PM: Image loading progress:  70%
[    6.818361] PM: Image loading progress:  80%
[    6.887274] PM: Image loading progress:  90%
[    6.959711] PM: Image loading progress: 100%
[    6.964198] PM: Image loading done.
[    6.967814] PM: Read 557272 kbytes in 1.06 seconds (525.72 MB/s)
[    6.977129] PM: Image successfully loaded
[    7.204973] PM: quiesce of devices complete after 222.428 msecs
[    7.212819] PM: late quiesce of devices complete after 1.841 msecs
[    7.233684] PM: noirq quiesce of devices complete after 14.604 msecs
[    7.240132] Disabling non-boot CPUs ...
[   34.135352] LVT offset 0 assigned for vector 0x400
[   34.140551] Enabling non-boot CPUs ...
[   34.144418] x86: Booting SMP configuration:
[   34.148602] smpboot: Booting Node 0 Processor 1 APIC 0x11
[   34.178841]  cache: parent cpu1 should not be sleeping
[   34.184725] CPU1 is up
[   34.187142] smpboot: Booting Node 0 Processor 2 APIC 0x12
[   34.210663]  cache: parent cpu2 should not be sleeping
[   34.216481] CPU2 is up
[   34.218908] smpboot: Booting Node 0 Processor 3 APIC 0x13
[   34.243066]  cache: parent cpu3 should not be sleeping
[   34.248931] CPU3 is up
[   34.251404] smpboot: Booting Node 0 Processor 4 APIC 0x14
[   34.271128]  cache: parent cpu4 should not be sleeping
[   34.276947] CPU4 is up
[   34.279378] smpboot: Booting Node 0 Processor 5 APIC 0x15
[   34.299359]  cache: parent cpu5 should not be sleeping
[   34.305220] CPU5 is up
[   34.307638] smpboot: Booting Node 0 Processor 6 APIC 0x16
[   34.331611]  cache: parent cpu6 should not be sleeping
[   34.337455] CPU6 is up
[   34.339872] smpboot: Booting Node 0 Processor 7 APIC 0x17
[   34.363915]  cache: parent cpu7 should not be sleeping
[   34.369757] CPU7 is up
[   34.382276] BUG: unable to handle kernel NULL pointer dereference at 0000000000000034
[   34.390305] IP: [<ffffffff81323016>] pci_restore_msi_state+0x196/0x240
[   34.396997] PGD b9ea8067 PUD ba1e1067 PMD 0 
[   34.401468] Oops: 0000 [#1] PREEMPT SMP 
[   34.405593] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 amd64_edac_mod lrw gf128mul glue_helper ablk_helper cryptd fam15h_power k10temp edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   34.428932] CPU: 6 PID: 821 Comm: kworker/u16:7 Tainted: G        W       4.3.0-rc1+ #1
[   34.437077] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   34.447131] Workqueue: events_unbound async_run_entry_fn
[   34.452606] task: ffff880429f497c0 ti: ffff880428b00000 task.ti: ffff880428b00000
[   34.460225] RIP: 0010:[<ffffffff81323016>]  [<ffffffff81323016>] pci_restore_msi_state+0x196/0x240
[   34.469341] RSP: 0018:ffff880428b03c40  EFLAGS: 00010286
[   34.474792] RAX: 0000000000000000 RBX: ffff880429f8f000 RCX: 0000000000000000
[   34.482061] RDX: 0000000000003800 RSI: ffffffff813064d7 RDI: ffffffff816c3dfb
[   34.489333] RBP: ffff880428b03c58 R08: 0000000000000000 R09: 0000000000000000
[   34.496602] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[   34.503874] R13: 0000000000000000 R14: ffff8804289dff20 R15: ffffffff81960bd2
[   34.511146] FS:  00007f2b1e84b700(0000) GS:ffff88042d200000(0000) knlGS:0000000000000000
[   34.519379] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   34.525271] CR2: 0000000000000034 CR3: 00000000b9cb7000 CR4: 00000000000406e0
[   34.532550] Stack:
[   34.534709]  0080002c29f8f000 0000000000000000 ffff880429f8f000 ffff880428b03c78
[   34.542316]  ffffffff8130ddf7 ffff880429f8f098 ffff880429f8f000 ffff880428b03c88
[   34.549917]  ffffffff8130df58 ffff880428b03cb0 ffffffff81311dac ffff880429f8f098
[   34.557517] Call Trace:
[   34.560111]  [<ffffffff8130ddf7>] pci_restore_state.part.34+0xc7/0x210
[   34.566782]  [<ffffffff8130df58>] pci_restore_state+0x18/0x20
[   34.572675]  [<ffffffff81311dac>] pci_pm_restore_noirq+0x4c/0x100
[   34.578914]  [<ffffffff81311d60>] ? pci_pm_suspend+0x160/0x160
[   34.584895]  [<ffffffff8147180a>] dpm_run_callback+0x7a/0x280
[   34.590787]  [<ffffffff81471aa3>] device_resume_noirq+0x93/0x150
[   34.596939]  [<ffffffff81471b7d>] async_resume_noirq+0x1d/0x50
[   34.602919]  [<ffffffff81079666>] async_run_entry_fn+0x46/0xf0
[   34.608899]  [<ffffffff810700fc>] process_one_work+0x1ec/0x610
[   34.614880]  [<ffffffff81070058>] ? process_one_work+0x148/0x610
[   34.621031]  [<ffffffff81070586>] worker_thread+0x66/0x450
[   34.626664]  [<ffffffff81070520>] ? process_one_work+0x610/0x610
[   34.632819]  [<ffffffff81076a58>] kthread+0x108/0x120
[   34.638018]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   34.644692]  [<ffffffff816c4cff>] ret_from_fork+0x3f/0x70
[   34.650236]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   34.656900] Code: 66 89 4d ee 0f b7 c9 e8 e9 41 fe ff 48 89 df e8 c1 60 ce ff 0f b6 53 4b 8b 73 38 48 8d 4d ee 48 8b 7b 10 83 c2 02 e8 2a 34 fe ff <41> 0f b6 4c 24 34 41 8b 54 24 30 be ff ff ff ff c0 e9 04 83 e1 
[   34.677058] RIP  [<ffffffff81323016>] pci_restore_msi_state+0x196/0x240
[   34.683826]  RSP <ffff880428b03c40>
[   34.687456] CR2: 0000000000000034
[   34.690915] ---[ end trace 5941400179d6735b ]---
[   34.695554] BUG: unable to handle kernel paging request at ffffffffffffff98
[   34.702692] IP: [<ffffffff81077380>] kthread_data+0x10/0x20
[   34.708419] PGD 19ed067 PUD 19ef067 PMD 0 
[   34.712709] Oops: 0000 [#2] PREEMPT SMP 
[   34.716851] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 amd64_edac_mod lrw gf128mul glue_helper ablk_helper cryptd fam15h_power k10temp edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   34.740207] CPU: 6 PID: 821 Comm: kworker/u16:7 Tainted: G      D W       4.3.0-rc1+ #1
[   34.748354] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   34.758421] task: ffff880429f497c0 ti: ffff880428b00000 task.ti: ffff880428b00000
[   34.766050] RIP: 0010:[<ffffffff81077380>]  [<ffffffff81077380>] kthread_data+0x10/0x20
[   34.774222] RSP: 0018:ffff880428b03948  EFLAGS: 00010002
[   34.779689] RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000000
[   34.786977] RDX: 000000015b3d1188 RSI: 0000000000000006 RDI: ffff880429f497c0
[   34.794266] RBP: ffff880428b03948 R08: ffff880429f49848 R09: ffff88042d3d60b0
[   34.801554] R10: 0000000000000001 R11: 0000000000000000 R12: 00000000001d6000
[   34.808842] R13: ffff88042d3d6018 R14: ffff880429f497c0 R15: 0000000000000006
[   34.816131] FS:  00007f2b1e84b700(0000) GS:ffff88042d200000(0000) knlGS:0000000000000000
[   34.824378] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   34.830283] CR2: 0000000000000028 CR3: 00000000b9cb7000 CR4: 00000000000406e0
[   34.837577] Stack:
[   34.839762]  ffff880428b03960 ffffffff81071321 ffff88042d3d6000 ffff880428b039b8
[   34.847380]  ffffffff816be2bb ffff880037b4c010 ffff880428b039a8 ffffffff00000000
[   34.854997]  ffff880429f497c0 ffff880428b04000 ffff880428b03a10 ffff880428b03a10
[   34.862616] Call Trace:
[   34.865225]  [<ffffffff81071321>] wq_worker_sleeping+0x11/0x90
[   34.871212]  [<ffffffff816be2bb>] __schedule+0x58b/0xe90
[   34.876682]  [<ffffffff816bec4d>] schedule+0x3d/0x90
[   34.881802]  [<ffffffff810565e1>] do_exit+0x711/0xaf0
[   34.887012]  [<ffffffff8100809c>] oops_end+0x6c/0x90
[   34.892132]  [<ffffffff810462e5>] no_context+0x155/0x380
[   34.897602]  [<ffffffff810a24bd>] ? __lock_acquire+0x62d/0x19e0
[   34.903676]  [<ffffffff81046619>] __bad_area_nosemaphore+0x109/0x210
[   34.910184]  [<ffffffff812f5537>] ? debug_smp_processor_id+0x17/0x20
[   34.916692]  [<ffffffff81046733>] bad_area_nosemaphore+0x13/0x20
[   34.922844]  [<ffffffff81046b74>] __do_page_fault+0x1e4/0x360
[   34.928740]  [<ffffffff81000f60>] ? trace_hardirqs_off_thunk+0x17/0x19
[   34.935411]  [<ffffffff81046d2c>] do_page_fault+0xc/0x10
[   34.940872]  [<ffffffff816c676f>] page_fault+0x1f/0x30
[   34.946158]  [<ffffffff813064d7>] ? pci_bus_read_config_word+0x97/0xa0
[   34.952831]  [<ffffffff816c3dfb>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   34.959762]  [<ffffffff81323016>] ? pci_restore_msi_state+0x196/0x240
[   34.966350]  [<ffffffff8130ddf7>] pci_restore_state.part.34+0xc7/0x210
[   34.973021]  [<ffffffff8130df58>] pci_restore_state+0x18/0x20
[   34.978907]  [<ffffffff81311dac>] pci_pm_restore_noirq+0x4c/0x100
[   34.985147]  [<ffffffff81311d60>] ? pci_pm_suspend+0x160/0x160
[   34.991126]  [<ffffffff8147180a>] dpm_run_callback+0x7a/0x280
[   34.997010]  [<ffffffff81471aa3>] device_resume_noirq+0x93/0x150
[   35.003174]  [<ffffffff81471b7d>] async_resume_noirq+0x1d/0x50
[   35.009151]  [<ffffffff81079666>] async_run_entry_fn+0x46/0xf0
[   35.015131]  [<ffffffff810700fc>] process_one_work+0x1ec/0x610
[   35.021102]  [<ffffffff81070058>] ? process_one_work+0x148/0x610
[   35.027245]  [<ffffffff81070586>] worker_thread+0x66/0x450
[   35.032870]  [<ffffffff81070520>] ? process_one_work+0x610/0x610
[   35.039013]  [<ffffffff81076a58>] kthread+0x108/0x120
[   35.044205]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   35.050869]  [<ffffffff816c4cff>] ret_from_fork+0x3f/0x70
[   35.056408]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   35.063071] Code: ba 02 00 00 00 e8 31 f9 ff ff 5d c3 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 8b 87 f8 03 00 00 55 48 89 e5 <48> 8b 40 98 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 
[   35.083253] RIP  [<ffffffff81077380>] kthread_data+0x10/0x20
[   35.089086]  RSP <ffff880428b03948>
[   35.092735] CR2: ffffffffffffff98
[   35.096203] ---[ end trace 5941400179d6735c ]---
[   35.100819] Fixing recursive fault but reboot is needed!
[   35.106124] BUG: scheduling while atomic: kworker/u16:7/821/0x00000004
[   35.112649] INFO: lockdep is turned off.
[   35.116565] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 amd64_edac_mod lrw gf128mul glue_helper ablk_helper cryptd fam15h_power k10temp edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   35.139592] irq event stamp: 5022
[   35.142902] hardirqs last  enabled at (5021): [<ffffffff816c3e15>] _raw_spin_unlock_irqrestore+0x65/0x80
[   35.152391] hardirqs last disabled at (5022): [<ffffffff816c6940>] error_entry+0x60/0xb0
[   35.160493] softirqs last  enabled at (1794): [<ffffffff81148815>] bdi_register+0xf5/0x200
[   35.168770] softirqs last disabled at (1792): [<ffffffff811487f3>] bdi_register+0xd3/0x200
[   35.177047] Preemption disabled at:[<ffffffff8100809c>] oops_end+0x6c/0x90
[   35.183928] 
[   35.185418] CPU: 6 PID: 821 Comm: kworker/u16:7 Tainted: G      D W       4.3.0-rc1+ #1
[   35.193417] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   35.203328]  00000000001d6000 ffff880428b03648 ffffffff812c8c2a ffff880429f497c0
[   35.210783]  ffff880428b03660 ffffffff8107e19a ffff88042d3d6000 ffff880428b036b8
[   35.218255]  ffffffff816be424 ffff880428b036d0 ffffffff8112779e 0000000000000008
[   35.225714] Call Trace:
[   35.228189]  [<ffffffff812c8c2a>] dump_stack+0x4e/0x84
[   35.233324]  [<ffffffff8107e19a>] __schedule_bug+0x6a/0xd0
[   35.238809]  [<ffffffff816be424>] __schedule+0x6f4/0xe90
[   35.244114]  [<ffffffff8112779e>] ? printk+0x48/0x50
[   35.249079]  [<ffffffff816bec4d>] schedule+0x3d/0x90
[   35.254036]  [<ffffffff81056770>] do_exit+0x8a0/0xaf0
[   35.259090]  [<ffffffff810b6e25>] ? kmsg_dump+0x135/0x180
[   35.264487]  [<ffffffff810b6d12>] ? kmsg_dump+0x22/0x180
[   35.269801]  [<ffffffff8100809c>] oops_end+0x6c/0x90
[   35.274766]  [<ffffffff810462e5>] no_context+0x155/0x380
[   35.280079]  [<ffffffff812d5e94>] ? delay_tsc+0x94/0xc0
[   35.285304]  [<ffffffff81046619>] __bad_area_nosemaphore+0x109/0x210
[   35.291656]  [<ffffffff81046733>] bad_area_nosemaphore+0x13/0x20
[   35.297661]  [<ffffffff81046b74>] __do_page_fault+0x1e4/0x360
[   35.303407]  [<ffffffff81000f60>] ? trace_hardirqs_off_thunk+0x17/0x19
[   35.309934]  [<ffffffff81046d2c>] do_page_fault+0xc/0x10
[   35.315246]  [<ffffffff816c676f>] page_fault+0x1f/0x30
[   35.320385]  [<ffffffff81077380>] ? kthread_data+0x10/0x20
[   35.325869]  [<ffffffff81071321>] wq_worker_sleeping+0x11/0x90
[   35.331701]  [<ffffffff816be2bb>] __schedule+0x58b/0xe90
[   35.337006]  [<ffffffff816bec4d>] schedule+0x3d/0x90
[   35.341971]  [<ffffffff810565e1>] do_exit+0x711/0xaf0
[   35.347024]  [<ffffffff8100809c>] oops_end+0x6c/0x90
[   35.351989]  [<ffffffff810462e5>] no_context+0x155/0x380
[   35.357303]  [<ffffffff810a24bd>] ? __lock_acquire+0x62d/0x19e0
[   35.363220]  [<ffffffff81046619>] __bad_area_nosemaphore+0x109/0x210
[   35.369573]  [<ffffffff812f5537>] ? debug_smp_processor_id+0x17/0x20
[   35.375925]  [<ffffffff81046733>] bad_area_nosemaphore+0x13/0x20
[   35.381930]  [<ffffffff81046b74>] __do_page_fault+0x1e4/0x360
[   35.387677]  [<ffffffff81000f60>] ? trace_hardirqs_off_thunk+0x17/0x19
[   35.394203]  [<ffffffff81046d2c>] do_page_fault+0xc/0x10
[   35.399515]  [<ffffffff816c676f>] page_fault+0x1f/0x30
[   35.404653]  [<ffffffff813064d7>] ? pci_bus_read_config_word+0x97/0xa0
[   35.411179]  [<ffffffff816c3dfb>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   35.417963]  [<ffffffff81323016>] ? pci_restore_msi_state+0x196/0x240
[   35.424394]  [<ffffffff8130ddf7>] pci_restore_state.part.34+0xc7/0x210
[   35.430919]  [<ffffffff8130df58>] pci_restore_state+0x18/0x20
[   35.436666]  [<ffffffff81311dac>] pci_pm_restore_noirq+0x4c/0x100
[   35.442757]  [<ffffffff81311d60>] ? pci_pm_suspend+0x160/0x160
[   35.448591]  [<ffffffff8147180a>] dpm_run_callback+0x7a/0x280
[   35.454336]  [<ffffffff81471aa3>] device_resume_noirq+0x93/0x150
[   35.460341]  [<ffffffff81471b7d>] async_resume_noirq+0x1d/0x50
[   35.466173]  [<ffffffff81079666>] async_run_entry_fn+0x46/0xf0
[   35.472005]  [<ffffffff810700fc>] process_one_work+0x1ec/0x610
[   35.477830]  [<ffffffff81070058>] ? process_one_work+0x148/0x610
[   35.483835]  [<ffffffff81070586>] worker_thread+0x66/0x450
[   35.489321]  [<ffffffff81070520>] ? process_one_work+0x610/0x610
[   35.495326]  [<ffffffff81076a58>] kthread+0x108/0x120
[   35.500380]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0
[   35.506905]  [<ffffffff816c4cff>] ret_from_fork+0x3f/0x70
[   35.512302]  [<ffffffff81076950>] ? kthread_create_on_node+0x1f0/0x1f0

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
  2015-09-21 13:31 WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() Borislav Petkov
@ 2015-09-22 19:06 ` Borislav Petkov
  2015-09-22 19:58 ` Alex Deucher
  1 sibling, 0 replies; 24+ messages in thread
From: Borislav Petkov @ 2015-09-22 19:06 UTC (permalink / raw)
  To: Alex Deucher, Christian König; +Cc: lkml, dri-devel

On Mon, Sep 21, 2015 at 03:31:26PM +0200, Borislav Petkov wrote:
> Hi guys,
> 
> this assert_drm_connector_list_read_locked() thing fires here when
> suspending to disk with Linus' master from around a week ago and
> tip/master merged ontop.
> 
> After I resume, box comes up but wedges solid. I've managed to capture
> that splat in its whole glory too, see the end of this mail.

Btw, this happens on rc2+tip too.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
  2015-09-21 13:31 WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() Borislav Petkov
  2015-09-22 19:06 ` Borislav Petkov
@ 2015-09-22 19:58 ` Alex Deucher
  2015-09-22 20:21   ` Borislav Petkov
  1 sibling, 1 reply; 24+ messages in thread
From: Alex Deucher @ 2015-09-22 19:58 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Alex Deucher, Christian König, Maling list - DRI developers, lkml

On Mon, Sep 21, 2015 at 9:31 AM, Borislav Petkov <bp@alien8.de> wrote:
> Hi guys,
>
> this assert_drm_connector_list_read_locked() thing fires here when
> suspending to disk with Linus' master from around a week ago and
> tip/master merged ontop.
>
> After I resume, box comes up but wedges solid. I've managed to capture
> that splat in its whole glory too, see the end of this mail.
>
> Let me know if you need more info.
>
> Thanks.
>

What system is this?  What GPU are you using?  Can you bisect?

Alex
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
  2015-09-22 19:58 ` Alex Deucher
@ 2015-09-22 20:21   ` Borislav Petkov
  2015-09-22 20:54     ` Alex Deucher
  0 siblings, 1 reply; 24+ messages in thread
From: Borislav Petkov @ 2015-09-22 20:21 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Alex Deucher, Christian König, Maling list - DRI developers, lkml

[-- Attachment #1: Type: text/plain, Size: 5158 bytes --]

Hi Alex,

On Tue, Sep 22, 2015 at 03:58:03PM -0400, Alex Deucher wrote:
> What system is this?

my workstation - an

"To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013"

you gotta love the "To be filled" crap. In any case, it is an ASUS M5A97
EVO R2.0. RD890 chip AFAICT.

> What GPU are you using?

RV635. Here's some dmesg:

[    6.489016] [drm] initializing kernel modesetting (RV635 0x1002:0x9598 0x1043:0x01DA).
[    7.509177] radeon 0000:01:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
[    7.518010] radeon 0000:01:00.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
[    7.525724] [drm] Detected VRAM RAM=512M, BAR=256M
[    7.530608] [drm] RAM width 128bits DDR
[    7.535168] [TTM] Zone  kernel: Available graphics memory: 8132226 kiB
[    7.541779] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[    7.548420] [TTM] Initializing pool allocator
[    7.552896] [TTM] Initializing DMA pool allocator
[    7.558176] [drm] radeon: 512M of VRAM memory ready
[    7.563131] [drm] radeon: 512M of GTT memory ready.
[    7.568151] [drm] Loading RV635 Microcode
[    7.577382] [drm] Internal thermal controller without fan control
[    7.584349] [drm] radeon: power management initialized
[    7.590443] [drm] GART: num cpu pages 131072, num gpu pages 131072
[    7.597266] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[    7.624386] [drm] PCIE GART of 512M enabled (table at 0x0000000000254000).
[    7.631544] radeon 0000:01:00.0: WB enabled
[    7.635794] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff880427ef7c00
[    7.647039] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x00000000000521d0 and cpu addr 0xffffc900008121d0
[    7.657924] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    7.664601] [drm] Driver supports precise vblank timestamp query.
[    7.670780] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
[    7.676801] radeon 0000:01:00.0: radeon: using MSI.
[    7.681863] [drm] radeon: irq initialized.
[    7.717757] [drm] ring test on 0 succeeded in 0 usecs
[    7.897466] [drm] ring test on 5 succeeded in 1 usecs
[    7.902585] [drm] UVD initialized successfully.
[    7.908108] [drm] ib test on ring 0 succeeded in 0 usecs
[    8.558968] [drm] ib test on ring 5 succeeded
[    8.568734] [drm] Radeon Display Connectors
[    8.573005] [drm] Connector 0:
[    8.576189] [drm]   DVI-I-1
[    8.579062] [drm]   HPD1
[    8.581657] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[    8.589172] [drm]   Encoders:
[    8.592234] [drm]     DFP1: INTERNAL_UNIPHY
[    8.596492] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
[    8.601182] [drm] Connector 1:
[    8.604302] [drm]   DIN-1
[    8.607012] [drm]   Encoders:
[    8.610043] [drm]     TV1: INTERNAL_KLDSCP_DAC2
[    8.614642] [drm] Connector 2:
[    8.617760] [drm]   DVI-I-2
[    8.620621] [drm]   HPD2
[    8.623226] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[    8.630719] [drm]   Encoders:
[    8.633749] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    8.638436] [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
[    8.719815] [drm] fb mappable at 0xC0355000
[    8.724089] [drm] vram apper at 0xC0000000
[    8.728243] [drm] size 9216000
[    8.731371] [drm] fb depth is 24
[    8.734664] [drm]    pitch is 7680
[    8.739009] fbcon: radeondrmfb (fb0) is primary device
[    8.802887] Console: switching to colour frame buffer device 240x75
[    8.818487] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[    8.824948] radeon 0000:01:00.0: registered panic notifier
[    8.846452] [drm] Initialized radeon 2.42.0 20080528 for 0000:01:00.0 on minor 0

> Can you bisect?

It is my workstation so it will take longer but I'll try.

If you can think of some particular commits I should try, let me know.

Btw, I have the following things selected in my config, maybe
something's missing there:

CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=y
# CONFIG_DRM_I2C_ADV7511 is not set
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_RADEON_USERPTR is not set
# CONFIG_DRM_RADEON_UMS is not set
CONFIG_DRM_AMDGPU=y
# CONFIG_DRM_AMDGPU_CIK is not set
# CONFIG_DRM_AMDGPU_USERPTR is not set
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VGEM is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set
# CONFIG_DRM_VIRTIO_GPU is not set
CONFIG_DRM_BRIDGE=y

I'm attaching the whole .config too.

Thanks!

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

[-- Attachment #2: config-4.3.0-rc2+ --]
[-- Type: text/plain, Size: 94249 bytes --]

#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.3.0-rc2 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_MMU=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ZONE_DMA32=y
CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_X86_64_SMP=y
CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11"
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=4
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
# CONFIG_CROSS_MEMORY_ATTACH is not set
# CONFIG_FHANDLE is not set
# CONFIG_USELIB is not set
# CONFIG_AUDIT is not set
CONFIG_HAVE_ARCH_AUDITSYSCALL=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
# CONFIG_IRQ_DOMAIN_DEBUG is not set
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_DATA=y
CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
# CONFIG_NO_HZ is not set
CONFIG_HIGH_RES_TIMERS=y

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
# CONFIG_IRQ_TIME_ACCOUNTING is not set
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
# CONFIG_TASK_XACCT is not set

#
# RCU Subsystem
#
CONFIG_PREEMPT_RCU=y
# CONFIG_RCU_EXPERT is not set
CONFIG_SRCU=y
# CONFIG_TASKS_RCU is not set
CONFIG_RCU_STALL_COMMON=y
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_RCU_EXPEDITE_BOOT is not set
CONFIG_BUILD_BIN2C=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=21
CONFIG_LOG_CPU_MAX_BUF_SHIFT=16
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y
CONFIG_ARCH_SUPPORTS_INT128=y
# CONFIG_CGROUPS is not set
# CONFIG_CHECKPOINT_RESTORE is not set
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_NET_NS is not set
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_XZ is not set
# CONFIG_RD_LZO is not set
# CONFIG_RD_LZ4 is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_HAVE_UID16=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_BPF=y
CONFIG_EXPERT=y
CONFIG_UID16=y
CONFIG_MULTIUSER=y
CONFIG_SGETMASK_SYSCALL=y
CONFIG_SYSFS_SYSCALL=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
# CONFIG_BPF_SYSCALL is not set
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_ADVISE_SYSCALLS=y
# CONFIG_USERFAULTFD is not set
CONFIG_PCI_QUIRKS=y
# CONFIG_MEMBARRIER is not set
# CONFIG_EMBEDDED is not set
CONFIG_HAVE_PERF_EVENTS=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
# CONFIG_SLUB_DEBUG is not set
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
CONFIG_SLUB_CPU_PARTIAL=y
CONFIG_SYSTEM_DATA_VERIFICATION=y
# CONFIG_PROFILING is not set
CONFIG_TRACEPOINTS=y
CONFIG_HAVE_OPROFILE=y
CONFIG_OPROFILE_NMI_TIMER=y
# CONFIG_KPROBES is not set
# CONFIG_JUMP_LABEL is not set
# CONFIG_UPROBES is not set
# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION=y
CONFIG_ARCH_WANT_OLD_COMPAT_IPC=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_HAVE_CC_STACKPROTECTOR=y
CONFIG_CC_STACKPROTECTOR=y
# CONFIG_CC_STACKPROTECTOR_NONE is not set
CONFIG_CC_STACKPROTECTOR_REGULAR=y
# CONFIG_CC_STACKPROTECTOR_STRONG is not set
CONFIG_HAVE_CONTEXT_TRACKING=y
CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
CONFIG_HAVE_ARCH_SOFT_DIRTY=y
CONFIG_MODULES_USE_ELF_RELA=y
CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y
CONFIG_ARCH_HAS_PGD_INIT_LATE=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_HAVE_COPY_THREAD_TLS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_COMPAT_OLD_SIGACTION=y

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_FORCE_LOAD=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_MODULE_SIG=y
CONFIG_MODULE_SIG_FORCE=y
CONFIG_MODULE_SIG_ALL=y
CONFIG_MODULE_SIG_SHA1=y
# CONFIG_MODULE_SIG_SHA224 is not set
# CONFIG_MODULE_SIG_SHA256 is not set
# CONFIG_MODULE_SIG_SHA384 is not set
# CONFIG_MODULE_SIG_SHA512 is not set
CONFIG_MODULE_SIG_HASH="sha1"
# CONFIG_MODULE_COMPRESS is not set
CONFIG_MODULES_TREE_LOOKUP=y
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set
# CONFIG_BLK_CMDLINE_PARSER is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_AIX_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
# CONFIG_MINIX_SUBPARTITION is not set
CONFIG_SOLARIS_X86_PARTITION=y
# CONFIG_UNIXWARE_DISKLABEL is not set
CONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
CONFIG_SUN_PARTITION=y
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SYSV68_PARTITION is not set
# CONFIG_CMDLINE_PARTITION is not set
CONFIG_BLOCK_COMPAT=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
CONFIG_DEFAULT_DEADLINE=y
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="deadline"
CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_ASN1=y
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_FREEZER=y

#
# Processor type and features
#
CONFIG_ZONE_DMA=y
CONFIG_SMP=y
CONFIG_X86_FEATURE_NAMES=y
# CONFIG_X86_X2APIC is not set
# CONFIG_X86_MPPARSE is not set
# CONFIG_X86_EXTENDED_PLATFORM is not set
# CONFIG_X86_INTEL_LPSS is not set
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
# CONFIG_IOSF_MBI is not set
CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_KVMTOOL_TEST_ENABLE is not set
# CONFIG_HYPERVISOR_GUEST is not set
CONFIG_NO_BOOTMEM=y
CONFIG_MK8=y
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_MATOM is not set
# CONFIG_GENERIC_CPU is not set
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_X86_DEBUGCTLMSR=y
# CONFIG_PROCESSOR_SELECT is not set
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPU_SUP_AMD=y
CONFIG_CPU_SUP_CENTAUR=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
# CONFIG_GART_IOMMU is not set
# CONFIG_CALGARY_IOMMU is not set
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
# CONFIG_MAXSMP is not set
CONFIG_NR_CPUS=8
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
# CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS is not set
CONFIG_X86_MCE=y
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
CONFIG_X86_MCE_THRESHOLD=y
# CONFIG_X86_MCE_INJECT is not set
CONFIG_X86_THERMAL_VECTOR=y
# CONFIG_VM86 is not set
CONFIG_X86_VSYSCALL_EMULATION=y
# CONFIG_I8K is not set
CONFIG_MICROCODE=y
CONFIG_MICROCODE_INTEL=y
CONFIG_MICROCODE_AMD=y
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_MICROCODE_INTEL_EARLY=y
CONFIG_MICROCODE_AMD_EARLY=y
CONFIG_MICROCODE_EARLY=y
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_X86_DIRECT_GBPAGES=y
# CONFIG_NUMA is not set
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_PROC_KCORE_TEXT=y
CONFIG_ILLEGAL_POINTER_VALUE=0xdead000000000000
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_HAVE_MEMORY_PRESENT=y
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
CONFIG_ARCH_DISCARD_MEMBLOCK=y
CONFIG_MEMORY_ISOLATION=y
# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
# CONFIG_MEMORY_HOTPLUG is not set
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
CONFIG_COMPACTION=y
CONFIG_MIGRATION=y
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_ZONE_DMA_FLAG=1
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
CONFIG_KSM=y
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
CONFIG_MEMORY_FAILURE=y
CONFIG_HWPOISON_INJECT=m
CONFIG_TRANSPARENT_HUGEPAGE=y
# CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS is not set
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
# CONFIG_CLEANCACHE is not set
# CONFIG_FRONTSWAP is not set
# CONFIG_CMA is not set
# CONFIG_ZPOOL is not set
# CONFIG_ZBUD is not set
# CONFIG_ZSMALLOC is not set
CONFIG_GENERIC_EARLY_IOREMAP=y
CONFIG_ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT=y
# CONFIG_IDLE_PAGE_TRACKING is not set
# CONFIG_X86_PMEM_LEGACY is not set
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
CONFIG_X86_RESERVE_LOW=64
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
CONFIG_X86_PAT=y
CONFIG_ARCH_USES_PG_UNCACHED=y
# CONFIG_ARCH_RANDOM is not set
# CONFIG_X86_SMAP is not set
# CONFIG_X86_INTEL_MPX is not set
# CONFIG_EFI is not set
# CONFIG_SECCOMP is not set
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
CONFIG_SCHED_HRTICK=y
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
CONFIG_PHYSICAL_START=0x1000000
CONFIG_RELOCATABLE=y
# CONFIG_RANDOMIZE_BASE is not set
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_HOTPLUG_CPU=y
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
# CONFIG_COMPAT_VDSO is not set
CONFIG_LEGACY_VSYSCALL_NATIVE=y
# CONFIG_LEGACY_VSYSCALL_EMULATE is not set
# CONFIG_LEGACY_VSYSCALL_NONE is not set
# CONFIG_CMDLINE_BOOL is not set
# CONFIG_MODIFY_LDT_SYSCALL is not set
CONFIG_HAVE_LIVEPATCH=y
# CONFIG_LIVEPATCH is not set
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y

#
# Power management and ACPI options
#
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
# CONFIG_SUSPEND_SKIP_SYNC is not set
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION="/dev/sda2"
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
CONFIG_PM=y
CONFIG_PM_DEBUG=y
CONFIG_PM_ADVANCED_DEBUG=y
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
# CONFIG_DPM_WATCHDOG is not set
# CONFIG_PM_TRACE_RTC is not set
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS_POWER is not set
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
# CONFIG_ACPI_EC_DEBUGFS is not set
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
# CONFIG_ACPI_BUTTON is not set
# CONFIG_ACPI_VIDEO is not set
# CONFIG_ACPI_FAN is not set
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_CUSTOM_DSDT is not set
# CONFIG_ACPI_INITRD_TABLE_OVERRIDE is not set
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_IOAPIC=y
# CONFIG_ACPI_SBS is not set
CONFIG_ACPI_HED=y
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
# CONFIG_ACPI_NFIT is not set
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
CONFIG_ACPI_APEI=y
CONFIG_ACPI_APEI_GHES=y
CONFIG_ACPI_APEI_PCIEAER=y
# CONFIG_ACPI_APEI_MEMORY_FAILURE is not set
CONFIG_ACPI_APEI_EINJ=m
CONFIG_ACPI_APEI_ERST_DEBUG=m
CONFIG_ACPI_EXTLOG=y
# CONFIG_PMIC_OPREGION is not set
# CONFIG_SFI is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=m
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
CONFIG_CPU_FREQ_GOV_USERSPACE=m
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m

#
# CPU frequency scaling drivers
#
# CONFIG_X86_INTEL_PSTATE is not set
CONFIG_X86_PCC_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_POWERNOW_K8=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set

#
# shared options
#
# CONFIG_X86_SPEEDSTEP_LIB is not set

#
# CPU Idle
#
CONFIG_CPU_IDLE=y
CONFIG_CPU_IDLE_GOV_LADDER=y
CONFIG_CPU_IDLE_GOV_MENU=y
# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
# CONFIG_INTEL_IDLE is not set

#
# Memory power savings
#
# CONFIG_I7300_IDLE is not set

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_DOMAINS=y
# CONFIG_PCI_CNB20LE_QUIRK is not set
CONFIG_PCIEPORTBUS=y
CONFIG_PCIEAER=y
CONFIG_PCIE_ECRC=y
CONFIG_PCIEAER_INJECT=m
CONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not set
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_PCIE_PME=y
CONFIG_PCI_BUS_ADDR_T_64BIT=y
CONFIG_PCI_MSI=y
CONFIG_PCI_MSI_IRQ_DOMAIN=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
# CONFIG_PCI_STUB is not set
# CONFIG_HT_IRQ is not set
CONFIG_PCI_ATS=y
# CONFIG_PCI_IOV is not set
CONFIG_PCI_PRI=y
CONFIG_PCI_PASID=y
CONFIG_PCI_LABEL=y

#
# PCI host controller drivers
#
# CONFIG_ISA_DMA_API is not set
CONFIG_AMD_NB=y
# CONFIG_PCCARD is not set
# CONFIG_HOTPLUG_PCI is not set
# CONFIG_RAPIDIO is not set
# CONFIG_X86_SYSFB is not set

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_BINFMT_SCRIPT=y
# CONFIG_HAVE_AOUT is not set
CONFIG_BINFMT_MISC=m
CONFIG_COREDUMP=y
CONFIG_IA32_EMULATION=y
CONFIG_IA32_AOUT=y
CONFIG_X86_X32=y
CONFIG_COMPAT=y
CONFIG_COMPAT_FOR_U64_ALIGNMENT=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_KEYS_COMPAT=y
CONFIG_X86_DEV_DMA_OPS=y
CONFIG_PMC_ATOM=y
CONFIG_NET=y
CONFIG_NET_INGRESS=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not set
CONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
CONFIG_XFRM=y
CONFIG_XFRM_ALGO=m
CONFIG_XFRM_USER=m
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
CONFIG_XFRM_IPCOMP=m
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_ROUTE_CLASSID=y
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not set
# CONFIG_IP_PNP_RARP is not set
CONFIG_NET_IPIP=m
# CONFIG_NET_IPGRE_DEMUX is not set
CONFIG_NET_IP_TUNNEL=m
# CONFIG_IP_MROUTE is not set
CONFIG_SYN_COOKIES=y
# CONFIG_NET_IPVTI is not set
CONFIG_NET_UDP_TUNNEL=m
CONFIG_NET_FOU=m
# CONFIG_NET_FOU_IP_TUNNELS is not set
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_XFRM_TUNNEL=m
CONFIG_INET_TUNNEL=m
CONFIG_INET_XFRM_MODE_TRANSPORT=m
CONFIG_INET_XFRM_MODE_TUNNEL=m
CONFIG_INET_XFRM_MODE_BEET=y
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=m
CONFIG_INET_TCP_DIAG=m
# CONFIG_INET_UDP_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
CONFIG_IPV6=m
# CONFIG_IPV6_ROUTER_PREF is not set
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
CONFIG_INET6_AH=m
CONFIG_INET6_ESP=m
CONFIG_INET6_IPCOMP=m
# CONFIG_IPV6_MIP6 is not set
# CONFIG_IPV6_ILA is not set
CONFIG_INET6_XFRM_TUNNEL=m
CONFIG_INET6_TUNNEL=m
CONFIG_INET6_XFRM_MODE_TRANSPORT=m
CONFIG_INET6_XFRM_MODE_TUNNEL=m
CONFIG_INET6_XFRM_MODE_BEET=m
# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
# CONFIG_IPV6_VTI is not set
CONFIG_IPV6_SIT=m
# CONFIG_IPV6_SIT_6RD is not set
CONFIG_IPV6_NDISC_NODETYPE=y
CONFIG_IPV6_TUNNEL=m
# CONFIG_IPV6_GRE is not set
# CONFIG_IPV6_MULTIPLE_TABLES is not set
# CONFIG_IPV6_MROUTE is not set
CONFIG_NETWORK_SECMARK=y
# CONFIG_NET_PTP_CLASSIFY is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_NETFILTER_ADVANCED=y
CONFIG_BRIDGE_NETFILTER=m

#
# Core Netfilter Configuration
#
CONFIG_NETFILTER_INGRESS=y
CONFIG_NETFILTER_NETLINK=m
CONFIG_NETFILTER_NETLINK_ACCT=m
CONFIG_NETFILTER_NETLINK_QUEUE=m
CONFIG_NETFILTER_NETLINK_LOG=m
CONFIG_NF_CONNTRACK=m
CONFIG_NF_LOG_COMMON=m
CONFIG_NF_CONNTRACK_MARK=y
CONFIG_NF_CONNTRACK_SECMARK=y
CONFIG_NF_CONNTRACK_ZONES=y
CONFIG_NF_CONNTRACK_PROCFS=y
# CONFIG_NF_CONNTRACK_EVENTS is not set
# CONFIG_NF_CONNTRACK_TIMEOUT is not set
# CONFIG_NF_CONNTRACK_TIMESTAMP is not set
CONFIG_NF_CONNTRACK_LABELS=y
CONFIG_NF_CT_PROTO_DCCP=m
CONFIG_NF_CT_PROTO_GRE=m
CONFIG_NF_CT_PROTO_SCTP=m
# CONFIG_NF_CT_PROTO_UDPLITE is not set
# CONFIG_NF_CONNTRACK_AMANDA is not set
CONFIG_NF_CONNTRACK_FTP=m
# CONFIG_NF_CONNTRACK_H323 is not set
# CONFIG_NF_CONNTRACK_IRC is not set
CONFIG_NF_CONNTRACK_BROADCAST=m
CONFIG_NF_CONNTRACK_NETBIOS_NS=m
# CONFIG_NF_CONNTRACK_SNMP is not set
CONFIG_NF_CONNTRACK_PPTP=m
# CONFIG_NF_CONNTRACK_SANE is not set
CONFIG_NF_CONNTRACK_SIP=m
# CONFIG_NF_CONNTRACK_TFTP is not set
CONFIG_NF_CT_NETLINK=m
# CONFIG_NF_CT_NETLINK_TIMEOUT is not set
# CONFIG_NETFILTER_NETLINK_QUEUE_CT is not set
CONFIG_NF_NAT=m
CONFIG_NF_NAT_NEEDED=y
CONFIG_NF_NAT_PROTO_DCCP=m
CONFIG_NF_NAT_PROTO_SCTP=m
# CONFIG_NF_NAT_AMANDA is not set
CONFIG_NF_NAT_FTP=m
# CONFIG_NF_NAT_IRC is not set
CONFIG_NF_NAT_SIP=m
# CONFIG_NF_NAT_TFTP is not set
CONFIG_NF_NAT_REDIRECT=m
# CONFIG_NF_TABLES is not set
CONFIG_NETFILTER_XTABLES=m

#
# Xtables combined modules
#
CONFIG_NETFILTER_XT_MARK=m
CONFIG_NETFILTER_XT_CONNMARK=m

#
# Xtables targets
#
# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m
CONFIG_NETFILTER_XT_TARGET_CT=m
CONFIG_NETFILTER_XT_TARGET_DSCP=m
CONFIG_NETFILTER_XT_TARGET_HL=m
CONFIG_NETFILTER_XT_TARGET_HMARK=m
CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m
CONFIG_NETFILTER_XT_TARGET_LOG=m
CONFIG_NETFILTER_XT_TARGET_MARK=m
CONFIG_NETFILTER_XT_NAT=m
CONFIG_NETFILTER_XT_TARGET_NETMAP=m
CONFIG_NETFILTER_XT_TARGET_NFLOG=m
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
# CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set
CONFIG_NETFILTER_XT_TARGET_RATEEST=m
CONFIG_NETFILTER_XT_TARGET_REDIRECT=m
# CONFIG_NETFILTER_XT_TARGET_TEE is not set
# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set
CONFIG_NETFILTER_XT_TARGET_TRACE=m
CONFIG_NETFILTER_XT_TARGET_SECMARK=m
CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m

#
# Xtables matches
#
# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set
CONFIG_NETFILTER_XT_MATCH_BPF=m
CONFIG_NETFILTER_XT_MATCH_CLUSTER=m
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set
CONFIG_NETFILTER_XT_MATCH_CONNLABEL=m
# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set
# CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set
# CONFIG_NETFILTER_XT_MATCH_CPU is not set
CONFIG_NETFILTER_XT_MATCH_DCCP=m
# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set
CONFIG_NETFILTER_XT_MATCH_DSCP=m
CONFIG_NETFILTER_XT_MATCH_ECN=m
CONFIG_NETFILTER_XT_MATCH_ESP=m
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
# CONFIG_NETFILTER_XT_MATCH_HELPER is not set
CONFIG_NETFILTER_XT_MATCH_HL=m
CONFIG_NETFILTER_XT_MATCH_IPCOMP=m
CONFIG_NETFILTER_XT_MATCH_IPRANGE=m
CONFIG_NETFILTER_XT_MATCH_L2TP=m
CONFIG_NETFILTER_XT_MATCH_LENGTH=m
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
CONFIG_NETFILTER_XT_MATCH_MAC=m
CONFIG_NETFILTER_XT_MATCH_MARK=m
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
CONFIG_NETFILTER_XT_MATCH_NFACCT=m
CONFIG_NETFILTER_XT_MATCH_OSF=m
CONFIG_NETFILTER_XT_MATCH_OWNER=m
CONFIG_NETFILTER_XT_MATCH_POLICY=m
# CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
CONFIG_NETFILTER_XT_MATCH_QUOTA=m
CONFIG_NETFILTER_XT_MATCH_RATEEST=m
CONFIG_NETFILTER_XT_MATCH_REALM=m
CONFIG_NETFILTER_XT_MATCH_RECENT=m
CONFIG_NETFILTER_XT_MATCH_SCTP=m
CONFIG_NETFILTER_XT_MATCH_SOCKET=m
CONFIG_NETFILTER_XT_MATCH_STATE=m
CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
CONFIG_NETFILTER_XT_MATCH_STRING=m
CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
CONFIG_NETFILTER_XT_MATCH_TIME=m
CONFIG_NETFILTER_XT_MATCH_U32=m
# CONFIG_IP_SET is not set
# CONFIG_IP_VS is not set

#
# IP: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV4=m
CONFIG_NF_CONNTRACK_IPV4=m
CONFIG_NF_CONNTRACK_PROC_COMPAT=y
# CONFIG_NF_DUP_IPV4 is not set
# CONFIG_NF_LOG_ARP is not set
CONFIG_NF_LOG_IPV4=m
CONFIG_NF_REJECT_IPV4=m
CONFIG_NF_NAT_IPV4=m
CONFIG_NF_NAT_MASQUERADE_IPV4=m
CONFIG_NF_NAT_PROTO_GRE=m
CONFIG_NF_NAT_PPTP=m
# CONFIG_NF_NAT_H323 is not set
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_AH=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_RPFILTER=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
# CONFIG_IP_NF_TARGET_SYNPROXY is not set
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_CLUSTERIP=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_TTL=m
CONFIG_IP_NF_RAW=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m

#
# IPv6: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV6=m
CONFIG_NF_CONNTRACK_IPV6=m
# CONFIG_NF_DUP_IPV6 is not set
CONFIG_NF_REJECT_IPV6=m
CONFIG_NF_LOG_IPV6=m
CONFIG_NF_NAT_IPV6=m
CONFIG_NF_NAT_MASQUERADE_IPV6=m
CONFIG_IP6_NF_IPTABLES=m
CONFIG_IP6_NF_MATCH_AH=m
CONFIG_IP6_NF_MATCH_EUI64=m
CONFIG_IP6_NF_MATCH_FRAG=m
CONFIG_IP6_NF_MATCH_OPTS=m
CONFIG_IP6_NF_MATCH_HL=m
CONFIG_IP6_NF_MATCH_IPV6HEADER=m
CONFIG_IP6_NF_MATCH_MH=m
CONFIG_IP6_NF_MATCH_RPFILTER=m
CONFIG_IP6_NF_MATCH_RT=m
CONFIG_IP6_NF_TARGET_HL=m
CONFIG_IP6_NF_FILTER=m
CONFIG_IP6_NF_TARGET_REJECT=m
# CONFIG_IP6_NF_TARGET_SYNPROXY is not set
CONFIG_IP6_NF_MANGLE=m
CONFIG_IP6_NF_RAW=m
CONFIG_IP6_NF_NAT=m
CONFIG_IP6_NF_TARGET_MASQUERADE=m
CONFIG_IP6_NF_TARGET_NPT=m
# CONFIG_BRIDGE_NF_EBTABLES is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
CONFIG_STP=m
CONFIG_BRIDGE=m
CONFIG_BRIDGE_IGMP_SNOOPING=y
CONFIG_HAVE_NET_DSA=y
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
CONFIG_LLC=m
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_PHONET is not set
# CONFIG_6LOWPAN is not set
# CONFIG_IEEE802154 is not set
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_HFSC=m
CONFIG_NET_SCH_PRIO=m
# CONFIG_NET_SCH_MULTIQ is not set
CONFIG_NET_SCH_RED=m
# CONFIG_NET_SCH_SFB is not set
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_NETEM=m
# CONFIG_NET_SCH_DRR is not set
# CONFIG_NET_SCH_MQPRIO is not set
# CONFIG_NET_SCH_CHOKE is not set
# CONFIG_NET_SCH_QFQ is not set
# CONFIG_NET_SCH_CODEL is not set
# CONFIG_NET_SCH_FQ_CODEL is not set
# CONFIG_NET_SCH_FQ is not set
# CONFIG_NET_SCH_HHF is not set
# CONFIG_NET_SCH_PIE is not set
CONFIG_NET_SCH_INGRESS=m
# CONFIG_NET_SCH_PLUG is not set

#
# Classification
#
CONFIG_NET_CLS=y
CONFIG_NET_CLS_BASIC=m
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
CONFIG_CLS_U32_PERF=y
CONFIG_CLS_U32_MARK=y
CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m
# CONFIG_NET_CLS_FLOW is not set
# CONFIG_NET_CLS_BPF is not set
# CONFIG_NET_CLS_FLOWER is not set
CONFIG_NET_EMATCH=y
CONFIG_NET_EMATCH_STACK=32
CONFIG_NET_EMATCH_CMP=m
CONFIG_NET_EMATCH_NBYTE=m
CONFIG_NET_EMATCH_U32=m
CONFIG_NET_EMATCH_META=m
CONFIG_NET_EMATCH_TEXT=m
CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=m
CONFIG_NET_ACT_GACT=m
CONFIG_GACT_PROB=y
CONFIG_NET_ACT_MIRRED=m
CONFIG_NET_ACT_IPT=m
# CONFIG_NET_ACT_NAT is not set
CONFIG_NET_ACT_PEDIT=m
CONFIG_NET_ACT_SIMP=m
# CONFIG_NET_ACT_SKBEDIT is not set
# CONFIG_NET_ACT_CSUM is not set
# CONFIG_NET_ACT_VLAN is not set
# CONFIG_NET_ACT_BPF is not set
# CONFIG_NET_ACT_CONNMARK is not set
CONFIG_NET_CLS_IND=y
CONFIG_NET_SCH_FIFO=y
# CONFIG_DCB is not set
# CONFIG_DNS_RESOLVER is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
# CONFIG_VSOCKETS is not set
# CONFIG_NETLINK_MMAP is not set
# CONFIG_NETLINK_DIAG is not set
# CONFIG_MPLS is not set
# CONFIG_HSR is not set
# CONFIG_NET_SWITCHDEV is not set
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_XPS=y
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
# CONFIG_BPF_JIT is not set
CONFIG_NET_FLOW_LIMIT=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_DROP_MONITOR is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_WIRELESS is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
CONFIG_NET_9P=y
CONFIG_NET_9P_VIRTIO=y
# CONFIG_NET_9P_DEBUG is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set
# CONFIG_LWTUNNEL is not set
CONFIG_HAVE_BPF_JIT=y

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
# CONFIG_FIRMWARE_IN_KERNEL is not set
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
# CONFIG_ALLOW_DEV_COREDUMP is not set
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not set
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_REGMAP=y
CONFIG_DMA_SHARED_BUFFER=y
# CONFIG_FENCE_TRACE is not set

#
# Bus devices
#
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
# CONFIG_OF is not set
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
# CONFIG_PARPORT is not set
CONFIG_PNP=y
# CONFIG_PNP_DEBUG_MESSAGES is not set

#
# Protocols
#
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK is not set
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
CONFIG_BLK_DEV_CRYPTOLOOP=y
# CONFIG_BLK_DEV_DRBD is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_NVME is not set
# CONFIG_BLK_DEV_SKD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
CONFIG_VIRTIO_BLK=y
# CONFIG_BLK_DEV_HD is not set
# CONFIG_BLK_DEV_RBD is not set
# CONFIG_BLK_DEV_RSXX is not set

#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_AD525X_DPOT is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1780 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_BMP085_I2C is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_SRAM is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_CB710_CORE is not set

#
# Texas Instruments shared transport line discipline
#
# CONFIG_SENSORS_LIS3_I2C is not set

#
# Altera FPGA firmware download module
#
# CONFIG_ALTERA_STAPL is not set
# CONFIG_VMWARE_VMCI is not set

#
# Intel MIC Bus Driver
#
# CONFIG_INTEL_MIC_BUS is not set

#
# SCIF Bus Driver
#
# CONFIG_SCIF_BUS is not set

#
# Intel MIC Host Driver
#

#
# Intel MIC Card Driver
#

#
# SCIF Driver
#
# CONFIG_GENWQE is not set
# CONFIG_ECHO is not set
# CONFIG_CXL_BASE is not set
# CONFIG_CXL_KERNEL_API is not set
# CONFIG_CXL_EEH is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_NETLINK is not set
# CONFIG_SCSI_MQ_DEFAULT is not set
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y
# CONFIG_CHR_DEV_SCH is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_ACPI=y
CONFIG_SATA_ZPODD=y
CONFIG_SATA_PMP=y

#
# Controllers with non-SFF native interface
#
CONFIG_SATA_AHCI=y
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y

#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not set
CONFIG_ATA_BMDMA=y

#
# SATA SFF controllers with BMDMA
#
CONFIG_ATA_PIIX=y
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set

#
# PATA SFF controllers with BMDMA
#
CONFIG_PATA_ALI=m
CONFIG_PATA_AMD=y
# CONFIG_PATA_ARTOP is not set
CONFIG_PATA_ATIIXP=y
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_OPTIDMA is not set
CONFIG_PATA_PDC2027X=m
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
# CONFIG_PATA_SCH is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set

#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_PLATFORM is not set
# CONFIG_PATA_RZ1000 is not set

#
# Generic fallback / legacy drivers
#
CONFIG_PATA_ACPI=m
CONFIG_ATA_GENERIC=m
# CONFIG_PATA_LEGACY is not set
CONFIG_MD=y
# CONFIG_BLK_DEV_MD is not set
# CONFIG_BCACHE is not set
CONFIG_BLK_DEV_DM_BUILTIN=y
CONFIG_BLK_DEV_DM=m
# CONFIG_DM_MQ_DEFAULT is not set
# CONFIG_DM_DEBUG is not set
CONFIG_DM_CRYPT=m
# CONFIG_DM_SNAPSHOT is not set
# CONFIG_DM_THIN_PROVISIONING is not set
# CONFIG_DM_CACHE is not set
# CONFIG_DM_ERA is not set
# CONFIG_DM_MIRROR is not set
# CONFIG_DM_RAID is not set
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
# CONFIG_DM_UEVENT is not set
# CONFIG_DM_FLAKEY is not set
# CONFIG_DM_VERITY is not set
# CONFIG_DM_SWITCH is not set
# CONFIG_DM_LOG_WRITES is not set
# CONFIG_TARGET_CORE is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_FIREWIRE is not set
# CONFIG_FIREWIRE_NOSY is not set
# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_NET_CORE=y
# CONFIG_BONDING is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
# CONFIG_NET_FC is not set
# CONFIG_IFB is not set
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set
# CONFIG_IPVLAN is not set
# CONFIG_VXLAN is not set
# CONFIG_GENEVE is not set
CONFIG_NETCONSOLE=y
CONFIG_NETCONSOLE_DYNAMIC=y
CONFIG_NETPOLL=y
CONFIG_NET_POLL_CONTROLLER=y
CONFIG_TUN=m
# CONFIG_TUN_VNET_CROSS_LE is not set
# CONFIG_VETH is not set
CONFIG_VIRTIO_NET=y
# CONFIG_NLMON is not set
# CONFIG_ARCNET is not set

#
# CAIF transport drivers
#
# CONFIG_VHOST_NET is not set
# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set

#
# Distributed Switch Architecture drivers
#
# CONFIG_NET_DSA_MV88E6XXX is not set
# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set
CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
CONFIG_NET_VENDOR_ADAPTEC=y
# CONFIG_ADAPTEC_STARFIRE is not set
CONFIG_NET_VENDOR_AGERE=y
# CONFIG_ET131X is not set
CONFIG_NET_VENDOR_ALTEON=y
# CONFIG_ACENIC is not set
# CONFIG_ALTERA_TSE is not set
CONFIG_NET_VENDOR_AMD=y
# CONFIG_AMD8111_ETH is not set
# CONFIG_PCNET32 is not set
CONFIG_NET_VENDOR_ARC=y
CONFIG_NET_VENDOR_ATHEROS=y
# CONFIG_ATL2 is not set
# CONFIG_ATL1 is not set
# CONFIG_ATL1E is not set
# CONFIG_ATL1C is not set
# CONFIG_ALX is not set
CONFIG_NET_CADENCE=y
# CONFIG_MACB is not set
CONFIG_NET_VENDOR_BROADCOM=y
# CONFIG_B44 is not set
# CONFIG_BCMGENET is not set
# CONFIG_BNX2 is not set
# CONFIG_CNIC is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2X is not set
CONFIG_NET_VENDOR_BROCADE=y
# CONFIG_BNA is not set
CONFIG_NET_VENDOR_CAVIUM=y
# CONFIG_THUNDER_NIC_PF is not set
# CONFIG_THUNDER_NIC_VF is not set
# CONFIG_THUNDER_NIC_BGX is not set
# CONFIG_LIQUIDIO is not set
CONFIG_NET_VENDOR_CHELSIO=y
# CONFIG_CHELSIO_T1 is not set
# CONFIG_CHELSIO_T3 is not set
# CONFIG_CHELSIO_T4 is not set
# CONFIG_CHELSIO_T4VF is not set
CONFIG_NET_VENDOR_CISCO=y
# CONFIG_ENIC is not set
# CONFIG_CX_ECAT is not set
# CONFIG_DNET is not set
CONFIG_NET_VENDOR_DEC=y
# CONFIG_NET_TULIP is not set
CONFIG_NET_VENDOR_DLINK=y
# CONFIG_DL2K is not set
# CONFIG_SUNDANCE is not set
CONFIG_NET_VENDOR_EMULEX=y
# CONFIG_BE2NET is not set
CONFIG_NET_VENDOR_EZCHIP=y
CONFIG_NET_VENDOR_EXAR=y
# CONFIG_S2IO is not set
# CONFIG_VXGE is not set
CONFIG_NET_VENDOR_HP=y
# CONFIG_HP100 is not set
CONFIG_NET_VENDOR_INTEL=y
# CONFIG_E100 is not set
# CONFIG_E1000 is not set
# CONFIG_E1000E is not set
# CONFIG_IGB is not set
# CONFIG_IGBVF is not set
# CONFIG_IXGB is not set
# CONFIG_IXGBE is not set
# CONFIG_IXGBEVF is not set
# CONFIG_I40E is not set
# CONFIG_I40EVF is not set
# CONFIG_FM10K is not set
CONFIG_NET_VENDOR_I825XX=y
# CONFIG_IP1000 is not set
# CONFIG_JME is not set
CONFIG_NET_VENDOR_MARVELL=y
# CONFIG_MVMDIO is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
CONFIG_NET_VENDOR_MELLANOX=y
# CONFIG_MLX4_EN is not set
# CONFIG_MLX4_CORE is not set
# CONFIG_MLX5_CORE is not set
# CONFIG_MLXSW_CORE is not set
CONFIG_NET_VENDOR_MICREL=y
# CONFIG_KS8851_MLL is not set
# CONFIG_KSZ884X_PCI is not set
CONFIG_NET_VENDOR_MYRI=y
# CONFIG_MYRI10GE is not set
# CONFIG_FEALNX is not set
CONFIG_NET_VENDOR_NATSEMI=y
# CONFIG_NATSEMI is not set
# CONFIG_NS83820 is not set
CONFIG_NET_VENDOR_8390=y
# CONFIG_NE2K_PCI is not set
CONFIG_NET_VENDOR_NVIDIA=y
CONFIG_FORCEDETH=y
CONFIG_NET_VENDOR_OKI=y
# CONFIG_ETHOC is not set
CONFIG_NET_PACKET_ENGINE=y
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
CONFIG_NET_VENDOR_QLOGIC=y
# CONFIG_QLA3XXX is not set
# CONFIG_QLCNIC is not set
# CONFIG_QLGE is not set
# CONFIG_NETXEN_NIC is not set
CONFIG_NET_VENDOR_QUALCOMM=y
CONFIG_NET_VENDOR_REALTEK=y
CONFIG_8139CP=y
CONFIG_8139TOO=y
# CONFIG_8139TOO_PIO is not set
CONFIG_8139TOO_TUNE_TWISTER=y
CONFIG_8139TOO_8129=y
# CONFIG_8139_OLD_RX_RESET is not set
CONFIG_R8169=y
CONFIG_NET_VENDOR_RENESAS=y
CONFIG_NET_VENDOR_RDC=y
# CONFIG_R6040 is not set
CONFIG_NET_VENDOR_ROCKER=y
CONFIG_NET_VENDOR_SAMSUNG=y
# CONFIG_SXGBE_ETH is not set
CONFIG_NET_VENDOR_SEEQ=y
CONFIG_NET_VENDOR_SILAN=y
# CONFIG_SC92031 is not set
CONFIG_NET_VENDOR_SIS=y
# CONFIG_SIS900 is not set
# CONFIG_SIS190 is not set
# CONFIG_SFC is not set
CONFIG_NET_VENDOR_SMSC=y
# CONFIG_EPIC100 is not set
# CONFIG_SMSC911X is not set
# CONFIG_SMSC9420 is not set
CONFIG_NET_VENDOR_STMICRO=y
# CONFIG_STMMAC_ETH is not set
CONFIG_NET_VENDOR_SUN=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NIU is not set
CONFIG_NET_VENDOR_SYNOPSYS=y
CONFIG_NET_VENDOR_TEHUTI=y
# CONFIG_TEHUTI is not set
CONFIG_NET_VENDOR_TI=y
# CONFIG_TI_CPSW_ALE is not set
# CONFIG_TLAN is not set
CONFIG_NET_VENDOR_VIA=y
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_VELOCITY is not set
CONFIG_NET_VENDOR_WIZNET=y
# CONFIG_WIZNET_W5100 is not set
# CONFIG_WIZNET_W5300 is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_NET_SB1000 is not set
CONFIG_PHYLIB=m

#
# MII PHY device drivers
#
# CONFIG_AQUANTIA_PHY is not set
# CONFIG_AT803X_PHY is not set
# CONFIG_AMD_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_QSEMI_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_TERANETICS_PHY is not set
# CONFIG_SMSC_PHY is not set
# CONFIG_BROADCOM_PHY is not set
# CONFIG_BCM7XXX_PHY is not set
# CONFIG_BCM87XX_PHY is not set
# CONFIG_ICPLUS_PHY is not set
CONFIG_REALTEK_PHY=m
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MICREL_PHY is not set
# CONFIG_DP83867_PHY is not set
# CONFIG_MICROCHIP_PHY is not set
# CONFIG_FIXED_PHY is not set
# CONFIG_MDIO_BITBANG is not set
# CONFIG_MDIO_OCTEON is not set
# CONFIG_MDIO_BCM_UNIMAC is not set
CONFIG_PPP=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_FILTER=y
CONFIG_PPP_MPPE=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPPOE=m
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_SLIP=m
CONFIG_SLHC=m
# CONFIG_SLIP_COMPRESSED is not set
# CONFIG_SLIP_SMART is not set
# CONFIG_SLIP_MODE_SLIP6 is not set
# CONFIG_USB_NET_DRIVERS is not set
# CONFIG_WLAN is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
# CONFIG_WAN is not set
# CONFIG_VMXNET3 is not set
# CONFIG_FUJITSU_ES is not set
# CONFIG_ISDN is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_CYPRESS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
CONFIG_MOUSE_PS2_FOCALTECH=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_CYAPA is not set
# CONFIG_MOUSE_ELAN_I2C is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_PROPERTIES=y
# CONFIG_TOUCHSCREEN_AD7879 is not set
# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set
# CONFIG_TOUCHSCREEN_BU21013 is not set
# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set
# CONFIG_TOUCHSCREEN_CYTTSP4_CORE is not set
# CONFIG_TOUCHSCREEN_DYNAPRO is not set
# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set
# CONFIG_TOUCHSCREEN_EETI is not set
# CONFIG_TOUCHSCREEN_FUJITSU is not set
# CONFIG_TOUCHSCREEN_GOODIX is not set
# CONFIG_TOUCHSCREEN_ILI210X is not set
# CONFIG_TOUCHSCREEN_GUNZE is not set
# CONFIG_TOUCHSCREEN_ELAN is not set
# CONFIG_TOUCHSCREEN_ELO is not set
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
# CONFIG_TOUCHSCREEN_WACOM_I2C is not set
# CONFIG_TOUCHSCREEN_MAX11801 is not set
# CONFIG_TOUCHSCREEN_MCS5000 is not set
# CONFIG_TOUCHSCREEN_MMS114 is not set
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_INEXIO is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
# CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
# CONFIG_TOUCHSCREEN_PIXCIR is not set
# CONFIG_TOUCHSCREEN_WDT87XX_I2C is not set
CONFIG_TOUCHSCREEN_USB_COMPOSITE=y
CONFIG_TOUCHSCREEN_USB_EGALAX=y
CONFIG_TOUCHSCREEN_USB_PANJIT=y
CONFIG_TOUCHSCREEN_USB_3M=y
CONFIG_TOUCHSCREEN_USB_ITM=y
CONFIG_TOUCHSCREEN_USB_ETURBO=y
CONFIG_TOUCHSCREEN_USB_GUNZE=y
CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y
CONFIG_TOUCHSCREEN_USB_IRTOUCH=y
CONFIG_TOUCHSCREEN_USB_IDEALTEK=y
CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y
CONFIG_TOUCHSCREEN_USB_GOTOP=y
CONFIG_TOUCHSCREEN_USB_JASTEC=y
CONFIG_TOUCHSCREEN_USB_ELO=y
CONFIG_TOUCHSCREEN_USB_E2I=y
CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y
CONFIG_TOUCHSCREEN_USB_ETT_TC45USB=y
CONFIG_TOUCHSCREEN_USB_NEXIO=y
CONFIG_TOUCHSCREEN_USB_EASYTOUCH=y
# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
# CONFIG_TOUCHSCREEN_TSC_SERIO is not set
# CONFIG_TOUCHSCREEN_TSC2007 is not set
# CONFIG_TOUCHSCREEN_ST1232 is not set
# CONFIG_TOUCHSCREEN_SX8654 is not set
# CONFIG_TOUCHSCREEN_TPS6507X is not set
# CONFIG_INPUT_MISC is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
CONFIG_DEVMEM=y
CONFIG_DEVKMEM=y

#
# Serial drivers
#
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_DEPRECATED_OPTIONS=y
CONFIG_SERIAL_8250_PNP=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_NR_UARTS=16
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_RSA is not set
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_FINTEK is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_SC16IS7XX is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_TTY_PRINTK is not set
CONFIG_HVC_DRIVER=y
CONFIG_VIRTIO_CONSOLE=y
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
CONFIG_HPET_MMAP_DEFAULT=y
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
# CONFIG_XILLYBUS is not set

#
# I2C support
#
CONFIG_I2C=y
# CONFIG_ACPI_I2C_OPREGION is not set
CONFIG_I2C_BOARDINFO=y
# CONFIG_I2C_COMPAT is not set
# CONFIG_I2C_CHARDEV is not set
# CONFIG_I2C_MUX is not set
# CONFIG_I2C_HELPER_AUTO is not set
# CONFIG_I2C_SMBUS is not set

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
# CONFIG_I2C_ALGOPCF is not set
# CONFIG_I2C_ALGOPCA is not set

#
# I2C Hardware Bus support
#

#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
CONFIG_I2C_AMD756=m
# CONFIG_I2C_AMD756_S4882 is not set
CONFIG_I2C_AMD8111=m
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_ISMT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set

#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_PXA_PCI is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_DIOLAN_U2C is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_TINY_USB is not set

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_SLAVE is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_SPI is not set
# CONFIG_SPMI is not set
# CONFIG_HSI is not set

#
# PPS support
#
# CONFIG_PPS is not set

#
# PPS generators support
#

#
# PTP clock support
#
# CONFIG_PTP_1588_CLOCK is not set

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not set
# CONFIG_W1 is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_BATTERY_BQ27x00 is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_BQ2415X is not set
# CONFIG_CHARGER_SMB347 is not set
# CONFIG_BATTERY_GAUGE_LTC2941 is not set
# CONFIG_POWER_RESET is not set
# CONFIG_POWER_AVS is not set
CONFIG_HWMON=y
# CONFIG_HWMON_VID is not set
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Native drivers
#
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7410 is not set
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_ASC7621 is not set
CONFIG_SENSORS_K8TEMP=m
CONFIG_SENSORS_K10TEMP=m
CONFIG_SENSORS_FAM15H_POWER=m
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS620 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_DELL_SMM is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_G762 is not set
# CONFIG_SENSORS_HIH6130 is not set
# CONFIG_SENSORS_I5500 is not set
# CONFIG_SENSORS_CORETEMP is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_JC42 is not set
# CONFIG_SENSORS_POWR1220 is not set
# CONFIG_SENSORS_LINEAGE is not set
# CONFIG_SENSORS_LTC2945 is not set
# CONFIG_SENSORS_LTC4151 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4222 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LTC4260 is not set
# CONFIG_SENSORS_LTC4261 is not set
# CONFIG_SENSORS_MAX16065 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX1668 is not set
# CONFIG_SENSORS_MAX197 is not set
# CONFIG_SENSORS_MAX6639 is not set
# CONFIG_SENSORS_MAX6642 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_MAX6697 is not set
# CONFIG_SENSORS_HTU21 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LM95234 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_LM95245 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_NCT6683 is not set
# CONFIG_SENSORS_NCT6775 is not set
# CONFIG_SENSORS_NCT7802 is not set
# CONFIG_SENSORS_NCT7904 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_PMBUS is not set
# CONFIG_SENSORS_SHT21 is not set
# CONFIG_SENSORS_SHTC1 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_EMC1403 is not set
# CONFIG_SENSORS_EMC2103 is not set
# CONFIG_SENSORS_EMC6W201 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SCH56XX_COMMON is not set
# CONFIG_SENSORS_SMM665 is not set
# CONFIG_SENSORS_ADC128D818 is not set
# CONFIG_SENSORS_ADS1015 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_INA209 is not set
# CONFIG_SENSORS_INA2XX is not set
# CONFIG_SENSORS_TC74 is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP102 is not set
# CONFIG_SENSORS_TMP103 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_VIA_CPUTEMP is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83795 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set

#
# ACPI drivers
#
# CONFIG_SENSORS_ACPI_POWER is not set
# CONFIG_SENSORS_ATK0110 is not set
CONFIG_THERMAL=y
CONFIG_THERMAL_HWMON=y
# CONFIG_THERMAL_WRITABLE_TRIPS is not set
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
# CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR is not set
# CONFIG_THERMAL_GOV_FAIR_SHARE is not set
CONFIG_THERMAL_GOV_STEP_WISE=y
CONFIG_THERMAL_GOV_BANG_BANG=y
CONFIG_THERMAL_GOV_USER_SPACE=y
# CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_INTEL_POWERCLAMP is not set
CONFIG_X86_PKG_TEMP_THERMAL=m
# CONFIG_INTEL_SOC_DTS_THERMAL is not set
# CONFIG_INT340X_THERMAL is not set
# CONFIG_INTEL_PCH_THERMAL is not set

#
# Texas Instruments thermal drivers
#
# CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y

#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y

#
# Broadcom specific AMBA
#
# CONFIG_BCMA is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_AS3711 is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_BCM590XX is not set
# CONFIG_MFD_AXP20X is not set
# CONFIG_MFD_CROS_EC is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_MFD_DA9055 is not set
# CONFIG_MFD_DA9062 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_DA9150 is not set
# CONFIG_MFD_DLN2 is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_LPC_ICH is not set
# CONFIG_LPC_SCH is not set
# CONFIG_MFD_INTEL_LPSS_ACPI is not set
# CONFIG_MFD_INTEL_LPSS_PCI is not set
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX77843 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_MENF21BMC is not set
# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_RETU is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_RTSX_PCI is not set
# CONFIG_MFD_RT5033 is not set
# CONFIG_MFD_RTSX_USB is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_RN5T618 is not set
# CONFIG_MFD_SEC_CORE is not set
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SKY81452 is not set
# CONFIG_MFD_SMSC is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
# CONFIG_MFD_LP3943 is not set
# CONFIG_MFD_LP8788 is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_MFD_TPS65218 is not set
# CONFIG_MFD_TPS6586X is not set
# CONFIG_MFD_TPS80031 is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
# CONFIG_VGA_SWITCHEROO is not set
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_DRM_TTM=y

#
# I2C encoder or helper chips
#
# CONFIG_DRM_I2C_ADV7511 is not set
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_RADEON_USERPTR is not set
# CONFIG_DRM_RADEON_UMS is not set
CONFIG_DRM_AMDGPU=y
# CONFIG_DRM_AMDGPU_CIK is not set
# CONFIG_DRM_AMDGPU_USERPTR is not set
# CONFIG_DRM_NOUVEAU is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_DRM_VGEM is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set
# CONFIG_DRM_VIRTIO_GPU is not set
CONFIG_DRM_BRIDGE=y

#
# Display Interface Bridges
#
CONFIG_HSA_AMD=m

#
# Frame buffer Devices
#
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
CONFIG_FB_CMDLINE=y
CONFIG_FB_DDC=m
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
CONFIG_FB_BACKLIGHT=y
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_VESA is not set
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
CONFIG_FB_RADEON=m
CONFIG_FB_RADEON_I2C=y
CONFIG_FB_RADEON_BACKLIGHT=y
# CONFIG_FB_RADEON_DEBUG is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FB_SM712 is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=m
# CONFIG_LCD_PLATFORM is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_GENERIC=y
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_PM8941_WLED is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_VGASTATE is not set
CONFIG_HDMI=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_LOGO is not set
CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
# CONFIG_SOUND_OSS_CORE_PRECLAIM is not set
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_JACK=y
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_PROC_FS=y
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
# CONFIG_SND_RAWMIDI_SEQ is not set
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
# CONFIG_SND_DRIVERS is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SE6X is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# HD-Audio
#
CONFIG_SND_HDA=y
CONFIG_SND_HDA_INTEL=y
# CONFIG_SND_HDA_HWDEP is not set
# CONFIG_SND_HDA_RECONFIG is not set
# CONFIG_SND_HDA_INPUT_BEEP is not set
# CONFIG_SND_HDA_PATCH_LOADER is not set
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_HDMI=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CA0132=y
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDA_CORE=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
# CONFIG_SND_USB is not set
# CONFIG_SND_SOC is not set
# CONFIG_SOUND_PRIME is not set

#
# HID support
#
CONFIG_HID=y
# CONFIG_HID_BATTERY_STRENGTH is not set
CONFIG_HIDRAW=y
# CONFIG_UHID is not set
CONFIG_HID_GENERIC=y

#
# Special HID drivers
#
CONFIG_HID_A4TECH=y
# CONFIG_HID_ACRUX is not set
CONFIG_HID_APPLE=y
# CONFIG_HID_APPLEIR is not set
# CONFIG_HID_AUREAL is not set
CONFIG_HID_BELKIN=y
# CONFIG_HID_BETOP_FF is not set
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
# CONFIG_HID_PRODIKEYS is not set
CONFIG_HID_CYPRESS=y
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not set
# CONFIG_HID_ELECOM is not set
# CONFIG_HID_ELO is not set
CONFIG_HID_EZKEY=y
# CONFIG_HID_GEMBIRD is not set
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_KEYTOUCH is not set
CONFIG_HID_KYE=y
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_ICADE is not set
# CONFIG_HID_TWINHAN is not set
CONFIG_HID_KENSINGTON=y
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO is not set
CONFIG_HID_LOGITECH=y
CONFIG_HID_LOGITECH_DJ=y
CONFIG_HID_LOGITECH_HIDPP=y
# CONFIG_LOGITECH_FF is not set
# CONFIG_LOGIRUMBLEPAD2_FF is not set
# CONFIG_LOGIG940_FF is not set
# CONFIG_LOGIWHEELS_FF is not set
# CONFIG_HID_MAGICMOUSE is not set
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_HID_MULTITOUCH=y
# CONFIG_HID_NTRIG is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PENMOUNT is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PLANTRONICS is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_STEELSERIES is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_RMI is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_WACOM is not set
# CONFIG_HID_XINMO is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_SENSOR_HUB is not set

#
# USB HID support
#
CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
CONFIG_USB_HIDDEV=y

#
# I2C HID support
#
CONFIG_I2C_HID=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y

#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
# CONFIG_USB_OTG_FSM is not set
# CONFIG_USB_ULPI_BUS is not set
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB_CBAF is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_PCI=y
# CONFIG_USB_XHCI_PLATFORM is not set
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=y
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1362_HCD is not set
# CONFIG_USB_FUSBH200_HCD is not set
# CONFIG_USB_FOTG210_HCD is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PCI=y
# CONFIG_USB_OHCI_HCD_PLATFORM is not set
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HCD_TEST_MODE is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#

#
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_REALTEK is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_STORAGE_ENE_UB6250 is not set
# CONFIG_USB_UAS is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USBIP_CORE is not set
# CONFIG_USB_MUSB_HDRC is not set
# CONFIG_USB_DWC3 is not set
# CONFIG_USB_DWC2 is not set
# CONFIG_USB_CHIPIDEA is not set
# CONFIG_USB_ISP1760 is not set

#
# USB port drivers
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_EHSET_TEST_FIXTURE is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_EZUSB_FX2 is not set
# CONFIG_USB_HSIC_USB3503 is not set
# CONFIG_USB_LINK_LAYER_TEST is not set

#
# USB Physical Layer drivers
#
# CONFIG_USB_PHY is not set
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_USB_ISP1301 is not set
# CONFIG_USB_GADGET is not set
# CONFIG_UWB is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC_ATOMIC_SCRUB=y
CONFIG_EDAC_SUPPORT=y
CONFIG_EDAC=y
CONFIG_EDAC_LEGACY_SYSFS=y
CONFIG_EDAC_DEBUG=y
CONFIG_EDAC_DECODE_MCE=y
CONFIG_EDAC_MM_EDAC=m
CONFIG_EDAC_AMD64=m
CONFIG_EDAC_AMD64_ERROR_INJECTION=y
CONFIG_EDAC_E752X=m
CONFIG_EDAC_I82975X=m
CONFIG_EDAC_I3000=m
CONFIG_EDAC_I3200=m
CONFIG_EDAC_IE31200=m
CONFIG_EDAC_X38=m
CONFIG_EDAC_I5400=m
CONFIG_EDAC_I7CORE=m
CONFIG_EDAC_I5000=m
CONFIG_EDAC_I5100=m
CONFIG_EDAC_I7300=m
CONFIG_EDAC_SBRIDGE=m
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_ABB5ZES3 is not set
# CONFIG_RTC_DRV_ABX80X is not set
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_ISL12057 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF2127 is not set
# CONFIG_RTC_DRV_PCF8523 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF85063 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
# CONFIG_RTC_DRV_EM3027 is not set
# CONFIG_RTC_DRV_RV3029C2 is not set

#
# SPI RTC drivers
#

#
# Platform RTC drivers
#
CONFIG_RTC_DRV_CMOS=y
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1685_FAMILY is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_DS2404 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_V3020 is not set

#
# on-CPU RTC drivers
#

#
# HID Sensor RTC drivers
#
# CONFIG_RTC_DRV_HID_SENSOR_TIME is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set
# CONFIG_VFIO is not set
# CONFIG_VIRT_DRIVERS is not set
CONFIG_VIRTIO=y

#
# Virtio drivers
#
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y
# CONFIG_VIRTIO_BALLOON is not set
# CONFIG_VIRTIO_INPUT is not set
# CONFIG_VIRTIO_MMIO is not set

#
# Microsoft Hyper-V guest support
#
# CONFIG_STAGING is not set
# CONFIG_X86_PLATFORM_DEVICES is not set
# CONFIG_CHROME_PLATFORMS is not set

#
# Hardware Spinlock drivers
#

#
# Clock Source drivers
#
CONFIG_CLKEVT_I8253=y
CONFIG_I8253_LOCK=y
CONFIG_CLKBLD_I8253=y
# CONFIG_ATMEL_PIT is not set
# CONFIG_SH_TIMER_CMT is not set
# CONFIG_SH_TIMER_MTU2 is not set
# CONFIG_SH_TIMER_TMU is not set
# CONFIG_EM_TIMER_STI is not set
# CONFIG_MAILBOX is not set
CONFIG_IOMMU_API=y
CONFIG_IOMMU_SUPPORT=y

#
# Generic IOMMU Pagetable Support
#
CONFIG_AMD_IOMMU=y
# CONFIG_AMD_IOMMU_STATS is not set
CONFIG_AMD_IOMMU_V2=m
CONFIG_DMAR_TABLE=y
# CONFIG_INTEL_IOMMU is not set
CONFIG_IRQ_REMAP=y

#
# Remoteproc drivers
#
# CONFIG_STE_MODEM_RPROC is not set

#
# Rpmsg drivers
#

#
# SOC (System On Chip) specific Drivers
#
# CONFIG_SUNXI_SRAM is not set
# CONFIG_SOC_TI is not set
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_NTB is not set
# CONFIG_VME_BUS is not set
# CONFIG_PWM is not set
# CONFIG_IPACK_BUS is not set
# CONFIG_RESET_CONTROLLER is not set
# CONFIG_FMC is not set

#
# PHY Subsystem
#
# CONFIG_GENERIC_PHY is not set
# CONFIG_PHY_PXA_28NM_HSIC is not set
# CONFIG_PHY_PXA_28NM_USB2 is not set
# CONFIG_BCM_KONA_USB2_PHY is not set
# CONFIG_POWERCAP is not set
# CONFIG_MCB is not set

#
# Performance monitor support
#
CONFIG_RAS=y
CONFIG_AMD_MCE_INJ=m
# CONFIG_THUNDERBOLT is not set

#
# Android
#
# CONFIG_ANDROID is not set
# CONFIG_LIBNVDIMM is not set
# CONFIG_NVMEM is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_FIRMWARE_MEMMAP is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
# CONFIG_DMIID is not set
# CONFIG_DMI_SYSFS is not set
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# CONFIG_ISCSI_IBFT_FIND is not set
# CONFIG_GOOGLE_FIRMWARE is not set
CONFIG_UEFI_CPER=y

#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_ENCRYPTION is not set
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
CONFIG_XFS_FS=m
CONFIG_XFS_QUOTA=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_XFS_RT=y
# CONFIG_XFS_WARN is not set
# CONFIG_XFS_DEBUG is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
# CONFIG_F2FS_FS is not set
# CONFIG_FS_DAX is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=m
CONFIG_FILE_LOCKING=y
CONFIG_FSNOTIFY=y
# CONFIG_DNOTIFY is not set
CONFIG_INOTIFY_USER=y
# CONFIG_FANOTIFY is not set
# CONFIG_QUOTA is not set
# CONFIG_QUOTA_NETLINK_INTERFACE is not set
CONFIG_QUOTACTL=y
CONFIG_QUOTACTL_COMPAT=y
# CONFIG_AUTOFS4_FS is not set
CONFIG_FUSE_FS=m
# CONFIG_CUSE is not set
CONFIG_OVERLAY_FS=m

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-15"
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
# CONFIG_PROC_CHILDREN is not set
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_TMPFS_XATTR is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_CONFIGFS_FS=y
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_ECRYPT_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_LOGFS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
CONFIG_PSTORE=y
# CONFIG_PSTORE_CONSOLE is not set
# CONFIG_PSTORE_PMSG is not set
# CONFIG_PSTORE_FTRACE is not set
# CONFIG_PSTORE_RAM is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_CEPH_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_9P_FS=y
# CONFIG_9P_FS_POSIX_ACL is not set
# CONFIG_9P_FS_SECURITY is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-15"
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_CODEPAGE_737=m
CONFIG_NLS_CODEPAGE_775=m
CONFIG_NLS_CODEPAGE_850=m
CONFIG_NLS_CODEPAGE_852=m
CONFIG_NLS_CODEPAGE_855=m
CONFIG_NLS_CODEPAGE_857=m
CONFIG_NLS_CODEPAGE_860=m
CONFIG_NLS_CODEPAGE_861=m
CONFIG_NLS_CODEPAGE_862=m
CONFIG_NLS_CODEPAGE_863=m
CONFIG_NLS_CODEPAGE_864=m
CONFIG_NLS_CODEPAGE_865=m
CONFIG_NLS_CODEPAGE_866=m
CONFIG_NLS_CODEPAGE_869=m
CONFIG_NLS_CODEPAGE_936=m
CONFIG_NLS_CODEPAGE_950=m
CONFIG_NLS_CODEPAGE_932=m
CONFIG_NLS_CODEPAGE_949=m
CONFIG_NLS_CODEPAGE_874=m
CONFIG_NLS_ISO8859_8=m
CONFIG_NLS_CODEPAGE_1250=m
CONFIG_NLS_CODEPAGE_1251=m
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
CONFIG_NLS_ISO8859_2=m
CONFIG_NLS_ISO8859_3=m
CONFIG_NLS_ISO8859_4=m
CONFIG_NLS_ISO8859_5=m
CONFIG_NLS_ISO8859_6=m
CONFIG_NLS_ISO8859_7=m
CONFIG_NLS_ISO8859_9=m
CONFIG_NLS_ISO8859_13=m
CONFIG_NLS_ISO8859_14=m
CONFIG_NLS_ISO8859_15=m
CONFIG_NLS_KOI8_R=m
CONFIG_NLS_KOI8_U=m
CONFIG_NLS_MAC_ROMAN=m
CONFIG_NLS_MAC_CELTIC=m
CONFIG_NLS_MAC_CENTEURO=m
CONFIG_NLS_MAC_CROATIAN=m
CONFIG_NLS_MAC_CYRILLIC=m
CONFIG_NLS_MAC_GAELIC=m
CONFIG_NLS_MAC_GREEK=m
CONFIG_NLS_MAC_ICELAND=m
CONFIG_NLS_MAC_INUIT=m
CONFIG_NLS_MAC_ROMANIAN=m
CONFIG_NLS_MAC_TURKISH=m
CONFIG_NLS_UTF8=m
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_DYNAMIC_DEBUG is not set

#
# Compile-time checks and compiler options
#
# CONFIG_DEBUG_INFO is not set
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=2048
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not set
CONFIG_UNUSED_SYMBOLS=y
# CONFIG_PAGE_OWNER is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_ARCH_WANT_FRAME_POINTERS=y
CONFIG_FRAME_POINTER=y
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_DEBUG_KERNEL=y

#
# Memory Debugging
#
# CONFIG_PAGE_EXTENSION is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SLUB_STATS is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_STACK_USAGE is not set
CONFIG_DEBUG_VM=y
# CONFIG_DEBUG_VM_VMACACHE is not set
# CONFIG_DEBUG_VM_RB is not set
CONFIG_DEBUG_VIRTUAL=y
CONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_DEBUG_PER_CPU_MAPS is not set
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
CONFIG_HAVE_ARCH_KMEMCHECK=y
CONFIG_HAVE_ARCH_KASAN=y
# CONFIG_DEBUG_SHIRQ is not set

#
# Debug Lockups and Hangs
#
CONFIG_LOCKUP_DETECTOR=y
CONFIG_HARDLOCKUP_DETECTOR=y
# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_PANIC_TIMEOUT=0
CONFIG_SCHED_DEBUG=y
CONFIG_SCHED_INFO=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_SCHED_STACK_END_CHECK is not set
# CONFIG_DEBUG_TIMEKEEPING is not set
CONFIG_TIMER_STATS=y
CONFIG_DEBUG_PREEMPT=y

#
# Lock Debugging (spinlocks, mutexes, etc...)
#
# CONFIG_DEBUG_RT_MUTEXES is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_LOCKDEP=y
CONFIG_LOCK_STAT=y
CONFIG_DEBUG_LOCKDEP=y
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
CONFIG_DEBUG_LOCKING_API_SELFTESTS=y
# CONFIG_LOCK_TORTURE_TEST is not set
CONFIG_TRACE_IRQFLAGS=y
CONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_LIST=y
# CONFIG_DEBUG_PI_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set

#
# RCU Debugging
#
CONFIG_PROVE_RCU=y
# CONFIG_PROVE_RCU_REPEATEDLY is not set
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_TORTURE_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=60
# CONFIG_RCU_TRACE is not set
# CONFIG_RCU_EQS_DEBUG is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
CONFIG_ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS=y
# CONFIG_DEBUG_STRICT_USER_COPY_CHECKS is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_FENTRY=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACER_MAX_TRACE=y
CONFIG_TRACE_CLOCK=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_RING_BUFFER_ALLOW_SWAP=y
CONFIG_TRACING=y
CONFIG_GENERIC_TRACER=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
CONFIG_FUNCTION_TRACER=y
CONFIG_FUNCTION_GRAPH_TRACER=y
CONFIG_IRQSOFF_TRACER=y
CONFIG_PREEMPT_TRACER=y
CONFIG_SCHED_TRACER=y
# CONFIG_FTRACE_SYSCALLS is not set
CONFIG_TRACER_SNAPSHOT=y
CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP=y
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_UPROBE_EVENT is not set
# CONFIG_PROBE_EVENTS is not set
CONFIG_DYNAMIC_FTRACE=y
CONFIG_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_FUNCTION_PROFILER=y
CONFIG_FTRACE_MCOUNT_RECORD=y
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_TRACEPOINT_BENCHMARK is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
# CONFIG_TRACE_ENUM_MAP_FILE is not set

#
# Runtime Testing
#
# CONFIG_LKDTM is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_PERCPU_TEST is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_TEST_HEXDUMP is not set
# CONFIG_TEST_STRING_HELPERS is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_TEST_RHASHTABLE is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_TEST_LKM is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_TEST_BPF is not set
# CONFIG_TEST_FIRMWARE is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_MEMTEST is not set
# CONFIG_TEST_STATIC_KEYS is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
# CONFIG_STRICT_DEVMEM is not set
CONFIG_X86_VERBOSE_BOOTUP=y
CONFIG_EARLY_PRINTK=y
# CONFIG_EARLY_PRINTK_DBGP is not set
# CONFIG_X86_PTDUMP is not set
# CONFIG_DEBUG_RODATA is not set
# CONFIG_DEBUG_SET_MODULE_RONX is not set
# CONFIG_DEBUG_NX_TEST is not set
CONFIG_DOUBLEFAULT=y
# CONFIG_DEBUG_TLBFLUSH is not set
# CONFIG_IOMMU_STRESS is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IO_DELAY_TYPE_NONE=3
CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=0
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set
# CONFIG_OPTIMIZE_INLINING is not set
# CONFIG_DEBUG_ENTRY is not set
# CONFIG_DEBUG_NMI_SELFTEST is not set
# CONFIG_X86_DEBUG_STATIC_CPU_HAS is not set
CONFIG_X86_DEBUG_FPU=y
# CONFIG_PUNIT_ATOM_DEBUG is not set

#
# Security options
#
CONFIG_KEYS=y
# CONFIG_PERSISTENT_KEYRINGS is not set
# CONFIG_BIG_KEYS is not set
# CONFIG_ENCRYPTED_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=m
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=m
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_RNG_DEFAULT=m
CONFIG_CRYPTO_PCOMP=m
CONFIG_CRYPTO_PCOMP2=y
CONFIG_CRYPTO_AKCIPHER2=y
CONFIG_CRYPTO_AKCIPHER=m
CONFIG_CRYPTO_RSA=m
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not set
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
CONFIG_CRYPTO_GF128MUL=m
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_NULL2=y
# CONFIG_CRYPTO_PCRYPT is not set
CONFIG_CRYPTO_WORKQUEUE=y
CONFIG_CRYPTO_CRYPTD=m
CONFIG_CRYPTO_MCRYPTD=m
CONFIG_CRYPTO_AUTHENC=m
CONFIG_CRYPTO_TEST=m
CONFIG_CRYPTO_ABLK_HELPER=m
CONFIG_CRYPTO_GLUE_HELPER_X86=m

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_CHACHA20POLY1305 is not set
# CONFIG_CRYPTO_SEQIV is not set
CONFIG_CRYPTO_ECHAINIV=m

#
# Block modes
#
CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=m
CONFIG_CRYPTO_LRW=m
# CONFIG_CRYPTO_PCBC is not set
CONFIG_CRYPTO_XTS=m

#
# Hash modes
#
# CONFIG_CRYPTO_CMAC is not set
CONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32C_INTEL is not set
CONFIG_CRYPTO_CRC32=m
CONFIG_CRYPTO_CRC32_PCLMUL=m
CONFIG_CRYPTO_CRCT10DIF=m
# CONFIG_CRYPTO_CRCT10DIF_PCLMUL is not set
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_POLY1305 is not set
# CONFIG_CRYPTO_POLY1305_X86_64 is not set
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_RMD128=m
CONFIG_CRYPTO_RMD160=m
CONFIG_CRYPTO_RMD256=m
CONFIG_CRYPTO_RMD320=m
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA1_SSSE3 is not set
CONFIG_CRYPTO_SHA256_SSSE3=m
CONFIG_CRYPTO_SHA512_SSSE3=m
CONFIG_CRYPTO_SHA1_MB=m
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_TGR192=m
CONFIG_CRYPTO_WP512=m
# CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_X86_64=m
CONFIG_CRYPTO_AES_NI_INTEL=m
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=m
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_BLOWFISH_COMMON=m
CONFIG_CRYPTO_BLOWFISH_X86_64=m
# CONFIG_CRYPTO_CAMELLIA is not set
CONFIG_CRYPTO_CAMELLIA_X86_64=m
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX_X86_64=m
CONFIG_CRYPTO_CAMELLIA_AESNI_AVX2_X86_64=m
CONFIG_CRYPTO_CAST_COMMON=m
CONFIG_CRYPTO_CAST5=m
# CONFIG_CRYPTO_CAST5_AVX_X86_64 is not set
CONFIG_CRYPTO_CAST6=m
# CONFIG_CRYPTO_CAST6_AVX_X86_64 is not set
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_DES3_EDE_X86_64=m
# CONFIG_CRYPTO_FCRYPT is not set
CONFIG_CRYPTO_KHAZAD=m
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_X86_64 is not set
# CONFIG_CRYPTO_CHACHA20 is not set
# CONFIG_CRYPTO_CHACHA20_X86_64 is not set
# CONFIG_CRYPTO_SEED is not set
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_SERPENT_SSE2_X86_64=m
CONFIG_CRYPTO_SERPENT_AVX_X86_64=m
CONFIG_CRYPTO_SERPENT_AVX2_X86_64=m
CONFIG_CRYPTO_TEA=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_TWOFISH_COMMON=m
CONFIG_CRYPTO_TWOFISH_X86_64=m
CONFIG_CRYPTO_TWOFISH_X86_64_3WAY=m
CONFIG_CRYPTO_TWOFISH_AVX_X86_64=m

#
# Compression
#
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_ZLIB=m
# CONFIG_CRYPTO_LZO is not set
# CONFIG_CRYPTO_842 is not set
# CONFIG_CRYPTO_LZ4 is not set
# CONFIG_CRYPTO_LZ4HC is not set

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
CONFIG_CRYPTO_DRBG_MENU=m
CONFIG_CRYPTO_DRBG_HMAC=y
# CONFIG_CRYPTO_DRBG_HASH is not set
# CONFIG_CRYPTO_DRBG_CTR is not set
CONFIG_CRYPTO_DRBG=m
CONFIG_CRYPTO_JITTERENTROPY=m
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_USER_API_RNG is not set
# CONFIG_CRYPTO_USER_API_AEAD is not set
CONFIG_CRYPTO_HASH_INFO=y
# CONFIG_CRYPTO_HW is not set
CONFIG_ASYMMETRIC_KEY_TYPE=y
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
CONFIG_PUBLIC_KEY_ALGO_RSA=y
CONFIG_X509_CERTIFICATE_PARSER=y
CONFIG_PKCS7_MESSAGE_PARSER=y
# CONFIG_PKCS7_TEST_KEY is not set
# CONFIG_SIGNED_PE_FILE_VERIFICATION is not set

#
# Certificates for signature checking
#
CONFIG_MODULE_SIG_KEY="certs/signing_key.pem"
CONFIG_SYSTEM_TRUSTED_KEYRING=y
CONFIG_SYSTEM_TRUSTED_KEYS=""
CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQFD=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_EVENTFD=y
CONFIG_KVM_APIC_ARCHITECTURE=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
CONFIG_KVM_COMPAT=y
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=m
# CONFIG_KVM_INTEL is not set
CONFIG_KVM_AMD=m
# CONFIG_KVM_MMU_AUDIT is not set
CONFIG_KVM_DEVICE_ASSIGNMENT=y
CONFIG_BINARY_PRINTF=y

#
# Library routines
#
CONFIG_BITREVERSE=y
# CONFIG_HAVE_ARCH_BITREVERSE is not set
CONFIG_RATIONAL=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
CONFIG_GENERIC_FIND_FIRST_BIT=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_IO=y
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
CONFIG_ARCH_HAS_FAST_MULTIPLIER=y
CONFIG_CRC_CCITT=m
CONFIG_CRC16=y
CONFIG_CRC_T10DIF=m
CONFIG_CRC_ITU_T=m
CONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not set
CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
CONFIG_CRC7=m
CONFIG_LIBCRC32C=m
# CONFIG_CRC8 is not set
# CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_XZ_DEC=m
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_IA64=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_TEXTSEARCH=y
CONFIG_TEXTSEARCH_KMP=m
CONFIG_TEXTSEARCH_BM=m
CONFIG_TEXTSEARCH_FSM=m
CONFIG_INTERVAL_TREE=y
CONFIG_ASSOCIATIVE_ARRAY=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT_MAP=y
CONFIG_HAS_DMA=y
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_GLOB=y
# CONFIG_GLOB_SELFTEST is not set
CONFIG_NLATTR=y
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
CONFIG_CLZ_TAB=y
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set
CONFIG_MPILIB=y
CONFIG_OID_REGISTRY=y
CONFIG_FONT_SUPPORT=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_SG_SPLIT is not set
CONFIG_ARCH_HAS_SG_CHAIN=y
CONFIG_ARCH_HAS_PMEM_API=y
CONFIG_ARCH_HAS_MMIO_FLUSH=y

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
  2015-09-22 20:21   ` Borislav Petkov
@ 2015-09-22 20:54     ` Alex Deucher
  2015-09-23  7:25       ` Daniel Vetter
  0 siblings, 1 reply; 24+ messages in thread
From: Alex Deucher @ 2015-09-22 20:54 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Alex Deucher, Christian König, Maling list - DRI developers, lkml

On Tue, Sep 22, 2015 at 4:21 PM, Borislav Petkov <bp@alien8.de> wrote:
> Hi Alex,
>
> On Tue, Sep 22, 2015 at 03:58:03PM -0400, Alex Deucher wrote:
>> What system is this?
>
> my workstation - an
>
> "To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013"
>
> you gotta love the "To be filled" crap. In any case, it is an ASUS M5A97
> EVO R2.0. RD890 chip AFAICT.
>
>> What GPU are you using?
>
> RV635. Here's some dmesg:
>
> [    6.489016] [drm] initializing kernel modesetting (RV635 0x1002:0x9598 0x1043:0x01DA).
> [    7.509177] radeon 0000:01:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
> [    7.518010] radeon 0000:01:00.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
> [    7.525724] [drm] Detected VRAM RAM=512M, BAR=256M
> [    7.530608] [drm] RAM width 128bits DDR
> [    7.535168] [TTM] Zone  kernel: Available graphics memory: 8132226 kiB
> [    7.541779] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
> [    7.548420] [TTM] Initializing pool allocator
> [    7.552896] [TTM] Initializing DMA pool allocator
> [    7.558176] [drm] radeon: 512M of VRAM memory ready
> [    7.563131] [drm] radeon: 512M of GTT memory ready.
> [    7.568151] [drm] Loading RV635 Microcode
> [    7.577382] [drm] Internal thermal controller without fan control
> [    7.584349] [drm] radeon: power management initialized
> [    7.590443] [drm] GART: num cpu pages 131072, num gpu pages 131072
> [    7.597266] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
> [    7.624386] [drm] PCIE GART of 512M enabled (table at 0x0000000000254000).
> [    7.631544] radeon 0000:01:00.0: WB enabled
> [    7.635794] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff880427ef7c00
> [    7.647039] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x00000000000521d0 and cpu addr 0xffffc900008121d0
> [    7.657924] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    7.664601] [drm] Driver supports precise vblank timestamp query.
> [    7.670780] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
> [    7.676801] radeon 0000:01:00.0: radeon: using MSI.
> [    7.681863] [drm] radeon: irq initialized.
> [    7.717757] [drm] ring test on 0 succeeded in 0 usecs
> [    7.897466] [drm] ring test on 5 succeeded in 1 usecs
> [    7.902585] [drm] UVD initialized successfully.
> [    7.908108] [drm] ib test on ring 0 succeeded in 0 usecs
> [    8.558968] [drm] ib test on ring 5 succeeded
> [    8.568734] [drm] Radeon Display Connectors
> [    8.573005] [drm] Connector 0:
> [    8.576189] [drm]   DVI-I-1
> [    8.579062] [drm]   HPD1
> [    8.581657] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
> [    8.589172] [drm]   Encoders:
> [    8.592234] [drm]     DFP1: INTERNAL_UNIPHY
> [    8.596492] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
> [    8.601182] [drm] Connector 1:
> [    8.604302] [drm]   DIN-1
> [    8.607012] [drm]   Encoders:
> [    8.610043] [drm]     TV1: INTERNAL_KLDSCP_DAC2
> [    8.614642] [drm] Connector 2:
> [    8.617760] [drm]   DVI-I-2
> [    8.620621] [drm]   HPD2
> [    8.623226] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
> [    8.630719] [drm]   Encoders:
> [    8.633749] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
> [    8.638436] [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
> [    8.719815] [drm] fb mappable at 0xC0355000
> [    8.724089] [drm] vram apper at 0xC0000000
> [    8.728243] [drm] size 9216000
> [    8.731371] [drm] fb depth is 24
> [    8.734664] [drm]    pitch is 7680
> [    8.739009] fbcon: radeondrmfb (fb0) is primary device
> [    8.802887] Console: switching to colour frame buffer device 240x75
> [    8.818487] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
> [    8.824948] radeon 0000:01:00.0: registered panic notifier
> [    8.846452] [drm] Initialized radeon 2.42.0 20080528 for 0000:01:00.0 on minor 0
>
>> Can you bisect?
>
> It is my workstation so it will take longer but I'll try.
>
> If you can think of some particular commits I should try, let me know.

Sorry, I can't think of anything off hand.  I suspect it was some
change or cleanup in the core drm code.

Alex
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
  2015-09-22 20:54     ` Alex Deucher
@ 2015-09-23  7:25       ` Daniel Vetter
  2015-09-23  8:59         ` Borislav Petkov
  0 siblings, 1 reply; 24+ messages in thread
From: Daniel Vetter @ 2015-09-23  7:25 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Borislav Petkov, Alex Deucher, Christian König,
	Maling list - DRI developers, lkml

On Tue, Sep 22, 2015 at 04:54:54PM -0400, Alex Deucher wrote:
> On Tue, Sep 22, 2015 at 4:21 PM, Borislav Petkov <bp@alien8.de> wrote:
> > Hi Alex,
> >
> > On Tue, Sep 22, 2015 at 03:58:03PM -0400, Alex Deucher wrote:
> >> What system is this?
> >
> > my workstation - an
> >
> > "To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013"
> >
> > you gotta love the "To be filled" crap. In any case, it is an ASUS M5A97
> > EVO R2.0. RD890 chip AFAICT.
> >
> >> What GPU are you using?
> >
> > RV635. Here's some dmesg:
> >
> > [    6.489016] [drm] initializing kernel modesetting (RV635 0x1002:0x9598 0x1043:0x01DA).
> > [    7.509177] radeon 0000:01:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
> > [    7.518010] radeon 0000:01:00.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
> > [    7.525724] [drm] Detected VRAM RAM=512M, BAR=256M
> > [    7.530608] [drm] RAM width 128bits DDR
> > [    7.535168] [TTM] Zone  kernel: Available graphics memory: 8132226 kiB
> > [    7.541779] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
> > [    7.548420] [TTM] Initializing pool allocator
> > [    7.552896] [TTM] Initializing DMA pool allocator
> > [    7.558176] [drm] radeon: 512M of VRAM memory ready
> > [    7.563131] [drm] radeon: 512M of GTT memory ready.
> > [    7.568151] [drm] Loading RV635 Microcode
> > [    7.577382] [drm] Internal thermal controller without fan control
> > [    7.584349] [drm] radeon: power management initialized
> > [    7.590443] [drm] GART: num cpu pages 131072, num gpu pages 131072
> > [    7.597266] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
> > [    7.624386] [drm] PCIE GART of 512M enabled (table at 0x0000000000254000).
> > [    7.631544] radeon 0000:01:00.0: WB enabled
> > [    7.635794] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff880427ef7c00
> > [    7.647039] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x00000000000521d0 and cpu addr 0xffffc900008121d0
> > [    7.657924] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> > [    7.664601] [drm] Driver supports precise vblank timestamp query.
> > [    7.670780] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
> > [    7.676801] radeon 0000:01:00.0: radeon: using MSI.
> > [    7.681863] [drm] radeon: irq initialized.
> > [    7.717757] [drm] ring test on 0 succeeded in 0 usecs
> > [    7.897466] [drm] ring test on 5 succeeded in 1 usecs
> > [    7.902585] [drm] UVD initialized successfully.
> > [    7.908108] [drm] ib test on ring 0 succeeded in 0 usecs
> > [    8.558968] [drm] ib test on ring 5 succeeded
> > [    8.568734] [drm] Radeon Display Connectors
> > [    8.573005] [drm] Connector 0:
> > [    8.576189] [drm]   DVI-I-1
> > [    8.579062] [drm]   HPD1
> > [    8.581657] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
> > [    8.589172] [drm]   Encoders:
> > [    8.592234] [drm]     DFP1: INTERNAL_UNIPHY
> > [    8.596492] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
> > [    8.601182] [drm] Connector 1:
> > [    8.604302] [drm]   DIN-1
> > [    8.607012] [drm]   Encoders:
> > [    8.610043] [drm]     TV1: INTERNAL_KLDSCP_DAC2
> > [    8.614642] [drm] Connector 2:
> > [    8.617760] [drm]   DVI-I-2
> > [    8.620621] [drm]   HPD2
> > [    8.623226] [drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
> > [    8.630719] [drm]   Encoders:
> > [    8.633749] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
> > [    8.638436] [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
> > [    8.719815] [drm] fb mappable at 0xC0355000
> > [    8.724089] [drm] vram apper at 0xC0000000
> > [    8.728243] [drm] size 9216000
> > [    8.731371] [drm] fb depth is 24
> > [    8.734664] [drm]    pitch is 7680
> > [    8.739009] fbcon: radeondrmfb (fb0) is primary device
> > [    8.802887] Console: switching to colour frame buffer device 240x75
> > [    8.818487] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
> > [    8.824948] radeon 0000:01:00.0: registered panic notifier
> > [    8.846452] [drm] Initialized radeon 2.42.0 20080528 for 0000:01:00.0 on minor 0
> >
> >> Can you bisect?
> >
> > It is my workstation so it will take longer but I'll try.
> >
> > If you can think of some particular commits I should try, let me know.
> 
> Sorry, I can't think of anything off hand.  I suspect it was some
> change or cleanup in the core drm code.

The locking check is new, but I was only adding locking checks, not yet
reworking the locking itself. So the backtrace is likely (but not 100%
guaranteed) a red herring.

Strange thing is that I've tested this on a radeon over here and I don't
see this backtrace ... wut. Below diff should appease the backtraces at
least.
-Daniel

diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index d8319dae8358..9f05de73ae97 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1734,9 +1734,11 @@ int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon)
 	if (fbcon) {
 		drm_helper_resume_force_mode(dev);
 		/* turn on display hw */
+		drm_modeset_lock_all(dev);
 		list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
 			drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON);
 		}
+		drm_modeset_unlock_all(dev);
 	}
 
 	drm_kms_helper_poll_enable(dev);
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
  2015-09-23  7:25       ` Daniel Vetter
@ 2015-09-23  8:59         ` Borislav Petkov
  2015-09-23 14:44           ` Daniel Vetter
  0 siblings, 1 reply; 24+ messages in thread
From: Borislav Petkov @ 2015-09-23  8:59 UTC (permalink / raw)
  To: Daniel Vetter
  Cc: Alex Deucher, Christian König, Maling list - DRI developers, lkml

On Wed, Sep 23, 2015 at 09:25:23AM +0200, Daniel Vetter wrote:
> Strange thing is that I've tested this on a radeon over here and I don't
> see this backtrace ... wut. Below diff should appease the backtraces at
> least.

Doesn't look like it.

This is what it says when suspending:


[   42.962275] hib.sh (3269): drop_caches: 3
[   42.967671] PM: Hibernation mode set to 'shutdown'
[   42.979329] PM: Syncing filesystems ... done.
[   42.993401] Freezing user space processes ... (elapsed 0.002 seconds) done.
[   43.003632] PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
[   43.009840] PM: Marking nosave pages: [mem 0x0009e000-0x000fffff]
[   43.015991] PM: Marking nosave pages: [mem 0xba9b8000-0xbca4dfff]
[   43.022241] PM: Marking nosave pages: [mem 0xbca4f000-0xbcc54fff]
[   43.028357] PM: Marking nosave pages: [mem 0xbd083000-0xbd7f3fff]
[   43.034500] PM: Marking nosave pages: [mem 0xbd800000-0x100000fff]
[   43.041371] PM: Basic memory bitmaps created
[   43.045656] PM: Preallocating image memory... done (allocated 128867 pages)
[   43.346216] PM: Allocated 515468 kbytes in 0.29 seconds (1777.47 MB/s)
[   43.352759] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[   43.366104] ------------[ cut here ]------------
[   43.370746] WARNING: CPU: 4 PID: 55 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
[   43.380681] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel ae
s_x86_64 lrw gf128mul glue_helper ablk_helper cryptd amd64_edac_mod k10temp fam15h_power edac_core amdkfd amd_iommu_v2 r
adeon acpi_cpufreq
[   43.403916] CPU: 4 PID: 55 Comm: kworker/u16:2 Not tainted 4.3.0-rc2+ #3
[   43.410633] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   43.420567] Workqueue: events_unbound async_run_entry_fn
[   43.425919]  ffffffff8194ff67 ffff88042a223b60 ffffffff812c758a 0000000000000000
[   43.433424]  ffff88042a223b98 ffffffff810534c1 ffff880429eca000 ffff880429fe9200
[   43.440959]  ffff880429de1000 0000000000000000 ffffffff819571c3 ffff88042a223ba8
[   43.448461] Call Trace:
[   43.450929]  [<ffffffff812c758a>] dump_stack+0x4e/0x84
[   43.456094]  [<ffffffff810534c1>] warn_slowpath_common+0x91/0xd0
[   43.462126]  [<ffffffff810535ba>] warn_slowpath_null+0x1a/0x20
[   43.467983]  [<ffffffff813bdc58>] drm_helper_choose_encoder_dpms+0x88/0x90
[   43.474884]  [<ffffffff813be0b6>] drm_helper_connector_dpms+0x56/0x110
[   43.481463]  [<ffffffffa003346b>] radeon_suspend_kms+0x6b/0x380 [radeon]
[   43.488196]  [<ffffffff816c0f2b>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   43.495020]  [<ffffffff8130fe50>] ? pci_pm_poweroff+0x100/0x100
[   43.500976]  [<ffffffffa00311ac>] radeon_pmops_freeze+0x1c/0x20 [radeon]
[   43.507730]  [<ffffffff8130feba>] pci_pm_freeze+0x6a/0x100
[   43.513241]  [<ffffffff8130fe50>] ? pci_pm_poweroff+0x100/0x100
[   43.519187]  [<ffffffff8146e7e7>] dpm_run_callback+0x77/0x2a0
[   43.524959]  [<ffffffff8146f4a4>] __device_suspend+0x104/0x2c0
[   43.530818]  [<ffffffff8146f67f>] async_suspend+0x1f/0xa0
[   43.536242]  [<ffffffff81078a06>] async_run_entry_fn+0x46/0xf0
[   43.542127]  [<ffffffff8106f548>] process_one_work+0x1f8/0x640
[   43.547984]  [<ffffffff8106f4a4>] ? process_one_work+0x154/0x640
[   43.554019]  [<ffffffff8106f9db>] worker_thread+0x4b/0x440
[   43.559530]  [<ffffffff8107e133>] ? preempt_count_sub+0xb3/0x110
[   43.565562]  [<ffffffff8106f990>] ? process_one_work+0x640/0x640
[   43.571603]  [<ffffffff81075e86>] kthread+0xf6/0x110
[   43.576597]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   43.583152]  [<ffffffff816c1e3f>] ret_from_fork+0x3f/0x70
[   43.588574]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   43.595170] ---[ end trace aab225b93a6f1dcc ]---
[   43.595235] ------------[ cut here ]------------
[   43.595240] WARNING: CPU: 5 PID: 55 at include/drm/drm_crtc.h:1577 drm_helper_choose_crtc_dpms+0x91/0xa0()
[   43.595267] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd amd64_edac_mod k10temp fam15h_power edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   43.595271] CPU: 5 PID: 55 Comm: kworker/u16:2 Tainted: G        W       4.3.0-rc2+ #3
[   43.595272] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   43.595276] Workqueue: events_unbound async_run_entry_fn
[   43.595281]  ffffffff8194ff67 ffff88042a223b60 ffffffff812c758a 0000000000000000
[   43.595286]  ffff88042a223b98 ffffffff810534c1 ffff880429eca000 ffff880429de1000
[   43.595291]  ffff880429de1000 0000000000000000 0000000000000003 ffff88042a223ba8
[   43.595293] Call Trace:
[   43.595295]  [<ffffffff812c758a>] dump_stack+0x4e/0x84
[   43.595298]  [<ffffffff810534c1>] warn_slowpath_common+0x91/0xd0
[   43.595300]  [<ffffffff810535ba>] warn_slowpath_null+0x1a/0x20
[   43.595303]  [<ffffffff813bdcf1>] drm_helper_choose_crtc_dpms+0x91/0xa0
[   43.595315]  [<ffffffffa003d860>] ? atombios_blank_crtc+0x140/0x140 [radeon]
[   43.595322]  [<ffffffff813be124>] drm_helper_connector_dpms+0xc4/0x110
[   43.595331]  [<ffffffffa003346b>] radeon_suspend_kms+0x6b/0x380 [radeon]
[   43.595334]  [<ffffffff816c0f2b>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   43.595337]  [<ffffffff8130fe50>] ? pci_pm_poweroff+0x100/0x100
[   43.595346]  [<ffffffffa00311ac>] radeon_pmops_freeze+0x1c/0x20 [radeon]
[   43.595349]  [<ffffffff8130feba>] pci_pm_freeze+0x6a/0x100
[   43.595351]  [<ffffffff8130fe50>] ? pci_pm_poweroff+0x100/0x100
[   43.595353]  [<ffffffff8146e7e7>] dpm_run_callback+0x77/0x2a0
[   43.595356]  [<ffffffff8146f4a4>] __device_suspend+0x104/0x2c0
[   43.595358]  [<ffffffff8146f67f>] async_suspend+0x1f/0xa0
[   43.595361]  [<ffffffff81078a06>] async_run_entry_fn+0x46/0xf0
[   43.595363]  [<ffffffff8106f548>] process_one_work+0x1f8/0x640
[   43.595366]  [<ffffffff8106f4a4>] ? process_one_work+0x154/0x640
[   43.595369]  [<ffffffff8106f9db>] worker_thread+0x4b/0x440
[   43.595373]  [<ffffffff8107e133>] ? preempt_count_sub+0xb3/0x110
[   43.595375]  [<ffffffff8106f990>] ? process_one_work+0x640/0x640
[   43.595378]  [<ffffffff81075e86>] kthread+0xf6/0x110
[   43.595382]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   43.595385]  [<ffffffff816c1e3f>] ret_from_fork+0x3f/0x70
[   43.595387]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   43.595390] ---[ end trace aab225b93a6f1dcd ]---
[   43.611465] ------------[ cut here ]------------
[   43.611469] WARNING: CPU: 5 PID: 55 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
[   43.611494] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd amd64_edac_mod k10temp fam15h_power edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   43.611498] CPU: 5 PID: 55 Comm: kworker/u16:2 Tainted: G        W       4.3.0-rc2+ #3
[   43.611499] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   43.611503] Workqueue: events_unbound async_run_entry_fn
[   43.611508]  ffffffff8194ff67 ffff88042a223b60 ffffffff812c758a 0000000000000000
[   43.611516]  ffff88042a223b98 ffffffff810534c1 ffff880429eca000 ffff880429fe9e00
[   43.611520]  ffff880429de7000 0000000000000000 ffffffff819571c3 ffff88042a223ba8
[   43.611521] Call Trace:
[   43.611525]  [<ffffffff812c758a>] dump_stack+0x4e/0x84
[   43.611527]  [<ffffffff810534c1>] warn_slowpath_common+0x91/0xd0
[   43.611530]  [<ffffffff810535ba>] warn_slowpath_null+0x1a/0x20
[   43.611534]  [<ffffffff813bdc58>] drm_helper_choose_encoder_dpms+0x88/0x90
[   43.611537]  [<ffffffff813be0b6>] drm_helper_connector_dpms+0x56/0x110
[   43.611547]  [<ffffffffa003346b>] radeon_suspend_kms+0x6b/0x380 [radeon]
[   43.611551]  [<ffffffff816c0f2b>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   43.611554]  [<ffffffff8130fe50>] ? pci_pm_poweroff+0x100/0x100
[   43.611563]  [<ffffffffa00311ac>] radeon_pmops_freeze+0x1c/0x20 [radeon]
[   43.611566]  [<ffffffff8130feba>] pci_pm_freeze+0x6a/0x100
[   43.611569]  [<ffffffff8130fe50>] ? pci_pm_poweroff+0x100/0x100
[   43.611573]  [<ffffffff8146e7e7>] dpm_run_callback+0x77/0x2a0
[   43.611575]  [<ffffffff8146f4a4>] __device_suspend+0x104/0x2c0
[   43.611578]  [<ffffffff8146f67f>] async_suspend+0x1f/0xa0
[   43.611580]  [<ffffffff81078a06>] async_run_entry_fn+0x46/0xf0
[   43.611582]  [<ffffffff8106f548>] process_one_work+0x1f8/0x640
[   43.611585]  [<ffffffff8106f4a4>] ? process_one_work+0x154/0x640
[   43.611588]  [<ffffffff8106f9db>] worker_thread+0x4b/0x440
[   43.611592]  [<ffffffff8107e133>] ? preempt_count_sub+0xb3/0x110
[   43.611594]  [<ffffffff8106f990>] ? process_one_work+0x640/0x640
[   43.611599]  [<ffffffff81075e86>] kthread+0xf6/0x110
[   43.611604]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   43.611607]  [<ffffffff816c1e3f>] ret_from_fork+0x3f/0x70
[   43.611609]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   43.611612] ---[ end trace aab225b93a6f1dce ]---
[   43.611638] ------------[ cut here ]------------
[   43.611641] WARNING: CPU: 5 PID: 55 at include/drm/drm_crtc.h:1577 drm_helper_choose_crtc_dpms+0x91/0xa0()
[   43.611665] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd amd64_edac_mod k10temp fam15h_power edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   43.611670] CPU: 5 PID: 55 Comm: kworker/u16:2 Tainted: G        W       4.3.0-rc2+ #3
[   43.611670] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   43.611675] Workqueue: events_unbound async_run_entry_fn
[   43.611711]  ffffffff8194ff67 ffff88042a223b60 ffffffff812c758a 0000000000000000
[   43.611716]  ffff88042a223b98 ffffffff810534c1 ffff880429eca000 ffff880429de7000
[   43.611720]  ffff880429de7000 0000000000000000 0000000000000003 ffff88042a223ba8
[   43.611721] Call Trace:
[   43.611725]  [<ffffffff812c758a>] dump_stack+0x4e/0x84
[   43.611728]  [<ffffffff810534c1>] warn_slowpath_common+0x91/0xd0
[   43.611730]  [<ffffffff810535ba>] warn_slowpath_null+0x1a/0x20
[   43.611732]  [<ffffffff813bdcf1>] drm_helper_choose_crtc_dpms+0x91/0xa0
[   43.611742]  [<ffffffffa003d860>] ? atombios_blank_crtc+0x140/0x140 [radeon]
[   43.611747]  [<ffffffff813be124>] drm_helper_connector_dpms+0xc4/0x110
[   43.611756]  [<ffffffffa003346b>] radeon_suspend_kms+0x6b/0x380 [radeon]
[   43.611759]  [<ffffffff816c0f2b>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   43.611761]  [<ffffffff8130fe50>] ? pci_pm_poweroff+0x100/0x100
[   43.611771]  [<ffffffffa00311ac>] radeon_pmops_freeze+0x1c/0x20 [radeon]
[   43.611774]  [<ffffffff8130feba>] pci_pm_freeze+0x6a/0x100
[   43.611776]  [<ffffffff8130fe50>] ? pci_pm_poweroff+0x100/0x100
[   43.611778]  [<ffffffff8146e7e7>] dpm_run_callback+0x77/0x2a0
[   43.611781]  [<ffffffff8146f4a4>] __device_suspend+0x104/0x2c0
[   43.611783]  [<ffffffff8146f67f>] async_suspend+0x1f/0xa0
[   43.611786]  [<ffffffff81078a06>] async_run_entry_fn+0x46/0xf0
[   43.611788]  [<ffffffff8106f548>] process_one_work+0x1f8/0x640
[   43.611790]  [<ffffffff8106f4a4>] ? process_one_work+0x154/0x640
[   43.611793]  [<ffffffff8106f9db>] worker_thread+0x4b/0x440
[   43.611797]  [<ffffffff8107e133>] ? preempt_count_sub+0xb3/0x110
[   43.611800]  [<ffffffff8106f990>] ? process_one_work+0x640/0x640
[   43.611802]  [<ffffffff81075e86>] kthread+0xf6/0x110
[   43.611807]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   43.611809]  [<ffffffff816c1e3f>] ret_from_fork+0x3f/0x70
[   43.611812]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   43.611814] ---[ end trace aab225b93a6f1dcf ]---
[   44.409186] PM: freeze of devices complete after 1045.976 msecs
[   44.417505] PM: late freeze of devices complete after 2.393 msecs
[   44.427721] PM: noirq freeze of devices complete after 4.126 msecs
[   44.433913] Disabling non-boot CPUs ...
[   44.451184] smpboot: CPU 1 is now offline
[   44.498597] smpboot: CPU 2 is now offline
[   44.534426] smpboot: CPU 3 is now offline
[   44.574909] smpboot: CPU 4 is now offline
[   44.614270] smpboot: CPU 5 is now offline
[   44.652566] smpboot: CPU 6 is now offline
[   44.694825] smpboot: CPU 7 is now offline
[   44.711829] PM: Creating hibernation image:
[   45.179293] PM: Need to copy 138846 pages
[   45.183311] PM: Normal pages needed: 138846 + 1024, available pages: 4029960
[   45.898261] PM: Hibernation image created (138846 pages copied)
[   45.100717] LVT offset 0 assigned for vector 0x400
[   45.106190] Enabling non-boot CPUs ...
[   45.110174] x86: Booting SMP configuration:
[   45.114369] smpboot: Booting Node 0 Processor 1 APIC 0x11
[   45.141886]  cache: parent cpu1 should not be sleeping
[   45.148488] CPU1 is up
[   45.150958] smpboot: Booting Node 0 Processor 2 APIC 0x12
[   45.178801]  cache: parent cpu2 should not be sleeping
[   45.185799] CPU2 is up
[   45.188316] smpboot: Booting Node 0 Processor 3 APIC 0x13
[   45.215892]  cache: parent cpu3 should not be sleeping
[   45.222959] CPU3 is up
[   45.225467] smpboot: Booting Node 0 Processor 4 APIC 0x14
[   45.244730]  cache: parent cpu4 should not be sleeping
[   45.250525] CPU4 is up
[   45.252954] smpboot: Booting Node 0 Processor 5 APIC 0x15
[   45.273487]  cache: parent cpu5 should not be sleeping
[   45.279302] CPU5 is up
[   45.281722] smpboot: Booting Node 0 Processor 6 APIC 0x16
[   45.309551]  cache: parent cpu6 should not be sleeping
[   45.316600] CPU6 is up
[   45.319109] smpboot: Booting Node 0 Processor 7 APIC 0x17
[   45.344059]  cache: parent cpu7 should not be sleeping
[   45.351114] CPU7 is up
[   45.376664] PM: noirq thaw of devices complete after 2.185 msecs
[   45.384992] PM: early thaw of devices complete after 2.249 msecs
[   45.391875] rtc_cmos 00:03: System wakeup disabled by ACPI
[   45.393086] [drm] PCIE gen 2 link speeds already enabled
[   45.393444] serial 00:06: activated
[   45.396643] [drm] PCIE GART of 512M enabled (table at 0x0000000000254000).
[   45.396699] radeon 0000:01:00.0: WB enabled
[   45.396704] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff8804292eec00
[   45.397110] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x00000000000521d0 and cpu addr 0xffffc900008121d0
[   45.428076] [drm] ring test on 0 succeeded in 0 usecs
[   45.510492] r8169 0000:02:00.0 eth0: link down
[   45.602794] [drm] ring test on 5 succeeded in 1 usecs
[   45.602803] [drm] UVD initialized successfully.
[   45.603013] [drm] ib test on ring 0 succeeded in 0 usecs
[   45.710859] ata5: SATA link down (SStatus 0 SControl 300)
[   45.710907] ata6: SATA link down (SStatus 0 SControl 300)
[   45.882925] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   45.882994] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   45.883059] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   45.883092] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   45.884972] ata1.00: supports DRM functions and may not be fully accessible
[   45.885071] ata2.00: supports DRM functions and may not be fully accessible
[   45.885123] ata1.00: failed to get NCQ Send/Recv Log Emask 0x1
[   45.885218] ata2.00: failed to get NCQ Send/Recv Log Emask 0x1
[   45.885907] ata1.00: supports DRM functions and may not be fully accessible
[   45.886024] ata1.00: failed to get NCQ Send/Recv Log Emask 0x1
[   45.886068] ata2.00: supports DRM functions and may not be fully accessible
[   45.886110] ata1.00: configured for UDMA/133
[   45.886207] ata2.00: failed to get NCQ Send/Recv Log Emask 0x1
[   45.886417] ata2.00: configured for UDMA/133
[   45.896091] ata4.00: configured for UDMA/133
[   45.906938] ata3.00: configured for UDMA/133
[   45.907075] sd 2:0:0:0: [sdc] 1220942646 4096-byte logical blocks: (4.88 TB/4.54 TiB)
[   46.250991] [drm] ib test on ring 5 succeeded
[   46.644971] PM: thaw of devices complete after 1253.970 msecs
[   46.848000] usb 8-2: reset low-speed USB device number 2 using ohci-pci
[   47.084410] r8169 0000:02:00.0 eth0: link up
[   47.193411] PM: writing image.
[   47.203074] PM: Using 3 thread(s) for compression.
[   47.203074] PM: Compressing and saving image data (139118 pages)...
[   47.220107] PM: Image saving progress:   0%
[   47.356371] PM: Image saving progress:  10%
[   47.444633] PM: Image saving progress:  20%
[   47.586282] PM: Image saving progress:  30%
[   47.676366] PM: Image saving progress:  40%
[   47.751889] PM: Image saving progress:  50%
[   47.838831] PM: Image saving progress:  60%
[   47.927719] PM: Image saving progress:  70%
[   48.020115] PM: Image saving progress:  80%
[   48.107692] PM: Image saving progress:  90%
[   48.193569] PM: Image saving progress: 100%
[   48.199217] PM: Image saving done.
[   48.203784] PM: Wrote 556472 kbytes in 0.97 seconds (573.68 MB/s)
[   48.211456] PM: S|
[   48.311190] kvm: exiting hardware virtualization
[   48.321689] AMD-Vi: Event logged [IO_PAGE_FAULT device=01:00.0 domain=0x0010 address=0x0000000020001000 flags=0x0000]
[   48.522749] sd 3:0:0:0: [sdd] Synchronizing SCSI cache
[   48.531044] sd 3:0:0:0: [sdd] Stopping disk
[   49.418426] sd 2:0:0:0: [sdc] Synchronizing SCSI cache
[   49.424890] sd 2:0:0:0: [sdc] Stopping disk
[   49.596437] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[   49.605855] sd 1:0:0:0: [sdb] Stopping disk
[   49.920447] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[   49.929890] sd 0:0:0:0: [sda] Stopping disk
[   50.124196] pcieport 0000:00:04.0: System wakeup enabled by ACPI
[   50.152897] ACPI: Preparing to enter system sleep state S5
[   50.160275] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query honored via cmdline
[   50.170923] reboot: Power down
[   50.176837] acpi_power_off called


Then the resume kernel starts and loads the suspended one, which bombs
out completely:



[    5.758121] PM: Checking hibernation image partition /dev/sda1
[    5.764067] PM: Hibernation image partition 8:1 present
[    5.769372] PM: Looking for hibernation image.
[    5.769846] hid-generic 0003:04B4:0101.0003: input,hidraw2: USB HID v1.00 Device [DATACOMP SteelS쀁̄Љ̒DATA] on usb-0000
:00:12.0-2/input1
[    5.788988] PM: Image signature found, resuming
[    5.795952] PM: Preparing processes for restore.
[    5.800605] Freezing user space processes ... (elapsed 0.000 seconds) done.
[    5.807811] PM: Loading hibernation image.
[    5.812211] PM: Marking nosave pages: [mem 0x00000000-0x00000fff]
[    5.818339] PM: Marking nosave pages: [mem 0x0009e000-0x000fffff]
[    5.824462] PM: Marking nosave pages: [mem 0xba9b8000-0xbca4dfff]
[    5.830712] PM: Marking nosave pages: [mem 0xbca4f000-0xbcc54fff]
[    5.836844] PM: Marking nosave pages: [mem 0xbd083000-0xbd7f3fff]
[    5.843010] PM: Marking nosave pages: [mem 0xbd800000-0x100000fff]
[    5.849924] PM: Basic memory bitmaps created
[    5.869152] PM: Using 3 thread(s) for decompression.
[    5.869152] PM: Loading and decompressing image data (139118 pages)...
[    5.946421] PM: Image loading progress:   0%
[    6.241471] PM: Image loading progress:  10%
[    6.321625] PM: Image loading progress:  20%
[    6.362579] random: nonblocking pool is initialized
[    6.414363] PM: Image loading progress:  30%
[    6.495027] PM: Image loading progress:  40%
[    6.573551] PM: Image loading progress:  50%
[    6.654276] PM: Image loading progress:  60%
[    6.735344] PM: Image loading progress:  70%
[    6.810312] PM: Image loading progress:  80%
[    6.885237] PM: Image loading progress:  90%
[    6.963869] PM: Image loading progress: 100%
[    6.968292] PM: Image loading done.
[    6.971907] PM: Read 556472 kbytes in 1.08 seconds (515.25 MB/s)
[    6.981245] PM: Image successfully loaded
[    7.208118] PM: quiesce of devices complete after 221.517 msecs
[    7.215932] PM: late quiesce of devices complete after 1.806 msecs
[    7.236424] PM: noirq quiesce of devices complete after 14.231 msecs
[    7.242867] Disabling non-boot CPUs ...
[   44.968602] LVT offset 0 assigned for vector 0x400
[   44.973810] Enabling non-boot CPUs ...
[   44.977701] x86: Booting SMP configuration:
[   44.981885] smpboot: Booting Node 0 Processor 1 APIC 0x11
[   45.004260]  cache: parent cpu1 should not be sleeping
[   45.010101] CPU1 is up
[   45.012520] smpboot: Booting Node 0 Processor 2 APIC 0x12
[   45.036083]  cache: parent cpu2 should not be sleeping
[   45.041998] CPU2 is up
[   45.044429] smpboot: Booting Node 0 Processor 3 APIC 0x13
[   45.064873]  cache: parent cpu3 should not be sleeping
[   45.070712] CPU3 is up
[   45.073177] smpboot: Booting Node 0 Processor 4 APIC 0x14
[   45.092508]  cache: parent cpu4 should not be sleeping
[   45.098293] CPU4 is up
[   45.100772] smpboot: Booting Node 0 Processor 5 APIC 0x15
[   45.120788]  cache: parent cpu5 should not be sleeping
[   45.126577] CPU5 is up
[   45.128997] smpboot: Booting Node 0 Processor 6 APIC 0x16
[   45.149043]  cache: parent cpu6 should not be sleeping
[   45.154843] CPU6 is up
[   45.157261] smpboot: Booting Node 0 Processor 7 APIC 0x17
[   45.177371]  cache: parent cpu7 should not be sleeping
[   45.183182] CPU7 is up
[   45.195686] BUG: unable to handle kernel NULL pointer dereference at 0000000000000034
[   45.203696] IP: [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
[   45.210379] PGD 418009067 PUD 41800a067 PMD 0 
[   45.215023] Oops: 0000 [#1] PREEMPT SMP 
[   45.219132] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel ae
s_x86_64 lrw gf128mul glue_helper ablk_helper cryptd amd64_edac_mod k10temp fam15h_power edac_core amdkfd amd_iommu_v2 r
adeon acpi_cpufreq
[   45.242447] CPU: 2 PID: 804 Comm: kworker/u16:5 Tainted: G        W       4.3.0-rc2+ #3
[   45.250584] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   45.260630] Workqueue: events_unbound async_run_entry_fn
[   45.266105] task: ffff88042983df00 ti: ffff880428a40000 task.ti: ffff880428a40000
[   45.273724] RIP: 0010:[<ffffffff81321296>]  [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
[   45.282840] RSP: 0018:ffff880428a43c28  EFLAGS: 00010286
[   45.288292] RAX: 0000000000000000 RBX: ffff880429c2d000 RCX: 0000000000000000
[   45.295564] RDX: 0000000000000001 RSI: ffffffff81304448 RDI: ffffffff816c0f2b
[   45.302835] RBP: ffff880428a43c40 R08: 0000000000000001 R09: 0000000000522000
[   45.310114] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[   45.317386] R13: ffff880429c2d7b0 R14: ffff880429c2d010 R15: ffff880429c2d038
[   45.324666] FS:  00007f653bc43700(0000) GS:ffff88042ca00000(0000) knlGS:0000000000000000
[   45.332898] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   45.338784] CR2: 0000000000000034 CR3: 0000000418053000 CR4: 00000000000406e0
[   45.346063] Stack:
[   45.348221]  0080002c29c2d7b0 0000000000000000 ffff880429c2d000 ffff880428a43c78
[   45.355822]  ffffffff8130c141 ffff880429c2d098 ffff880429c2d000 0000000000000000
[   45.363424]  ffff88042a1216e8 ffffffff81957114 ffff880428a43c88 ffffffff8130c2b8
[   45.371041] Call Trace:
[   45.373642]  [<ffffffff8130c141>] pci_restore_state.part.18+0xf1/0x250
[   45.380316]  [<ffffffff8130c2b8>] pci_restore_state+0x18/0x20
[   45.386209]  [<ffffffff8130f7fc>] pci_pm_restore_noirq+0x4c/0xd0
[   45.392367]  [<ffffffff8130f7b0>] ? pci_pm_freeze_noirq+0xf0/0xf0
[   45.398611]  [<ffffffff8146e7e7>] dpm_run_callback+0x77/0x2a0
[   45.404531]  [<ffffffff8146eaa3>] device_resume_noirq+0x93/0x150
[   45.410682]  [<ffffffff8146eb7d>] async_resume_noirq+0x1d/0x50
[   45.416693]  [<ffffffff81078a06>] async_run_entry_fn+0x46/0xf0
[   45.422669]  [<ffffffff8106f548>] process_one_work+0x1f8/0x640
[   45.428648]  [<ffffffff8106f4a4>] ? process_one_work+0x154/0x640
[   45.434804]  [<ffffffff8106f9db>] worker_thread+0x4b/0x440
[   45.440435]  [<ffffffff8106f990>] ? process_one_work+0x640/0x640
[   45.446590]  [<ffffffff81075e86>] kthread+0xf6/0x110
[   45.451704]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   45.458376]  [<ffffffff816c1e3f>] ret_from_fork+0x3f/0x70
[   45.463923]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   45.470587] Code: 66 89 4d ee 0f b7 c9 e8 79 41 fe ff 48 89 df e8 d1 7a ce ff 0f b6 53 4b 8b 73 38 48 8d 4d ee 48 8b 7b 10 83 c2 02 e8 1a 31 fe ff <41> 0f b6 4c 24 34 41 8b 54 24 30 be ff ff ff ff c0 e9 04 83 e1 
[   45.490744] RIP  [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
[   45.497522]  RSP <ffff880428a43c28>
[   45.501162] CR2: 0000000000000034
[   45.504630] ---[ end trace aab225b93a6f1dd0 ]---
[   45.509270] BUG: unable to handle kernel paging request at ffffffffffffff98
[   45.516436] IP: [<ffffffff81076770>] kthread_data+0x10/0x20
[   45.522180] PGD 19e5067 PUD 19e7067 PMD 0 
[   45.526512] Oops: 0000 [#2] PREEMPT SMP 
[   45.530628] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd amd64_edac_mod k10temp fam15h_power edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   45.553976] CPU: 2 PID: 804 Comm: kworker/u16:5 Tainted: G      D W       4.3.0-rc2+ #3
[   45.562132] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   45.572199] task: ffff88042983df00 ti: ffff880428a40000 task.ti: ffff880428a40000
[   45.579856] RIP: 0010:[<ffffffff81076770>]  [<ffffffff81076770>] kthread_data+0x10/0x20
[   45.588037] RSP: 0018:ffff880428a43928  EFLAGS: 00010002
[   45.593505] RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000000
[   45.600794] RDX: 000000012b244210 RSI: 0000000000000002 RDI: ffff88042983df00
[   45.608083] RBP: ffff880428a43928 R08: ffff88042983df88 R09: ffff88042cbd5cb0
[   45.615371] R10: ffff88042983df60 R11: 0000000000000000 R12: 00000000001d5c00
[   45.622661] R13: ffff88042cbd5c18 R14: ffff88042983df00 R15: 0000000000000002
[   45.629949] FS:  00007f653bc43700(0000) GS:ffff88042ca00000(0000) knlGS:0000000000000000
[   45.638191] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   45.644094] CR2: 0000000000000028 CR3: 0000000418053000 CR4: 00000000000406e0
[   45.651389] Stack:
[   45.653565]  ffff880428a43940 ffffffff810707a1 ffff88042cbd5c00 ffff880428a43998
[   45.661185]  ffffffff816bb6e6 ffffffff81055b9b 0000000000000000 0000000000000000
[   45.668835]  ffff88042983df00 ffff880428a44000 ffff880428a439f0 0000000000000000
[   45.676453] Call Trace:
[   45.679064]  [<ffffffff810707a1>] wq_worker_sleeping+0x11/0x90
[   45.685062]  [<ffffffff816bb6e6>] __schedule+0x796/0xec0
[   45.690538]  [<ffffffff81055b9b>] ? do_exit+0x63b/0xac0
[   45.695930]  [<ffffffff816bbe9d>] schedule+0x3d/0x90
[   45.701060]  [<ffffffff81055c58>] do_exit+0x6f8/0xac0
[   45.706279]  [<ffffffff81007d8c>] oops_end+0x6c/0x90
[   45.711408]  [<ffffffff81045c13>] no_context+0x153/0x360
[   45.716875]  [<ffffffff81045f2b>] __bad_area_nosemaphore+0x10b/0x210
[   45.723385]  [<ffffffff812f3b77>] ? debug_smp_processor_id+0x17/0x20
[   45.729894]  [<ffffffff81046043>] bad_area_nosemaphore+0x13/0x20
[   45.736055]  [<ffffffff81046487>] __do_page_fault+0x1e7/0x360
[   45.741958]  [<ffffffff81000f70>] ? trace_hardirqs_off_thunk+0x17/0x19
[   45.748640]  [<ffffffff8104663c>] do_page_fault+0xc/0x10
[   45.754099]  [<ffffffff816c38af>] page_fault+0x1f/0x30
[   45.759386]  [<ffffffff81304448>] ? pci_bus_read_config_word+0x98/0xa0
[   45.766058]  [<ffffffff816c0f2b>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   45.772992]  [<ffffffff81321296>] ? pci_restore_msi_state+0x196/0x240
[   45.779581]  [<ffffffff81321296>] ? pci_restore_msi_state+0x196/0x240
[   45.786165]  [<ffffffff8130c141>] pci_restore_state.part.18+0xf1/0x250
[   45.792840]  [<ffffffff8130c2b8>] pci_restore_state+0x18/0x20
[   45.798732]  [<ffffffff8130f7fc>] pci_pm_restore_noirq+0x4c/0xd0
[   45.804886]  [<ffffffff8130f7b0>] ? pci_pm_freeze_noirq+0xf0/0xf0
[   45.811127]  [<ffffffff8146e7e7>] dpm_run_callback+0x77/0x2a0
[   45.817019]  [<ffffffff8146eaa3>] device_resume_noirq+0x93/0x150
[   45.823173]  [<ffffffff8146eb7d>] async_resume_noirq+0x1d/0x50
[   45.829153]  [<ffffffff81078a06>] async_run_entry_fn+0x46/0xf0
[   45.835132]  [<ffffffff8106f548>] process_one_work+0x1f8/0x640
[   45.841104]  [<ffffffff8106f4a4>] ? process_one_work+0x154/0x640
[   45.847248]  [<ffffffff8106f9db>] worker_thread+0x4b/0x440
[   45.852873]  [<ffffffff8106f990>] ? process_one_work+0x640/0x640
[   45.859018]  [<ffffffff81075e86>] kthread+0xf6/0x110
[   45.864124]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   45.870796]  [<ffffffff816c1e3f>] ret_from_fork+0x3f/0x70
[   45.876333]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   45.882998] Code: 60 74 0a 48 89 df e8 10 a8 64 00 eb d3 48 8b 53 48 eb b1 e8 33 cb fd ff 0f 1f 00 0f 1f 44 00 00 48 8b 87 f8 03 00 00 55 48 89 e5 <48> 8b 40 98 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 
[   45.903148] RIP  [<ffffffff81076770>] kthread_data+0x10/0x20
[   45.908972]  RSP <ffff880428a43928>
[   45.912612] CR2: ffffffffffffff98
[   45.916079] ---[ end trace aab225b93a6f1dd1 ]---
[   45.920697] Fixing recursive fault but reboot is needed!
[   45.926002] BUG: scheduling while atomic: kworker/u16:5/804/0x00000004
[   45.932529] INFO: lockdep is turned off.
[   45.936453] Modules linked in: binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kvm_amd kvm crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd amd64_edac_mod k10temp fam15h_power edac_core amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   45.959455] irq event stamp: 2072
[   45.962766] hardirqs last  enabled at (2071): [<ffffffff816c0f45>] _raw_spin_unlock_irqrestore+0x65/0x80
[   45.972248] hardirqs last disabled at (2072): [<ffffffff816c3a80>] error_entry+0x60/0xb0
[   45.980342] softirqs last  enabled at (1792): [<ffffffff81058547>] __do_softirq+0x3a7/0x480
[   45.988705] softirqs last disabled at (1765): [<ffffffff81058798>] irq_exit+0x88/0xb0
[   45.996539] Preemption disabled at:[<ffffffff81007d8c>] oops_end+0x6c/0x90
[   46.003420] 
[   46.004913] CPU: 2 PID: 804 Comm: kworker/u16:5 Tainted: G      D W       4.3.0-rc2+ #3
[   46.012911] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   46.022823]  00000000001d5c00 ffff880428a43628 ffffffff812c758a ffff88042983df00
[   46.030280]  ffff880428a43640 ffffffff8107d528 ffff88042cbd5c00 ffff880428a43698
[   46.037740]  ffffffff816bb84f ffff880428a436b0 ffffffff81126b16 0000000000000008
[   46.045193] Call Trace:
[   46.047641]  [<ffffffff812c758a>] dump_stack+0x4e/0x84
[   46.052779]  [<ffffffff8107d528>] __schedule_bug+0x68/0xc0
[   46.058264]  [<ffffffff816bb84f>] __schedule+0x8ff/0xec0
[   46.063569]  [<ffffffff81126b16>] ? printk+0x48/0x50
[   46.068535]  [<ffffffff816bbe9d>] schedule+0x3d/0x90
[   46.073500]  [<ffffffff81055e38>] do_exit+0x8d8/0xac0
[   46.078580]  [<ffffffff810b6d75>] ? kmsg_dump+0x135/0x180
[   46.083978]  [<ffffffff810b6c62>] ? kmsg_dump+0x22/0x180
[   46.089291]  [<ffffffff81007d8c>] oops_end+0x6c/0x90
[   46.094257]  [<ffffffff81045c13>] no_context+0x153/0x360
[   46.099571]  [<ffffffff812d47a4>] ? delay_tsc+0x94/0xc0
[   46.104796]  [<ffffffff81045f2b>] __bad_area_nosemaphore+0x10b/0x210
[   46.111149]  [<ffffffff81046043>] bad_area_nosemaphore+0x13/0x20
[   46.117154]  [<ffffffff81046487>] __do_page_fault+0x1e7/0x360
[   46.122901]  [<ffffffff81000f70>] ? trace_hardirqs_off_thunk+0x17/0x19
[   46.129427]  [<ffffffff8104663c>] do_page_fault+0xc/0x10
[   46.134740]  [<ffffffff816c38af>] page_fault+0x1f/0x30
[   46.139879]  [<ffffffff81076770>] ? kthread_data+0x10/0x20
[   46.145364]  [<ffffffff810707a1>] wq_worker_sleeping+0x11/0x90
[   46.151197]  [<ffffffff816bb6e6>] __schedule+0x796/0xec0
[   46.156510]  [<ffffffff81055b9b>] ? do_exit+0x63b/0xac0
[   46.161736]  [<ffffffff816bbe9d>] schedule+0x3d/0x90
[   46.166702]  [<ffffffff81055c58>] do_exit+0x6f8/0xac0
[   46.171754]  [<ffffffff81007d8c>] oops_end+0x6c/0x90
[   46.176721]  [<ffffffff81045c13>] no_context+0x153/0x360
[   46.182033]  [<ffffffff81045f2b>] __bad_area_nosemaphore+0x10b/0x210
[   46.188385]  [<ffffffff812f3b77>] ? debug_smp_processor_id+0x17/0x20
[   46.194730]  [<ffffffff81046043>] bad_area_nosemaphore+0x13/0x20
[   46.200736]  [<ffffffff81046487>] __do_page_fault+0x1e7/0x360
[   46.206481]  [<ffffffff81000f70>] ? trace_hardirqs_off_thunk+0x17/0x19
[   46.213008]  [<ffffffff8104663c>] do_page_fault+0xc/0x10
[   46.218320]  [<ffffffff816c38af>] page_fault+0x1f/0x30
[   46.223461]  [<ffffffff81304448>] ? pci_bus_read_config_word+0x98/0xa0
[   46.229986]  [<ffffffff816c0f2b>] ? _raw_spin_unlock_irqrestore+0x4b/0x80
[   46.236772]  [<ffffffff81321296>] ? pci_restore_msi_state+0x196/0x240
[   46.243212]  [<ffffffff81321296>] ? pci_restore_msi_state+0x196/0x240
[   46.249649]  [<ffffffff8130c141>] pci_restore_state.part.18+0xf1/0x250
[   46.256177]  [<ffffffff8130c2b8>] pci_restore_state+0x18/0x20
[   46.261922]  [<ffffffff8130f7fc>] pci_pm_restore_noirq+0x4c/0xd0
[   46.267928]  [<ffffffff8130f7b0>] ? pci_pm_freeze_noirq+0xf0/0xf0
[   46.274022]  [<ffffffff8146e7e7>] dpm_run_callback+0x77/0x2a0
[   46.279768]  [<ffffffff8146eaa3>] device_resume_noirq+0x93/0x150
[   46.285773]  [<ffffffff8146eb7d>] async_resume_noirq+0x1d/0x50
[   46.291606]  [<ffffffff81078a06>] async_run_entry_fn+0x46/0xf0
[   46.297439]  [<ffffffff8106f548>] process_one_work+0x1f8/0x640
[   46.303271]  [<ffffffff8106f4a4>] ? process_one_work+0x154/0x640
[   46.309278]  [<ffffffff8106f9db>] worker_thread+0x4b/0x440
[   46.314762]  [<ffffffff8106f990>] ? process_one_work+0x640/0x640
[   46.320761]  [<ffffffff81075e86>] kthread+0xf6/0x110
[   46.325726]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   46.332251]  [<ffffffff816c1e3f>] ret_from_fork+0x3f/0x70
[   46.337644]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0

Thanks.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
  2015-09-23  8:59         ` Borislav Petkov
@ 2015-09-23 14:44           ` Daniel Vetter
  2015-09-23 16:06             ` Borislav Petkov
  0 siblings, 1 reply; 24+ messages in thread
From: Daniel Vetter @ 2015-09-23 14:44 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: lkml, Maling list - DRI developers, Alex Deucher, Christian König

On Wed, Sep 23, 2015 at 10:59:51AM +0200, Borislav Petkov wrote:
> On Wed, Sep 23, 2015 at 09:25:23AM +0200, Daniel Vetter wrote:
> > Strange thing is that I've tested this on a radeon over here and I don't
> > see this backtrace ... wut. Below diff should appease the backtraces at
> > least.
> 
> Doesn't look like it.

sorry I sprinkled the locking stuff in the wrong places. Still confused
why the resume side doesn't blow up anywhere ... Oh well. New patch below.

Thanks, Daniel

diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index d8319dae8358..f3f562f6d848 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1573,10 +1573,12 @@ int radeon_suspend_kms(struct drm_device *dev, bool suspend, bool fbcon)
 
 	drm_kms_helper_poll_disable(dev);
 
+	drm_modeset_lock_all(dev);
 	/* turn off display hw */
 	list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
 		drm_helper_connector_dpms(connector, DRM_MODE_DPMS_OFF);
 	}
+	drm_modeset_unlock_all(dev);
 
 	/* unpin the front buffers and cursors */
 	list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
@@ -1734,9 +1736,11 @@ int radeon_resume_kms(struct drm_device *dev, bool resume, bool fbcon)
 	if (fbcon) {
 		drm_helper_resume_force_mode(dev);
 		/* turn on display hw */
+		drm_modeset_lock_all(dev);
 		list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
 			drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON);
 		}
+		drm_modeset_unlock_all(dev);
 	}
 
 	drm_kms_helper_poll_enable(dev);
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
  2015-09-23 14:44           ` Daniel Vetter
@ 2015-09-23 16:06             ` Borislav Petkov
  2015-09-23 16:18               ` Borislav Petkov
  0 siblings, 1 reply; 24+ messages in thread
From: Borislav Petkov @ 2015-09-23 16:06 UTC (permalink / raw)
  To: Daniel Vetter
  Cc: Alex Deucher, Christian König, Maling list - DRI developers, lkml

On Wed, Sep 23, 2015 at 04:44:50PM +0200, Daniel Vetter wrote:
> sorry I sprinkled the locking stuff in the wrong places. Still confused
> why the resume side doesn't blow up anywhere

But it does:

[   69.394204] BUG: unable to handle kernel NULL pointer dereference at 0000000000000034
[   69.402080] IP: [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
[   69.408624] PGD 4162b8067 PUD 416581067 PMD 0 
[   69.413122] Oops: 0000 [#1] PREEMPT SMP 
[   69.417101] Modules linked in: tun sha256_ssse3 sha256_generic drbg binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kv
m_amd kvm crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd amd64_edac_mod edac_mce_amd fa
m15h_power k10temp amdkfd amd_iommu_v2 radeon acpi_cpufreq
[   69.443647] CPU: 4 PID: 814 Comm: kworker/u16:5 Not tainted 4.3.0-rc2+ #3
[   69.450430] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
[   69.460336] Workqueue: events_unbound async_run_entry_fn
[   69.465667] task: ffff88042a255f00 ti: ffff880428a68000 task.ti: ffff880428a68000
[   69.473145] RIP: 0010:[<ffffffff81321296>]  [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
[   69.482131] RSP: 0018:ffff880428a6bc28  EFLAGS: 00010286
[   69.487436] RAX: 0000000000000000 RBX: ffff88042a308000 RCX: 0000000000000000
[   69.494568] RDX: 0000000000000001 RSI: ffffffff81304448 RDI: ffffffff816c7a1b
[   69.501700] RBP: ffff880428a6bc40 R08: 0000000000000001 R09: 0000000000522000
[   69.508833] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[   69.515965] R13: ffff88042a3087b0 R14: ffff88042a308010 R15: ffff88042a308038
[   69.523097] FS:  00007fc91328a700(0000) GS:ffff88042ce00000(0000) knlGS:0000000000000000
[   69.531185] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[   69.536931] CR2: 0000000000000034 CR3: 00000004164c7000 CR4: 00000000000406e0
[   69.544061] Stack:
[   69.546073]  0080002c2a3087b0 0000000000000000 ffff88042a308000 ffff880428a6bc78
[   69.553525]  ffffffff8130c141 ffff88042a308098 ffff88042a308000 0000000000000000
[   69.560996]  ffff8804284e77a8 ffffffff81961ef1 ffff880428a6bc88 ffffffff8130c2b8
[   69.568450] Call Trace:
[   69.571044]  [<ffffffff8130c141>] pci_restore_state.part.18+0xf1/0x250
[   69.577706]  [<ffffffff8130c2b8>] pci_restore_state+0x18/0x20
[   69.583591]  [<ffffffff8130f7fc>] pci_pm_restore_noirq+0x4c/0xd0
[   69.589734]  [<ffffffff8130f7b0>] ? pci_pm_freeze_noirq+0xf0/0xf0
[   69.595966]  [<ffffffff8146e847>] dpm_run_callback+0x77/0x2a0
[   69.601850]  [<ffffffff8146eb03>] device_resume_noirq+0x93/0x150
[   69.607994]  [<ffffffff8146ebdd>] async_resume_noirq+0x1d/0x50
[   69.613967]  [<ffffffff81078a06>] async_run_entry_fn+0x46/0xf0
[   69.619939]  [<ffffffff8106f548>] process_one_work+0x1f8/0x640
[   69.625910]  [<ffffffff8106f4a4>] ? process_one_work+0x154/0x640
[   69.632054]  [<ffffffff8106f9db>] worker_thread+0x4b/0x440
[   69.637677]  [<ffffffff8106f990>] ? process_one_work+0x640/0x640
[   69.643822]  [<ffffffff81075e86>] kthread+0xf6/0x110
[   69.648927]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   69.655591]  [<ffffffff816c893f>] ret_from_fork+0x3f/0x70
[   69.661128]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
[   69.667794] Code: 66 89 4d ee 0f b7 c9 e8 79 41 fe ff 48 89 df e8 d1 7a ce ff 0f b6 53 4b 8b 73 38 48 8d 4d ee 48 8b 7b 10 83 c2 02 e8 1a 31 fe ff <41> 0f b6 4c 24 34 41 8b 54 24 30 be ff ff ff ff c0 e9 04 83 e1 
[   69.687986] RIP  [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
[   69.694772]  RSP <ffff880428a6bc28>
[   69.698412] CR2: 0000000000000034
[   69.701879] ---[ end trace 814dd8cc56e427ae ]---

This happens at resume - I caught the output over serial - screen is
dead, it doesn't show anything because it simply locks up/panics.

> ... Oh well. New patch below.

Yep, this one took care of the warning in
drm_helper_choose_encoder_dpms(). Thanks!

Now I need to go decypher that NULL ptr deref above.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90()
  2015-09-23 16:06             ` Borislav Petkov
@ 2015-09-23 16:18               ` Borislav Petkov
  2015-09-26 16:46                 ` WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized Borislav Petkov
  0 siblings, 1 reply; 24+ messages in thread
From: Borislav Petkov @ 2015-09-23 16:18 UTC (permalink / raw)
  To: Daniel Vetter, Thomas Gleixner
  Cc: Alex Deucher, Christian König, Maling list - DRI developers, lkml

On Wed, Sep 23, 2015 at 06:06:21PM +0200, Borislav Petkov wrote:
> On Wed, Sep 23, 2015 at 04:44:50PM +0200, Daniel Vetter wrote:
> > sorry I sprinkled the locking stuff in the wrong places. Still confused
> > why the resume side doesn't blow up anywhere
> 
> But it does:
> 
> [   69.394204] BUG: unable to handle kernel NULL pointer dereference at 0000000000000034
> [   69.402080] IP: [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
> [   69.408624] PGD 4162b8067 PUD 416581067 PMD 0 
> [   69.413122] Oops: 0000 [#1] PREEMPT SMP 
> [   69.417101] Modules linked in: tun sha256_ssse3 sha256_generic drbg binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kv
> m_amd kvm crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd amd64_edac_mod edac_mce_amd fa
> m15h_power k10temp amdkfd amd_iommu_v2 radeon acpi_cpufreq
> [   69.443647] CPU: 4 PID: 814 Comm: kworker/u16:5 Not tainted 4.3.0-rc2+ #3
> [   69.450430] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
> [   69.460336] Workqueue: events_unbound async_run_entry_fn
> [   69.465667] task: ffff88042a255f00 ti: ffff880428a68000 task.ti: ffff880428a68000
> [   69.473145] RIP: 0010:[<ffffffff81321296>]  [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
> [   69.482131] RSP: 0018:ffff880428a6bc28  EFLAGS: 00010286
> [   69.487436] RAX: 0000000000000000 RBX: ffff88042a308000 RCX: 0000000000000000
> [   69.494568] RDX: 0000000000000001 RSI: ffffffff81304448 RDI: ffffffff816c7a1b
> [   69.501700] RBP: ffff880428a6bc40 R08: 0000000000000001 R09: 0000000000522000
> [   69.508833] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
> [   69.515965] R13: ffff88042a3087b0 R14: ffff88042a308010 R15: ffff88042a308038
> [   69.523097] FS:  00007fc91328a700(0000) GS:ffff88042ce00000(0000) knlGS:0000000000000000
> [   69.531185] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> [   69.536931] CR2: 0000000000000034 CR3: 00000004164c7000 CR4: 00000000000406e0
> [   69.544061] Stack:
> [   69.546073]  0080002c2a3087b0 0000000000000000 ffff88042a308000 ffff880428a6bc78
> [   69.553525]  ffffffff8130c141 ffff88042a308098 ffff88042a308000 0000000000000000
> [   69.560996]  ffff8804284e77a8 ffffffff81961ef1 ffff880428a6bc88 ffffffff8130c2b8
> [   69.568450] Call Trace:
> [   69.571044]  [<ffffffff8130c141>] pci_restore_state.part.18+0xf1/0x250
> [   69.577706]  [<ffffffff8130c2b8>] pci_restore_state+0x18/0x20
> [   69.583591]  [<ffffffff8130f7fc>] pci_pm_restore_noirq+0x4c/0xd0
> [   69.589734]  [<ffffffff8130f7b0>] ? pci_pm_freeze_noirq+0xf0/0xf0
> [   69.595966]  [<ffffffff8146e847>] dpm_run_callback+0x77/0x2a0
> [   69.601850]  [<ffffffff8146eb03>] device_resume_noirq+0x93/0x150
> [   69.607994]  [<ffffffff8146ebdd>] async_resume_noirq+0x1d/0x50
> [   69.613967]  [<ffffffff81078a06>] async_run_entry_fn+0x46/0xf0
> [   69.619939]  [<ffffffff8106f548>] process_one_work+0x1f8/0x640
> [   69.625910]  [<ffffffff8106f4a4>] ? process_one_work+0x154/0x640
> [   69.632054]  [<ffffffff8106f9db>] worker_thread+0x4b/0x440
> [   69.637677]  [<ffffffff8106f990>] ? process_one_work+0x640/0x640
> [   69.643822]  [<ffffffff81075e86>] kthread+0xf6/0x110
> [   69.648927]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
> [   69.655591]  [<ffffffff816c893f>] ret_from_fork+0x3f/0x70
> [   69.661128]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
> [   69.667794] Code: 66 89 4d ee 0f b7 c9 e8 79 41 fe ff 48 89 df e8 d1 7a ce ff 0f b6 53 4b 8b 73 38 48 8d 4d ee 48 8b 7b 10 83 c2 02 e8 1a 31 fe ff <41> 0f b6 4c 24 34 41 8b 54 24 30 be ff ff ff ff c0 e9 04 83 e1 
> [   69.687986] RIP  [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
> [   69.694772]  RSP <ffff880428a6bc28>
> [   69.698412] CR2: 0000000000000034
> [   69.701879] ---[ end trace 814dd8cc56e427ae ]---

Ok, after some quick staring, we're at __pci_restore_msi_state():

        pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control);
        msi_mask_irq(entry, msi_mask(entry->msi_attrib.multi_cap),
                     entry->masked);

which is:

	.loc 1 411 0
	movq	%rbx, %rdi	# dev,
	call	arch_restore_msi_irqs	#
.LBB1921:
.LBB1922:
	.loc 2 902 0
	movzbl	75(%rbx), %edx	# dev_2(D)->msi_cap, D.31945
	movl	56(%rbx), %esi	# MEM[(const struct pci_dev *)dev_2(D)].devfn, MEM[(const struct pci_dev *)dev_2(D)].devfn
	leaq	-18(%rbp), %rcx	#, tmp266
	movq	16(%rbx), %rdi	# MEM[(const struct pci_dev *)dev_2(D)].bus, MEM[(const struct pci_dev *)dev_2(D)].bus
	addl	$2, %edx	#, D.31945
	call	pci_bus_read_config_word	#
.LBE1922:
.LBE1921:
	.loc 1 414 0
	movzbl	52(%r12), %ecx	# *_85, tmp208					<--- faulting insn
	movl	48(%r12), %edx	# _85->D.27233.D.27231.masked, D.31946
.LBB1923:
.LBB1924:
	.loc 1 176 0
	movl	$-1, %esi	#, D.31951

and that %r12 is supposed to contain struct msi_desc *entry in
__pci_restore_msi_state():

	entry = irq_get_msi_desc(dev->irq);

which is

        .loc 4 654 0
        movl    1340(%rdi), %edi        # dev_2(D)->irq, dev_2(D)->irq
        call    irq_get_irq_data        #
        .loc 4 655 0
        testq   %rax, %rax      # d
        je      .L405   #,
        movq    16(%rax), %rax  # d_62->common, d_62->common
        movq    16(%rax), %r12  # _63->msi_desc, D.31954

but as we see above %r12 is 0.

For some reason that entry thing in __pci_restore_msi_state() is not
checked for NULL even though irq_get_msi_desc() can return NULL.

Maybe tglx would have an idea...

Hrmmm.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-09-23 16:18               ` Borislav Petkov
@ 2015-09-26 16:46                 ` Borislav Petkov
  2015-09-29  8:50                   ` Jiang Liu
  0 siblings, 1 reply; 24+ messages in thread
From: Borislav Petkov @ 2015-09-26 16:46 UTC (permalink / raw)
  To: Daniel Vetter, Thomas Gleixner, Jiang Liu, Bjorn Helgaas
  Cc: Alex Deucher, Christian König, Maling list - DRI developers, lkml

On Wed, Sep 23, 2015 at 06:18:39PM +0200, Borislav Petkov wrote:
> On Wed, Sep 23, 2015 at 06:06:21PM +0200, Borislav Petkov wrote:
> > On Wed, Sep 23, 2015 at 04:44:50PM +0200, Daniel Vetter wrote:
> > > sorry I sprinkled the locking stuff in the wrong places. Still confused
> > > why the resume side doesn't blow up anywhere
> > 
> > But it does:
> > 
> > [   69.394204] BUG: unable to handle kernel NULL pointer dereference at 0000000000000034
> > [   69.402080] IP: [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
> > [   69.408624] PGD 4162b8067 PUD 416581067 PMD 0 
> > [   69.413122] Oops: 0000 [#1] PREEMPT SMP 
> > [   69.417101] Modules linked in: tun sha256_ssse3 sha256_generic drbg binfmt_misc ipv6 vfat fat fuse dm_crypt dm_mod kv
> > m_amd kvm crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd amd64_edac_mod edac_mce_amd fa
> > m15h_power k10temp amdkfd amd_iommu_v2 radeon acpi_cpufreq
> > [   69.443647] CPU: 4 PID: 814 Comm: kworker/u16:5 Not tainted 4.3.0-rc2+ #3
> > [   69.450430] Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A97 EVO R2.0, BIOS 1503 01/16/2013
> > [   69.460336] Workqueue: events_unbound async_run_entry_fn
> > [   69.465667] task: ffff88042a255f00 ti: ffff880428a68000 task.ti: ffff880428a68000
> > [   69.473145] RIP: 0010:[<ffffffff81321296>]  [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
> > [   69.482131] RSP: 0018:ffff880428a6bc28  EFLAGS: 00010286
> > [   69.487436] RAX: 0000000000000000 RBX: ffff88042a308000 RCX: 0000000000000000
> > [   69.494568] RDX: 0000000000000001 RSI: ffffffff81304448 RDI: ffffffff816c7a1b
> > [   69.501700] RBP: ffff880428a6bc40 R08: 0000000000000001 R09: 0000000000522000
> > [   69.508833] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
> > [   69.515965] R13: ffff88042a3087b0 R14: ffff88042a308010 R15: ffff88042a308038
> > [   69.523097] FS:  00007fc91328a700(0000) GS:ffff88042ce00000(0000) knlGS:0000000000000000
> > [   69.531185] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> > [   69.536931] CR2: 0000000000000034 CR3: 00000004164c7000 CR4: 00000000000406e0
> > [   69.544061] Stack:
> > [   69.546073]  0080002c2a3087b0 0000000000000000 ffff88042a308000 ffff880428a6bc78
> > [   69.553525]  ffffffff8130c141 ffff88042a308098 ffff88042a308000 0000000000000000
> > [   69.560996]  ffff8804284e77a8 ffffffff81961ef1 ffff880428a6bc88 ffffffff8130c2b8
> > [   69.568450] Call Trace:
> > [   69.571044]  [<ffffffff8130c141>] pci_restore_state.part.18+0xf1/0x250
> > [   69.577706]  [<ffffffff8130c2b8>] pci_restore_state+0x18/0x20
> > [   69.583591]  [<ffffffff8130f7fc>] pci_pm_restore_noirq+0x4c/0xd0
> > [   69.589734]  [<ffffffff8130f7b0>] ? pci_pm_freeze_noirq+0xf0/0xf0
> > [   69.595966]  [<ffffffff8146e847>] dpm_run_callback+0x77/0x2a0
> > [   69.601850]  [<ffffffff8146eb03>] device_resume_noirq+0x93/0x150
> > [   69.607994]  [<ffffffff8146ebdd>] async_resume_noirq+0x1d/0x50
> > [   69.613967]  [<ffffffff81078a06>] async_run_entry_fn+0x46/0xf0
> > [   69.619939]  [<ffffffff8106f548>] process_one_work+0x1f8/0x640
> > [   69.625910]  [<ffffffff8106f4a4>] ? process_one_work+0x154/0x640
> > [   69.632054]  [<ffffffff8106f9db>] worker_thread+0x4b/0x440
> > [   69.637677]  [<ffffffff8106f990>] ? process_one_work+0x640/0x640
> > [   69.643822]  [<ffffffff81075e86>] kthread+0xf6/0x110
> > [   69.648927]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
> > [   69.655591]  [<ffffffff816c893f>] ret_from_fork+0x3f/0x70
> > [   69.661128]  [<ffffffff81075d90>] ? kthread_create_on_node+0x1f0/0x1f0
> > [   69.667794] Code: 66 89 4d ee 0f b7 c9 e8 79 41 fe ff 48 89 df e8 d1 7a ce ff 0f b6 53 4b 8b 73 38 48 8d 4d ee 48 8b 7b 10 83 c2 02 e8 1a 31 fe ff <41> 0f b6 4c 24 34 41 8b 54 24 30 be ff ff ff ff c0 e9 04 83 e1 
> > [   69.687986] RIP  [<ffffffff81321296>] pci_restore_msi_state+0x196/0x240
> > [   69.694772]  RSP <ffff880428a6bc28>
> > [   69.698412] CR2: 0000000000000034
> > [   69.701879] ---[ end trace 814dd8cc56e427ae ]---
> 
> Ok, after some quick staring, we're at __pci_restore_msi_state():
> 
>         pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control);
>         msi_mask_irq(entry, msi_mask(entry->msi_attrib.multi_cap),
>                      entry->masked);
> 
> which is:
> 
> 	.loc 1 411 0
> 	movq	%rbx, %rdi	# dev,
> 	call	arch_restore_msi_irqs	#
> .LBB1921:
> .LBB1922:
> 	.loc 2 902 0
> 	movzbl	75(%rbx), %edx	# dev_2(D)->msi_cap, D.31945
> 	movl	56(%rbx), %esi	# MEM[(const struct pci_dev *)dev_2(D)].devfn, MEM[(const struct pci_dev *)dev_2(D)].devfn
> 	leaq	-18(%rbp), %rcx	#, tmp266
> 	movq	16(%rbx), %rdi	# MEM[(const struct pci_dev *)dev_2(D)].bus, MEM[(const struct pci_dev *)dev_2(D)].bus
> 	addl	$2, %edx	#, D.31945
> 	call	pci_bus_read_config_word	#
> .LBE1922:
> .LBE1921:
> 	.loc 1 414 0
> 	movzbl	52(%r12), %ecx	# *_85, tmp208					<--- faulting insn
> 	movl	48(%r12), %edx	# _85->D.27233.D.27231.masked, D.31946
> .LBB1923:
> .LBB1924:
> 	.loc 1 176 0
> 	movl	$-1, %esi	#, D.31951
> 
> and that %r12 is supposed to contain struct msi_desc *entry in
> __pci_restore_msi_state():
> 
> 	entry = irq_get_msi_desc(dev->irq);
> 
> which is
> 
>         .loc 4 654 0
>         movl    1340(%rdi), %edi        # dev_2(D)->irq, dev_2(D)->irq
>         call    irq_get_irq_data        #
>         .loc 4 655 0
>         testq   %rax, %rax      # d
>         je      .L405   #,
>         movq    16(%rax), %rax  # d_62->common, d_62->common
>         movq    16(%rax), %r12  # _63->msi_desc, D.31954
> 
> but as we see above %r12 is 0.
> 
> For some reason that entry thing in __pci_restore_msi_state() is not
> checked for NULL even though irq_get_msi_desc() can return NULL.

Ok, I bisected it.

First of all, Daniel, you didn't see the resume side blow up because
of the NULL ptr deref f*cking up the box much earlier. Once I reverted
the bad commit by hand (it wouldn't revert cleanly) the resume splats
showed.

And in talking about the bad commit, it is this one:

991de2e59090e55c65a7f59a049142e3c480f7bd is the first bad commit
commit 991de2e59090e55c65a7f59a049142e3c480f7bd
Author: Jiang Liu <jiang.liu@linux.intel.com>
Date:   Wed Jun 10 16:54:59 2015 +0800

    PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()
    
    To support IOAPIC hotplug, we need to allocate PCI IRQ resources on demand
    and free them when not used anymore.
    
    Implement pcibios_alloc_irq() and pcibios_free_irq() to dynamically
    allocate and free PCI IRQs.
    
    Remove mp_should_keep_irq(), which is no longer used.
    
    [bhelgaas: changelog]
    Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Acked-by: Thomas Gleixner <tglx@linutronix.de>

:040000 040000 765e2d5232d53247ec260b34b51589c3bccb36ae f680234a27685e94b1a35ae2a7218f8eafa9071a M      arch
:040000 040000 d55a682bcde72682e883365e88ad1df6186fd54d f82c470a04a6845fcf5e0aa934512c75628f798d M      drivers

Jiang, you have to stop breaking my box with your changes. This is
maybe the third time I'm bisecting fallout from your patches. If you're
touching all x86, you need to test on an AMD box too. Like everyone else
testing on the hardware their changes affect. It is that simple.

Anyway, reverting that commit by hand fixes my resume splat.

Here's the partial revert I did by hand:

---
diff --git a/arch/x86/include/asm/pci_x86.h b/arch/x86/include/asm/pci_x86.h
index fa1195dae425..164e3f8d3c3d 100644
--- a/arch/x86/include/asm/pci_x86.h
+++ b/arch/x86/include/asm/pci_x86.h
@@ -93,6 +93,8 @@ extern raw_spinlock_t pci_config_lock;
 extern int (*pcibios_enable_irq)(struct pci_dev *dev);
 extern void (*pcibios_disable_irq)(struct pci_dev *dev);
 
+extern bool mp_should_keep_irq(struct device *dev);
+
 struct pci_raw_ops {
 	int (*read)(unsigned int domain, unsigned int bus, unsigned int devfn,
 						int reg, int len, u32 *val);
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c
index 09d3afc0a181..3bff24438b00 100644
--- a/arch/x86/pci/common.c
+++ b/arch/x86/pci/common.c
@@ -672,20 +672,22 @@ int pcibios_add_device(struct pci_dev *dev)
 	return 0;
 }
 
-int pcibios_alloc_irq(struct pci_dev *dev)
+int pcibios_enable_device(struct pci_dev *dev, int mask)
 {
-	return pcibios_enable_irq(dev);
-}
+	int err;
 
-void pcibios_free_irq(struct pci_dev *dev)
-{
-	if (pcibios_disable_irq)
-		pcibios_disable_irq(dev);
+	if ((err = pci_enable_resources(dev, mask)) < 0)
+		return err;
+
+	if (!pci_dev_msi_enabled(dev))
+		return pcibios_enable_irq(dev);
+	return 0;
 }
 
-int pcibios_enable_device(struct pci_dev *dev, int mask)
+void pcibios_disable_device (struct pci_dev *dev)
 {
-	return pci_enable_resources(dev, mask);
+	if (!pci_dev_msi_enabled(dev) && pcibios_disable_irq)
+		pcibios_disable_irq(dev);
 }
 
 int pci_ext_cfg_avail(void)
diff --git a/arch/x86/pci/irq.c b/arch/x86/pci/irq.c
index 32e70343e6fd..f229834b36d4 100644
--- a/arch/x86/pci/irq.c
+++ b/arch/x86/pci/irq.c
@@ -1186,6 +1186,18 @@ void pcibios_penalize_isa_irq(int irq, int active)
 		pirq_penalize_isa_irq(irq, active);
 }
 
+bool mp_should_keep_irq(struct device *dev)
+{
+	if (dev->power.is_prepared)
+		return true;
+#ifdef CONFIG_PM
+	if (dev->power.runtime_status == RPM_SUSPENDING)
+		return true;
+#endif
+
+	return false;
+}
+
 static int pirq_enable_irq(struct pci_dev *dev)
 {
 	u8 pin = 0;
@@ -1258,7 +1270,8 @@ static int pirq_enable_irq(struct pci_dev *dev)
 
 static void pirq_disable_irq(struct pci_dev *dev)
 {
-	if (io_apic_assign_pci_irqs && pci_has_managed_irq(dev)) {
+	if (io_apic_assign_pci_irqs && !mp_should_keep_irq(&dev->dev) &&
+	    dev->irq_managed && dev->irq) {
 		mp_unmap_irq(dev->irq);
 		pci_reset_managed_irq(dev);
 	}
diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c
index 6da0f9beab19..d8a3f49a960c 100644
--- a/drivers/acpi/pci_irq.c
+++ b/drivers/acpi/pci_irq.c
@@ -479,6 +479,14 @@ void acpi_pci_irq_disable(struct pci_dev *dev)
 	if (!pin || !pci_has_managed_irq(dev))
 		return;
 
+	/* Keep IOAPIC pin configuration when suspending */
+	if (dev->dev.power.is_prepared)
+		return;
+#ifdef	CONFIG_PM
+	if (dev->dev.power.runtime_status == RPM_SUSPENDING)
+		return;
+#endif
+
 	entry = acpi_pci_irq_lookup(dev, pin);
 	if (!entry)
 		return;

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-09-26 16:46                 ` WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized Borislav Petkov
@ 2015-09-29  8:50                   ` Jiang Liu
  2015-09-29 10:51                     ` Borislav Petkov
  0 siblings, 1 reply; 24+ messages in thread
From: Jiang Liu @ 2015-09-29  8:50 UTC (permalink / raw)
  To: Borislav Petkov, Daniel Vetter, Thomas Gleixner, Bjorn Helgaas
  Cc: Alex Deucher, Alex Deucher, Christian König,
	Maling list - DRI developers, lkml

[-- Attachment #1: Type: text/plain, Size: 5657 bytes --]

On 2015/9/27 0:46, Borislav Petkov wrote:
> On Wed, Sep 23, 2015 at 06:18:39PM +0200, Borislav Petkov wrote:
>> On Wed, Sep 23, 2015 at 06:06:21PM +0200, Borislav Petkov wrote:
>>> On Wed, Sep 23, 2015 at 04:44:50PM +0200, Daniel Vetter wrote:
>>>> sorry I sprinkled the locking stuff in the wrong places. Still confused
>>>> why the resume side doesn't blow up anywhere
>>>
>>> But it does:
<snit>
> 
> Ok, I bisected it.
> 
> First of all, Daniel, you didn't see the resume side blow up because
> of the NULL ptr deref f*cking up the box much earlier. Once I reverted
> the bad commit by hand (it wouldn't revert cleanly) the resume splats
> showed.
> 
> And in talking about the bad commit, it is this one:
> 
> 991de2e59090e55c65a7f59a049142e3c480f7bd is the first bad commit
> commit 991de2e59090e55c65a7f59a049142e3c480f7bd
> Author: Jiang Liu <jiang.liu@linux.intel.com>
> Date:   Wed Jun 10 16:54:59 2015 +0800
> 
>     PCI, x86: Implement pcibios_alloc_irq() and pcibios_free_irq()
>     
>     To support IOAPIC hotplug, we need to allocate PCI IRQ resources on demand
>     and free them when not used anymore.
>     
>     Implement pcibios_alloc_irq() and pcibios_free_irq() to dynamically
>     allocate and free PCI IRQs.
>     
>     Remove mp_should_keep_irq(), which is no longer used.
>     
>     [bhelgaas: changelog]
>     Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
>     Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
>     Acked-by: Thomas Gleixner <tglx@linutronix.de>
> 
> :040000 040000 765e2d5232d53247ec260b34b51589c3bccb36ae f680234a27685e94b1a35ae2a7218f8eafa9071a M      arch
> :040000 040000 d55a682bcde72682e883365e88ad1df6186fd54d f82c470a04a6845fcf5e0aa934512c75628f798d M      drivers
> 
> Jiang, you have to stop breaking my box with your changes. This is
> maybe the third time I'm bisecting fallout from your patches. If you're
> touching all x86, you need to test on an AMD box too. Like everyone else
> testing on the hardware their changes affect. It is that simple.
Hi Boris and Daniel,
	Sorry for the regression!
	I have tried to reproduce the regression by doing
suspend/resume with a laptop, but failed. The PCI MSI suspend/resume
code work as expected. And I have checked msi.c and radeon driver,
but haven't gotten any hint about the cause.
	So could you please help to apply the attached debug patch
to gather more information about the regression?
Thanks!
Gerry

> 
> Anyway, reverting that commit by hand fixes my resume splat.
> 
> Here's the partial revert I did by hand:
> 
> ---
> diff --git a/arch/x86/include/asm/pci_x86.h b/arch/x86/include/asm/pci_x86.h
> index fa1195dae425..164e3f8d3c3d 100644
> --- a/arch/x86/include/asm/pci_x86.h
> +++ b/arch/x86/include/asm/pci_x86.h
> @@ -93,6 +93,8 @@ extern raw_spinlock_t pci_config_lock;
>  extern int (*pcibios_enable_irq)(struct pci_dev *dev);
>  extern void (*pcibios_disable_irq)(struct pci_dev *dev);
>  
> +extern bool mp_should_keep_irq(struct device *dev);
> +
>  struct pci_raw_ops {
>  	int (*read)(unsigned int domain, unsigned int bus, unsigned int devfn,
>  						int reg, int len, u32 *val);
> diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c
> index 09d3afc0a181..3bff24438b00 100644
> --- a/arch/x86/pci/common.c
> +++ b/arch/x86/pci/common.c
> @@ -672,20 +672,22 @@ int pcibios_add_device(struct pci_dev *dev)
>  	return 0;
>  }
>  
> -int pcibios_alloc_irq(struct pci_dev *dev)
> +int pcibios_enable_device(struct pci_dev *dev, int mask)
>  {
> -	return pcibios_enable_irq(dev);
> -}
> +	int err;
>  
> -void pcibios_free_irq(struct pci_dev *dev)
> -{
> -	if (pcibios_disable_irq)
> -		pcibios_disable_irq(dev);
> +	if ((err = pci_enable_resources(dev, mask)) < 0)
> +		return err;
> +
> +	if (!pci_dev_msi_enabled(dev))
> +		return pcibios_enable_irq(dev);
> +	return 0;
>  }
>  
> -int pcibios_enable_device(struct pci_dev *dev, int mask)
> +void pcibios_disable_device (struct pci_dev *dev)
>  {
> -	return pci_enable_resources(dev, mask);
> +	if (!pci_dev_msi_enabled(dev) && pcibios_disable_irq)
> +		pcibios_disable_irq(dev);
>  }
>  
>  int pci_ext_cfg_avail(void)
> diff --git a/arch/x86/pci/irq.c b/arch/x86/pci/irq.c
> index 32e70343e6fd..f229834b36d4 100644
> --- a/arch/x86/pci/irq.c
> +++ b/arch/x86/pci/irq.c
> @@ -1186,6 +1186,18 @@ void pcibios_penalize_isa_irq(int irq, int active)
>  		pirq_penalize_isa_irq(irq, active);
>  }
>  
> +bool mp_should_keep_irq(struct device *dev)
> +{
> +	if (dev->power.is_prepared)
> +		return true;
> +#ifdef CONFIG_PM
> +	if (dev->power.runtime_status == RPM_SUSPENDING)
> +		return true;
> +#endif
> +
> +	return false;
> +}
> +
>  static int pirq_enable_irq(struct pci_dev *dev)
>  {
>  	u8 pin = 0;
> @@ -1258,7 +1270,8 @@ static int pirq_enable_irq(struct pci_dev *dev)
>  
>  static void pirq_disable_irq(struct pci_dev *dev)
>  {
> -	if (io_apic_assign_pci_irqs && pci_has_managed_irq(dev)) {
> +	if (io_apic_assign_pci_irqs && !mp_should_keep_irq(&dev->dev) &&
> +	    dev->irq_managed && dev->irq) {
>  		mp_unmap_irq(dev->irq);
>  		pci_reset_managed_irq(dev);
>  	}
> diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c
> index 6da0f9beab19..d8a3f49a960c 100644
> --- a/drivers/acpi/pci_irq.c
> +++ b/drivers/acpi/pci_irq.c
> @@ -479,6 +479,14 @@ void acpi_pci_irq_disable(struct pci_dev *dev)
>  	if (!pin || !pci_has_managed_irq(dev))
>  		return;
>  
> +	/* Keep IOAPIC pin configuration when suspending */
> +	if (dev->dev.power.is_prepared)
> +		return;
> +#ifdef	CONFIG_PM
> +	if (dev->dev.power.runtime_status == RPM_SUSPENDING)
> +		return;
> +#endif
> +
>  	entry = acpi_pci_irq_lookup(dev, pin);
>  	if (!entry)
>  		return;
> 

[-- Attachment #2: 0001-Gather-debug-info.patch --]
[-- Type: text/x-patch, Size: 4983 bytes --]

>From ef3eb76f0e700954bc865e86f9107f34e214216e Mon Sep 17 00:00:00 2001
From: Liu Jiang <jiang.liu@linux.intel.com>
Date: Wed, 30 Sep 2015 00:57:33 +0800
Subject: [PATCH] Gather debug info

---
 drivers/gpu/drm/radeon/radeon_device.c | 2 ++
 drivers/pci/msi.c                      | 3 +++
 drivers/pci/pci-driver.c               | 8 ++++++++
 3 files changed, 13 insertions(+)

diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c
index d8319da..425515f 100644
--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -1627,10 +1627,12 @@ int radeon_suspend_kms(struct drm_device *dev, bool suspend, bool fbcon)
 
 	radeon_agp_suspend(rdev);
 
+	dev_warn(&dev->pdev->dev, "irqdomain: before save pci state: msi%d irq%d\n", dev->pdev->msi_enabled, dev->pdev->irq);
 	pci_save_state(dev->pdev);
 	if (suspend) {
 		/* Shut down the device */
 		pci_disable_device(dev->pdev);
+		dev_warn(&dev->pdev->dev, "irqdomain: before save pci state: msi%d irq%d\n", dev->pdev->msi_enabled, dev->pdev->irq);
 		pci_set_power_state(dev->pdev, PCI_D3hot);
 	}
 
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index d449714..c789bf1 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -405,6 +405,7 @@ static void __pci_restore_msi_state(struct pci_dev *dev)
 		return;
 
 	entry = irq_get_msi_desc(dev->irq);
+	dev_warn(&dev->dev, "irqdomain: restore msi config irq%d, entry%p\n", dev->irq, entry);
 
 	pci_intx_for_msi(dev, 0);
 	pci_msi_set_enable(dev, 0);
@@ -602,6 +603,7 @@ static int msi_capability_init(struct pci_dev *dev, int nvec)
 	int ret;
 	unsigned mask;
 
+	dev_warn(&dev->dev, "irqdomain: enable msi\n");
 	pci_msi_set_enable(dev, 0);	/* Disable MSI during set up */
 
 	entry = msi_setup_entry(dev, nvec);
@@ -872,6 +874,7 @@ void pci_msi_shutdown(struct pci_dev *dev)
 	if (!pci_msi_enable || !dev || !dev->msi_enabled)
 		return;
 
+	dev_warn(&dev->dev, "irqdomain: shutdown msi\n");
 	BUG_ON(list_empty(dev_to_msi_list(&dev->dev)));
 	desc = first_pci_msi_entry(dev);
 
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c
index dd652f2..15352c1 100644
--- a/drivers/pci/pci-driver.c
+++ b/drivers/pci/pci-driver.c
@@ -864,6 +864,7 @@ static int pci_pm_freeze(struct device *dev)
 	struct pci_dev *pci_dev = to_pci_dev(dev);
 	const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL;
 
+	dev_warn(dev, "irqdomain: freeze msi %d irq%d\n", pci_dev->msi_enabled, pci_dev->irq);
 	if (pci_has_legacy_pm_support(pci_dev))
 		return pci_legacy_suspend(dev, PMSG_FREEZE);
 
@@ -901,6 +902,7 @@ static int pci_pm_freeze_noirq(struct device *dev)
 	struct pci_dev *pci_dev = to_pci_dev(dev);
 	struct device_driver *drv = dev->driver;
 
+	dev_warn(dev, "irqdomain: freeze_noirq msi %d irq%d\n", pci_dev->msi_enabled, pci_dev->irq);
 	if (pci_has_legacy_pm_support(pci_dev))
 		return pci_legacy_suspend_late(dev, PMSG_FREEZE);
 
@@ -930,6 +932,7 @@ static int pci_pm_thaw_noirq(struct device *dev)
 	struct device_driver *drv = dev->driver;
 	int error = 0;
 
+	dev_warn(dev, "irqdomain: thaw_noirq msi %d irq%d\n", pci_dev->msi_enabled, pci_dev->irq);
 	if (pcibios_pm_ops.thaw_noirq) {
 		error = pcibios_pm_ops.thaw_noirq(dev);
 		if (error)
@@ -953,6 +956,7 @@ static int pci_pm_thaw(struct device *dev)
 	const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL;
 	int error = 0;
 
+	dev_warn(dev, "irqdomain: thaw msi %d irq%d\n", pci_dev->msi_enabled, pci_dev->irq);
 	if (pcibios_pm_ops.thaw) {
 		error = pcibios_pm_ops.thaw(dev);
 		if (error)
@@ -979,6 +983,7 @@ static int pci_pm_poweroff(struct device *dev)
 	struct pci_dev *pci_dev = to_pci_dev(dev);
 	const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL;
 
+	dev_warn(dev, "irqdomain: poweroff msi %d irq%d\n", pci_dev->msi_enabled, pci_dev->irq);
 	if (pci_has_legacy_pm_support(pci_dev))
 		return pci_legacy_suspend(dev, PMSG_HIBERNATE);
 
@@ -1014,6 +1019,7 @@ static int pci_pm_poweroff_noirq(struct device *dev)
 	struct pci_dev *pci_dev = to_pci_dev(dev);
 	struct device_driver *drv = dev->driver;
 
+	dev_warn(dev, "irqdomain: poweroff_noirq msi %d irq%d\n", pci_dev->msi_enabled, pci_dev->irq);
 	if (pci_has_legacy_pm_support(to_pci_dev(dev)))
 		return pci_legacy_suspend_late(dev, PMSG_HIBERNATE);
 
@@ -1055,6 +1061,7 @@ static int pci_pm_restore_noirq(struct device *dev)
 	struct device_driver *drv = dev->driver;
 	int error = 0;
 
+	dev_warn(dev, "irqdomain: restore_noirq msi %d irq%d\n", pci_dev->msi_enabled, pci_dev->irq);
 	if (pcibios_pm_ops.restore_noirq) {
 		error = pcibios_pm_ops.restore_noirq(dev);
 		if (error)
@@ -1078,6 +1085,7 @@ static int pci_pm_restore(struct device *dev)
 	const struct dev_pm_ops *pm = dev->driver ? dev->driver->pm : NULL;
 	int error = 0;
 
+	dev_warn(dev, "irqdomain: restore msi %d irq%d\n", pci_dev->msi_enabled, pci_dev->irq);
 	if (pcibios_pm_ops.restore) {
 		error = pcibios_pm_ops.restore(dev);
 		if (error)
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-09-29  8:50                   ` Jiang Liu
@ 2015-09-29 10:51                     ` Borislav Petkov
  2015-09-30  7:45                       ` Jiang Liu
  0 siblings, 1 reply; 24+ messages in thread
From: Borislav Petkov @ 2015-09-29 10:51 UTC (permalink / raw)
  To: Jiang Liu
  Cc: lkml, Maling list - DRI developers, Bjorn Helgaas, Alex Deucher,
	Thomas Gleixner, Christian König

On Tue, Sep 29, 2015 at 04:50:36PM +0800, Jiang Liu wrote:
> So could you please help to apply the attached debug patch to gather
> more information about the regression?

Sure, just did.

I'm sending you a full s/r cycle attempt caught over serial in a private
message.

Thanks.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-09-29 10:51                     ` Borislav Petkov
@ 2015-09-30  7:45                       ` Jiang Liu
  2015-09-30 12:44                         ` Joerg Roedel
  0 siblings, 1 reply; 24+ messages in thread
From: Jiang Liu @ 2015-09-30  7:45 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: lkml, Maling list - DRI developers, Bjorn Helgaas, Alex Deucher,
	Thomas Gleixner, Christian König

[-- Attachment #1: Type: text/plain, Size: 1282 bytes --]

n 2015/9/29 18:51, Borislav Petkov wrote:
> On Tue, Sep 29, 2015 at 04:50:36PM +0800, Jiang Liu wrote:
>> So could you please help to apply the attached debug patch to gather
>> more information about the regression?
> 
> Sure, just did.
> 
> I'm sending you a full s/r cycle attempt caught over serial in a private
> message.

Hi Boris,
>From the log file, we got to know that the NULL pointer dereference
was caused by AMD IOMMU device. For normal MSI-enabled PCI devices, we get
valid irq numbers such as:
[ 74.661170] ahci 0000:04:00.0: irqdomain: freeze msi 1 irq28
[ 74.661297] radeon 0000:01:00.0: irqdomain: freeze msi 1 irq47
But for AMD IOMMU device, we got an invalid irq number(0) after
enabling MSI as:
[ 74.662488] pci 0000:00:00.2: irqdomain: freeze msi 1 irq0
which then caused NULL pointer deference when __pci_restore_msi_state()
gets called by system resume code.
So we need to figure out why we got irq number 0 after enabling
MSI for AMD IOMMU device. The only hint I got is that iommu driver just
grabbing the PCI device without providing a PCI device driver for IOMMU
PCI device, we have solved a similar case for eata driver. So could you
please help to apply this debug patch to gather more info and send me
/proc/interrupts?
Thanks!
Gerry

O>
> Thanks.
> 

[-- Attachment #2: 0001-Debug-Gather-more-information-about-AMD-iommu-device.patch --]
[-- Type: text/x-patch, Size: 4545 bytes --]

>From 57d3013c1c64d9407e432598c645c8de256e0b42 Mon Sep 17 00:00:00 2001
From: Jiang Liu <jiang.liu@linux.intel.com>
Date: Wed, 30 Sep 2015 14:49:29 +0800
Subject: [PATCH] Debug: Gather more information about AMD iommu device

Hi Boris,
	From the log file, we got to know that the NULL pointer dereference
was caused by AMD IOMMU device. For normal MSI-enabled PCI devices, we get
valid irq numbers such as:
[   74.661170] ahci 0000:04:00.0: irqdomain: freeze msi 1 irq28
[   74.661297] radeon 0000:01:00.0: irqdomain: freeze msi 1 irq47
	But for AMD IOMMU device, we got an invalid irq number(0) after
enabling MSI as:
[   74.662488] pci 0000:00:00.2: irqdomain: freeze msi 1 irq0
which then caused NULL pointer deference when __pci_restore_msi_state()
gets called by system resume code.
	So we need to figure out why we got irq number 0 after enabling
MSI for AMD IOMMU device. The only hint I got is that iommu driver just
grabbing the PCI device without providing a PCI device driver for IOMMU
PCI device, we have solved a similar case for eata driver. So could you
please help to apply this debug patch to gather more info and send me
/proc/interrupts?
Thanks!
Gerry

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
---
 arch/x86/kernel/apic/msi.c     |    6 +++++-
 drivers/iommu/amd_iommu_init.c |    8 ++++++++
 drivers/pci/msi.c              |    4 ++++
 kernel/irq/msi.c               |    1 +
 4 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/arch/x86/kernel/apic/msi.c b/arch/x86/kernel/apic/msi.c
index 5f1feb6854af..050dcf25577c 100644
--- a/arch/x86/kernel/apic/msi.c
+++ b/arch/x86/kernel/apic/msi.c
@@ -71,6 +71,7 @@ int native_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
 {
 	struct irq_domain *domain;
 	struct irq_alloc_info info;
+	int ret;
 
 	init_irq_alloc_info(&info, NULL);
 	info.type = X86_IRQ_ALLOC_TYPE_MSI;
@@ -82,7 +83,10 @@ int native_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
 	if (domain == NULL)
 		return -ENOSYS;
 
-	return pci_msi_domain_alloc_irqs(domain, dev, nvec, type);
+	ret = pci_msi_domain_alloc_irqs(domain, dev, nvec, type);
+	dev_warn(&dev->dev, "irqdomain: domain %p, def_domain %p ret%d\n",
+		 domain, msi_default_domain, ret);
+	return ret;
 }
 
 void native_teardown_msi_irq(unsigned int irq)
diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c
index 5ef347a13cb5..23cd4d861dba 100644
--- a/drivers/iommu/amd_iommu_init.c
+++ b/drivers/iommu/amd_iommu_init.c
@@ -1416,7 +1416,11 @@ static int iommu_setup_msi(struct amd_iommu *iommu)
 {
 	int r;
 
+	dev_warn(&iommu->dev->dev, "irqdomain: before enabling MSI for msi%d, irq%d\n",
+		 iommu->dev->msi_enabled, iommu->dev->irq);
 	r = pci_enable_msi(iommu->dev);
+	dev_warn(&iommu->dev->dev, "irqdomain: after enabling MSI for msi%d, irq%d\n",
+		 iommu->dev->msi_enabled, iommu->dev->irq);
 	if (r)
 		return r;
 
@@ -1428,6 +1432,8 @@ static int iommu_setup_msi(struct amd_iommu *iommu)
 
 	if (r) {
 		pci_disable_msi(iommu->dev);
+		dev_warn(&iommu->dev->dev, "irqdomain: failed to enable MSI for msi%d, irq%d\n",
+			 iommu->dev->msi_enabled, iommu->dev->irq);
 		return r;
 	}
 
@@ -1440,6 +1446,8 @@ static int iommu_init_msi(struct amd_iommu *iommu)
 {
 	int ret;
 
+	dev_warn(&iommu->dev->dev, "irqdomain: init msi for iommu %p int_enabled%d\n",
+		 iommu, iommu->int_enabled);
 	if (iommu->int_enabled)
 		goto enable_faults;
 
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index d4497141d083..0301a18663b0 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -602,6 +602,8 @@ static int msi_capability_init(struct pci_dev *dev, int nvec)
 	int ret;
 	unsigned mask;
 
+	dev_warn(&dev->dev, "irqdomain: enable msi cap msi_enabled%d irq%d\n",
+		 dev->msi_enabled, dev->irq);
 	pci_msi_set_enable(dev, 0);	/* Disable MSI during set up */
 
 	entry = msi_setup_entry(dev, nvec);
@@ -643,6 +645,8 @@ static int msi_capability_init(struct pci_dev *dev, int nvec)
 
 	pcibios_free_irq(dev);
 	dev->irq = entry->irq;
+	dev_warn(&dev->dev, "irqdomain: succeed to enable msi cap msi_enabled%d irq%d\n",
+		 dev->msi_enabled, dev->irq);
 	return 0;
 }
 
diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c
index 7e6512b9dc1f..535cf59bc5a7 100644
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -298,6 +298,7 @@ int msi_domain_alloc_irqs(struct irq_domain *domain, struct device *dev,
 			return ret;
 		}
 
+		dev_warn(dev, "irqdomain: allocated virq%d\n", virq);
 		for (i = 0; i < desc->nvec_used; i++)
 			irq_set_msi_desc_off(virq, i, desc);
 	}
-- 
1.7.10.4


[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-09-30  7:45                       ` Jiang Liu
@ 2015-09-30 12:44                         ` Joerg Roedel
  2015-09-30 17:00                           ` Jiang Liu
  0 siblings, 1 reply; 24+ messages in thread
From: Joerg Roedel @ 2015-09-30 12:44 UTC (permalink / raw)
  To: Jiang Liu
  Cc: Borislav Petkov, Daniel Vetter, Thomas Gleixner, Bjorn Helgaas,
	Alex Deucher, Alex Deucher, Christian König,
	Maling list - DRI developers, lkml

On Wed, Sep 30, 2015 at 03:45:39PM +0800, Jiang Liu wrote:
> So we need to figure out why we got irq number 0 after enabling
> MSI for AMD IOMMU device. The only hint I got is that iommu driver just
> grabbing the PCI device without providing a PCI device driver for IOMMU
> PCI device, we have solved a similar case for eata driver. So could you
> please help to apply this debug patch to gather more info and send me
> /proc/interrupts?

I think I have an idea on how dev->irq got 0 after pci_enable_msi(). The
PCI probe code calls pcibios_alloc_irq() and after a failed probe it calls
pcibios_free_irq(), which sets dev->irq to 0.
The AMD IOMMU driver does not register a pci_driver for itself, it just
doesn't make sense for it. But the PCI device containing the IOMMU gets
probed later, which fails because there is no driver for it. So the
following call to pcibios_free_irq() clears dev->irq, so that it is 0 on
the next resume. Does that make sense?


	Joerg

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-09-30 12:44                         ` Joerg Roedel
@ 2015-09-30 17:00                           ` Jiang Liu
  2015-09-30 17:36                             ` Borislav Petkov
  2015-09-30 18:06                             ` Joerg Roedel
  0 siblings, 2 replies; 24+ messages in thread
From: Jiang Liu @ 2015-09-30 17:00 UTC (permalink / raw)
  To: Joerg Roedel
  Cc: Borislav Petkov, Daniel Vetter, Thomas Gleixner, Bjorn Helgaas,
	Alex Deucher, Alex Deucher, Christian König,
	Maling list - DRI developers, lkml

On 2015/9/30 20:44, Joerg Roedel wrote:
> On Wed, Sep 30, 2015 at 03:45:39PM +0800, Jiang Liu wrote:
>> So we need to figure out why we got irq number 0 after enabling
>> MSI for AMD IOMMU device. The only hint I got is that iommu driver just
>> grabbing the PCI device without providing a PCI device driver for IOMMU
>> PCI device, we have solved a similar case for eata driver. So could you
>> please help to apply this debug patch to gather more info and send me
>> /proc/interrupts?
> 
> I think I have an idea on how dev->irq got 0 after pci_enable_msi(). The
> PCI probe code calls pcibios_alloc_irq() and after a failed probe it calls
> pcibios_free_irq(), which sets dev->irq to 0.
> The AMD IOMMU driver does not register a pci_driver for itself, it just
> doesn't make sense for it. But the PCI device containing the IOMMU gets
> probed later, which fails because there is no driver for it. So the
> following call to pcibios_free_irq() clears dev->irq, so that it is 0 on
> the next resume. Does that make sense?

Thanks Joerg, that makes sense. If some driver tries to binding to the
IOMMU device, it will trigger the scenario as you described. For
example,  Xen backend driver will try to probe all PCI devices
if enabled. I will do more investigation tomorrow.
Thanks!
Gerry

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-09-30 17:00                           ` Jiang Liu
@ 2015-09-30 17:36                             ` Borislav Petkov
  2015-09-30 18:07                               ` Joerg Roedel
  2015-10-03  7:36                               ` Jiang Liu
  2015-09-30 18:06                             ` Joerg Roedel
  1 sibling, 2 replies; 24+ messages in thread
From: Borislav Petkov @ 2015-09-30 17:36 UTC (permalink / raw)
  To: Jiang Liu
  Cc: lkml, Maling list - DRI developers, Bjorn Helgaas, Alex Deucher,
	Thomas Gleixner, Christian König

On Thu, Oct 01, 2015 at 01:00:44AM +0800, Jiang Liu wrote:
> Thanks Joerg, that makes sense. If some driver tries to binding to
> the IOMMU device, it will trigger the scenario as you described. For
> example, Xen backend driver will try to probe all PCI devices if
> enabled. I will do more investigation tomorrow.

Right, so this fixes the issue on my box, courtesy of Joerg. WE
basically don't disable the IRQ on MSI-enabled devices. The AMD IOMMU
uses a barebones PCI device but not a PCI driver, which would be an
overkill.

---
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c
index 09d3afc..29ec2eb 100644
--- a/arch/x86/pci/common.c
+++ b/arch/x86/pci/common.c
@@ -674,12 +674,15 @@ int pcibios_add_device(struct pci_dev *dev)
 
 int pcibios_alloc_irq(struct pci_dev *dev)
 {
+	if (pci_dev_msi_enabled(dev))
+		return 0;
+
 	return pcibios_enable_irq(dev);
 }
 
 void pcibios_free_irq(struct pci_dev *dev)
 {
-	if (pcibios_disable_irq)
+	if (!pci_dev_msi_enabled(dev) && pcibios_disable_irq)
 		pcibios_disable_irq(dev);
 }
--

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-09-30 17:00                           ` Jiang Liu
  2015-09-30 17:36                             ` Borislav Petkov
@ 2015-09-30 18:06                             ` Joerg Roedel
  1 sibling, 0 replies; 24+ messages in thread
From: Joerg Roedel @ 2015-09-30 18:06 UTC (permalink / raw)
  To: Jiang Liu
  Cc: lkml, Maling list - DRI developers, Borislav Petkov,
	Bjorn Helgaas, Alex Deucher, Thomas Gleixner,
	Christian König

On Thu, Oct 01, 2015 at 01:00:44AM +0800, Jiang Liu wrote:
> Thanks Joerg, that makes sense. If some driver tries to binding to the
> IOMMU device, it will trigger the scenario as you described. For
> example,  Xen backend driver will try to probe all PCI devices
> if enabled. I will do more investigation tomorrow.

Not only that, the probe code looks like this in __pci_device_probe:

                error = -ENODEV;

                id = pci_match_device(drv, pci_dev);
                if (id)
                        error = pci_call_probe(drv, pci_dev, id);
                if (error >= 0)
                        error = 0;

The pci_match_device() function will always return NULL for the iommu
pci_dev, because no driver matches the ids of it. So the function
returns -ENODEV, which will be handled in the caller (pci_device_probe):


        error = pcibios_alloc_irq(pci_dev);
        if (error < 0)
                return error;

        pci_dev_get(pci_dev);
        error = __pci_device_probe(drv, pci_dev);
        if (error) {
                pcibios_free_irq(pci_dev);
                pci_dev_put(pci_dev);
        }

For the IOMMU pci_dev a pcibios-irq will be allocated (if there is one,
like on Boris' system) and because __pci_device_probe returns -ENODEV it
will be freed again with pcibios_free_irq().

The pcibios_free_irq() function will set dev->irq = 0, which overwrites
the value that pci_enable_msi() wrote there. So later in suspend/resume
code the msi-handling part tries to fetch the irq-descriptor for the
wrong irq (which is NULL) and causes the crash.

The issue got introduced because with your changes pci_enable_msi() is
only allowed after a pci-device was successfully probed by the driver.
But this assumption is not true, as the AMD IOMMU driver does not
register as a pci-driver.

Registering a pci-driver would actually be harmful, because a device can
be forcibly unbound from its driver, which would be pretty bad for an
IOMMU in the running system.

So the right fix is to allow pci_enable_msi() for pci-devices not
registered against a driver. The fix I sent Boris has issues (I think it
leaks pcibios irqs when MSI is in use), but was thinking about fixing it
in pci_device_probe by not allocating a pcibios-irq when MSI is already
active. What do you think?

Regards,

	Joerg
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-09-30 17:36                             ` Borislav Petkov
@ 2015-09-30 18:07                               ` Joerg Roedel
  2015-10-03  7:36                               ` Jiang Liu
  1 sibling, 0 replies; 24+ messages in thread
From: Joerg Roedel @ 2015-09-30 18:07 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: lkml, Maling list - DRI developers, Christian König,
	Bjorn Helgaas, Alex Deucher, Thomas Gleixner, Jiang Liu

On Wed, Sep 30, 2015 at 07:36:19PM +0200, Borislav Petkov wrote:
> Right, so this fixes the issue on my box, courtesy of Joerg. WE
> basically don't disable the IRQ on MSI-enabled devices. The AMD IOMMU
> uses a barebones PCI device but not a PCI driver, which would be an
> overkill.

Well, not only overkill, but actually harmful. As I just wrote to
Jiang, a device can be forcibly unbound from its driver, which is
something we don't want for the IOMMU.


	Joerg

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-09-30 17:36                             ` Borislav Petkov
  2015-09-30 18:07                               ` Joerg Roedel
@ 2015-10-03  7:36                               ` Jiang Liu
  2015-10-03  9:35                                 ` Borislav Petkov
  2015-10-05 10:03                                 ` Joerg Roedel
  1 sibling, 2 replies; 24+ messages in thread
From: Jiang Liu @ 2015-10-03  7:36 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: lkml, Maling list - DRI developers, Bjorn Helgaas, Alex Deucher,
	Thomas Gleixner, Christian König



On 2015/10/1 1:36, Borislav Petkov wrote:
> On Thu, Oct 01, 2015 at 01:00:44AM +0800, Jiang Liu wrote:
>> Thanks Joerg, that makes sense. If some driver tries to binding to
>> the IOMMU device, it will trigger the scenario as you described. For
>> example, Xen backend driver will try to probe all PCI devices if
>> enabled. I will do more investigation tomorrow.
> 
> Right, so this fixes the issue on my box, courtesy of Joerg. WE
> basically don't disable the IRQ on MSI-enabled devices. The AMD IOMMU
> uses a barebones PCI device but not a PCI driver, which would be an
> overkill.
> 
> ---
> diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c
> index 09d3afc..29ec2eb 100644
> --- a/arch/x86/pci/common.c
> +++ b/arch/x86/pci/common.c
> @@ -674,12 +674,15 @@ int pcibios_add_device(struct pci_dev *dev)
>  
>  int pcibios_alloc_irq(struct pci_dev *dev)
>  {
> +	if (pci_dev_msi_enabled(dev))
> +		return 0;
We may return -EBUSY here to reject the probe operation. It
doesn't make sense to continue the probe if MSI is already enabled,
tt also helps to avoid calling pcibios_free_irq() in function
pci_device_probe().

> +
>  	return pcibios_enable_irq(dev);
>  }
>  
>  void pcibios_free_irq(struct pci_dev *dev)
>  {
> -	if (pcibios_disable_irq)
> +	if (!pci_dev_msi_enabled(dev) && pcibios_disable_irq)
The above change is not needed, pcibios_disable_irq() will
first check !pci_has_managed_irq(dev) before actually freeing
PCI irq. pci_has_managed_irq(dev) only returns true if
pcibios_alloc_irq() succeeds.

So to summary, I think we only need following change to fix the
regression:
 int pcibios_alloc_irq(struct pci_dev *dev)
 {
+	if (pci_dev_msi_enabled(dev))
+		return -EBUSY;

What do you think?
Thanks!
Gerry

>  		pcibios_disable_irq(dev);
>  }
> --
> 
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-10-03  7:36                               ` Jiang Liu
@ 2015-10-03  9:35                                 ` Borislav Petkov
  2015-10-05 10:03                                 ` Joerg Roedel
  1 sibling, 0 replies; 24+ messages in thread
From: Borislav Petkov @ 2015-10-03  9:35 UTC (permalink / raw)
  To: Jiang Liu
  Cc: lkml, Maling list - DRI developers, Bjorn Helgaas, Alex Deucher,
	Thomas Gleixner, Christian König

On Sat, Oct 03, 2015 at 03:36:35PM +0800, Jiang Liu wrote:
> The above change is not needed, pcibios_disable_irq() will
> first check !pci_has_managed_irq(dev) before actually freeing
> PCI irq. pci_has_managed_irq(dev) only returns true if
> pcibios_alloc_irq() succeeds.
> 
> So to summary, I think we only need following change to fix the
> regression:
>  int pcibios_alloc_irq(struct pci_dev *dev)
>  {
> +	if (pci_dev_msi_enabled(dev))
> +		return -EBUSY;
> 
> What do you think?

Yap, that works too. I've got only this ontop of 4.3+tip:

---
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c
index dc78a4a9a466..a4687aa6c1fb 100644
--- a/arch/x86/pci/common.c
+++ b/arch/x86/pci/common.c
@@ -675,6 +675,9 @@ int pcibios_add_device(struct pci_dev *dev)
 
 int pcibios_alloc_irq(struct pci_dev *dev)
 {
+	if (pci_dev_msi_enabled(dev))
+		return -EBUSY;
+
 	return pcibios_enable_irq(dev);
 }
 
---

and it suspend+resumed fine.

I guess it is time for Joerg to write a proper patch. :-)

Thanks.

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-10-03  7:36                               ` Jiang Liu
  2015-10-03  9:35                                 ` Borislav Petkov
@ 2015-10-05 10:03                                 ` Joerg Roedel
  2015-10-06 13:13                                   ` Jiang Liu
  1 sibling, 1 reply; 24+ messages in thread
From: Joerg Roedel @ 2015-10-05 10:03 UTC (permalink / raw)
  To: Jiang Liu
  Cc: lkml, Maling list - DRI developers, Borislav Petkov,
	Bjorn Helgaas, Alex Deucher, Thomas Gleixner,
	Christian König

Hi Jiang,

On Sat, Oct 03, 2015 at 03:36:35PM +0800, Jiang Liu wrote:
> So to summary, I think we only need following change to fix the
> regression:
>  int pcibios_alloc_irq(struct pci_dev *dev)
>  {
> +	if (pci_dev_msi_enabled(dev))
> +		return -EBUSY;
> 
> What do you think?

Yes, that works too and has the added benefit that no driver can attach
to the iommu device and get in the way of the driver.

Will you send the patch for this change or should I do it?



	Joerg

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-10-05 10:03                                 ` Joerg Roedel
@ 2015-10-06 13:13                                   ` Jiang Liu
  2015-10-09 10:24                                     ` Joerg Roedel
  0 siblings, 1 reply; 24+ messages in thread
From: Jiang Liu @ 2015-10-06 13:13 UTC (permalink / raw)
  To: Joerg Roedel
  Cc: Borislav Petkov, Daniel Vetter, Thomas Gleixner, Bjorn Helgaas,
	Alex Deucher, Alex Deucher, Christian König,
	Maling list - DRI developers, lkml

On 2015/10/5 18:03, Joerg Roedel wrote:
> Hi Jiang,
> 
> On Sat, Oct 03, 2015 at 03:36:35PM +0800, Jiang Liu wrote:
>> So to summary, I think we only need following change to fix the
>> regression:
>>  int pcibios_alloc_irq(struct pci_dev *dev)
>>  {
>> +	if (pci_dev_msi_enabled(dev))
>> +		return -EBUSY;
>>
>> What do you think?
> 
> Yes, that works too and has the added benefit that no driver can attach
> to the iommu device and get in the way of the driver.
> 
> Will you send the patch for this change or should I do it?
Hi Joerg,
	We are on leave for Chinese National Holiday and has limited
access to my working environment. It would be appreciated if you could
help to send out a patch for it. Otherwise I will send out a patch
within 2-3 days.
Thanks!
Gerry

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized
  2015-10-06 13:13                                   ` Jiang Liu
@ 2015-10-09 10:24                                     ` Joerg Roedel
  0 siblings, 0 replies; 24+ messages in thread
From: Joerg Roedel @ 2015-10-09 10:24 UTC (permalink / raw)
  To: Jiang Liu
  Cc: lkml, Maling list - DRI developers, Borislav Petkov,
	Bjorn Helgaas, Alex Deucher, Thomas Gleixner,
	Christian König

On Tue, Oct 06, 2015 at 09:13:11PM +0800, Jiang Liu wrote:
> 	We are on leave for Chinese National Holiday and has limited
> access to my working environment. It would be appreciated if you could
> help to send out a patch for it. Otherwise I will send out a patch
> within 2-3 days.

Okay, I just sent the patch.


	Joerg

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2015-10-09 10:24 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-21 13:31 WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() Borislav Petkov
2015-09-22 19:06 ` Borislav Petkov
2015-09-22 19:58 ` Alex Deucher
2015-09-22 20:21   ` Borislav Petkov
2015-09-22 20:54     ` Alex Deucher
2015-09-23  7:25       ` Daniel Vetter
2015-09-23  8:59         ` Borislav Petkov
2015-09-23 14:44           ` Daniel Vetter
2015-09-23 16:06             ` Borislav Petkov
2015-09-23 16:18               ` Borislav Petkov
2015-09-26 16:46                 ` WARNING: CPU: 4 PID: 863 at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x88/0x90() - evildoer found and neutralized Borislav Petkov
2015-09-29  8:50                   ` Jiang Liu
2015-09-29 10:51                     ` Borislav Petkov
2015-09-30  7:45                       ` Jiang Liu
2015-09-30 12:44                         ` Joerg Roedel
2015-09-30 17:00                           ` Jiang Liu
2015-09-30 17:36                             ` Borislav Petkov
2015-09-30 18:07                               ` Joerg Roedel
2015-10-03  7:36                               ` Jiang Liu
2015-10-03  9:35                                 ` Borislav Petkov
2015-10-05 10:03                                 ` Joerg Roedel
2015-10-06 13:13                                   ` Jiang Liu
2015-10-09 10:24                                     ` Joerg Roedel
2015-09-30 18:06                             ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).