* [PATCH v2] vhost: drop vring dependency on iotlb
@ 2020-04-02 14:46 Michael S. Tsirkin
2020-04-02 15:01 ` Jason Wang
0 siblings, 1 reply; 4+ messages in thread
From: Michael S. Tsirkin @ 2020-04-02 14:46 UTC (permalink / raw)
To: linux-kernel; +Cc: Jason Wang, virtualization, kvm, netdev
vringh can now be built without IOTLB.
Select IOTLB directly where it's used.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
Applies on top of my vhost tree.
Changes from v1:
VDPA_SIM needs VHOST_IOTLB
drivers/vdpa/Kconfig | 1 +
drivers/vhost/Kconfig | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig
index 7db1460104b7..08b615f2da39 100644
--- a/drivers/vdpa/Kconfig
+++ b/drivers/vdpa/Kconfig
@@ -17,6 +17,7 @@ config VDPA_SIM
depends on RUNTIME_TESTING_MENU
select VDPA
select VHOST_RING
+ select VHOST_IOTLB
default n
help
vDPA networking device simulator which loop TX traffic back
diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig
index f0404ce255d1..cb6b17323eb2 100644
--- a/drivers/vhost/Kconfig
+++ b/drivers/vhost/Kconfig
@@ -8,7 +8,6 @@ config VHOST_IOTLB
config VHOST_RING
tristate
- select VHOST_IOTLB
help
This option is selected by any driver which needs to access
the host side of a virtio ring.
--
MST
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] vhost: drop vring dependency on iotlb
2020-04-02 14:46 [PATCH v2] vhost: drop vring dependency on iotlb Michael S. Tsirkin
@ 2020-04-02 15:01 ` Jason Wang
2020-04-02 16:27 ` Michael S. Tsirkin
0 siblings, 1 reply; 4+ messages in thread
From: Jason Wang @ 2020-04-02 15:01 UTC (permalink / raw)
To: Michael S. Tsirkin, linux-kernel; +Cc: virtualization, kvm, netdev
On 2020/4/2 下午10:46, Michael S. Tsirkin wrote:
> vringh can now be built without IOTLB.
> Select IOTLB directly where it's used.
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>
> Applies on top of my vhost tree.
> Changes from v1:
> VDPA_SIM needs VHOST_IOTLB
It looks to me the patch is identical to v1.
Thanks
>
> drivers/vdpa/Kconfig | 1 +
> drivers/vhost/Kconfig | 1 -
> 2 files changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig
> index 7db1460104b7..08b615f2da39 100644
> --- a/drivers/vdpa/Kconfig
> +++ b/drivers/vdpa/Kconfig
> @@ -17,6 +17,7 @@ config VDPA_SIM
> depends on RUNTIME_TESTING_MENU
> select VDPA
> select VHOST_RING
> + select VHOST_IOTLB
> default n
> help
> vDPA networking device simulator which loop TX traffic back
> diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig
> index f0404ce255d1..cb6b17323eb2 100644
> --- a/drivers/vhost/Kconfig
> +++ b/drivers/vhost/Kconfig
> @@ -8,7 +8,6 @@ config VHOST_IOTLB
>
> config VHOST_RING
> tristate
> - select VHOST_IOTLB
> help
> This option is selected by any driver which needs to access
> the host side of a virtio ring.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] vhost: drop vring dependency on iotlb
2020-04-02 15:01 ` Jason Wang
@ 2020-04-02 16:27 ` Michael S. Tsirkin
2020-04-03 6:38 ` Jason Wang
0 siblings, 1 reply; 4+ messages in thread
From: Michael S. Tsirkin @ 2020-04-02 16:27 UTC (permalink / raw)
To: Jason Wang; +Cc: linux-kernel, virtualization, kvm, netdev
On Thu, Apr 02, 2020 at 11:01:13PM +0800, Jason Wang wrote:
>
> On 2020/4/2 下午10:46, Michael S. Tsirkin wrote:
> > vringh can now be built without IOTLB.
> > Select IOTLB directly where it's used.
> >
> > Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> > ---
> >
> > Applies on top of my vhost tree.
> > Changes from v1:
> > VDPA_SIM needs VHOST_IOTLB
>
>
> It looks to me the patch is identical to v1.
>
> Thanks
you are right. I squashed the description into
virtio/test: fix up after IOTLB changes
take a look at it in the vhost tree.
>
> >
> > drivers/vdpa/Kconfig | 1 +
> > drivers/vhost/Kconfig | 1 -
> > 2 files changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig
> > index 7db1460104b7..08b615f2da39 100644
> > --- a/drivers/vdpa/Kconfig
> > +++ b/drivers/vdpa/Kconfig
> > @@ -17,6 +17,7 @@ config VDPA_SIM
> > depends on RUNTIME_TESTING_MENU
> > select VDPA
> > select VHOST_RING
> > + select VHOST_IOTLB
> > default n
> > help
> > vDPA networking device simulator which loop TX traffic back
> > diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig
> > index f0404ce255d1..cb6b17323eb2 100644
> > --- a/drivers/vhost/Kconfig
> > +++ b/drivers/vhost/Kconfig
> > @@ -8,7 +8,6 @@ config VHOST_IOTLB
> > config VHOST_RING
> > tristate
> > - select VHOST_IOTLB
> > help
> > This option is selected by any driver which needs to access
> > the host side of a virtio ring.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] vhost: drop vring dependency on iotlb
2020-04-02 16:27 ` Michael S. Tsirkin
@ 2020-04-03 6:38 ` Jason Wang
0 siblings, 0 replies; 4+ messages in thread
From: Jason Wang @ 2020-04-03 6:38 UTC (permalink / raw)
To: Michael S. Tsirkin; +Cc: linux-kernel, virtualization, kvm, netdev
On 2020/4/3 上午12:27, Michael S. Tsirkin wrote:
> On Thu, Apr 02, 2020 at 11:01:13PM +0800, Jason Wang wrote:
>> On 2020/4/2 下午10:46, Michael S. Tsirkin wrote:
>>> vringh can now be built without IOTLB.
>>> Select IOTLB directly where it's used.
>>>
>>> Signed-off-by: Michael S. Tsirkin<mst@redhat.com>
>>> ---
>>>
>>> Applies on top of my vhost tree.
>>> Changes from v1:
>>> VDPA_SIM needs VHOST_IOTLB
>> It looks to me the patch is identical to v1.
>>
>> Thanks
> you are right. I squashed the description into
> virtio/test: fix up after IOTLB changes
> take a look at it in the vhost tree.
Looks fine.
Thanks
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-04-03 6:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-02 14:46 [PATCH v2] vhost: drop vring dependency on iotlb Michael S. Tsirkin
2020-04-02 15:01 ` Jason Wang
2020-04-02 16:27 ` Michael S. Tsirkin
2020-04-03 6:38 ` Jason Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).