Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1816371pxj; Wed, 19 May 2021 14:49:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMUzk8vUBP/hE0FRHeTYrdwiq15qz3sWsY2LdLsBdY46wOAgnjFITa6n1jx3ulLG8fLqOb X-Received: by 2002:a05:6402:2548:: with SMTP id l8mr1265925edb.208.1621460965990; Wed, 19 May 2021 14:49:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621460965; cv=none; d=google.com; s=arc-20160816; b=tByj+F4L51D64nHDQdpdIeUHReA4mYMOKd7qoLj/PbYHV+WziAlx+8y3zpb85s8cHC 3cX9HHUlhKiOTk+xj2TfFNaQKPbRhEmqgCN6h5jaOe7Wd2lqE5TZpvRr+nt99fUPqtWg BhpDOjjUzqEro08IK9rwSQb/Nc8NukzpQIMkv8vhVNRHPSaWn+38N7pyJkj/qk4sw7xm MbpAfhWgDT3094nA5tyFXkLz6ZhBKD5BynRpfhyHq6eWo8npZHmHH+j4dISuQ2EnYeV7 ZjIfHMk26Dn8N7A7TgtopmdCvfPJYeuhTumK1cIsyhD7ITCGHOv1kwSFBs/JZO795UWV zxYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=kAR4Pos8D0El15Idu1Vyv2dbSlgkaucH3YOGXwkoPQs=; b=Upy0Sz9McMOk9uQa7Qn5VCprTk19BWFG9/+V91ll7COcqF2W3MncwrqVxOYspXNHRi GNYWo6KgDCwgg9rPXbeO8O1e+7Xbc/wEjKMJXO5Ol/OjPehbjnDiihEOnV1uZg6bOr/s i5f8fgM4dd/w3evbQtds91L/lvGuiIUQ5jLhCMJoyJ/3Qhk0vQ23Rh+nH3HjGWubvJeS 6X604BF/TDOAwwtZcMsU5fK7R3UEBvHt6/7rK6UUyICN/zu24LW+tqjf9uawSFdUhvkv i7V9Jw3I6530woZ9INS28l9QflrshjbtOB6ISnjIkynxt6UQlbXsJj6Pq6Y35BAUQYZJ MEjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vMO09XZ8; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k22si747395eje.197.2021.05.19.14.49.01; Wed, 19 May 2021 14:49:25 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=vMO09XZ8; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229668AbhESVsx (ORCPT + 99 others); Wed, 19 May 2021 17:48:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:54478 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229455AbhESVsx (ORCPT ); Wed, 19 May 2021 17:48:53 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EA1EE61073; Wed, 19 May 2021 21:47:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621460853; bh=tHaOOHHVdmLzBY2uVhjLp6EN57ldSFVEFxz8CkgXaqY=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=vMO09XZ8aTNIBxiigG6vfuooX7c91sXQJ9lbTkxe+hRAXzvhWqRc+N4OB0aKam/vE bMJnC/s1D3Cdqtj2yceZ3l/vJUq9U6kx6vADaV64x4Lo7WBswRvG4h2BjAwtPoKkVN UptWn5VVO/bqD0wNj3bGqAgwR0Z00xJBsVsYF5xv+4azgDoSGlYfBByIkvqam4oF1x qM0ZJWa6PrSWw13S1LgPmZkyhaXdWZ+81H7cePVyNP8GW48vOOSoP+xYPl9R1P6EgM ksUwZUjp8D8ntrVuMdbD1tb8kYQiOZvHqQpp1a6qnq49lRK53cmuEe+9bIQOwleDVh Z8wZUiYjdEOcw== Date: Wed, 19 May 2021 16:47:31 -0500 From: Bjorn Helgaas To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Jonathan Corbet , Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v3 12/16] docs: PCI: acpi-info.rst: replace some characters Message-ID: <20210519214731.GA262176@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <320bafda201827dd63208af55b528ae63bcf8217.1621159997.git.mchehab+huawei@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 16, 2021 at 12:18:29PM +0200, Mauro Carvalho Chehab wrote: > The conversion tools used during DocBook/LaTeX/html/Markdown->ReST > conversion and some cut-and-pasted text contain some characters that > aren't easily reachable on standard keyboards and/or could cause > troubles when parsed by the documentation build system. > > Replace the occurences of the following characters: > > - U+00a0 ('?'): NO-BREAK SPACE > as it can cause lines being truncated on PDF output > > Signed-off-by: Mauro Carvalho Chehab Apparently you missed https://lore.kernel.org/r/20210512212938.GA2516413@bjorn-Precision-5520 where I pointed out a couple issues (3 spaces after period in first hunk, extra whitespace at end of "know about it." hunk) and added my ack. The subject line would be more useful as: docs: PCI: Replace non-breaking spaces to avoid PDF issues It's fine to defer those issues if you want, but this is still: Acked-by: Bjorn Helgaas > --- > Documentation/PCI/acpi-info.rst | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff --git a/Documentation/PCI/acpi-info.rst b/Documentation/PCI/acpi-info.rst > index 060217081c79..34c64a5a66ec 100644 > --- a/Documentation/PCI/acpi-info.rst > +++ b/Documentation/PCI/acpi-info.rst > @@ -22,9 +22,9 @@ or if the device has INTx interrupts connected by platform interrupt > controllers and a _PRT is needed to describe those connections. > > ACPI resource description is done via _CRS objects of devices in the ACPI > -namespace [2]. ? The _CRS is like a generalized PCI BAR: the OS can read > +namespace [2]. The _CRS is like a generalized PCI BAR: the OS can read > _CRS and figure out what resource is being consumed even if it doesn't have > -a driver for the device [3]. ?That's important because it means an old OS > +a driver for the device [3]. That's important because it means an old OS > can work correctly even on a system with new devices unknown to the OS. > The new devices might not do anything, but the OS can at least make sure no > resources conflict with them. > @@ -41,15 +41,15 @@ ACPI, that device will have a specific _HID/_CID that tells the OS what > driver to bind to it, and the _CRS tells the OS and the driver where the > device's registers are. > > -PCI host bridges are PNP0A03 or PNP0A08 devices. ?Their _CRS should > -describe all the address space they consume. ?This includes all the windows > +PCI host bridges are PNP0A03 or PNP0A08 devices. Their _CRS should > +describe all the address space they consume. This includes all the windows > they forward down to the PCI bus, as well as registers of the host bridge > -itself that are not forwarded to PCI. ?The host bridge registers include > +itself that are not forwarded to PCI. The host bridge registers include > things like secondary/subordinate bus registers that determine the bus > range below the bridge, window registers that describe the apertures, etc. > These are all device-specific, non-architected things, so the only way a > PNP0A03/PNP0A08 driver can manage them is via _PRS/_CRS/_SRS, which contain > -the device-specific details. ?The host bridge registers also include ECAM > +the device-specific details. The host bridge registers also include ECAM > space, since it is consumed by the host bridge. > > ACPI defines a Consumer/Producer bit to distinguish the bridge registers > @@ -66,7 +66,7 @@ the PNP0A03/PNP0A08 device itself. The workaround was to describe the > bridge registers (including ECAM space) in PNP0C02 catch-all devices [6]. > With the exception of ECAM, the bridge register space is device-specific > anyway, so the generic PNP0A03/PNP0A08 driver (pci_root.c) has no need to > -know about it. ? > +know about it. > > New architectures should be able to use "Consumer" Extended Address Space > descriptors in the PNP0A03 device for bridge registers, including ECAM, > @@ -75,9 +75,9 @@ ia64 kernels assume all address space descriptors, including "Consumer" > Extended Address Space ones, are windows, so it would not be safe to > describe bridge registers this way on those architectures. > > -PNP0C02 "motherboard" devices are basically a catch-all. ?There's no > +PNP0C02 "motherboard" devices are basically a catch-all. There's no > programming model for them other than "don't use these resources for > -anything else." ?So a PNP0C02 _CRS should claim any address space that is > +anything else." So a PNP0C02 _CRS should claim any address space that is > (1) not claimed by _CRS under any other device object in the ACPI namespace > and (2) should not be assigned by the OS to something else. > > -- > 2.31.1 >