From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5A154C46467 for ; Tue, 10 Jan 2023 12:28:55 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E8D12B16E; Tue, 10 Jan 2023 13:28:02 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E8D12B16E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1673353733; bh=zwxBsdOxXbT/o7p0/efrqT/Nkwrd77eV/+pSV4XqXNc=; h=From:To:Subject:In-Reply-To:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=rJZBUI0v9CYy6w/cglf1qpYirIpnXlv4pTu2NKR5oEKMUUZANJDoyZpEnF7MyHF8v gV+YwB6Sq2v3sZ8UzteGklp8Y2XIrNLK1a0XDOHFdYex/dbvoC5iQqr9Cwx/2uHI47 FF7kO1/yguVWtOtDWA7MQ54wSh5f69oGqNymiRxc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 9FD33F8026A; Tue, 10 Jan 2023 13:28:02 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 06E3CF804BD; Tue, 10 Jan 2023 13:28:01 +0100 (CET) Received: from mail.mutex.one (mail.mutex.one [62.77.152.124]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 397F3F8019B for ; Tue, 10 Jan 2023 13:27:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 397F3F8019B Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=mutex.one header.i=@mutex.one header.a=rsa-sha256 header.s=default header.b=GXfR+1I7 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.mutex.one (Postfix) with ESMTP id 4495C16C0004; Tue, 10 Jan 2023 14:27:58 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at mail.mutex.one Received: from mail.mutex.one ([127.0.0.1]) by localhost (mail.mutex.one [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lj3SrLoA6jRB; Tue, 10 Jan 2023 14:27:57 +0200 (EET) From: Marian Postevca DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mutex.one; s=default; t=1673353677; bh=zwxBsdOxXbT/o7p0/efrqT/Nkwrd77eV/+pSV4XqXNc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=GXfR+1I7gu3qzNDklinm7snHOlgQA4uHRyNRiZsLPalOWYpcS83pNHtyV464bxRHB PkFCcfqxFLEcHJsjpEK7nmqKqfMUh/EoBwCv5SYwdu5Fvz+8HeLnz9RaQSUBMyvSt3 EPaPycjIEJj00BgUXiQcOUwaK+5W3COTEDrU3gP8= To: "Limonciello, Mario" , "Reddy, V sujith kumar" , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [RFC] Sound support for Huawei line of AMD laptops using ACP and ES8336 codec In-Reply-To: <8349cf5f-1e26-f605-4404-978dbef9cee3@amd.com> References: <871qo7fqjp.fsf@mutex.one> <598ca0a8-8aef-a030-7060-f76ba4700bbf@amd.com> <8349cf5f-1e26-f605-4404-978dbef9cee3@amd.com> Date: Tue, 10 Jan 2023 14:27:54 +0200 Message-ID: <871qo2bmlx.fsf@mutex.one> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Takashi Iwai , Liam Girdwood , Mark Brown , syed sabakareem , Vijendar Mukunda Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Hello V sujith kumar, Mario, Thanks for the replies to my email. "Limonciello, Mario" writes: > On 1/7/2023 00:58, Reddy, V sujith kumar wrote: >>=20 >> Could you please send=C2=A0 the error, we will check and let you know wh= at is=20 >> missing. > > Just a guess here without seeing the error. Is this perhaps because the= =20 > SOF F/W binary that was loaded was not signed with signature trusted by=20 > the platform and the platform required validation? > > SOF on AMD was first introduced for Chromebooks which don't use the same= =20 > authority for firmware binary verification that general purpose UEFI=20 > notebooks would use. So I compiled the latest sof firmware from main branch commit 90c14e56cb, and now it seems I get additional errors that I didn't get a few months ago when I last tried: [ 38.251393] snd_sof_amd_renoir 0000:03:00.5: enabling device (0000 -> 00= 02) [ 38.252944] snd_sof_amd_renoir 0000:03:00.5: unknown sof_ext_man header = type 3 size 0x30 [ 38.252955] snd_sof_amd_renoir 0000:03:00.5: Firmware info: version 2:0:= 0-90c14 [ 38.252957] snd_sof_amd_renoir 0000:03:00.5: Firmware: ABI 3:26:0 Kernel= ABI 3:23:0 [ 41.345068] snd_sof_amd_renoir 0000:03:00.5: ------------[ DSP dump star= t ]------------ [ 41.345080] snd_sof_amd_renoir 0000:03:00.5: Firmware boot failure due t= o timeout [ 41.345085] snd_sof_amd_renoir 0000:03:00.5: fw_state: SOF_FW_BOOT_IN_PR= OGRESS (2) [ 41.345137] snd_sof_amd_renoir 0000:03:00.5: invalid header size 0x7f841= 000. FW oops is bogus [ 41.345142] snd_sof_amd_renoir 0000:03:00.5: unexpected fault 0x7f840000= trace 0x7f840000 [ 41.345146] snd_sof_amd_renoir 0000:03:00.5: ------------[ DSP dump end = ]------------ [ 41.345150] snd_sof_amd_renoir 0000:03:00.5: error: failed to boot DSP f= irmware -5 [ 41.345266] snd_sof_amd_renoir 0000:03:00.5: error: sof_probe_work faile= d err: -5 The kernel I'm running on is based on the asoc tree from Mark Brown: git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git commit f8778e910cab179f5835386a0a70847921a8fbec (sound/for-next) Merge: cdfa92eb90f5 b11845893678 Author: Mark Brown Date: Fri Jan 6 17:04:36 2023 +0000 Merge remote-tracking branch 'asoc/for-6.3' into asoc-next Let me know what other information you need in order to debug this.