<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Ugly bug present in kernels 4.14, 4.15, 4.16, 4.17"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106879">106879</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Ugly bug present in kernels 4.14, 4.15, 4.16, 4.17
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>javier.castillo.alcibar@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi,

I'm running Manjaro Linux over the following HW:

$ inxi -Fx
System:    Host: hpzbook Kernel: 4.9.94-1-MANJARO x86_64 bits: 64 compiler: gcc
v: 7.3.1 
           Desktop: KDE Plasma 5.12.4 (Qt 5.10.1) Distro: Manjaro Linux 17.1.8
Hakoila 
Machine:   Type: Laptop System: HP product: HP ZBook 14u G5 v: N/A serial: N/A 
           Mobo: HP model: 83B2 v: KBC Version 04.45.00 serial: N/A UEFI: HP v:
Q78 Ver. 01.00.05 
           date: 01/25/2018 
Battery:   ID-1: BAT0 charge: 49.8 Wh condition: 49.8/49.8 Wh (100%) model:
Hewlett-Packard Primary 
           status: Full 
CPU:       Topology: Quad Core model: Intel Core i7-8550U type: MT MCP arch:
Kaby Lake rev: 10 
           L2 cache: 8192 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips:
31880 
           Speed: 784 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 784 2:
787 3: 797 4: 795 5: 800 6: 800 
           7: 799 8: 799 
Graphics:  Card-1: Intel UHD Graphics 620 driver: i915 v: kernel bus ID:
00:02.0 
           Card-2: Advanced Micro Devices [AMD/ATI] Lexa XT [Radeon PRO WX
3100] driver: N/A bus ID: 01:00.0 
           Display Server: x11 (X.Org 1.19.6) driver: modesetting unloaded:
fbdev,intel,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v:
4.5 Mesa 18.0.0 
           direct render: Yes 


With this HW, everytime I close the laptop lid, the system enters into
suspension mode, and an AMDBUG pops up:

jun 11 07:21:47 hpzbook kernel: IP:
smu7_populate_single_firmware_entry.isra.4+0x55/0xd0 [amdgpu]
jun 11 07:21:47 hpzbook kernel: PGD 82ed15067 P4D 82ed15067 PUD 0 
jun 11 07:21:47 hpzbook kernel: Oops: 0002 [#1] PREEMPT SMP PTI
jun 11 07:21:47 hpzbook kernel: Modules linked in: nf_conntrack_netbios_ns
nf_conntrack_broadcast xt_CT ccm fuse rfcomm xt_CHECKSUM ipt_MASQUERADE
nf_nat_masquerade_ipv4 tun xt_tcpudp ip6t_rpfilter ip6t_REJECT nf_reject_ipv6
ipt_REJECT nf_reject_ipv4 xt_conntrack ip_set nfnetlink ebtable_nat
ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6
nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security devlink iptable_nat
nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c
iptable_mangle iptable_raw iptable_security snd_hda_codec_hdmi bnep
snd_hda_codec_conexant snd_hda_codec_generic uvcvideo btusb btrtl
videobuf2_vmalloc btbcm videobuf2_memops btintel videobuf2_v4l2 bluetooth
videobuf2_core videodev ebtable_filter ebtables media ecdh_generic
ip6table_filter ip6_tables iptable_filter
jun 11 07:21:47 hpzbook kernel:  joydev mousedev hp_wmi sparse_keymap wmi_bmof
snd_soc_skl arc4 snd_soc_skl_ipc iTCO_wdt iTCO_vendor_support mei_wdt
snd_soc_sst_ipc hid_multitouch snd_soc_sst_dsp snd_hda_ext_core
snd_soc_sst_match snd_soc_core snd_compress snd_pcm_dmaengine ac97_bus tpm_crb
amdkfd amd_iommu_v2 intel_rapl nls_iso8859_1 x86_pkg_temp_thermal iwlmvm
intel_powerclamp coretemp nls_cp437 mac80211 amdgpu kvm_intel vfat fat i915 kvm
iwlwifi irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc
snd_hda_intel snd_hda_codec cfg80211 aesni_intel aes_x86_64 crypto_simd
glue_helper cryptd snd_hda_core intel_cstate ttm intel_rapl_perf snd_hwdep
i2c_algo_bit snd_pcm e1000e pcspkr drm_kms_helper rfkill psmouse snd_timer
evdev input_leds led_class mac_hid snd ptp soundcore pps_core i2c_i801 drm
mei_me shpchp
jun 11 07:21:47 hpzbook kernel:  mei idma64 intel_gtt agpgart intel_lpss_pci
ucsi_acpi intel_lpss typec_ucsi syscopyarea processor_thermal_device
sysfillrect intel_pch_thermal sysimgblt int3400_thermal int3403_thermal
fb_sys_fops intel_soc_dts_iosf typec i2c_hid wmi battery thermal
int340x_thermal_zone acpi_thermal_rel tpm_tis tpm_tis_core video tpm button ac
pinctrl_sunrisepoint pinctrl_intel acpi_pad hp_wireless sch_fq_codel uinput
pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) crypto_user
ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto hid_generic
usbhid hid serio_raw atkbd libps2 xhci_pci crc32c_intel xhci_hcd nvme nvme_core
usbcore usb_common i8042 serio
jun 11 07:21:47 hpzbook kernel: CPU: 1 PID: 168 Comm: kworker/1:2 Tainted: G   
       O    4.14.48-2-MANJARO #1
