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

From: Petr Tesařík
Date: Mon May 27 2024 - 09:49:30 EST


On Mon, 27 May 2024 15:13:14 +0200
Lukas Bulwahn <lbulwahn@xxxxxxxxxx> wrote:

> From: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxxx>
>
> 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 <lukas.bulwahn@xxxxxxxxxx>

Reviewed-by: Petr Tesarik <petr@xxxxxxxxxxx>

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