Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp250024lqf; Fri, 26 Apr 2024 05:57:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVYr7/5fbnwrn2e/3ZuorvPSbkw+RQD9JvrWC9NZZzixFRy4SBa8o9J9kErQ2flXr85CEOLMumN5w12StJcvJs/k+EXh785+72+Wkd3Dw== X-Google-Smtp-Source: AGHT+IFazHMtQ9DaJKQc7Ck77Cdfhs5Azxkk6QcNBER1M2KJbyW76yHoDtDfAh3TM26oSS+h27OL X-Received: by 2002:a05:6a00:4f8d:b0:6ec:e785:98b9 with SMTP id ld13-20020a056a004f8d00b006ece78598b9mr3285203pfb.27.1714136221568; Fri, 26 Apr 2024 05:57:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714136221; cv=pass; d=google.com; s=arc-20160816; b=fujftJWReVzHLRKC5iF9O1SBsCkoZm4vdLm39nRJ5MYmZLgeE6Ba7p9430BIfGN46i egG2VoLJKziPy9Aax9F/R9OMfrUcQyNygCOZIu/bssyBcnXIdYT1PNnUDou4QtLw1CJQ Bw1GRCmLVpON5hnT+d/PA/kQvFcDH5UP4gIvrh2PIMe4Km1fTpQ3+uhGDtH9e80u6DG/ MSJW9cAXW7PD/IuaIbdutB/9pJSAWJuw2YX01FQNjSYg1M2TmxcZjh5VlIkNxrWzF+oN fQNUjWKsntSbBgCFzGRq3Afl+W3ZdTe12NpgFbCGGxWRayhFWW0PoWy/CKD4q7djJNCB EiiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=O0KvzxSAUIcHusHXbcj1H/WOMoqxs1lLJ3AgneKmmhU=; fh=UzteHbal8xAmyGhKHwazkvjHhPIFPkO8Hwdj4crL2rQ=; b=TO5r7AGyI/5OvMd4A1ClndDcx+0oUb4jfPITaEZtim0oQj12EzJwExyU3ylTWjlkoE Jukftc31RpT6eTitmoM5dD8uwZEarShvX+NIsMEcFIOwqIiLKlvCJu+V/AT7n8Qi27AT rXjEAIU6UBvjoiq0qUv0jFsBPt7wk5JuFpEiNcPpZrKTuglyICijzjrCs8/JcvwOhnwk Nnlzyh1EpxIbZcQOxWie4bQS+NGZh4oV70Lv1KC5G7Xt8V1+bakXYWBdJT8lnd30LyCX dgCbjPsl25yc/KKsAh08IQ9HRcMzmC3c6TwFNC9c+DXkv1wLk+1KsugOPsZ1XgFxdlD0 LbeQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=VIrp8gQ3; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-160005-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160005-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 15-20020a056a00070f00b006eb01d66c8esi15037452pfl.332.2024.04.26.05.57.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 05:57:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160005-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; dkim=pass header.i=@lwn.net header.s=20201203 header.b=VIrp8gQ3; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-160005-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160005-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net 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 2F280283962 for ; Fri, 26 Apr 2024 12:57:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1143F146A9F; Fri, 26 Apr 2024 12:56:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="VIrp8gQ3" Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (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 D9B7E13E88A; Fri, 26 Apr 2024 12:56:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714136214; cv=none; b=QNYWqRM6UazvD/l3k/koT9KZGPcS2iJ9I0nPJoK17hDmlwIW2298qB5gEZreE3oP5auLpVVdIOSWgKSbFVSpjNVjEUHRt4Ntr34nr9qQXmCTiBPYVVYTOL++tMmsAj6UrNBbqfsj3Wh/UVDXJh+nq+2kmTDqZVcBxdUv8rjoa/Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714136214; c=relaxed/simple; bh=Vm1MqXYIrKm3uWWE9OUrBXSWg2xXPd6nhFg9uS9/cpM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=aMLQr+cJeanIjXAhUzwBlookTXr0zJePH9xDtYd5RPvf3uWNm5mzWVcX0L2G4m6vt0e1hebQBs6ncSr6sIJ5e7Lm2fvzUEiuxbdkCiNURg31p6FMra9zugCdIohnMlDsomL/PXhFz+HhEGKi6oyRcMJNuhYI3/LhzmbJFBQqahE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=VIrp8gQ3; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 014E647C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1714136206; bh=O0KvzxSAUIcHusHXbcj1H/WOMoqxs1lLJ3AgneKmmhU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=VIrp8gQ3zGKC3bogJXtlDT872C3ZWn5cBQvFDniF7CzaqGGCPVqRaj9fFiUpdB98O ntJfWrbAEHZ9ifvMr6x2IVVCJi9UA+ykHIan7cY5Sagsnkqg1IjalPZB01z6NJJ016 ob4y8BxSpozTC0Hv7xR9Oh5Kph1nLIppJxmm8AQN75KmBTkn8KRAs90dqeRYZeqc0z vvMF/jklNQgDYofkb4nr6CoErvlGEGqJs+oH0F/l30FK4mdMa3hcigQ0VSR5vLsOgU QKpj68OJ9/xx3gtnbt1/Z+X36oynzU7Ai5/DK2pCDG3eyoKma7pQfg8IO6v/vrchbj 8E3S7f9QGfYaQ== Received: from localhost (unknown [IPv6:2601:280:5e00:625::1fe]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 014E647C39; Fri, 26 Apr 2024 12:56:45 +0000 (UTC) From: Jonathan Corbet To: Christoph Hellwig , mhklinux@outlook.com Cc: robin.murphy@arm.com, joro@8bytes.org, will@kernel.org, hch@lst.de, m.szyprowski@samsung.com, 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 In-Reply-To: <20240426061852.GA5645@lst.de> References: <20240424150253.560999-1-mhklinux@outlook.com> <20240426061852.GA5645@lst.de> Date: Fri, 26 Apr 2024 06:56:45 -0600 Message-ID: <874jbop9iq.fsf@meer.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Christoph Hellwig writes: > 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? I hadn't thought about it, but it seems that putting it with the rest of the DMA-API documentation would make sense. That's core-api, at the moment at least... Thanks, jon