Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3654925pxb; Mon, 24 Jan 2022 14:33:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/8TXN7sahAIYFt9/V22XOQuXuSWvtFS6chr4BoTxpYWmzW762TAbP82R97x537WkCAlAz X-Received: by 2002:a17:902:aa85:b0:149:4614:bc1f with SMTP id d5-20020a170902aa8500b001494614bc1fmr15914675plr.150.1643063596505; Mon, 24 Jan 2022 14:33:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643063596; cv=none; d=google.com; s=arc-20160816; b=lJMabtiEo4tww3pD+GXwBBMWTzdRVwYKzOaHKFy1PY3XJ4ReqMEFQKRSstCMRGVO2f 6t44DTDhvUcVU+oTXAZvjDXLiR8AYGbHMg4CMQHWY883jLQ55c35HGVtzv/0H4yteEJW zFWg9OzXBwT8AbzyB6cwtCe/wlW9L+42mhtpLcmaXVwq4kBn0N/9hAAkrVuMZCnbvrh2 E2Uff9y9S+C2viDLHOVYWeJ/El7OpEbXBCrJOHeY5zamKpmdloqhdGLYP+LdoLi8Mpdn ZEFDO0fDsA+md+GrZcMKNm9T0h8mhXYuhiXmczSz0umb0DuhbIDj59buUs/FNGa/3KLK 2dbQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=TWAT2iJ3IWcmPE0YlOvZe4eXwiZtC7jRKzquEPsaouc=; b=eeGncB1cWK37z4GasLcrDc9iButj5ZvMr68Pp0p0yQhh8EcxCKL0QidVan+ZTcjXjJ sKpGyPI4xxlMJBGnCSz3dRMvprW1QyOhAgC2UVBu+M/YTdfZpIaB+oRmPLzlUQaP99Tf SW3sp3dfbBEtG4F/uTxe81gNfxexhSkEDSSbb0Tx+Cv1nhWHwudkx9e4vEDO5DX+ex1C k2/vfvNHcinigHI7t5R0446JjfwGsH3UtRTwD2MtxrN+hv92f2b/PeQ5JQ/SRxFdHlDB 9ccub7oRsT3tuwVtscD/nwzEhYJKzK0ZDktU8e7cR0utTmt9Jo2SLH0cnaItHUc+AuPe a7mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0o463h19; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m14si3456011plx.207.2022.01.24.14.33.04; Mon, 24 Jan 2022 14:33:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0o463h19; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1588018AbiAXWae (ORCPT + 99 others); Mon, 24 Jan 2022 17:30:34 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:50594 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377582AbiAXViv (ORCPT ); Mon, 24 Jan 2022 16:38:51 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CE3E2B815AC; Mon, 24 Jan 2022 21:38:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 056B6C36AEB; Mon, 24 Jan 2022 21:38:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643060327; bh=/CkJZbBS/noqHTVzt9gb1OaMJAK407vUfQxtvkkrFfs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0o463h19Qf/HjpGwKPT8ghXEAfITqpgz57SAWuZ/ySZMZk02aFm2Mhh54VEmL9FDe ge3h+ONg1TyJgVTcDL72YOzGLSQsxCMaKP5QJfLDfi/VGlLNnvJq0RAFoaUpzpPSOj 32h09wrtzyPPGOrjZ2bB3LFPvldQCb1O8YkKQJXU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sakari Ailus , Andy Shevchenko , "Rafael J. Wysocki" Subject: [PATCH 5.16 0912/1039] Documentation: ACPI: Fix data node reference documentation Date: Mon, 24 Jan 2022 19:45:01 +0100 Message-Id: <20220124184155.959228329@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sakari Ailus commit a11174952205d082f1658fab4314f0caf706e0a8 upstream. The data node reference documentation was missing a package that must contain the property values, instead property name and multiple values being present in a single package. This is not aligned with the _DSD spec. Fix it by adding the package for the values. Also add the missing "reg" properties to two numbered nodes. Fixes: b10134a3643d ("ACPI: property: Document hierarchical data extension references") Signed-off-by: Sakari Ailus Reviewed-by: Andy Shevchenko Signed-off-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman --- Documentation/firmware-guide/acpi/dsd/data-node-references.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) --- a/Documentation/firmware-guide/acpi/dsd/data-node-references.rst +++ b/Documentation/firmware-guide/acpi/dsd/data-node-references.rst @@ -5,7 +5,7 @@ Referencing hierarchical data nodes =================================== -:Copyright: |copy| 2018 Intel Corporation +:Copyright: |copy| 2018, 2021 Intel Corporation :Author: Sakari Ailus ACPI in general allows referring to device objects in the tree only. @@ -52,12 +52,14 @@ the ANOD object which is also the final Name (NOD0, Package() { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package () { + Package () { "reg", 0 }, Package () { "random-property", 3 }, } }) Name (NOD1, Package() { ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"), Package () { + Package () { "reg", 1 }, Package () { "anothernode", "ANOD" }, } }) @@ -74,7 +76,11 @@ the ANOD object which is also the final Name (_DSD, Package () { ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), Package () { - Package () { "reference", ^DEV0, "node@1", "anothernode" }, + Package () { + "reference", Package () { + ^DEV0, "node@1", "anothernode" + } + }, } }) }