[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MN2PR12MB44884E97C8F01FA474C74F72F7DF0@MN2PR12MB4488.namprd12.prod.outlook.com>
Date: Tue, 22 Dec 2020 16:44:56 +0000
From: "Deucher, Alexander" <Alexander.Deucher@....com>
To: Alexander Monakov <amonakov@...ras.ru>
CC: "platform-driver-x86@...r.kernel.org"
<platform-driver-x86@...r.kernel.org>,
"S-k, Shyam-sundar" <Shyam-sundar.S-k@....com>,
Hans de Goede <hdegoede@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: amd-pmc s2idle driver issues
[AMD Public Use]
> -----Original Message-----
> From: Alexander Monakov <amonakov@...ras.ru>
> Sent: Tuesday, December 22, 2020 10:57 AM
> To: Deucher, Alexander <Alexander.Deucher@....com>
> Cc: platform-driver-x86@...r.kernel.org; S-k, Shyam-sundar <Shyam-
> sundar.S-k@....com>; Hans de Goede <hdegoede@...hat.com>; linux-
> kernel@...r.kernel.org
> Subject: RE: amd-pmc s2idle driver issues
>
> On Tue, 22 Dec 2020, Deucher, Alexander wrote:
>
> > > Yes. Out-of-the-box it's a "modern standby" laptop. There's a "hidden"
> > > bios menu with extra settings that apparently allows to select legacy S3.
> > > I did not change it, so I'm testing the "modern" mode.
> > >
> > > Note that this driver fetches SMU version from MMIO, which looks odd
> > > to
> > > me:
> > > elsewhere (i.e. in the amdgpu driver) SMU version is retrieved by
> > > issuing the corresponding SMU command, as far as I can tell.
> >
> > There are multiple interfaces to the SMU. It's shared by the entire
> > SoC on APUs.
>
> Just pointing that out because evidently this interface does not work on this
> laptop, producing all-ones instead of something resembling a version
> number.
>
> Which APU generations does this driver support? If it does not support
> Renoir
> (yet?) it should be documented in the Kconfig text. Is Renoir support related
> to missing AMD0005 ACPI id binding, and borked version number info?
The current code supports both Raven/Picasso and Renoir parts. At least some Renoir parts are supported as that is what we are mainly testing now. I'm not sure why some boards have AMDI0005 vs AMD0005. We'll have to check with the sbios or windows teams.
Alex
Powered by blists - more mailing lists