From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B380A3C9EEB for ; Sat, 22 Aug 2026 12:17:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787401029; cv=none; b=PeTXs1riaNpTAbPmh0dCR/bPynwr/b4swXxO+dj7w2p2xAZxBjPocE+JACGIDu8PLHtRoZWU4FVzQ2+ikGVMfVzLpVUpwbDdudE7jZ0KPAKwJZ8BGJWsT7xmYO9GElzyWjZmiSmkXRClLchguTAPmvg0nOaZKFI1fPtpui/+kRY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787401029; c=relaxed/simple; bh=1fy1LurvBpSQJ0IcnuRbBQ6HFaqNycpADyEu7PtWEG4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=E4c2lW1ldGiUcDI5VOxYLDt7r9lYcZ3kc4oGdnvei+1Ny7AB/C9IvQrCAuUUsVa+JMqTAqh81FT0/n0RN/YjQOn7V+Smof5eEs2MPWHR68SAft0ij7IGWAu/sDGWOsgsS1QRBmV98Hy8zPk7FORfbzEWWzTXnze2WUutXSczqlA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=cEpzgvXU; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cEpzgvXU" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-6a17211b9ecso5233048a12.2 for ; Sat, 22 Aug 2026 05:17:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787401026; x=1788005826; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=AdgDDmcZIE8pZ9Isk6EdPIHs99JVC5TC+2vV1P6Q/oA=; b=cEpzgvXULn4lJxEFcirFmyR+SJymgM9OGfy6GxAtanB09ra8Hpywp9hfU0jkJrrm9E swgtecsy655AXOwKzqi1oKIDKA8+FrJ9fACUQHU4ul1s/yP/VOu9CltQcRONhT0H3QUU aWor+pour6xObDbZ5g0ozs/9YjI14HaBOUijBlY0O6hERDqXBc13V+7UdNVpqzLs/Amz SZkodg+fkQTWyVuaIkhSp9nSmYSTEz6tapNGcMkUgS/TjLgSbxQHfW2BPCPDfq2kl83j 4FiDWpUUjQSM8eUzyxhHK0F/j3I3Ulc19v43qVoBE/+LzDcZpP26q7QGFKqndU1SbpDl a4Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787401026; x=1788005826; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=AdgDDmcZIE8pZ9Isk6EdPIHs99JVC5TC+2vV1P6Q/oA=; b=kBktxBHlwNXGtYkruJfVn9COXlF20+t4STjI/8DYgcbpFSTSjZ54T0mJPY/ASyDsLO NaJgkzHaO9Z0McMdHYSaAdV/19T13EIHHeInhnzXL8FamJqhTHRlyMn2xef5/lRtca8f W0u6R1PzcDGS3yHcSSs6O69cWoUeRjXhpvgZ4BHD+ku2Avo/GSmv348wTrEN5VQNuwJQ Gbi5hMO2FmwrLPIfy3FGmAumz689pcaj0I4CYVmTleivaWXTSEczR9/zQQ9KSw2urlQZ JeUDYbX12VvNGTIzMpF/kJ0YrVuramNG1Sk7+k8Upj/X1mo6030lIt2tVbDHIv1oqXoZ AdRw== X-Forwarded-Encrypted: i=1; AHgh+RolfHjMOD0Ni5I19cK5XIVLGEi2gNEcUlWFnd3v95WZv41xY/ZbnjrF0SqIrP5/XyU8bxY1RPqqdXgR/QQ=@vger.kernel.org X-Gm-Message-State: AFuF++nepYmfKBh7+HAKdAg2fS13eOxhR+v6J9tS/LOjcuUrEVeE8uF7 +kf2biQVxRypUvHANbvfOqsHuAh/NKs718eu0uzh8M06mpV0Z2+YD/iC X-Gm-Gg: AR+sD104orVf6BmyAMBg37tEFUdolPbecYuhETxNHG/MnZchhFiM1tT4ju5366/GoD0 qaGP+y7yPMrJYBB0k5pS5BojtGhQ14byCI62gik4YKHbiuse0Xq1GVnvj8/CTiXJFA+c3b34Fgn VKyPhU25wMvlSdyRa0CiF2LnFtiePPrHxri/LHzaOuiQWNM/quG7SKVk+MYe90dK61Eit/RFNaN 2oTjRD0OLZLiJML6a3bGP2BmHLIJprD8DyOeKT0vccyeQ4qBt6PPNqtfe1k8mqghqtakcL0BcUX sUnuZSKJ1mw9CeQZIbUN6tAL1VvgcXurWnQQoJZlIqPGcwbNh8tHyAixNUaknMLoRppsK3+8MNx eJ9PVwPRD81bOwK6YTQv7ctGIxzPBqTu0cY/P8ZMpommLe+xKOpu4mLCoWz622kQP1vZNlR+eB0 2eSYAMB431aF5YNxm23DAzzIk0Xs9z9nxmCVeVFx7QaUsuYCXrkU325OrXWlLcRJW2rp9fGQC9q TTzoM35GsZ3ca5CnRSIoPqbeQoevUTA2XkyhkcyccqrC8MJKvGBcwGxCcR+0GAapwIHDGegJpgd THt1ciYPAP30mJdQiCsnY3ac2dP9oh8S+nvHVe5Bra0No3iCviARu7GcmuEAnJ1jL6+2 X-Received: by 2002:a05:6402:e93:b0:6a0:584f:454c with SMTP id 4fb4d7f45d1cf-6a42f28ebaemr15388763a12.16.1787401025799; Sat, 22 Aug 2026 05:17:05 -0700 (PDT) Received: from localhost.localdomain (dynamic-2a02-3100-a0f5-8c01-3de3-cd62-aa6f-2fb0.310.pool.telefonica.de. [2a02:3100:a0f5:8c01:3de3:cd62:aa6f:2fb0]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6a3ff0c30casm10998322a12.7.2026.08.22.05.17.03 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sat, 22 Aug 2026 05:17:04 -0700 (PDT) From: Karl Mehltretter To: Jonathan Corbet Cc: Karl Mehltretter , Shuah Khan , Randy Dunlap , Petr Tesarik , Bagas Sanjaya , Michael Kelley , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/7] docs: swiotlb: Fix maximum mapping size helper Date: Sat, 22 Aug 2026 14:16:48 +0200 Message-Id: <20260822121651.1559-5-kmehltretter@gmail.com> X-Mailer: git-send-email 2.39.5 (Apple Git-154) In-Reply-To: <20260822121651.1559-1-kmehltretter@gmail.com> References: <20260822121651.1559-1-kmehltretter@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The DMA helper is named dma_max_mapping_size(), not dma_map_mapping_size(). Fixes: c93f261dfc39 ("Documentation/core-api: add swiotlb documentation") Assisted-by: Codex:gpt-5.6-sol Signed-off-by: Karl Mehltretter --- Documentation/core-api/swiotlb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/core-api/swiotlb.rst b/Documentation/core-api/swiotlb.rst index 9e0fe027dd3bd..303999f09ea03 100644 --- a/Documentation/core-api/swiotlb.rst +++ b/Documentation/core-api/swiotlb.rst @@ -107,7 +107,7 @@ A single allocation from swiotlb is limited to IO_TLB_SIZE * IO_TLB_SEGSIZE bytes, which is 256 KiB with current definitions. When a device's DMA settings are such that the device might use swiotlb, the maximum size of a DMA segment must be limited to that 256 KiB. This value is communicated to higher-level -kernel code via dma_map_mapping_size() and swiotlb_max_mapping_size(). If the +kernel code via dma_max_mapping_size() and swiotlb_max_mapping_size(). If the higher-level code fails to account for this limit, it may make requests that are too large for swiotlb, and get a "swiotlb full" error. -- 2.53.0