From patchwork Mon May 16 17:25:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Michael_Niew=C3=B6hner?= X-Patchwork-Id: 573016 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA859C433EF for ; Mon, 16 May 2022 17:37:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344313AbiEPRhR (ORCPT ); Mon, 16 May 2022 13:37:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243262AbiEPRhQ (ORCPT ); Mon, 16 May 2022 13:37:16 -0400 X-Greylist: delayed 687 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 16 May 2022 10:37:15 PDT Received: from sender4-of-o58.zoho.com (sender4-of-o58.zoho.com [136.143.188.58]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CE00FD3A for ; Mon, 16 May 2022 10:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652721941; cv=none; d=zohomail.com; s=zohoarc; b=MQeFmKR3gB8XyOHY8gne52tEFmoHgBClx5oLclILgXAXjI8hwShXzbWOc+DInP1dvaBb/A6KYt4EZH3CV42i5MUcXSB6PO6taNIBIBRfCaEFR8QrKQy7cT+RnBWU06sSxYMbQutv36j3YlIMfrBc1akaz8NhQfYY9wf6y1BmcOI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652721941; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=IKOeFlmUjA5Fjdk5mYV0getpP+8le9LGF7g8Udv0S1w=; b=Ps6Qp5NAODhpdcB1XVSTyjoIxQXcTL7td3euPN9MpE0thbnQQCUnNtSCL6TlXqcn+wRq6rc9QEAnZPAA5zkIr+SnkTeEqUFk85J/+afNGII4SMMmp7nxxDkbyIkG8d1+D4hPFs+mz/mvX97bf05ov5U1/0zGCLB9ibOuSIQTqIc= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass smtp.mailfrom=linux@mniewoehner.de; dmarc=pass header.from= Received: from z3r0.lan (185.31.62.161 [185.31.62.161]) by mx.zohomail.com with SMTPS id 1652721940160127.3711236380924; Mon, 16 May 2022 10:25:40 -0700 (PDT) Message-ID: Subject: [PATCH] ACPI: utils: include UUID in _DSM evaluation warning From: Michael =?iso-8859-1?q?Niew=F6hner?= To: "Rafael J. Wysocki" , Len Brown , "open list:ACPI" , open list Date: Mon, 16 May 2022 19:25:37 +0200 MIME-Version: 1.0 User-Agent: Evolution 3.42.2 X-ZohoMailClient: External Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 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);           return NULL;