Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4030950yba; Tue, 23 Apr 2019 13:54:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxo1yXlRoef91TjOGGcAEWWhlXQ/UaRMKY0N2qpIJ5n0DEiEbAwjnNq9beiSaSJyNckNCYz X-Received: by 2002:a63:5953:: with SMTP id j19mr26534867pgm.260.1556052843361; Tue, 23 Apr 2019 13:54:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556052843; cv=none; d=google.com; s=arc-20160816; b=nsUxWPxd7oViO6GlKQig0trNksKKapmjiWSQBHwnwsQYCjOJpN1pADl2IT0x3xRzo+ GYi1x5lB3HZfAavtKUSB+oFx9ADBQ0PmsdnGtIW554nM5g5dqMc+pAUDi0tx4Y115wet ZsqUYF6nMcvFyw5y0uJZ7wKqN3kO6UuyBG6HPYZXiLC3uB0fqhcj1Co/87yKNqpzzlGq XqgscaJ6/c7iMs5QZWVqEVD/j4sjuNno/4gXcjbcaUk0ajc2ESaAOVAezonNdT8WQPSB L9UQnl5uYQhVaMWSdPO6zqpx6cUvrJL/tf9BNTm318cPNDyxaMwaSnRA3tY8WmIgSCpZ iROA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=pUj6taDIDIX0RwWhLgs2VmMdHzD1AwNqbDMCZDMkgjo=; b=u9nRg3WxBV8PLr2Y68XUUEzTpgMQLfXThBu3Yubh+k9SlR1S4fK3WLustDSSjdq4jP Who7ecN+yPHx9oBOdf8Pt4f1TWVuWNNC+xY/0jrpljih6Ah7Wzaw8UGP30ro6S7fqPKV Z5717jgr/QqoXHN4x6zTfZWqn8gayiJBvJNNMGjgVUv7DP+8/D6MfEOejSGEPQrvJ6aV fSNemAge0R2uVac3RD3FGXa7+tO+1KhoPiregvyIhnIXlC0UJmutyp3jmX3DPDn2lOL8 oh/0NVWQx3SzwV4qLk+RPr+mURNzU7mfi9IlP25gLJ0Q619XZ57wGPE6Zm9IPAliRYlJ R1gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b="ZA+VPq/O"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t16si15278638pgu.344.2019.04.23.13.53.47; Tue, 23 Apr 2019 13:54:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b="ZA+VPq/O"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727929AbfDWUwo (ORCPT + 99 others); Tue, 23 Apr 2019 16:52:44 -0400 Received: from casper.infradead.org ([85.118.1.10]:36738 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727801AbfDWUwm (ORCPT ); Tue, 23 Apr 2019 16:52:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pUj6taDIDIX0RwWhLgs2VmMdHzD1AwNqbDMCZDMkgjo=; b=ZA+VPq/OfG7JGQOlhB0otLmSjU pxIdeZlXcxMo5sk8LvrMboM239nMcoTE4fzzwVWT8SKvl/PbN+owRzF9A0oSdS2TGFCKXaf5p9Mpu ixoi6eqN/j6myx8I0qHD8mYT13ABhceHWSSbWFN3PbXBczM/wAg8WGofbKFMv2Vs/snm7eS2M+oXb ljewuZrhOjWa3EyZK9aHbv7ojDuFbIaKx9+77GqSez10U3778Z9JO2GoA4s7us6K4Snh09A/VCaRZ K+4rcKJ/0BuOhvPqCavkFFleswKn/P4VioNuotmX+g5Ejt9BDu8thcY0L4EpP5UtysQQxzd/d43YS R7h+PBYg==; Received: from 177.17.136.231.dynamic.adsl.gvt.net.br ([177.17.136.231] helo=coco.lan) by casper.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJ2P8-0002xc-2x; Tue, 23 Apr 2019 20:52:38 +0000 Date: Tue, 23 Apr 2019 17:52:31 -0300 From: Mauro Carvalho Chehab To: Changbin Du , mingo@redhat.com, x86@kernel.org, fenghua.yu@intel.com, linuxppc-dev@lists.ozlabs.org, linux-acpi@vger.kernel.org Cc: Jonathan Corbet , Bjorn Helgaas , rjw@rjwysocki.net, linux-pci@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, linux-gpio@vger.kernel.org Subject: Re: [PATCH v4 07/63] Documentation: ACPI: move DSD-properties-rules.txt to firmware-guide/acpi and covert to reST Message-ID: <20190423175231.371be9ef@coco.lan> In-Reply-To: <20190423162932.21428-8-changbin.du@gmail.com> References: <20190423162932.21428-1-changbin.du@gmail.com> <20190423162932.21428-8-changbin.du@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, 24 Apr 2019 00:28:36 +0800 Changbin Du escreveu: > This converts the plain text documentation to reStructuredText format and > add it to Sphinx TOC tree. No essential content change. > > Signed-off-by: Changbin Du For the conversion itself: Reviewed-by: Mauro Carvalho Chehab > --- > .../acpi/DSD-properties-rules.rst} | 21 +++++++++++-------- > Documentation/firmware-guide/acpi/index.rst | 1 + > 2 files changed, 13 insertions(+), 9 deletions(-) > rename Documentation/{acpi/DSD-properties-rules.txt => firmware-guide/acpi/DSD-properties-rules.rst} (88%) > > diff --git a/Documentation/acpi/DSD-properties-rules.txt b/Documentation/firmware-guide/acpi/DSD-properties-rules.rst > similarity index 88% > rename from Documentation/acpi/DSD-properties-rules.txt > rename to Documentation/firmware-guide/acpi/DSD-properties-rules.rst > index 3e4862bdad98..4306f29b6103 100644 > --- a/Documentation/acpi/DSD-properties-rules.txt > +++ b/Documentation/firmware-guide/acpi/DSD-properties-rules.rst > @@ -1,8 +1,11 @@ > +.. SPDX-License-Identifier: GPL-2.0 > + > +================================== > _DSD Device Properties Usage Rules > ----------------------------------- > +================================== > > Properties, Property Sets and Property Subsets > ----------------------------------------------- > +============================================== > > The _DSD (Device Specific Data) configuration object, introduced in ACPI 5.1, > allows any type of device configuration data to be provided via the ACPI > @@ -18,7 +21,7 @@ specific type) associated with it. > > In the ACPI _DSD context it is an element of the sub-package following the > generic Device Properties UUID in the _DSD return package as specified in the > -Device Properties UUID definition document [1]. > +Device Properties UUID definition document [1]_. > > It also may be regarded as the definition of a key and the associated data type > that can be returned by _DSD in the Device Properties UUID sub-package for a > @@ -33,14 +36,14 @@ Property subsets are nested collections of properties. Each of them is > associated with an additional key (name) allowing the subset to be referred > to as a whole (and to be treated as a separate entity). The canonical > representation of property subsets is via the mechanism specified in the > -Hierarchical Properties Extension UUID definition document [2]. > +Hierarchical Properties Extension UUID definition document [2]_. > > Property sets may be hierarchical. That is, a property set may contain > multiple property subsets that each may contain property subsets of its > own and so on. > > General Validity Rule for Property Sets > ---------------------------------------- > +======================================= > > Valid property sets must follow the guidance given by the Device Properties UUID > definition document [1]. > @@ -73,7 +76,7 @@ suitable for the ACPI environment and consequently they cannot belong to a valid > property set. > > Property Sets and Device Tree Bindings > --------------------------------------- > +====================================== > > It often is useful to make _DSD return property sets that follow Device Tree > bindings. > @@ -91,7 +94,7 @@ expected to automatically work in the ACPI environment regardless of their > contents. > > References > ----------- > +========== > > -[1] http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf > -[2] http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf > +.. [1] http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf > +.. [2] http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf > diff --git a/Documentation/firmware-guide/acpi/index.rst b/Documentation/firmware-guide/acpi/index.rst > index 868bd25a3398..0e05b843521c 100644 > --- a/Documentation/firmware-guide/acpi/index.rst > +++ b/Documentation/firmware-guide/acpi/index.rst > @@ -10,3 +10,4 @@ ACPI Support > namespace > enumeration > osi > + DSD-properties-rules Thanks, Mauro