[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <195e5df0-d044-4d7a-afa1-4361c760c1f3@amd.com>
Date: Mon, 7 Apr 2025 08:20:47 -0500
From: Mario Limonciello <mario.limonciello@....com>
To: "S-k, Shyam-sundar" <Shyam-sundar.S-k@....com>,
Christian Heusel <christian@...sel.eu>, Patil Rajesh <Patil.Reddy@....com>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
Cc: Hans de Goede <hdegoede@...hat.com>, "linux@...me.work"
<linux@...me.work>,
"platform-driver-x86@...r.kernel.org" <platform-driver-x86@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"regressions@...ts.linux.dev" <regressions@...ts.linux.dev>
Subject: Re: [REGRESSION][BISECTED] Firmware load error for TEE on Framework
Desktop
On 4/7/2025 1:36 AM, S-k, Shyam-sundar wrote:
> [Public]
>
> Hi,
>
> The file "f29bb3d9-bd66-5441-afb88acc2b2b60d6.bin" is missing from the "/lib/firmware/amdtee" folder, which is causing the issue. This is because there have been some last-minute modifications to the TA firmware, and as a result, the firmware has not yet been updated. I will inform you once the updated TA firmware is available, so you can provide your feedback at that time.
>
> Thanks,
> Shyam
>
FWIW - this below error is noisy but should be totally harmless on the
Framework desktop as well. AFAIK - BIOS on FW desktop doesn't contain
any PMF policies in the first place.
> -----Original Message-----
> From: Christian Heusel <christian@...sel.eu>
> Sent: Saturday, April 5, 2025 00:50
> To: S-k, Shyam-sundar <Shyam-sundar.S-k@....com>; Limonciello, Mario <Mario.Limonciello@....com>; Patil Rajesh <Patil.Reddy@....com>; Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
> Cc: Hans de Goede <hdegoede@...hat.com>; linux@...me.work; platform-driver-x86@...r.kernel.org; linux-kernel@...r.kernel.org; regressions@...ts.linux.dev
> Subject: [REGRESSION][BISECTED] Firmware load error for TEE on Framework Desktop
>
> Hello everyone,
>
> I have recently noticed an issue on the Framework Desktop where the following error pops up in dmesg after upgrading to any version beyond
> v6.14:
>
> [ 12.136102] tee tee0: Direct firmware load for /amdtee/f29bb3d9-bd66-5441-afb88acc2b2b60d6.bin failed with error -2
> [ 12.141252] input: HD-Audio Generic HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:08.1/0000:c1:00.1/sound/card0/input8
> [ 12.141601] failed to load firmware /amdtee/f29bb3d9-bd66-5441-afb88acc2b2b60d6.bin
> [ 12.141843] input: HD-Audio Generic HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:08.1/0000:c1:00.1/sound/card0/input9
> [ 12.142005] failed to copy TA binary
> [ 12.185200] Failed to open TEE session err:0x0, rc:-12
> [ 12.185202] amd-pmf AMDI0105:00: Failed to open TA session (-12)
>
> I have subsequently bisected the issue within the mainline kernel tree to the following commit:
>
> 376a8c2a1443 ("platform/x86/amd/pmf: Update PMF Driver for Compatibility with new PMF-TA")
>
> The error is still present in the latest mainline release 6.14 and sadly testing a revert is not trivially possible due to conflicts.
>
> I also noticed that there is a commit with a fixes tag for the one we have bisected to, but it's included in the same release and therefore does not seem to fix the issue at hand:
>
> 5b1122fc4995 ("platform/x86/amd/pmf: fix cleanup in amd_pmf_init_smart_pc()")
>
> I have attached a dmesg output from a good boot and one from the 6.14 where the failure occurs. I'm happy to test any debug patches or provide more information if needed.
>
> Greeting,
> Chris
>
> ---
>
> #regzbot introduced: 376a8c2a1443
> #regzbot title: x86/amd/pmf: Error on firmware load for TEE
Powered by blists - more mailing lists