Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1825478lqe; Tue, 9 Apr 2024 01:05:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU69i51dGYs9Rdrk94B5Nf/oLUjEpSRnOvRV8lkjgEPw68LbVfIl10oZfzca68gi51WejCayxhOkKL+LX5jXHa5N8Y4wxIf5bH2yDjWzA== X-Google-Smtp-Source: AGHT+IHIiZTllK26w5IaHoMzeolE++Els53SLswZGLOMy5a36IhCELxprOT1AUPt0LxqstQfC5lE X-Received: by 2002:a05:6a00:3c8c:b0:6ea:c2ef:3b71 with SMTP id lm12-20020a056a003c8c00b006eac2ef3b71mr12189391pfb.20.1712649906779; Tue, 09 Apr 2024 01:05:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712649906; cv=pass; d=google.com; s=arc-20160816; b=I7RAjioBuCHHvzPBFOtbyCJ0WysOCYqEP/dyZ7s5J7AhOVphA/9QZqwplxdmPvsS1U 8PAtPJf3K1oTMkE4qJ0/FYm+LlASZP/ajApiuNDJwkBkrmej5kVhDo9GUd18bOy+0OkE sJeL+Y05l9GS2PxJylxgKcMmA1gItv+Ww/+DgKwUx2LwVb/T9cGkhEf8feEgvURz9WvF /hP9gqp7+aiBrq1TVWK/W6IKvSa+5bkoi1kfoVlg8hKkx3PKA+y2zpdj6C8ts6AVtRfu 9J0/vCxCMcBPRCLfd0FnmeCfdbI9YFpBSGSF3qM+G8XC2kwvVFxmioL4rVsOcQD+tKCS ZB7Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:reply-to:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=8QDe2x01Jl30GauNep5LKLXloCu2mfNe49QJ7ZfgzCA=; fh=5cwNtAs7kb+w+aFRFeMsv9v6tsL0PMr7QoS78TskTKE=; b=vpRTCa1JhnFXgEto0tLi2uHoijIYMjMdGSNez3j098SJ8HLV9NO8FjmuGEFHSLybvt N4Guuk3DZelP6sHZpI46AdnbaLrrV7+ipG3rVdRLxxFvuIt4z/PeXQsY62+qc3WD6Ufq yY8IIdlRCsMIhgjqxf0F5AhBTHONakqm4grxcSVeppRscc2mQuNFzBTtEdQiapmPpRna UQlRpiAEdXvd/y2v5QHIXEe3CFjSCMZXgF+BLi+g6NiMnmF0h5EvJVhsfVz71RKd6mqN EC78UIBm27KLjcRCw8ZgZ3FJRbp52nXlDaT8Z3TKCjn3w5CdUQsN9FC1RHRCJB/9fRP/ A8fA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@leemhuis.info header.s=he214686 header.b=LNBLii2l; arc=pass (i=1 spf=pass spfdomain=leemhuis.info dkim=pass dkdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-136409-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136409-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u19-20020a056a00099300b006e8f9f031a4si8320269pfg.258.2024.04.09.01.05.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 01:05:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136409-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@leemhuis.info header.s=he214686 header.b=LNBLii2l; arc=pass (i=1 spf=pass spfdomain=leemhuis.info dkim=pass dkdomain=leemhuis.info); spf=pass (google.com: domain of linux-kernel+bounces-136409-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136409-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 06AB52830DA for ; Tue, 9 Apr 2024 08:05:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C3AE7E101; Tue, 9 Apr 2024 08:04:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b="LNBLii2l" Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33EAF69DF4; Tue, 9 Apr 2024 08:04:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.237.130.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712649897; cv=none; b=jMAbgI4Gl695ikbqBOijXdPQUPVjxL6Jp2N1mDGUi+EuTJmo3K4s/PVp4uDIo3K2+Ec+n+ZcnxJUSf9pA7cw9OO7p1Ghc/3N0ESrV3T9Q4qaNklEKqYtTp2FSr33KiW7WzGuZ6oewGaBNq/WRfaiJUQUaF2dFrxwzohj1/0cbJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712649897; c=relaxed/simple; bh=cCaMo1+fUxFrVXXV1Xzdl9z/C7bdZto8r66DdOhDa5w=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=l/ccNNnuT127H5qrbWhcS49o8JUMmpGMq+UdowvWsUMwHXf4UM+NEtce8sLFcDGfbR+UkB7k7SWsYQj608e3Ce3poaajsz6IWPLyNHfVdQHd/WYv3O4OciGR5v3xTJ6vVMMcL7/YsQYnwhxHsXYcZ5ve+XezqtpkmSwndccaCeU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info; spf=pass smtp.mailfrom=leemhuis.info; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b=LNBLii2l; arc=none smtp.client-ip=80.237.130.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=leemhuis.info DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=leemhuis.info; s=he214686; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: In-Reply-To:References; bh=8QDe2x01Jl30GauNep5LKLXloCu2mfNe49QJ7ZfgzCA=; t=1712649895; x=1713081895; b=LNBLii2l+46qlTbl5K0o7mTkN+cMdzXfF8G1LRRDPtBFi3k 3wlfBwtiaVkCvsE6l9X6khKXpDmYk35AMBXvOmxqy+yKeu603W+RBnNgmx8G069hEDxOEcYdO0ubO Q6UC9AkxcKxbg8JTKrHW50+K2xV8YnpQvi+++7N/HPuW4OF3DDjLh9KqmJFGY93RQVmhD2brwA78x 2+ujQlalRejBwspCiT2SiahwoAvwh9UyFP/pO+l+3h7oucoOkIJJFCKrZSAmKXJwuVWap1U6nhPpU ECYz7JrXy889zQMKi7vwqvjaFALABunRKAB8KO++1MUKtVC1AGvPb7TYMBcoHtbQ==; Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1ru6TL-0006TY-40; Tue, 09 Apr 2024 10:04:51 +0200 Message-ID: Date: Tue, 9 Apr 2024 10:04:50 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Fwd: Steam Deck OLED 6.8.2 nau8821-max fails To: Cristian Ciocaltea , Linux regressions mailing list , Bagas Sanjaya , Venkata Prasad Potturu Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Kuninori Morimoto , Arun Gopal Kondaveeti , Pierre-Louis Bossart , Daniel , Linux Kernel Mailing List , Linux Sound System References: <4d231dc4-0183-47e1-8bfa-3dd225bf8ea3@leemhuis.info> <904ffa11-592a-4336-aed2-d6370bb01896@collabora.com> <9012f8d5-302a-4840-815a-22b1e85fda5c@collabora.com> From: "Linux regression tracking (Thorsten Leemhuis)" Content-Language: en-US, de-DE Reply-To: Linux regressions mailing list In-Reply-To: <9012f8d5-302a-4840-815a-22b1e85fda5c@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1712649895;6540c33d; X-HE-SMSGID: 1ru6TL-0006TY-40 On 09.04.24 09:42, Cristian Ciocaltea wrote: > On 4/9/24 7:44 AM, Linux regression tracking (Thorsten Leemhuis) wrote: >> On 09.04.24 01:44, Cristian Ciocaltea wrote: >>> On 4/7/24 10:47 AM, Linux regression tracking (Thorsten Leemhuis) wrote: >>>> On 06.04.24 15:08, Bagas Sanjaya wrote: >>>>> On Bugzilla, Daniel reported topology regression >>>>> on Steam Deck OLED [1]. He wrote: >>> >>>>>> I'm adding this here, I hope it's the correct place. >>>>>> Currently the Steam Deck OLED fails with Kernel 6.8.2 when trying to initialise the topology for the device. >>>>>> I'm using the `sof-vangogh-nau8821-max.tplg` file from the Steam Deck OLED and associated firmware. >>>>> [1]: https://bugzilla.kernel.org/show_bug.cgi?id=218677 >>>> A quick search made me find these posts/threads that foreshadow the problem: >>>> >>>> https://lore.kernel.org/lkml/20231219030728.2431640-1-cristian.ciocaltea@collabora.com/ >>>> https://lore.kernel.org/all/a3357e1f-f354-4d4b-9751-6b2182dceea6@amd.com/ >>>> >>>> From a quick look at the second discussion it seems a bit like we are >>>> screwed, as iiutc topology files are out in the wild for one or the >>>> other approach. So we might have to bite a bullet there and accept the >>>> regression -- but I might easily be totally mistaken here. Would be good >>>> in one of the experts (Venkata Prasad Potturu maybe?) could quickly >>>> explain what's up here. >>> >>> The problem here is that Steam Deck OLED provides a topology file which >>> uses an incorrect DAI link ID for BT codec. >>> >>> Patch [1] moves BT_BE_ID to position 2 in the enum, as expected by the >>> topology, but this is not a change that can be accepted upstream as it >>> would break other devices which rely on BT_BE_ID set to 3. >>> >>> The proper solution would be to update the topology file on Steam Deck, >>> but this is probably not straightforward to be accomplished as it would >>> break the compatibility with the currently released (downstream) >>> kernels. >>> >>> Hopefully, this sheds some more light on the matter. >>> >>> [1]: https://lore.kernel.org/all/20231209205351.880797-11-cristian.ciocaltea@collabora.com/ >> >> Many thx, yes, this sheds some light on the matter. But there is one >> remaining question: can we make both camps happy somehow? E.g. something >> along the lines of "first detect if the topology file has BT_BE_ID in >> position 2 or 3 and then act accordingly? > > Right, I have this on my TODOs list but haven't managed to dig into it > yet. However, that would be most likely just another hack to be carried > on until the transition to a fixed topology is completed. Well, sure it's a hack, but the thing is, our number one rule is "no regressions" and the reporter apparently faces one (see start of the thread). So to fulfill this rule it would be ideal to have a fix available soonish or revert the culprit and reply it later together with the fix. Do we know which change that went into 6.8 caused this? Or is a revert out-of-the question as it will likely break things for other users that already upgraded to 6.8 and have a matching topology file? (/me fears the answer to the latter question is "yes", but I have to ask :-/) Ciao, Thorsten