Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1018611rdb; Fri, 20 Oct 2023 06:24:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEwd7NesETOXoc5YFI9Cadj8OeFwPW4l5JLGTvWWGxH6JyS9LLfvZrTgvtovPbIdBq0rBI3 X-Received: by 2002:a17:90b:124e:b0:274:dd15:87bf with SMTP id gx14-20020a17090b124e00b00274dd1587bfmr7237615pjb.20.1697808291640; Fri, 20 Oct 2023 06:24:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697808291; cv=none; d=google.com; s=arc-20160816; b=u2m/VQ50UErg6mJzaTROeSF1WzWfE3yENd65KNeDqf1AT8ATJAm69kvl8/F0yGEEV2 fQ1R+ro4Q0OE0EWQSBrFcIxHICbPwIBouukJw+GwU0SwtKvv1ZrVIE/UN0U3BHUB6/tq stFyF9EYNxAfX6xPjKVgULnQQLqCC+JtFkqx86GqlxobIoWtO/5D1Z+1EvMnCZp5gfZ1 aguuRcNPmOM+ZGTmfbhzJB+mvm3R6gcvfYTaDl99Wl82r+slAsrrZcz9hU1WG9sp3UUV LT7RKw0vxyznnT1/Hs13BBVxrgQPQ5zl9R9eWJfcM0YhC7J29z0p3UG6pSX538DqBdej Ar6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=zs7H++uHXYF0B3TsouisC3jgFOC+2qGYBJSZzCu7lJk=; fh=42vIiRbPhbqIBPlq8hDMilTDD34XWZx28QgRd6XfhIY=; b=lVC57g5VjROEK/QR/w66g66iQ20kLKrAeeIzj1rIVujs6awXXOW5Gd8ANuTWxU9hOW hk9mvjehaGpUY9oBbZDC8rwonR/czS9zEd35xBTzwTbCK8mxLTQ9hJtTQVgdUBYdnXwg UAqSBa6+bqqjbwGr2/p/NriZ4ci98hlXTBZgTYMK71fxPBgd6IEvtWzluPxRjQnTMhCC 20oBi1yoP2LkX/63Jjnm2I+Ib66rUmBCCioUB6sbBBCZp/cdy6kW0PnRtFz8h4yAhA9T nB6PvgbzY/6+SDk1EHnFSjN9BmmWXgEElkzv9OMpVRa2MHsrWO4KB9iVm7dun53xDVL9 cr0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KrY84MeW; 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=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id t16-20020a17090aba9000b0027d1aed872dsi1922633pjr.95.2023.10.20.06.24.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 06:24:51 -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=@intel.com header.s=Intel header.b=KrY84MeW; 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=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id EEC6582DDAE8; Fri, 20 Oct 2023 06:24:48 -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 S1377390AbjJTNYk (ORCPT + 99 others); Fri, 20 Oct 2023 09:24:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377002AbjJTNYj (ORCPT ); Fri, 20 Oct 2023 09:24:39 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B81D19E; Fri, 20 Oct 2023 06:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697808278; x=1729344278; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=k6ndI6jcwy64xNeCRwxhVgSos4puSIbLOL6kbeJBH7s=; b=KrY84MeWUn2joZ8mdQaWKyBvM6+RiIX87I1NRSEUlEjltT28aj8ZzplK a1qSDYuX0C34WHKgv4Rvtfb2rFLeq7ftcFbGjTPdVb+KraORMzrY8AAz3 B6hH8Dbnqaz2djMosEFIlWAv4WzGCz49nM/WicEy5W4mYbODb2OYSQWGH TRQ+BW8fyVWGZmRh++0rWIPqwRQg8VHrYviHkqJZwo5wLtCy9OvNbPvu4 vAxcuXAsyNdLgTh1jt/ih2DPXmj1qcaVnuFbN2nq08BbDISBuNZZAwLxZ DEladML93+8SnPMRYIlF1g4ZExNZb142fHgJ8YNujT1Gs2PhUcHRgI7xX Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10869"; a="385372620" X-IronPort-AV: E=Sophos;i="6.03,239,1694761200"; d="scan'208";a="385372620" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2023 06:24:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10869"; a="881083826" X-IronPort-AV: E=Sophos;i="6.03,239,1694761200"; d="scan'208";a="881083826" Received: from mtadesse-mobl.amr.corp.intel.com (HELO [10.209.140.77]) ([10.209.140.77]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2023 06:24:36 -0700 Message-ID: <5bc82aca-04f2-463b-ba52-34bcae6724d5@linux.intel.com> Date: Thu, 19 Oct 2023 12:00:19 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection Content-Language: en-US To: Mark Hasemeyer , =?UTF-8?Q?Amadeusz_S=C5=82awi=C5=84ski?= Cc: LKML , Dmitry Torokhov , Guenter Roeck , stable@vger.kernel.org, Andy Shevchenko , Bard Liao , Brady Norander , Jaroslav Kysela , Mark Brown , Takashi Iwai , alsa-devel@alsa-project.org References: <20231018235944.1860717-1-markhas@chromium.org> <7b08520e-8f36-45a1-9b7a-316a33c8e8c4@linux.intel.com> From: Pierre-Louis Bossart In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.1 required=5.0 tests=DATE_IN_PAST_12_24, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,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 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 06:24:49 -0700 (PDT) On 10/19/23 11:43, Mark Hasemeyer wrote: >> I would assume that platform that has DMI_SYS_VENDOR set to "Google", >> also has DMI_BIOS_VERSION set to "Google", so perhaps just replace >> DMI_SYS_VENDOR match with DMI_BIOS_VERSION, to keep table small? Or is >> that not a case? > > That is the case. But I'm inclined to keep it for two reasons: > 1. There is precedent in the kernel to use DMI_SYS_VENDOR=="Google" > for Chromebook detection. > 2. If the coreboot version schema for Chromebooks were to change, this > check would fail for all JSL Chromebooks instead of just a few models. I also prefer a low-risk addition to a higher-risk change. It's not like we really care about the size of the table at this point. Reviewed-by: Pierre-Louis Bossart FWIW we use this other quirk: DMI_MATCH(DMI_PRODUCT_FAMILY, "Google"), How many engineers does it take to identify a Chromebook, eh?