Re: [PATCH 1/5] vhost: factor out IOTLB

From: Randy Dunlap
Date: Thu Jan 16 2020 - 23:14:48 EST


On 1/16/20 4:42 AM, Jason Wang wrote:
> diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig
> index 3d03ccbd1adc..f21c45aa5e07 100644
> --- a/drivers/vhost/Kconfig
> +++ b/drivers/vhost/Kconfig
> @@ -36,6 +36,7 @@ config VHOST_VSOCK
>
> config VHOST
> tristate
> + depends on VHOST_IOTLB
> ---help---
> This option is selected by any driver which needs to access
> the core of vhost.
> @@ -54,3 +55,9 @@ config VHOST_CROSS_ENDIAN_LEGACY
> adds some overhead, it is disabled by default.
>
> If unsure, say "N".
> +
> +config VHOST_IOTLB
> + tristate
> + default m
> + help
> + Generic IOTLB implementation for vhost and vringh.

Use tab + 2 spaces for Kconfig indentation.

--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>