Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3554560pxk; Mon, 28 Sep 2020 23:12:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwK0703bRiqsdJgCVhiny1LMck7mKDOO2KaKUR8+ErGfuzJW9uS8ivjhnP3gEvSPJzZzU7N X-Received: by 2002:aa7:ce97:: with SMTP id y23mr1569933edv.128.1601359966013; Mon, 28 Sep 2020 23:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601359966; cv=none; d=google.com; s=arc-20160816; b=fHwsprWjRnaZTVeI/vSLb1HOQz5nfE2vHLG44Gb+mTMceNmZYOI5KSttx6UecT4FJ4 5qKSsdrAOfckY0mmtUb9/w/PHZ2AD8K4ic62WPb+uex3t7iEKqDZeZwD9L097xbBNJRR 4+X/hVcVwcIA0/aZuy2wKBALfVGatj6+S925CXTArRXVyaT3beJXna2LhxesY7b/87+4 OMQSPuqR5BwSpZUuJe8PJRufFIgYgHlgCR2YU3QY2bFsMjttTfd1TAsyat70D9GHgd/8 knq7uO2ppxXargtagv43LjiqF7gVwSHPC7SXeJ8SLIbp5oR6hEALVTlj87YS76diBJxA tbeA== 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=JAxYHRdsbLtzM2kIQHgB0ZgL2sD23xll0p+Cp1/eLJU=; b=JEEKivhzzHnNN6ihBYZwt0ETzKBH1OW2QeGYi/iEV0UtdmWPdXj3/uWpk95lpS9+jl l6M/3uBKZQumiCW8N+woBVoqMHBAz/UEB3Ig/Hr7qWn0p11Q0ipuX04RABDXF4nx14Dy wKobFM0zUGvHQ9V9irpj17Jb9w7QjrvIUdzXQKgZXdPWKFHUqsVcEqn9tkY5jpi8Oc30 vTqYX7vPTvBLEI74eCK4QkhLNAGE00Dsb5IJS8q1eXoTWthIXMW4O39rr7Pg9FlP20XR c0bI6fA90B40E5ivlh/nNwmWgPakmgbti50TE2iEvpVQKx/sHFx/LPKH1lBYeDPX5Iqh DYxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PjW0eRA4; 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 q7si2053778ejy.607.2020.09.28.23.12.23; Mon, 28 Sep 2020 23:12:46 -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=PjW0eRA4; 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 S1727692AbgI2GLC (ORCPT + 99 others); Tue, 29 Sep 2020 02:11:02 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:59292 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725536AbgI2GLC (ORCPT ); Tue, 29 Sep 2020 02:11:02 -0400 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601359860; 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=JAxYHRdsbLtzM2kIQHgB0ZgL2sD23xll0p+Cp1/eLJU=; b=PjW0eRA4pM5C9/JqUelAkuIIyjdEvfLyNL3rmlLqjhHIsxhYYsSI032U1CQMU4Jlw2bTbh W7HaqygNCViATSnN4x6zY/AGZlsS/WGfmuvZdyqOGbSzNVIe8ETqobZhLhC0SYOyLUw4pu EpQ96AhWjIiYIVRnXtZe6Y4E7wnJdOU= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-25-SaXWL9uIOrmTJhuIbJ30Kg-1; Tue, 29 Sep 2020 02:10:58 -0400 X-MC-Unique: SaXWL9uIOrmTJhuIbJ30Kg-1 Received: by mail-wr1-f69.google.com with SMTP id l15so1291241wro.10 for ; Mon, 28 Sep 2020 23:10:58 -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=JAxYHRdsbLtzM2kIQHgB0ZgL2sD23xll0p+Cp1/eLJU=; b=CpD3Hz/QVOxISflfyeLZdswejBCnW5IgAsc22ODe6Ha4Qh5rHmY1sSp+46E1akesVk xYjqDynFwwnVyJ1lmkmOq3k5hH4DoXJcI0px16T9pokMPeIa3QTq15ZTyRZeIPrBKJD8 TSP7HpnnCILflpd+FR1uqxAzI9v1GDsPeL7vZeDc73MOiRRhL4qRZXsNtpPil5AT3Hk5 cyYqn12sDS70vBLGP2I1I5PGm4hNGYRfsz9lxwtDN0rKTRRsMON1mXip/g1E1IQgQzjB ceL4OcS8c/MDKMP6qQt5tVbfi7TWqfBKbh/mNj7wHhNAe5rC6nQGZUBT6OdIgzT/xahw ZdbA== X-Gm-Message-State: AOAM5333QSkiZ/r9LTrDodghFmJvCPGNtwmmIiihz4tjTs0uuKs4yzNh S+42WelEusyVDNBSEPmT0oxZtxTa2v1cOKYV69Px5VHYGarEyUzrFWvBaijNtEBdKL7tXgoeENA KW+QrnMfqSE/D9sx3xzpAirfL X-Received: by 2002:adf:eb04:: with SMTP id s4mr2366076wrn.81.1601359857388; Mon, 28 Sep 2020 23:10:57 -0700 (PDT) X-Received: by 2002:adf:eb04:: with SMTP id s4mr2366044wrn.81.1601359857144; Mon, 28 Sep 2020 23:10:57 -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 e13sm4772905wre.60.2020.09.28.23.10.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 23:10:56 -0700 (PDT) Date: Tue, 29 Sep 2020 02:10:53 -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: <20200929021030-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> <20200925061959-mutt-send-email-mst@kernel.org> <20200929060142.GA120395@mtl-vdi-166.wap.labs.mlnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200929060142.GA120395@mtl-vdi-166.wap.labs.mlnx> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 29, 2020 at 09:01:42AM +0300, Eli Cohen wrote: > On Fri, Sep 25, 2020 at 06:20:45AM -0400, Michael S. Tsirkin wrote: > > > > > > > > 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. > > $ git grep -wn VHOST_IOTLB > drivers/vhost/Kconfig:2:config VHOST_IOTLB > drivers/vhost/Kconfig:11: select VHOST_IOTLB > drivers/vhost/Kconfig:18: select VHOST_IOTLB > > What am I missing here? Nothing, there's a select here as expected. > > > 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 > > > > > > > > > > > >