Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp78875lqf; Thu, 25 Apr 2024 23:19:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVwXmMjqSUrKrEprqMY7U6XxKfJGb5I7SCMnMplpqmDQtjdxK6qjl9aWQ+Y9InU0oSwOR9HKUic3jQ3xHV7KHM0NuEB6KQTAiwl9S0fJQ== X-Google-Smtp-Source: AGHT+IF3k17kqoAK18U51YRvvQj/1mtoMkmAm+u2S5yFjy0f7tRd65dr5KsroGeL5uQKYHL9D1gl X-Received: by 2002:a05:690c:3610:b0:611:191e:1de8 with SMTP id ft16-20020a05690c361000b00611191e1de8mr2551900ywb.18.1714112345894; Thu, 25 Apr 2024 23:19:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714112345; cv=pass; d=google.com; s=arc-20160816; b=aIqQ+7k7Zz3VqGVDk1rzVY9q5GtKhYnHZoq7tBDSnllhNFrwJZkOIVP5AJDmUM1CDE Nx/LwDfOEksCHzNJkOTdmWgevPHLqdSJr/R1Koj6wFjyeguk6n4twSP1AVGBuvijlkB4 yGFPd7IV09zqdcl3UmwJfHO01Uo1w5GmvEC4B1jqc0I5En66RZZAcdH3PFZ12k43ojzq UIW3LUjwgkDXT7U4z6GRof9WldKt8g6H0VRC7/1lpABccXhPOYZVYMFEq2Gsyq4hTRMQ qgqeOn6F8gXdEjMXUfUsEgndhwN1cMTpNvmf+YSikRUhjErAynt92u9mSc+4DvkoyGFn O2LA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=RX3guNs5kzeq9m9125JonMmkPY9anZbep9RRXoCvVvs=; fh=A1hmsaV5gO9SiJogAv7JGGpemFGTUXTJQrHhK5F3hCA=; b=ZlWaVChZCOzUgmpOtYrFu9pjSen+MsBKArpd8WwrjSCYWAopKMZIvQnwZFnR93VXzV 6NS9tgxydRsOmCBtKuzyZhavv2pPY+nJBtpScW37N0nX+40sAQ910tMw3uOw3yphhiVi nVyGgPULWcyrinphjgmLG0bXotrJF7Gfr5suUhvFumA5AF7cNiyBIRuCCc7cvF7Ml13U eICoLIVpBBT6uFyC5YlGztcykyiaM6NsyDj3JUSiszpa2RRI47n3WkucqR2i8HaxGO8H yjil3cn49/GbS3VYXBkEKnu5v+tUk0Xegnhb0ghu5hID6JDwYpq7idOA/n+JbqE8YHda B2pA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-159554-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159554-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k9-20020a63ff09000000b005f3e2d559bbsi15096663pgi.737.2024.04.25.23.19.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 23:19:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159554-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-159554-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159554-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 77A70280E3F for ; Fri, 26 Apr 2024 06:19:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E8BF713A86E; Fri, 26 Apr 2024 06:18:59 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3930813A407; Fri, 26 Apr 2024 06:18:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714112339; cv=none; b=JJ+Qz8ioZaGeVCuPo9NLbKvRjC4RjXjCw+TSvvOAwAg0D17wZRSj1S4SlpUy3LKXNdznqUi4N9jfFgAwZZi1gUAYcYnYDu6IQxr6aZRNk0kWZgRmZwv482XWoAwXD7IJm/1lX7j/sjClRbQYKkSdHC1bM8D6irHP5i6YouSdQ3M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714112339; c=relaxed/simple; bh=IAC3rV1q7fFIx2vqAtJsSOMjBW1kF3SrkP4zjxbT0Pc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dsHbMV+zuPBeEUXxYbFo1FTc2OP4b03E4gIgPi5Nzuq667HYjFjSbqxwb2y63tTXyMGQJdUj2AmspIYDyXGXzlQiJcGQjU77VU7xbbRZeUqbQI0MxnR5WOISg65n8IFkfil5CeeipLxkGtl9iemD/Eo/SJhCHxHMlbQjlyNZZfo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 599A268C7B; Fri, 26 Apr 2024 08:18:52 +0200 (CEST) Date: Fri, 26 Apr 2024 08:18:52 +0200 From: Christoph Hellwig To: mhklinux@outlook.com Cc: robin.murphy@arm.com, joro@8bytes.org, will@kernel.org, hch@lst.de, m.szyprowski@samsung.com, corbet@lwn.net, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, petr@tesarici.cz, roberto.sassu@huaweicloud.com Subject: Re: [PATCH v2 1/1] Documentation/core-api: Add swiotlb documentation Message-ID: <20240426061852.GA5645@lst.de> References: <20240424150253.560999-1-mhklinux@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240424150253.560999-1-mhklinux@outlook.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Wed, Apr 24, 2024 at 08:02:53AM -0700, mhkelley58@gmail.com wrote: > From: Michael Kelley > > There's currently no documentation for the swiotlb. Add documentation s/the // ? (note that this is used in quite a few places) Can you use up the full 80 characters for your text? As-is it reads a little odd due to the very short lines. The other thing that strikes me as odd is the placement in the core-api directory together with other drivers-facing documentation. Swiotlb is internal to the dma-mapping subsystem and not really what is a core API. I don't really know where else it should be placed, though - nor do I really understand the "modern" hierarchy in Documentation, but maybe Jon has a good idea? Except for these nitpicks the documentation looks good to me, thanks a lot!