Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp990569pxk; Fri, 25 Sep 2020 03:22:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCl1hEPd+W8H1DWRarQgAxrjWpViTvIVYK6Kd9H6Z6Pu5sQhORhp583F2gz5Eov98GlN0+ X-Received: by 2002:a05:6402:176c:: with SMTP id da12mr505606edb.386.1601029359127; Fri, 25 Sep 2020 03:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601029359; cv=none; d=google.com; s=arc-20160816; b=JR1wepopGRn8Fliy5sJMSixTaJDGx4q9cm9uSgVvXVPxbkYmpuZ0X0IZAdoxbX0bEv qFDxrOR5H/LJ9acUC7N/O3PdHvl82BXCAerL59aSg5UhCMUQUnrWN0yad3vsjn9FFP23 Jj/Mu0jkBnIO08U/Kp/8gnPvqd2Ei7LCHy6K6K6H3DzC+I9IS9hgLsMWXz860VUER1lu p46oELv4q4mXokMlxmfj3jmfsypAeJmD7c23uw17pT+sOJAalfYw7Ykm8QXYowis2eOU zN0QS2c8H7OPrp2siG0Ids808tUn2vxWqgCg34YyR+frzEOGpjm5K1XkFSmmVMRH0Yxi jH/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=48xx0Uut3LVoJnoZFThGUUKIIpJdqctVHSD98zIttUE=; b=qLF8zkmOkzX97CS0zxghnthccNBkfWRmYLJluc+/CulVRdTvfZMkQUZORT9J5u++uT 5tU0gpKqAyiAfWIBZBxuVjL/yf/cItdTR1yLwXc5ht4072EKRzk16u1iWH4rr66PqshX gf80aqV0Tsle9VLOuF2BJYCRjWUvxNbF1pZaQVnq70Qjw0mJaJgG+LR6zPJOAt5FTFwt QfEi27/1rUP6pgmCxDiCoTg9LjOECuKExeFunfa4LSjv/U1s0ThQar9HbEw+Uot/xIQp xU8MGfIr8DS+DxIYiu+FTT+Jg9UcffxfFCu56KIYH4YQzsRelTFi9TKRRCAJPIL/QtsX 4IYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=f9Z6KwH8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dp9si1400933ejc.203.2020.09.25.03.22.15; Fri, 25 Sep 2020 03:22:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=f9Z6KwH8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728124AbgIYKUz (ORCPT + 99 others); Fri, 25 Sep 2020 06:20:55 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:46459 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727151AbgIYKUx (ORCPT ); Fri, 25 Sep 2020 06:20:53 -0400 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601029252; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=48xx0Uut3LVoJnoZFThGUUKIIpJdqctVHSD98zIttUE=; b=f9Z6KwH8tLKCPioErGuyPA/oceXVYdvqpKA32NfhlpZMthnTyYf5F6fy8RIBbrbpzCPhms J54tYsGr22pz4oD3d3RHmBUPgDpTVpA59QwBj8iWE7mY4AFtuxneZ8SXx9aPf5vMoFI5hY E9wTUgtfWVaMCLHH3SE5qr2AQAuHGU0= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-404-_aX_TQGlMsyxW3LtPRjWrQ-1; Fri, 25 Sep 2020 06:20:50 -0400 X-MC-Unique: _aX_TQGlMsyxW3LtPRjWrQ-1 Received: by mail-wr1-f71.google.com with SMTP id 33so886445wrk.12 for ; Fri, 25 Sep 2020 03:20:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=48xx0Uut3LVoJnoZFThGUUKIIpJdqctVHSD98zIttUE=; b=nsg///SnarkIq1TsrLvV/kBQLzefhDZeETuPX2KnIMueufdPKi03Tf6k58USIixgYT OB9+XUPy+zY5UQP8ooa7vGmTPcAj0W4beSBkGNPjJJaWdF3QgSo9sYqHixfr6TkaVIj2 SVubVsBEgUi72Oxt2z0T+ClEz/I2QwRG4NBYwK1qtAPlgZuymnzznSclIT7kzc+4IAoH AjRUoDLFVig771ZVQy7vlu9z8RGlngbAmw+tLuIO1ppvPRItCI+7vvHchhgDxQGscm9o KwXOBY/aIL0yYtEoExUWspUOYkKi9ErfzTFnfvbomU8tOxcJf+3rr76wNzZa0Sq/qu5m J3kA== X-Gm-Message-State: AOAM5322CPfuKp6bFueGppROXhkWUiDKztWvvEAHnz6p3Lq7eJBTMIt2 ASTboa7NXDftl4YDf+cE6TRvttwhC3dXoRL5AVh+ioF0h3qhk3LYJ5FnGs0gpv2ZbZ6+Rxx6rml Q0fmBa03dkO4AzD3e5/RPyEAJ X-Received: by 2002:adf:f852:: with SMTP id d18mr3656015wrq.245.1601029249079; Fri, 25 Sep 2020 03:20:49 -0700 (PDT) X-Received: by 2002:adf:f852:: with SMTP id d18mr3655999wrq.245.1601029248922; Fri, 25 Sep 2020 03:20:48 -0700 (PDT) Received: from redhat.com (bzq-79-179-71-128.red.bezeqint.net. [79.179.71.128]) by smtp.gmail.com with ESMTPSA id v4sm2244377wml.46.2020.09.25.03.20.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Sep 2020 03:20:48 -0700 (PDT) Date: Fri, 25 Sep 2020 06:20:45 -0400 From: "Michael S. Tsirkin" To: Eli Cohen Cc: Leon Romanovsky , Randy Dunlap , virtualization@lists.linux-foundation.org, LKML , "netdev@vger.kernel.org" , Jason Wang , Saeed Mahameed Subject: Re: [PATCH v3 -next] vdpa: mlx5: change Kconfig depends to fix build errors Message-ID: <20200925061959-mutt-send-email-mst@kernel.org> References: <73f7e48b-8d16-6b20-07d3-41dee0e3d3bd@infradead.org> <20200918082245.GP869610@unreal> <20200924052932-mutt-send-email-mst@kernel.org> <20200924102413.GD170403@mtl-vdi-166.wap.labs.mlnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200924102413.GD170403@mtl-vdi-166.wap.labs.mlnx> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 24, 2020 at 01:24:13PM +0300, Eli Cohen wrote: > On Thu, Sep 24, 2020 at 05:30:55AM -0400, Michael S. Tsirkin wrote: > > > > --- linux-next-20200917.orig/drivers/vdpa/Kconfig > > > > +++ linux-next-20200917/drivers/vdpa/Kconfig > > > > @@ -31,7 +31,7 @@ config IFCVF > > > > > > > > config MLX5_VDPA > > > > bool "MLX5 VDPA support library for ConnectX devices" > > > > - depends on MLX5_CORE > > > > + depends on VHOST_IOTLB && MLX5_CORE > > > > default n > > > > > > While we are here, can anyone who apply this patch delete the "default n" line? > > > It is by default "n". > > I can do that > > > > > > > Thanks > > > > Hmm other drivers select VHOST_IOTLB, why not do the same? > > I can't see another driver doing that. Well grep VHOST_IOTLB and you will see some examples. > Perhaps I can set dependency on > VHOST which by itself depends on VHOST_IOTLB? VHOST is processing virtio in the kernel. You don't really need that for mlx, do you? > > > > > > > > help > > > > Support library for Mellanox VDPA drivers. Provides code that is > > > > > >