Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1284173rdb; Fri, 20 Oct 2023 14:02:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfUpicp/zYate9qX8PSsGTJau8pVKjbqEm4MxAe44e8ziWByes6KrLNM4Wk4pSkSxZAFz+ X-Received: by 2002:a17:903:238c:b0:1ca:7879:b59e with SMTP id v12-20020a170903238c00b001ca7879b59emr2741895plh.32.1697835722989; Fri, 20 Oct 2023 14:02:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697835722; cv=none; d=google.com; s=arc-20160816; b=dOFeD+2UU42dMXyKVYhNbcHnDaFMJ1GoGl2Q2wWfciHlzL6Sc01coahV/vm6rsKNJp vmJ3e1EjoKplAmKuF28JTlDLiNsvS+5npOfPtBMl/E2PYvJxkGTL7ACNmuCCtHd5kmnh B9qTsIPcGgEuTcUmmAtvSkSeh3KtAmnfLzxdKALWgOvxQDpmPRySXejjFG/VLqGiLk27 A2G9eSRFJE4w4ntLCoBlvhBXsgHB50RKXN+vE7MW+cYdBCD3WltzGmBp/q+ZzG8DCrjc gK8x/UoMIo6tHkC+uKvS/3wS4E+MGv5HOGV+5g8sHfOOxGSjsGdUggOA+sZd4IHFJlx2 8NIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yo+YzGcf5ti2JGohRAjm5fHeXV6DLkhxTHbBeTwM3H0=; fh=QTwcjjE1YkAumNHkWExmYLSnRg8mN9we+uTuVRHRaC8=; b=B9SQBj6ZLaEGOu9vPT6pxyCXyts6FkfrjmD25jnVpmFjSqMuffF1rh6dMxIyKi+0nD w7K4RAfCz0G7sg431xK78TuTHH87QH8gyplANOBQ0ITHttgxeeNFf/Pwj04NTvvFGKUO 8TSUfPPQdYbGNZiuXd1T9H9Z85GwgTmtdc4NrNY8PE6QhPhzURHQpcAooSzit60vlkBo mgqEhssEgKrTV+JqsMerPYWwDHC3JnzQyJn4Jq5YidEXdJvYLP3wJsl3kSkeSLTF4b2Z H/vmrRT3U4gihWV0TljGtiLkN4axvnT08y6rEpmfQbmp314esYU8sp2YB0b3QJtzNOMK VuEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=MljrZ35f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id q16-20020a170902789000b001ca4ad8635esi2377120pll.240.2023.10.20.14.02.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:02:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=MljrZ35f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D236280A854A; Fri, 20 Oct 2023 14:00:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229803AbjJTVAP (ORCPT + 99 others); Fri, 20 Oct 2023 17:00:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbjJTVAO (ORCPT ); Fri, 20 Oct 2023 17:00:14 -0400 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F318DD61 for ; Fri, 20 Oct 2023 14:00:07 -0700 (PDT) Received: by mail-io1-xd2b.google.com with SMTP id ca18e2360f4ac-7a669a4ec51so43041339f.3 for ; Fri, 20 Oct 2023 14:00:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1697835607; x=1698440407; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yo+YzGcf5ti2JGohRAjm5fHeXV6DLkhxTHbBeTwM3H0=; b=MljrZ35fuWC/vULrQCsvfEHcgSbKShqFujcpQzw+LM6LYimQz73S2hLDLLswYoQ265 VEeXEhLrQiXDtowKBzqB3sYAPVLuTpW8qnHeOm0fmYReqCkCwLg6/NgolDORzd2GkJgQ 3Ou09kSKdh25ZajWZz9RttoxC0oTGc9O5WgTg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697835607; x=1698440407; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yo+YzGcf5ti2JGohRAjm5fHeXV6DLkhxTHbBeTwM3H0=; b=qR+YyFkXV0BwHDUZhmlZ9IZplcVcsUqZS7zDCsV6L0MEbgL2GzZRg2ZlY4gsAB29BP 4c5VSHti4fSHSgNWVrdKag5MjLy16DE62D2pCejl80hi4frlTAaGP8uNSvsboTq2niZN MkeHqlnHgxV57VpR2xARNqnt8yDvmuB1kzrACYPRphQXMMG+25C6NGKhOSc7QnI1IR+e fnLfnfP2bmyB85saiYbfc7rV3YNGnRJia7+0abylCpnqfJaPe8k0xIxRz96y4y/4jcgH TmuFqjDO1UQ/QrnNE68dvFcvT8wH+k+OGGT5YtX14bp9vsNOctllXJBkiuIw64KhJXz5 PbwA== X-Gm-Message-State: AOJu0Yz7GaZ8qf7YgPH4tijlRiOm1u83JwczNTjqIztv1E/kiFDRGBiO jnNUlksPN2L8ZM48GaXnVgi4+kHLGfTeg/tzHts= X-Received: by 2002:a05:6602:1355:b0:7a2:a6db:9a58 with SMTP id i21-20020a056602135500b007a2a6db9a58mr3565751iov.15.1697835607174; Fri, 20 Oct 2023 14:00:07 -0700 (PDT) Received: from markhas1.lan (71-218-45-6.hlrn.qwest.net. [71.218.45.6]) by smtp.gmail.com with ESMTPSA id y127-20020a6bc885000000b0076373f90e46sm850966iof.33.2023.10.20.14.00.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:00:06 -0700 (PDT) From: Mark Hasemeyer To: LKML Cc: Curtis Malainey , Mark Hasemeyer , stable@vger.kernel.org, Bard Liao , Daniel Baluta , Jaroslav Kysela , Kai Vehmanen , Liam Girdwood , Mark Brown , Peter Ujfalusi , Pierre-Louis Bossart , Ranjani Sridharan , Takashi Iwai , alsa-devel@alsa-project.org, sound-open-firmware@alsa-project.org Subject: [PATCH v1] ALSA: SOF: sof-pci-dev: Fix community key quirk detection Date: Fri, 20 Oct 2023 14:59:53 -0600 Message-ID: <20231020145953.v1.1.Iaf5702dc3f8af0fd2f81a22ba2da1a5e15b3604c@changeid> X-Mailer: git-send-email 2.42.0.655.g421f12c284-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 20 Oct 2023 14:00:41 -0700 (PDT) Some Chromebooks do not populate the product family DMI value resulting in firmware load failures. Add another quirk detection entry that looks for "Google" in the BIOS version. Theoretically, PRODUCT_FAMILY could be replaced with BIOS_VERSION, but it is left as a quirk to be conservative. Cc: stable@vger.kernel.org Signed-off-by: Mark Hasemeyer --- sound/soc/sof/sof-pci-dev.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c index 1d706490588e..64b326e3ef85 100644 --- a/sound/soc/sof/sof-pci-dev.c +++ b/sound/soc/sof/sof-pci-dev.c @@ -145,6 +145,13 @@ static const struct dmi_system_id community_key_platforms[] = { DMI_MATCH(DMI_PRODUCT_FAMILY, "Google"), } }, + { + .ident = "Google firmware", + .callback = chromebook_use_community_key, + .matches = { + DMI_MATCH(DMI_BIOS_VERSION, "Google"), + } + }, {}, }; -- 2.42.0.655.g421f12c284-goog