Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp229866rwb; Thu, 27 Jul 2023 11:48:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlH025wNCeBp5BFCgJFtw55sKAoAqoXzfsoC5EwbIVvHBFGKwBUfISGfGFsanzkO8usQ679R X-Received: by 2002:a17:906:10d6:b0:98d:d6b2:3377 with SMTP id v22-20020a17090610d600b0098dd6b23377mr59341ejv.30.1690483739085; Thu, 27 Jul 2023 11:48:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690483739; cv=none; d=google.com; s=arc-20160816; b=ZoR81OzMa0t+63Rri2f/5jqdh8KxCQhlyEVxjptjcjzhi4TI5MAFb1z2YJS1lVdoCW mIfZNNMfvZEYev7qLu0tAdBqoc5xeKmmLTCpG5U6uFpFWuJtfarkyF3/ncSvbesZeRH0 X/ZrQwgrIrp00WbEusaDvEuUxOv/6SEJseCxb9t0YD23Hb7BqIsMRY76FF4jjqkvUhdE cdVeAD3jbc1U6WTwM2uuCBO+EQxm+EOqygkxGyDNtSupUsIMHdRLo+4UUuEkvirrGi5y YY5c3PiY/KTRt58UbG6tyuZy9EmycHRIAzv9wEBXseBCvSNIsPi9/YdyXTQcEAjC5pl4 JCag== 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=voiXLpkjPfzBEig254frn/V48hVLiCZ+gaG536em0hA=; fh=AWjAMBnJsKnq6g3RoFnE08XAoS+Tl18m0oTci6vzk/4=; b=EeGPl6IoHUTdsUeGBjpr1/iFNYWmX/12YjiAJrCI7NeGw8r3cYL66b7hANrjhR+nWv pPm9R6c75d1ZzF7RsIrAo6AnZjVQ3Pxht2So80q7t6BSKrCxNzJRTEjSPzeq6SouR05C A5fi6hYV7k3XJJor7E87XMdURzItzrscHqu/YdER+racUSd2hVSyrPF/0GkLGItoCRmm hTQ0/JcUoQtDVieFdqCGw1jWyrIy66U4L0nh/PYmGUgtNl7FCyl4RVazWkHI99iaX2aq fIOBoy3rhvzhvzuryoZ1Y8Awmi0sNt3M5FQMJ6lnQ3sMWmgPDW2I3XtEO26m66lCYbpW obEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Qiq8lUwY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020a1709060a9100b00977d04a8fd4si731885ejf.1054.2023.07.27.11.48.34; Thu, 27 Jul 2023 11:48:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Qiq8lUwY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229729AbjG0SbR (ORCPT + 99 others); Thu, 27 Jul 2023 14:31:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231656AbjG0SbK (ORCPT ); Thu, 27 Jul 2023 14:31:10 -0400 Received: from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com [IPv6:2607:f8b0:4864:20::a2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAB433A80 for ; Thu, 27 Jul 2023 11:30:45 -0700 (PDT) Received: by mail-vk1-xa2c.google.com with SMTP id 71dfb90a1353d-48651709fa5so445613e0c.1 for ; Thu, 27 Jul 2023 11:30:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1690482644; x=1691087444; 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=voiXLpkjPfzBEig254frn/V48hVLiCZ+gaG536em0hA=; b=Qiq8lUwYXYNyVnvwMa8aWnxcFGZ05ItPYrcq4TUFUiE1cCXakvWeNjsruAYgCRHqGQ 8rexWOTNJPL/JuJS8YGH713DEm1X98VcrYeZj+5HFGJHdqbzjeTwd33rnG2vS2DddinO dREWCzP1ARYy8PHMyV7oBGQ4MHZ1wT9s3ddmg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690482644; x=1691087444; 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=voiXLpkjPfzBEig254frn/V48hVLiCZ+gaG536em0hA=; b=lO5CDTOpwOhbCb0B5SYdq3ypeCNHmiJ3Z0kJmY8fA1I34HFpCkR4pGDoexqLl7A6j9 S1NYK/UxKHKsoyqKW59tLraDeDdRYWit9Qz+fyw0fdTZttaPwJHTiDekums1dozOEqzB gN8nUG/qrmmnfMySca32997nfSNVAMgfkWmfVJfbTj1Gc6L5H618tCPOmof7BX5d0XAH le3fg+kxP187NYs18WWz9w5WsrDcySe8C1IU+YZh0jRdRDHQg46eh0dD6ep3a2ocUFRr DZIiQs7x0kW8wGutfypVl6e3nLo2w7Ov1MZXAkzp3La4EVyulw/myvPy+P7XuDoBS2go wUnw== X-Gm-Message-State: ABy/qLbtYKEY4V5LfPBYGhWIsjC7/ZWM6iCyNlkWzQxdajhCevAusf7V EVkw2KB31u8+TKZVJ1vnXqgCL7/rYJeFPrwG3bU= X-Received: by 2002:a1f:5fcb:0:b0:486:242e:5b5e with SMTP id t194-20020a1f5fcb000000b00486242e5b5emr333436vkb.13.1690482644629; Thu, 27 Jul 2023 11:30:44 -0700 (PDT) Received: from mail-vk1-f182.google.com (mail-vk1-f182.google.com. [209.85.221.182]) by smtp.gmail.com with ESMTPSA id bq3-20020a056122230300b00484148e37e8sm290896vkb.8.2023.07.27.11.30.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jul 2023 11:30:42 -0700 (PDT) Received: by mail-vk1-f182.google.com with SMTP id 71dfb90a1353d-4864928ce7fso438566e0c.3 for ; Thu, 27 Jul 2023 11:30:42 -0700 (PDT) X-Received: by 2002:a1f:bf0c:0:b0:47e:30a:c7bc with SMTP id p12-20020a1fbf0c000000b0047e030ac7bcmr319345vkf.12.1690482641747; Thu, 27 Jul 2023 11:30:41 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Raul Rangel Date: Thu, 27 Jul 2023 12:30:30 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] platform/chrome: cros_ec_lpc: Add DMI definition for post-Skylake machines running custom Coreboot builds To: Alicja Michalska Cc: linux-kernel@vger.kernel.org, robbarnes@google.com, lalithkraj@google.com, bleung@chromium.org, groeck@chromium.org, chrome-platform@lists.linux.dev, Mrchromebox@gmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 20, 2023 at 4:37=E2=80=AFPM Alicja Michalska wrote: > > ChromeOS EC LPC lacks DMI match for newer machines, which > use "Google" DMI_SYS_VENDOR as opposed to "GOOGLE" in older models. > This patch adds DMI definition for MrChomebox's custom Coreboots builds, > which we (Chrultrabook Project) are using. > > Signed-off-by: Alicja Michalska > --- > drivers/platform/chrome/cros_ec_lpc.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/platform/chrome/cros_ec_lpc.c b/drivers/platform/chr= ome/cros_ec_lpc.c > index 500a61b093e4..6ac993be4eb1 100644 > --- a/drivers/platform/chrome/cros_ec_lpc.c > +++ b/drivers/platform/chrome/cros_ec_lpc.c > @@ -533,6 +533,14 @@ static const struct dmi_system_id cros_ec_lpc_dmi_ta= ble[] __initconst =3D { > DMI_MATCH(DMI_PRODUCT_NAME, "Glimmer"), > }, > }, > + /* DMI doesn't match modern machines running custom firmware */ > + { > + /* MrChromebox's firmware */ > + .matches =3D { > + DMI_MATCH(DMI_BIOS_VENDOR, "coreboot"), > + DMI_MATCH(DMI_BIOS_VERSION, "MrChromebox-"), > + }, > + }, > /* A small number of non-Chromebook/box machines also use the Chr= omeOS EC */ > { > /* the Framework Laptop */ > -- > 2.41.0 + Mrchromebox Hrmm, it looks like this table is only used if the GOOG0004 ACPI device wasn't found. Is the MrChromebox fw missing this ACPI device?