Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1292225rdb; Fri, 20 Oct 2023 14:20:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH0LgQH2iVHwMGe+fqkhTdPk8KXu1d1rCVImJf0yAQVgeJDvrFgrqnKOiTesLlsAEgV2wK3 X-Received: by 2002:a05:6a20:3c93:b0:17b:2df4:87ed with SMTP id b19-20020a056a203c9300b0017b2df487edmr3430895pzj.17.1697836816078; Fri, 20 Oct 2023 14:20:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697836816; cv=none; d=google.com; s=arc-20160816; b=lPfDf8j9hiVVmacmIeMxXvFh9h1/AX+QP2gwcqNghVtR73NP+XeUTZygTU/VWR/ugW fNONBAZ4QqH00trXoHLnUcNAqYXNmAyP7lEZO73R3GAle3yZk3KZqI48FMshWLl2Eugq +0ZTepe1LjyeSdOTm1br170QhsvnP2Ypy43ph00iBZiEWw+GrDsHGBamHH1eXQIM17Zg Om3R3MwqgeIP91zu1BymNijK/dV98uoJgOcE3uyKIU+Er1umDC7RD3YFubKPgM9oBhMC PB6ibL/92rafr/wLZNJXQ94Go7np/cM/dCwHwIUji2uRi6EE5j59khBLZ1nCIDOWiCR6 EfcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=a9YjEIQWy6daCcnZfKUCk0eX4Io5MUDbFHgVHcjxrWk=; fh=8rCgrfot4xig0JoztGprfBD80rD494sNXvVoYLb0PEU=; b=mb9UEQM+T7UoSYnAuRuYSym1jAxBwdeu2lUS5ZKd3o6yKgRgcEXazUG9exyx4hfVhM fD94qbc8HoCmEkcT7ILQedHCWXPJRJIec7F3guvbn7eyzuH7klb7/aiw3FujHFKcubcr kpX9kS/EIhM33nl7msf+WuX0jkVvSl5NQerdYrG8x0yxG/TnId9/KFCAJiJO3w9VsLU8 9o5OkhoHKnDlc9mH5dTklc0qxh78byRteWEHzHWYciE1PBIxMPxTFFfvJQHe2TuhmJRt c2dEn/9T69hvQqRU31ZhBtwlGZD/BVKd73py1sELtZDrxbACVylIOYRFE3NyzYejoCJK MWfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="PNV9vn/5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id s21-20020a632c15000000b0057806be7290si2638371pgs.451.2023.10.20.14.20.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:20:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="PNV9vn/5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 9FC5C81F45F7; Fri, 20 Oct 2023 14:20:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229473AbjJTVTn (ORCPT + 99 others); Fri, 20 Oct 2023 17:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229983AbjJTVTm (ORCPT ); Fri, 20 Oct 2023 17:19:42 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1CBBD65 for ; Fri, 20 Oct 2023 14:19:35 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-27cfb8442f9so935520a91.2 for ; Fri, 20 Oct 2023 14:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1697836775; x=1698441575; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=a9YjEIQWy6daCcnZfKUCk0eX4Io5MUDbFHgVHcjxrWk=; b=PNV9vn/5a1DnVJxIeVzJPor2YecmMN7Z6mahOizsTJMXGt53YBAAlm5Svq+TYrZ5Br e2DZf8hlN6sc/r0LlG3SKezQaXEjAa9bKNXNCRy89gu6NFYXfdyKdjTvSeUmGTCBw8dp I4Y52BbLEhjD/scGjrTx89vzpQvUDnL5IWXWwapTUAI3pEd6yIcrPXOmayWxbloPrmUW c7RNvl0nA6Jeax49e5aa1RtnGqUxXw3TVGiaTOHf1bJPNRKXNt1rQmGdpExzwcmxvCzm FdVFAgv7Iny7MS+aHBBuNmUeeo/ozz+KrQF+Fe/CmcTMO2T4GhTQR2lPlqgY9UvvqRoV fP3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697836775; x=1698441575; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a9YjEIQWy6daCcnZfKUCk0eX4Io5MUDbFHgVHcjxrWk=; b=b05Fv88tD585HO06lWHFpDt6MgJ+wtREVBDbQH7m+HQSHy65casEcMWAxHuHoV3jES PUJ69XWfeAMRjeuZDpZCGhhKJYqYc1KkLmxxmpbiAl7JTmTYTpuWIqRRM0PRf89pmiuF fYqk1OTfUSlXlUneaxjrgAY5YQo0WrpRoO/r9SqzwaJOhFCSCJi97e4BxCEcUK1Gq1nZ MnLk+uo1wKOxULf/TIh3/64NCAExvoa+jo4PhzzUHh/t6taiQhgvSdDxZ4CDaLE/R6FA 8D5JjIOrYyX4z2uRHh8xgbI5kxoK+9CClCwOnvmdNQ0lFrzW4bgFAHfszhW1UMZCLoZe n5gQ== X-Gm-Message-State: AOJu0YxE8R890+lyeguAEU/1a/nyfx4VIojczQ4TNy4whhIEJFSxvtgi wJv7ghmVKFd+7hG0oTfgRkEUFHAoZafQJgGMxkJg7Q== X-Received: by 2002:a17:90b:1e53:b0:271:7cd6:165d with SMTP id pi19-20020a17090b1e5300b002717cd6165dmr2893154pjb.26.1697836774929; Fri, 20 Oct 2023 14:19:34 -0700 (PDT) MIME-Version: 1.0 References: <20231020145953.v1.1.Iaf5702dc3f8af0fd2f81a22ba2da1a5e15b3604c@changeid> In-Reply-To: <20231020145953.v1.1.Iaf5702dc3f8af0fd2f81a22ba2da1a5e15b3604c@changeid> From: Curtis Malainey Date: Fri, 20 Oct 2023 14:19:23 -0700 Message-ID: Subject: Re: [PATCH v1] ALSA: SOF: sof-pci-dev: Fix community key quirk detection To: Mark Hasemeyer Cc: LKML , Curtis Malainey , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Fri, 20 Oct 2023 14:20:09 -0700 (PDT) Curtis Malainey | Chrome OS Audio Senior Software Engineer | cujomalainey@google.com | Sound Open Firmware Lead On Fri, Oct 20, 2023 at 2:00=E2=80=AFPM Mark Hasemeyer wrote: > > 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 Acked-by: Curtis Malainey > --- > > 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_plat= forms[] =3D { > DMI_MATCH(DMI_PRODUCT_FAMILY, "Google"), > } > }, > + { > + .ident =3D "Google firmware", > + .callback =3D chromebook_use_community_key, > + .matches =3D { > + DMI_MATCH(DMI_BIOS_VERSION, "Google"), > + } > + }, > {}, > }; > > -- > 2.42.0.655.g421f12c284-goog >