From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 Date: Mon, 16 Jul 2018 17:07:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1569711254==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F1686E532 for ; Mon, 16 Jul 2018 17:07:03 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1569711254== Content-Type: multipart/alternative; boundary="15317608232.e8aE.25753" Content-Transfer-Encoding: 7bit --15317608232.e8aE.25753 Date: Mon, 16 Jul 2018 17:07:03 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105760 --- Comment #48 from Alex Deucher --- (In reply to Thomas Martitz from comment #47) > So pci_raw_set_power_state() does a pci_read_config_word() and that retur= ns > a valid word. Yet, the device appears to be not in powerd up state later = on. > How's that possible, and why does it work on Windows? >=20 > Can I inspect Windows behavior in some way to get insight? >=20 > Since Windows works I'm sure there must be a SW fix (or at least a > workaround) available. Perhaps just wait for a bit? In HG laptops, the d3cold control is handled by the OS rather than the driv= er (e.g., the driver doesn't call into APCI to handle d3cold, the pci core doe= s).=20 The driver just has to support the necessary callbacks to the OS to enter/l= eave this state when idle. Each OS interacts slightly differently with ACPI so = if the OEM never validated Linux it's likely there is some slight differences = in the sequencing that is causing a problem. You might try playing with the A= CPI interfaces directly on Linux. There are user mode tools to interact with A= CPI. Blacklist the amdgpu driver and try calling the _PR3 method for the device= to power it down/up and then see if the device comes back properly. --=20 You are receiving this mail because: You are the assignee for the bug.= --15317608232.e8aE.25753 Date: Mon, 16 Jul 2018 17:07:03 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 48 on bug 10576= 0 from Alex Deucher
(In reply to Thomas Martitz from comment #47)
> So pci_raw_set_power_state() does a pci_read_con=
fig_word() and that returns
> a valid word. Yet, the device appears to be not in powerd up state lat=
er on.
> How's that possible, and why does it work on Windows?
>=20
> Can I inspect Windows behavior in some way to get insight?
>=20
> Since Windows works I'm sure there must be a SW fix (or at least a
> workaround) available. Perhaps just wait for a bit?

In HG laptops, the d3cold control is handled by the OS rather than the driv=
er
(e.g., the driver doesn't call into APCI to handle d3cold, the pci core doe=
s).=20
The driver just has to support the necessary callbacks to the OS to enter/l=
eave
this state when idle.  Each OS interacts slightly differently with ACPI so =
if
the OEM never validated Linux it's likely there is some slight differences =
in
the sequencing that is causing a problem.  You might try playing with the A=
CPI
interfaces directly on Linux.  There are user mode tools to interact with A=
CPI.
 Blacklist the amdgpu driver and try calling the _PR3 method for the device=
 to
power it down/up and then see if the device comes back properly.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15317608232.e8aE.25753-- --===============1569711254== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1569711254==--