Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3049498yba; Mon, 8 Apr 2019 10:01:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzEjmvwJDNmwHwMyl37xFI8wXAWRdG5IViWXHkLbfHX6dPWjbXIQvYCS+X/u7Tt09MX9LWo X-Received: by 2002:a62:1f92:: with SMTP id l18mr31528690pfj.180.1554742873908; Mon, 08 Apr 2019 10:01:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554742873; cv=none; d=google.com; s=arc-20160816; b=0Y4Pn4VQei6FoGe055sVxn7mHSb23HkMoBqfOI2+OBl+9LT8qg0GdeIgS3ZYhc84Fp IZ8qADtFchH78rRrHAc4ZIErR2diFutocrJMsEhEg7CTq3bn2oOW5wxBilIIqbeWKSFf oWQ8gSvYO6rDolGb6BUY4oxhQp2ZlIHyHQ4wXw/T2oR8d5iyYnuH6wVW2AgO4H/9dROy 6f6AV0afgxaOJto4Fh+nhgUlX1O2ugAypn4wXFoTFcyk5L/bFAR0ZmS+rEqvyVilBLqm tCI4AJ2NWF664vp+2qNRN95L80IGcurASeok167RCT/Dk09DH/WMN+pL/dmMbKf+LaoU ke0g== 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:date:subject:cc:to:from :dkim-signature; bh=LjqWFQd9f4udM9lpSAPOlXKEaiWBGg47uilrc82cBF4=; b=GxL4sH2xHQGxq7Br2YdE/w36HAMPWf+CzzHlMsuROsx90A2WfQhICxgHUuGfp2kzTP DMUlmK2d/xrED2yYDGxYnp8lISHVw7uO+Oydid6+j4h+RejP4JII1L8L/xUyZ8Vncey3 AMcymBATrvNm/qEiHnKmBnCtf8DDBFn9trRfwDHWCXfm+gPAHVnTHzcAM4iGFZ2AkCss cTaGy1TuNLi5r7SQORB2/Sf3kv6Xz2UyKbGZrqbkX4y5NlpisuZox/Q4l2nY6VgcSAgi uNWNuQpQNUGKP0zukWrw8Dseb/HfhdnJAAgstDeZ2yPplcVR2wIPgETnDHzmHFnegLdd UbxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=O2RCJU+I; 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 i16si4140835pgk.486.2019.04.08.10.00.58; Mon, 08 Apr 2019 10:01:13 -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=bombadil.20170209 header.b=O2RCJU+I; 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 S1729258AbfDHQ6j (ORCPT + 99 others); Mon, 8 Apr 2019 12:58:39 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58648 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729215AbfDHQ6g (ORCPT ); Mon, 8 Apr 2019 12:58:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type: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=LjqWFQd9f4udM9lpSAPOlXKEaiWBGg47uilrc82cBF4=; b=O2RCJU+Izw2lwl6lhULD/KHn9y 6RUDOoHkgeMSwadrCjIK3VULH1jSqCPdesx9y1VcH9IpDsdIi4GpLj/xqZ9CT0h8CXQqM7Mo8rTSy VZHsCHPA6ubRr+co5ToHx7oeJjbmG200nj7CqIcxOy/yXlcEFr0ikwDotwVNQpYskmzY1JAgRWqOk S9B0roahluVU262orvJtXpCk4YS2wCeMCaPlZzTf89Vy8WTl9E72D5EMC4k7di8mqh20JorlXkoHw H32JYDzDAR7U+BC3hLe8VJZ0YN8/BD13xH5bHsKQRkx2ORtfv5BWu8ZQx/8DIb+Br7f2q4TmnS1er OuYZjX8Q==; Received: from [179.95.33.162] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDXbO-0005So-7V; Mon, 08 Apr 2019 16:58:34 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hDXbI-0005nD-8L; Mon, 08 Apr 2019 13:58:28 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH 04/10] docs: ntb.txt: use Sphinx notation for the two ascii figures Date: Mon, 8 Apr 2019 13:58:20 -0300 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to make it to build with Sphinx, we need to fix the notation for two ascii artwork. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ntb.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/ntb.txt b/Documentation/ntb.txt index a043854d28df..344a075f81f5 100644 --- a/Documentation/ntb.txt +++ b/Documentation/ntb.txt @@ -41,9 +41,10 @@ mainly used to perform the proper memory window initialization. Typically there are two types of memory window interfaces supported by the NTB API: inbound translation configured on the local ntb port and outbound translation configured by the peer, on the peer ntb port. The first type is -depicted on the next figure +depicted on the next figure:: + + Inbound translation: -Inbound translation: Memory: Local NTB Port: Peer NTB Port: Peer MMIO: ____________ | dma-mapped |-ntb_mw_set_trans(addr) | @@ -58,9 +59,10 @@ maps corresponding outbound memory window so to have access to the shared memory region. The second type of interface, that implies the shared windows being -initialized by a peer device, is depicted on the figure: +initialized by a peer device, is depicted on the figure:: + + Outbound translation: -Outbound translation: Memory: Local NTB Port: Peer NTB Port: Peer MMIO: ____________ ______________ | dma-mapped | | | MW base addr |<== memory-mapped IO -- 2.20.1