Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp88078pxb; Tue, 15 Feb 2022 08:59:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRAOQaP3wiWVWaE84wy50U3jiPARxhBIZIP3sc7kXSXenLfGiyVwvEB0A6+6LOZ92YawdE X-Received: by 2002:a17:902:ec83:: with SMTP id x3mr5110868plg.170.1644944378475; Tue, 15 Feb 2022 08:59:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644944378; cv=none; d=google.com; s=arc-20160816; b=oZVzE60ZH7+osqRVYq9Sk4BS1ajRo8+2Y56cdxq35iXY+TwU1F2iYDD++XT9OM/2hM DnEgHsrAF7MUSoIYMuR+BWNvN54T4CDsyVhqFTfh5E+k/mJiCmhiLO2k3TjPOZ5uB/3z T/FAjZwjnaCyYNsc+SNi2nu99+f5JQaFu2djNdU4UhDDzbxhjRI69BijJwwhcO/UbEte O4w90xR/BIq4RsOTOpfpVdTQNlMTtKDZVcSnFxSsJxo478L1AuxJE27Zc76RiP+E1JDp Pf+UxXWs3dIiF3m54dIKJYj1RPmesAJnL399icT8RPHnQ42GPFJotNhUu2GPxgwKQw+o x0Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=aL1Ai2InGicb7ahZQpdv5e9x/ONiZjtIAS2dF1D0S2o=; b=l8OZuYHJ58iKq7KJfMPxmOePqhHwWRBxfS42ZoaNh4i/1/+gP67QLJfYCzSBopr/rU a1oTO9mftGYKdfz/Iak+fkIlEr/f3A0AZ43tyTiIxOQmqMiASN+OGI1i/MiQKuHdwDCH FvMUK9rcGkfnEnYW1/KIGnUVHr+Nr8JDpLa4hvBXSWA1ZdXEBJJFr8dqB0310ph17fyZ FR3qPz9HoIz6o2hmfF8eo8pQ7Nba/26FZG1aCTb28zYKyU998yfIyRVhWCdzsiqNr5LD Et4aN+rxNe1242+wGbPHXkVnj2523NGAYP13aAKpA0sMEMjo52ctEiqo3dCHR5j7GB7i caeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20210112.gappssmtp.com header.s=20210112 header.b=vNb54qaj; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p15si3118980pgk.618.2022.02.15.08.59.21; Tue, 15 Feb 2022 08:59:38 -0800 (PST) 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=@intel-com.20210112.gappssmtp.com header.s=20210112 header.b=vNb54qaj; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241519AbiBOQWV (ORCPT + 99 others); Tue, 15 Feb 2022 11:22:21 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:45674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236446AbiBOQWT (ORCPT ); Tue, 15 Feb 2022 11:22:19 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA1F62717B for ; Tue, 15 Feb 2022 08:22:09 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id n19-20020a17090ade9300b001b9892a7bf9so3403520pjv.5 for ; Tue, 15 Feb 2022 08:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aL1Ai2InGicb7ahZQpdv5e9x/ONiZjtIAS2dF1D0S2o=; b=vNb54qajFSiKeRJfRAser6tmq4YROi3TaW6ql4v5+lZ8250zTZTJH1ttBk7phLtJE/ 8X1xJ+aPM3gWHECS563y21SvX9Rb3Whn9VDu4xQqfZimFge8tVLTHWpcjfudVT/+xSBt 8IJLGbV1EzmvVRGWG1e5Loyjws1+uPfMdm116IGe1i+zsMKsxVCWtIalTFgUB7oct0lF MuOPY3rMbsSUfKYcxS+iakLKgNb9dwlSZ87PA4NY2RqCylJGKpnIAotIGx0GuS7VLpnJ JQm0c9L6L1JUKc9600lOKO4VcrpWaIkoCrIbss4X4+YQQR/UpMGs55jhnNOVQDUDnF39 YY1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aL1Ai2InGicb7ahZQpdv5e9x/ONiZjtIAS2dF1D0S2o=; b=AoxhEf/0ms38mogKeZzpp06Yr228JqSKpk/cBgCIt0Uf2xmzdNGbnuc+ZUdxEceWMN nSkNrXrxLCpMgZF1hHE5a0kex2q2Q9NIFDNn1ufss1OOxM4/T3/aXxJ19jCOkbF7Ro6G MfloyRn7xZSln+lFdJ5M0yQsRExdbXi9qVnFMckKgz98uO9yWyYFCersHUc+JR7uddMJ GcSL+SyXt8qkmv28ZK4Jpd232RUEwerEoWqKSk7xKqwB91/lt80W1qX+UVuzfvmvAM/d Do8uLu/uqbFTu3J0zZTdbQjScn9ZndRQmo7hY424X1HQSTBWWuUv3Z49rS3ckEg0JYjm a2HQ== X-Gm-Message-State: AOAM532QevUTaXbd25osnc2K/ldNZXsPdX+7iCFqJeBmlXWmrvUuX+7u YuUELs0UDOMiJeb7EmrrBmS2tAsin7f9YZHf49i9Bg== X-Received: by 2002:a17:902:ce12:: with SMTP id k18mr4872669plg.34.1644942129125; Tue, 15 Feb 2022 08:22:09 -0800 (PST) MIME-Version: 1.0 References: <55f5c077-061c-7e53-b02d-53dde1dd654f@molgen.mpg.de> In-Reply-To: <55f5c077-061c-7e53-b02d-53dde1dd654f@molgen.mpg.de> From: Dan Williams Date: Tue, 15 Feb 2022 08:22:02 -0800 Message-ID: Subject: Re: New warning: ACPI: CEDT not present To: Paul Menzel Cc: "Rafael J. Wysocki" , Linux ACPI , LKML , regressions@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, 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 Mon, Feb 14, 2022 at 11:52 PM Paul Menzel wrote: > > #regzbot introduced: 2d03e46a4bad20191d07b83ec1242d5f002577be > > Dear Dan, > > > On the Dell Latitude E7250, Linux 5.17-rc3 logs the warning below > (`dmesg --level=warn`): > > ACPI: CEDT not present > > I think commit 2d03e46a4bad (ACPI: Add a context argument for table > parsing handlers), part of Linux since 5.17-rc1, is the reason. > > If I understand it correctly, CEDT is not to be expected on older > devices, so the warning is not justified. Can something be done about it? Rafael, I'm inclined to just delete the warning altogether, but special casing is also an option. Any preference? diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c index 0741a4933f62..fb2e4a216154 100644 --- a/drivers/acpi/tables.c +++ b/drivers/acpi/tables.c @@ -399,7 +399,7 @@ int __init_or_acpilib acpi_table_parse_entries_array( instance = acpi_apic_instance; acpi_get_table(id, instance, &table_header); - if (!table_header) { + if (!table_header && strcmp(id, ACPI_SIG_CEDT) != 0) { pr_warn("%4.4s not present\n", id); return -ENODEV; }