From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Wang Subject: Re: [PATCH 1/5] vhost: factor out IOTLB Date: Fri, 17 Jan 2020 17:34:06 +0800 Message-ID: <38b62ebe-9b9d-612b-acd3-0cbe4ae34db9@redhat.com> References: <20200116124231.20253-1-jasowang@redhat.com> <20200116124231.20253-2-jasowang@redhat.com> <4a577560-d42a-eed2-97a0-42d2f91495e2@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4a577560-d42a-eed2-97a0-42d2f91495e2@infradead.org> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Randy Dunlap , mst@redhat.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org Cc: tiwei.bie@intel.com, jgg@mellanox.com, maxime.coquelin@redhat.com, cunming.liang@intel.com, zhihong.wang@intel.com, rob.miller@broadcom.com, xiao.w.wang@intel.com, haotian.wang@sifive.com, lingshan.zhu@intel.com, eperezma@redhat.com, lulu@redhat.com, parav@mellanox.com, kevin.tian@intel.com, stefanha@redhat.com, hch@infradead.org, aadam@redhat.com, jakub.kicinski@netronome.com, jiri@mellanox.com, shahafs@mellanox.com, hanand@xilinx.com, mhabets@solarflare.com List-Id: virtualization@lists.linuxfoundation.org On 2020/1/17 =E4=B8=8B=E5=8D=8812:14, Randy Dunlap wrote: > 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 >> =20 >> 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. >> =20 >> 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. Will fix. I wonder why checkpath doesn't complain about this :) Thanks >