mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mario Limonciello <mario.limonciello@amd.com>
To: "S-k, Shyam-sundar" <Shyam-sundar.S-k@amd.com>,
	"Christian Heusel" <christian@heusel.eu>,
	"Patil Rajesh" <Patil.Reddy@amd.com>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>,
	"linux@frame.work" <linux@frame.work>,
	"platform-driver-x86@vger.kernel.org"
	<platform-driver-x86@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"regressions@lists.linux.dev" <regressions@lists.linux.dev>
Subject: Re: [REGRESSION][BISECTED] Firmware load error for TEE on Framework Desktop
Date: Mon, 7 Apr 2025 08:20:47 -0500	[thread overview]
Message-ID: <195e5df0-d044-4d7a-afa1-4361c760c1f3@amd.com> (raw)
In-Reply-To: <BL1PR12MB5176333ACE3287786831B0749AAA2@BL1PR12MB5176.namprd12.prod.outlook.com>

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@heusel.eu>
> Sent: Saturday, April 5, 2025 00:50
> To: S-k, Shyam-sundar <Shyam-sundar.S-k@amd.com>; Limonciello, Mario <Mario.Limonciello@amd.com>; Patil Rajesh <Patil.Reddy@amd.com>; Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
> Cc: Hans de Goede <hdegoede@redhat.com>; linux@frame.work; platform-driver-x86@vger.kernel.org; linux-kernel@vger.kernel.org; regressions@lists.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


  reply	other threads:[~2025-04-07 13:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-04 19:20 Christian Heusel
2025-04-07  6:36 ` S-k, Shyam-sundar
2025-04-07 13:20   ` Mario Limonciello [this message]
2025-04-07 13:43     ` Christian Heusel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=195e5df0-d044-4d7a-afa1-4361c760c1f3@amd.com \
    --to=mario.limonciello@amd.com \
    --cc=Patil.Reddy@amd.com \
    --cc=Shyam-sundar.S-k@amd.com \
    --cc=christian@heusel.eu \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@frame.work \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=regressions@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®