jun 11 07:21:47 hpzbook kernel: Hardware name: HP HP ZBook 14u G5/83B2, BIOS
Q78 Ver. 01.00.05 01/25/2018
jun 11 07:21:47 hpzbook kernel: Workqueue: pm pm_runtime_work
jun 11 07:21:47 hpzbook kernel: task: ffff94baa93ce900 task.stack:
ffffbb8b43970000
jun 11 07:21:47 hpzbook kernel: RIP:
0010:smu7_populate_single_firmware_entry.isra.4+0x55/0xd0 [amdgpu]
jun 11 07:21:47 hpzbook kernel: RSP: 0018:ffffbb8b439738e8 EFLAGS: 00010246
jun 11 07:21:47 hpzbook kernel: RAX: 0000000000000081 RBX: ffffbba7438d0fec
RCX: 0000000000000000
jun 11 07:21:47 hpzbook kernel: RDX: ffffffffc1350baf RSI: 0000000000000004
RDI: ffff94baa95ce300
jun 11 07:21:47 hpzbook kernel: RBP: 0000000000000003 R08: 000000000003fa80
R09: ffffbb8b43973c8c
jun 11 07:21:47 hpzbook kernel: R10: 0000000000000000 R11: 0000000000000000
R12: ffff94ba9c04a108
jun 11 07:21:47 hpzbook kernel: R13: ffff94ba9dbc1000 R14: 000000000000047e
R15: ffffffffb64a8e20
jun 11 07:21:47 hpzbook kernel: FS:  0000000000000000(0000)
GS:ffff94bacf440000(0000) knlGS:0000000000000000
jun 11 07:21:47 hpzbook kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
0000000080050033
jun 11 07:21:47 hpzbook kernel: CR2: ffffbba7438d0fec CR3: 000000032d00a005
CR4: 00000000003606e0
jun 11 07:21:47 hpzbook kernel: Call Trace:
jun 11 07:21:47 hpzbook kernel:  smu7_request_smu_load_fw+0x8e/0x2e0 [amdgpu]
jun 11 07:21:47 hpzbook kernel:  pp_resume+0xa6/0x120 [amdgpu]
jun 11 07:21:47 hpzbook kernel:  amdgpu_resume_phase2+0x51/0xb0 [amdgpu]
jun 11 07:21:47 hpzbook kernel:  amdgpu_device_resume+0xcf/0x3b0 [amdgpu]
jun 11 07:21:47 hpzbook kernel:  ? __pci_set_master+0x31/0xd0
jun 11 07:21:47 hpzbook kernel:  ? vga_switcheroo_set_dynamic_switch+0x80/0x80
jun 11 07:21:47 hpzbook kernel:  amdgpu_pmops_runtime_resume+0x6b/0xb0 [amdgpu]
jun 11 07:21:47 hpzbook kernel:  pci_pm_runtime_resume+0x78/0xb0
jun 11 07:21:47 hpzbook kernel:  __rpm_callback+0x75/0x1f0
jun 11 07:21:47 hpzbook kernel:  ? vga_switcheroo_set_dynamic_switch+0x80/0x80
jun 11 07:21:47 hpzbook kernel:  rpm_callback+0x1f/0x70
jun 11 07:21:47 hpzbook kernel:  ? vga_switcheroo_set_dynamic_switch+0x80/0x80
jun 11 07:21:47 hpzbook kernel:  rpm_resume+0x5b5/0x800
jun 11 07:21:47 hpzbook kernel:  pm_runtime_work+0x50/0xa0
jun 11 07:21:47 hpzbook kernel:  process_one_work+0x1e0/0x3e0
jun 11 07:21:47 hpzbook kernel:  worker_thread+0x2b/0x3d0
jun 11 07:21:47 hpzbook kernel:  ? rescuer_thread+0x340/0x340
jun 11 07:21:47 hpzbook kernel:  kthread+0x119/0x130
jun 11 07:21:47 hpzbook kernel:  ? kthread_create_on_node+0x60/0x60
jun 11 07:21:47 hpzbook kernel:  ret_from_fork+0x35/0x40
jun 11 07:21:47 hpzbook kernel: Code: 48 89 e7 48 89 e2 f3 48 ab 49 8b 3c 24 89
f0 0f b6 b0 00 f3 3e c1 48 8b 07 48 8b 40 70 e8 c4 06 6a f5 85 c0 75 4d 0f b7
44 24 02 <66> 89 2b 48 c7 43 0c 00 00 00 00 66 89 43 02 48 8b 44 24 10 48 
jun 11 07:21:47 hpzbook kernel: RIP:
smu7_populate_single_firmware_entry.isra.4+0x55/0xd0 [amdgpu] RSP:
ffffbb8b439738e8
jun 11 07:21:47 hpzbook kernel: CR2: ffffbba7438d0fec
jun 11 07:21:47 hpzbook kernel: ---[ end trace 92d1fd6c75e41166 ]---


This bug is NOT PRESENT in kernel 4.9.x, but with manjaro/arch stable kernels
4.14, 4.15, 4.16 and 4.17 the BUG is there always closing the lid.

Hope this helps :)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>