2024-05-27 13:18:46

by Lukas Bulwahn

[permalink] [raw]
Subject: [PATCH] Documentation/core-api: correct reference to SWIOTLB_DYNAMIC

From: Lukas Bulwahn <[email protected]>

Commit c93f261dfc39 ("Documentation/core-api: add swiotlb documentation")
accidentally refers to CONFIG_DYNAMIC_SWIOTLB in one place, while the
config is actually called CONFIG_SWIOTLB_DYNAMIC.

Correct the reference to the intended config option.

Signed-off-by: Lukas Bulwahn <[email protected]>
---
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 5ad2c9ca85bc..cf06bae44ff8 100644
--- a/Documentation/core-api/swiotlb.rst
+++ b/Documentation/core-api/swiotlb.rst
@@ -192,7 +192,7 @@ alignment larger than PAGE_SIZE.

Dynamic swiotlb
---------------
-When CONFIG_DYNAMIC_SWIOTLB is enabled, swiotlb can do on-demand expansion of
+When CONFIG_SWIOTLB_DYNAMIC is enabled, swiotlb can do on-demand expansion of
the amount of memory available for allocation as bounce buffers. If a bounce
buffer request fails due to lack of available space, an asynchronous background
task is kicked off to allocate memory from general system memory and turn it
--
2.45.1



2024-05-27 17:09:34

by Petr Tesařík

[permalink] [raw]
Subject: Re: [PATCH] Documentation/core-api: correct reference to SWIOTLB_DYNAMIC

On Mon, 27 May 2024 15:13:14 +0200
Lukas Bulwahn <[email protected]> wrote:

> From: Lukas Bulwahn <[email protected]>
>
> Commit c93f261dfc39 ("Documentation/core-api: add swiotlb documentation")
> accidentally refers to CONFIG_DYNAMIC_SWIOTLB in one place, while the
> config is actually called CONFIG_SWIOTLB_DYNAMIC.
>
> Correct the reference to the intended config option.

Good catch!

> Signed-off-by: Lukas Bulwahn <[email protected]>

Reviewed-by: Petr Tesarik <[email protected]>

Petr T

> ---
> 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 5ad2c9ca85bc..cf06bae44ff8 100644
> --- a/Documentation/core-api/swiotlb.rst
> +++ b/Documentation/core-api/swiotlb.rst
> @@ -192,7 +192,7 @@ alignment larger than PAGE_SIZE.
>
> Dynamic swiotlb
> ---------------
> -When CONFIG_DYNAMIC_SWIOTLB is enabled, swiotlb can do on-demand expansion of
> +When CONFIG_SWIOTLB_DYNAMIC is enabled, swiotlb can do on-demand expansion of
> the amount of memory available for allocation as bounce buffers. If a bounce
> buffer request fails due to lack of available space, an asynchronous background
> task is kicked off to allocate memory from general system memory and turn it