Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3978355pxb; Tue, 25 Jan 2022 00:30:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzs07KqrcEldqx/Z6bRNXIOITzYNWM4jDWnGoU0Ym+BED50xuNc41CLCIiK9ap/4R2umrou X-Received: by 2002:a05:6402:35ce:: with SMTP id z14mr19941477edc.220.1643099416831; Tue, 25 Jan 2022 00:30:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643099416; cv=none; d=google.com; s=arc-20160816; b=GQSnLaCUCzkLYV5cBA6tu84z/b1daYlhVumCW6ZBaZymIuz2EBPZrLcVRJWLA6Y0oT RqsnXPMOi1hIpqQ2OZbwHEneGCn1ci8e5a/Gx/FHjxJshY7QOIx1LrrOethgZNS/+ihZ GIPdyS3DCrkI0gDPJePAks27aEZYBMBsVIffVLiO9BkkWKOxSOhqa82AZ4duj45O7F8n 0cCWpZm2ABASXUqUiSHNx/AfTeHsK40NlyKU+cIN3oxD6NMDz1X6a7lKx0gv7lsRdzNK NM2uptkNRnCiUxPSgIlKbSnyI8I3vGMXfB+9G3UaIDnRg0G6Dih6IYU9aQz0gUy4j3tg g1Cw== 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=a1BDPzgg+yioxELVPUnAkb1GpRQCTpQdX2ofPRgC5f5L2Q76Lz+7RRSLK5FwRjrA93 tlOAq+IMW45/u+CxM14obPGmdrHKayY5yuV79ZNeqNuj3/MW+rPh3WVw3VRmU/wEV0pb aCQBZ9B4MTZPGgACIQLyBCTDFj/YNZD6xK7U7zHGa+weBs6btCj5yqu74UunTmxdJ7Nz TtYno4oTycQD0/45cyxKyvUfRLs+KFGqx/FrV9jZ+n1TKwXguma49O8/rRfRXvmlGJhc C2VjNxS7XSrRapGWGDIevL30CQAhXXVpeFTmMZEjYhugpjrCC4881/sKP+HaFPrSu0FR BWPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2LiZgTyZ; 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 s18si9595603eji.236.2022.01.25.00.29.51; Tue, 25 Jan 2022 00:30: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=2LiZgTyZ; 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 S3422944AbiAYCcf (ORCPT + 99 others); Mon, 24 Jan 2022 21:32:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355551AbiAXUWa (ORCPT ); Mon, 24 Jan 2022 15:22:30 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89917C0417CE; Mon, 24 Jan 2022 11:40:11 -0800 (PST) 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 51E28B81215; Mon, 24 Jan 2022 19:40:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74CE8C340E5; Mon, 24 Jan 2022 19:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643053209; bh=/CkJZbBS/noqHTVzt9gb1OaMJAK407vUfQxtvkkrFfs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2LiZgTyZEXUnOWd2dJuGh+dWOk+/XFW2H4Rcno9IhEuXu4fRrmSginiCXvN9aJS51 TQUJ9jxSzQBnCWVUBoZ1ae9PohqAh1Xv1gTgdnvRIfOTf14qXFqU8NYKJTZ5sfTFME mhcTRd7c9ro1rZogPO+1GkUXQE7KOc0pXv5Q0O94= 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.4 278/320] Documentation: ACPI: Fix data node reference documentation Date: Mon, 24 Jan 2022 19:44:22 +0100 Message-Id: <20220124184003.431781304@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183953.750177707@linuxfoundation.org> References: <20220124183953.750177707@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" + } + }, } }) }