Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp113861iob; Tue, 17 May 2022 20:40:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFUs3RrowyV/qbCckKN5tZTI8fOSOaufFY4wIbIvSH6Dj6zLC/h9UCeIltEfoeObT8/0tI X-Received: by 2002:a17:903:228e:b0:161:8632:2725 with SMTP id b14-20020a170903228e00b0016186322725mr11466420plh.126.1652845254346; Tue, 17 May 2022 20:40:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652845254; cv=none; d=google.com; s=arc-20160816; b=rcs479bGZr6i2p62jXP9rwEAhrCOLAFgdK34c2+S00vbbbOHWxPYR8ARRno7zaY8s9 eMIwDi9Kb714RFw5bBHiqq42r780IAtVb4JSwvpOjV8mpUdw7io6poPP5riUr+iFGzuf hrT+ixSgKCE9jOKSyLgKKDWh622C4BVn9o4RLNjThagnwJJQEIuJPSfh4DuBu0p7bM4l qVbVpTyItq+Rnx/Px1RR/y53gu5ADfl021wMiD1qWkzUaQs71YgmNkeF9vhpP20IjN4j 72qHENNvix9OZG9Y2ZfGZKuV9EPx9ylMS1Rz7NMa/UB/Jtov2zQwroTgvXP2C2BJ7lMi fmXw== 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; bh=sY1V1ePlDzZFkhPu3lWa69Z0iz3cpJGKDoXlkkMX3W0=; b=h9akxC38vk77rLx/ulMGNnoVsbmFtoVD/7GL5WQSnItnIuOET5saxFBkSXI0QhN9Lf 8ZMrjpsdVl4e9ymoj8ORFKhQoUQkthz3ftH9OrqTUJmOxJ2Qv0BACMNRAc89brAnliOl v1NNBr9RkZkHKK0Lm9riJ4UmpBsyO4CV6kgSd43PhNvR7QA4Rqnwau2LtFGSXgoQTmpp dHUX//FNOGfqZYu3wFlCwMzv1FupsvwFcDh+cl3me7oNl9jULJ81hBs9X3cxBb19ASQp 7cNN6K89eM7JZzRvZwD+5EYnaetmsclMpW9RxBrzU0/6jzAPHhGvd2exjTGdXR3gfBNn bV2g== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k10-20020a170902ba8a00b001619b733920si1258051pls.51.2022.05.17.20.40.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 20:40:54 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 32F38793A3; Tue, 17 May 2022 20:29:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349275AbiEQOtz convert rfc822-to-8bit (ORCPT + 99 others); Tue, 17 May 2022 10:49:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346978AbiEQOtx (ORCPT ); Tue, 17 May 2022 10:49:53 -0400 Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61A944F9FB; Tue, 17 May 2022 07:49:50 -0700 (PDT) Received: by mail-il1-f182.google.com with SMTP id j4so228219ilo.12; Tue, 17 May 2022 07:49:50 -0700 (PDT) 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:content-transfer-encoding; bh=2ZslXs9Oa1L/5bVsY6BEu0AQjOEth2behUi/2CLOaHM=; b=bxC7oQzuBeBHBGAk/rhHUiUsvi7KPS7vjeKYMWqixalC9o4ziqOfVv0NVbrP5jOVq/ qSPsKIFcwe3UDBWZtPIpAPOpL/sNOdeihWKCKnnahHGTfPRDiQdMdupuWRG5RE0hdvl0 kKSbmNyIyQ/SykmcyfniVQRYRXsOunxObr8vPoxGQ2giuzscjGspiIOtjpltnTCL3+Xp mpIbNMBQjAPbAXfjIBMy7nstO14/d58ofOWrvKlGRNPYXLAfzqv9NXt3r2nSCQl7x4G7 iuw+OeoVzW6ETWhmcUnKxDCDzVhEJsBTEKDs0iLr7wyRuOWNkXfEwd4VFKalTdkBkx68 6kiw== X-Gm-Message-State: AOAM532xZNOuGkKQ8HGJ3zeGZ4sxPp6yzYOok/Oqv67S+VLMOP4HYhQ8 7v1GSeiOxyYKIoeOuy0FkeKalWoYnHGukTBy9WAffqOE X-Received: by 2002:a05:6e02:1445:b0:2d1:3440:7f27 with SMTP id p5-20020a056e02144500b002d134407f27mr2901241ilo.106.1652798989700; Tue, 17 May 2022 07:49:49 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Rafael J. Wysocki" Date: Tue, 17 May 2022 16:49:38 +0200 Message-ID: Subject: Re: [PATCH] ACPI: utils: include UUID in _DSM evaluation warning To: =?UTF-8?Q?Michael_Niew=C3=B6hner?= Cc: "Rafael J. Wysocki" , Len Brown , "open list:ACPI" , open list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,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 Mon, May 16, 2022 at 7:25 PM Michael Niewöhner wrote: > > The _DSM evaluation warning in its current form is not very helpful, as > it lacks any specific information: > ACPI: \: failed to evaluate _DSM (0x1001) > > Thus, include the UUID of the missing _DSM: > ACPI: \: failed to evaluate _DSM bf0212f2-... (0x1001) > > Signed-off-by: Michael Niewöhner > --- > drivers/acpi/utils.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/acpi/utils.c b/drivers/acpi/utils.c > index d5cedffeeff9..7da993f5b6c3 100644 > --- a/drivers/acpi/utils.c > +++ b/drivers/acpi/utils.c > @@ -681,7 +681,8 @@ acpi_evaluate_dsm(acpi_handle handle, const guid_t *guid, > u64 rev, u64 func, > > if (ret != AE_NOT_FOUND) > acpi_handle_warn(handle, > - "failed to evaluate _DSM (0x%x)\n", ret); > + "failed to evaluate _DSM %pUb (0x%x)\n", > + ret, guid); Shouldn't this be "guid, ret" ? Also, don't you want to print the value of the GUID rather than the address of its location? And I don't think you need to break the line here. > > return NULL; > } > -- > 2.34.1 > >