From patchwork Mon Jul 10 17:13:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rafael J. Wysocki" X-Patchwork-Id: 118002 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp5193862vqx; Mon, 10 Jul 2023 10:57:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlFNgoWGo+2uiFoNQ5axGzPhNqekxyzrT0unbEWGYtVmKvywir/ti06AHRRj2KFsRy7G/RY/ X-Received: by 2002:a05:6a21:33a8:b0:116:fd37:c924 with SMTP id yy40-20020a056a2133a800b00116fd37c924mr18278044pzb.5.1689011859911; Mon, 10 Jul 2023 10:57:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689011859; cv=none; d=google.com; s=arc-20160816; b=VJedKOOJNxsipvaBIopCUelg3kWpAzDWhrykj+eVd6zCcgz+sphrMnU3oAdaoVzv/x WoEa56bT3gg2EKnZEMx4M+RoT6bQEqUP3JGyA+Nzi7ZHARHkxF3nQdtgzGsfQpvwn3pr dO+412QFJIFW9wgalIZf+MIwSNIA3HFEx7Bt+N18wgadaQ9isxaEoFBVYtkdIsgrpgfp IBkKRGm0lFPjcd+ZgljMm2kP9Qt8XV+BH6nb4UNHWOhnONHv/bUYSm6OgG4Wwn1Iset7 ZJn87c7+9PmD5FEc4bPD72V4Jvriw7jiucO9IkJxxpVpXzbHuXLcA+I0mfE3r1pKqyCa +MVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Nn9r6O89vRV5NgvXtzycGQfCD0clTUARscn53fpg6s0=; fh=odud58AEZ8dpT9wVpEi49z2KFyKsW9gCOcsWyWRzkG0=; b=auveQ6nk1Lx8Wd2O7H8x8nl8uf+J471tIf/xzLtC8Jh61ya3rTcczu+rmzNItH54E2 70v2WPrYXYPj0yMGUCEAUh9jVsFRAmElX0At3/oWJG98WLu8oKf2fWnlY65olg95tZdb 9hV848s8FcCR+eHVmRRZcGp08TL2ZZr5KyYtwHaCgkeBD8MhN0wAJdTYEObUqwJvjNsJ BtK/q0Zbi2FgxjeauJftPdI70JVgTKn1UDKz022mkkz9IXU7OUwMd64VZ1H8/5kQ3n/s n3Nf4/6zrhA9zAg0rPEFCgls7yRcrBpGzeIKNOK0Z1u9IMqrQGmhIfwkXLRzjvoeb2P8 XUEQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a63df4b000000b0055afc8d8a0bsi18366pgj.411.2023.07.10.10.57.26; Mon, 10 Jul 2023 10:57:39 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233098AbjGJRYH (ORCPT + 99 others); Mon, 10 Jul 2023 13:24:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232792AbjGJRXm (ORCPT ); Mon, 10 Jul 2023 13:23:42 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F21DE12B; Mon, 10 Jul 2023 10:23:40 -0700 (PDT) Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.2.0) id 33f7147148083300; Mon, 10 Jul 2023 19:23:39 +0200 Received: from kreacher.localnet (unknown [195.136.19.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 1772E660DCF; Mon, 10 Jul 2023 19:23:39 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Bob Moore , Saket Dumbre Subject: [PATCH 04/14] ACPICA: Add support for _DSC as per ACPI 6.5 Date: Mon, 10 Jul 2023 19:13:50 +0200 Message-ID: <13311081.uLZWGnKmhe@kreacher> In-Reply-To: <5698695.DvuYhMxLoT@kreacher> References: <5698695.DvuYhMxLoT@kreacher> MIME-Version: 1.0 X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrvdekgddutdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepledtieekkeekveeikeetgffgteeuteefjeevjeegudelvdduheeiuedvieehieevnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeegpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprhhosggvrhhtrdhmohhorhgvsehinhhtvghlrdgtohhmpdhrtghpthhtohepshgrkhgvthdrughumhgsrhgv sehinhhtvghlrdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=4 Fuz1=4 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771057299901656497 X-GMAIL-MSGID: 1771057299901656497 From: Saket Dumbre ACPICA commit a597e3b247df72aec0f6e056c95abe2d973ac10c Link: https://github.com/acpica/acpica/commit/a597e3b2 Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki --- drivers/acpi/acpica/acpredef.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/acpi/acpica/acpredef.h b/drivers/acpi/acpica/acpredef.h index e64aabe3d33a..2e442f5a3123 100644 --- a/drivers/acpi/acpica/acpredef.h +++ b/drivers/acpi/acpica/acpredef.h @@ -440,6 +440,9 @@ const union acpi_predefined_info acpi_gbl_predefined_methods[] = { {{"_DOS", METHOD_1ARGS(ACPI_TYPE_INTEGER), METHOD_NO_RETURN_VALUE}}, + {{"_DSC", METHOD_0ARGS, + METHOD_RETURNS(ACPI_RTYPE_INTEGER)}}, + {{"_DSD", METHOD_0ARGS, /* ACPI 6.0 */ METHOD_RETURNS(ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Pkgs) each: 1 Buf, 1 Pkg */ PACKAGE_INFO(ACPI_PTYPE2_UUID_PAIR, ACPI_RTYPE_BUFFER, 1,