Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3624658pxb; Mon, 24 Jan 2022 13:47:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxPNQacNWq23l4pbAlQe5vOMDcRAw2/8mJ+rJC3rl18Dk1JNF5j4ptseGQlfjtlXdbLjdGM X-Received: by 2002:a17:902:c10a:b0:14b:4ae1:864a with SMTP id 10-20020a170902c10a00b0014b4ae1864amr7080602pli.106.1643060789831; Mon, 24 Jan 2022 13:46:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643060789; cv=none; d=google.com; s=arc-20160816; b=BMYvQaiAEy9cuvv1e9NObLwg6MeAhI5UyQk2gMFYMzn4nyZUNzCYuijJj1BAr+rIlb vjE2QuG0ecv4jm1sIR4aG7HF4OHdvU00yD+JW8pp/6OcZ9O3Ch1whgapouC2NdT34b2o y2wKDGNuf3dqDe2N5drOhNHU+gB49gFOOhbXwBlNpttRZEjocKevmfvb0GGQyQyejH/S 5rS3R7iqnrz2OiRQlDNZeLCo2RobBpZS2FLJZBxWrHwVeNDouO0irEQ59T/VW3uSgKta PQLIcD8Mqnd4+29xsKCtPrs5BX9GDVDDF+yDcRQo8JPYXx2G4fDtj10KykMWr2UC2nd7 v/4w== 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=VjKMiiC31OB51Nn8KkMAhjNL+tKlUu7HmAjjTJJPHpsoKF282RJwKt93hJnHj6s527 biO03j6jvr7QNFDBM+BKwcmgdEiyFJS9MI7nirFPUQtqORQ0EJboiR0rTRPOcXUsPtUs KJCcO2/6gh+CQSg6TeptrZHRETIGJj2buMC4BDIwx7TgdFRVaJ2iNQ6094gkaP/r5ACm 0h+JKm/yK/PCPSXZ1bnPpP54MjoSU/Xyy+Fj/W7e/nOKIE/oMFNptLCN79Rzf+X7XuCN M0AFGhLofroru3l4OEtf0p9cE1Sl1zEAgjAA5WRIcHps2bH5HLtvjB7fwqxoaMYpWbW4 1btQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DfwMs2jy; 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 k8si14980351pgc.268.2022.01.24.13.46.17; Mon, 24 Jan 2022 13:46:29 -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=DfwMs2jy; 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 S1452877AbiAXV1O (ORCPT + 99 others); Mon, 24 Jan 2022 16:27:14 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:47186 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1391084AbiAXUqz (ORCPT ); Mon, 24 Jan 2022 15:46:55 -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 9510DB812A4; Mon, 24 Jan 2022 20:46:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9761C340E5; Mon, 24 Jan 2022 20:46:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643057213; bh=/CkJZbBS/noqHTVzt9gb1OaMJAK407vUfQxtvkkrFfs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DfwMs2jyL1H7yxkWFiogEhGmI6bFvi4chSMeM3WiB7BDIT/2BWoOm0+e/di7vabBE TBamEpfM5SoZPvQ7+tsTITRzlelkME2fPxM3y43cjs8DZL0eYUsozakPnDPUFFVx3a 5LzidQX+yv7Gxv/8jVC23rBKsrDz1CfdHu+8F/24= 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.15 738/846] Documentation: ACPI: Fix data node reference documentation Date: Mon, 24 Jan 2022 19:44:15 +0100 Message-Id: <20220124184126.451066352@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@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" + } + }, } }) }