Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp449921pxb; Tue, 15 Feb 2022 18:11:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJzalHY4rQ0ONtijDLxuCQ88IyDifTDzoCUMYkNTD101zWix0f7fUshE+dCrSmUlnkF/IFa4 X-Received: by 2002:a05:6402:294e:b0:40f:905b:dab5 with SMTP id ed14-20020a056402294e00b0040f905bdab5mr659762edb.103.1644977471053; Tue, 15 Feb 2022 18:11:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644977471; cv=none; d=google.com; s=arc-20160816; b=ZOni24O/xXcuINmy0KyFlgf5S4i/p4B+OfqtiqVDrntqiztA0rABU+zWOdjJ62+TBb IWzkW5hvE3kB1lmyH6+T0EJNf/0Hgr2SKQHCjUJ+agR+FNu7zNH/lpTSkaaCNbZ0H0g+ gaTDZzBiDR6fXIrznun7nej4PrwKY8hVTnhAdlgobCgA0zZBYpSzAHoNeUs1qhiCtMOQ T/tJNhK2/lAgvVzkicw1Xvg6SFU2GSfZaAT3SO4mk6lVD3WFAQkYb0dn849NvkPlPHDw zfwBTQLbWmUohO6SYlGKH9aDCMluAZyO49k1fgb2TYgh+q5YTPBR9IfkJyZz9D2LAoB1 ZtYg== 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; bh=SDMnKMXVJa929NolhryiFxFArnbuzBfDe+LVL1CiDA4=; b=K2gTp/NwfHijMseNMDUeARmeng50V5v/6r8LdQo0Uqj8W2UsE0+FUmKeVOpvZwWoK5 mOlxSDv+aqw2OytdNmt1llWYrngwXgb4JWyU28E4lbstmBNnZI3Dq/mI80NKZ6o0Xn62 8v6NecikDHhVfx/P+nys23pEJN+17OaRsaiY3b6AWiZxiuCOy4+bbYKxawomcmhhItSP W46MeMBZWKWZ45yMF0NKe+YytBzlQ6Q6ZS/UgUKVH2A01Dw+FtS1TI9z7BsjbBuxDHQ1 LElSZJ50RdPF5n/WTiz3Wh1DxjIwYZI54e0d2l6oy4WFsUrAjjxZa3/JRDYNHb7/Tjdc 63bw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a15si995638edr.148.2022.02.15.18.10.48; Tue, 15 Feb 2022 18:11:11 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242288AbiBORL0 (ORCPT + 99 others); Tue, 15 Feb 2022 12:11:26 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242287AbiBORLY (ORCPT ); Tue, 15 Feb 2022 12:11:24 -0500 Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91AE311ADD9; Tue, 15 Feb 2022 09:11:14 -0800 (PST) Received: by mail-yb1-f175.google.com with SMTP id 124so29963389ybn.11; Tue, 15 Feb 2022 09:11:14 -0800 (PST) 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=SDMnKMXVJa929NolhryiFxFArnbuzBfDe+LVL1CiDA4=; b=qkq+usKeOxl48IvR8xKHyJmiW0/RIiDOO/zUa4Ak23YjGWAKmeH2ErhM6HjZEzjTpM C8i2uauPazpx5r199SudX14FNNM7ftF5Xubkrt1CPKk9tDEP2o5UK5LM9+7FEApHEgVV v1hBxNZ7She1Q9DxSgcw5JtDiPCQCmPGaO0jbmCrzXrgc9kSWNhaiwkTq7gx9N01BXSn 4UjaKsIB0MXzIRb6ieaD15MDI/zAhDvYGfjxfmoDWLwbd8R7iII0pahAaPDxo3F+HqBH aIbCK0trrq4Ce6qP03O+Yue/yITGEfCSDYx5uBZdeIK4M6/RICuWCLaRHcoeDcIPiEX0 CRBQ== X-Gm-Message-State: AOAM532hS7E4uAUytwekSnRDSr4Elr6shdYQtTpBudnVIPl8I62kUFun WpUHpLjgskw8+iZ2I00IoF2GVpX1BEwVlmKRZiM= X-Received: by 2002:a25:3410:: with SMTP id b16mr4716036yba.78.1644945073814; Tue, 15 Feb 2022 09:11:13 -0800 (PST) MIME-Version: 1.0 References: <55f5c077-061c-7e53-b02d-53dde1dd654f@molgen.mpg.de> In-Reply-To: From: "Rafael J. Wysocki" Date: Tue, 15 Feb 2022 18:11:02 +0100 Message-ID: Subject: Re: New warning: ACPI: CEDT not present To: Dan Williams Cc: Paul Menzel , "Rafael J. Wysocki" , Linux ACPI , LKML , regressions@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Feb 15, 2022 at 5:22 PM Dan Williams wrote: > > 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? Change it into pr_debug()? > 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; > }