Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1234851ybz; Thu, 16 Apr 2020 05:34:54 -0700 (PDT) X-Google-Smtp-Source: APiQypKKB/m3bhLfZ+VyxWdYOvJdDHvsl85c7iiSfk/uvHoY6g/tLnXm/VjSoOwGYIaCXo+WSuK9 X-Received: by 2002:a17:907:a89:: with SMTP id by9mr9212207ejc.289.1587040494337; Thu, 16 Apr 2020 05:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587040494; cv=none; d=google.com; s=arc-20160816; b=ovE41RD19NVj+W0dj58Gum+Aaa0ZSNvGf+oNrxAB48tTn3cQawk1DRCvB9jVjIJ5on SvJIqh27D0Gn7Iu+24s7grgM1YIPdKXjqo1wtE4olXSRgjZpPPFTLDxHnDeFebyWqF3L /n0E18Pg3hD1VaqmRtcEgG0S/CQ5cZYTnOTolENG39BcOThwfLRys0r2hWX7KPybnfoR 8qOm3ZwPvFn+T2FXSCFDRysI/3eXc8o1xprQ/0SlF6GNc6WzJ8WwCG9sw0Vxr3XGXEbF IE2cMWc7I8UZq4tH3qQt5FGdPQCVGgK62IfkQ9r1juJdaIOzDWngWtibEkpEQN7p81qm lMFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0VyMwAzowexFZjgtgFRovq2sXpLz94EE6LhxQbSKU6M=; b=0wMBjuQtqyYy/eI4iC4UjerCSDBVcJQG92ja90YTTA+JEt/SpGj1j2kaxsNXXu7gDb 0+lRW/CbkZs9P0Uy4hai/0Uf+jtOSHOHa/EVqQoXwqa2mf5PlGTZMc5wqzCBogBNzfgR ulakXLQqWnDyNeh95hbgGddyXsroV+WI9PuJPbjlZqu9d6WtTLUxGn6uStxW4TUGcP3Y gdelul99UbjKq0BvFlAb5c5fzGgKO4D1Ed5ZCvPCm8gMj2/5bvPF/CU4w8+FLYqL5Lrn KZXajs6fbeEVcResTx/ENFfkt8Wdvhvk5vWganYlOKU3VD/vuf9Zfq6SlOWSDAcEEWvx lwAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=U5f1iFpL; 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 a22si13709239edn.385.2020.04.16.05.34.25; Thu, 16 Apr 2020 05:34:54 -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=U5f1iFpL; 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 S2635637AbgDPMcp (ORCPT + 99 others); Thu, 16 Apr 2020 08:32:45 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:59697 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2635613AbgDPMce (ORCPT ); Thu, 16 Apr 2020 08:32:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587040352; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0VyMwAzowexFZjgtgFRovq2sXpLz94EE6LhxQbSKU6M=; b=U5f1iFpLn0zZBHJayBAIjMqOc9t7l73h2+sVS2Tj2UCoFMgzOO+qkbWnEbC5+TR5KtE5nM 5BpjePYdw+lV/XKEOK7tnIL7qhjSniZ7bU0RoqYbB1dBjH9j7qA53PfjuM2AUV+lpxf+g/ QaV25XIVkRhwvAK6FWK8eaQLoLNvpBQ= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-387-AjUJxw8LM3mQ8KpWvbsusQ-1; Thu, 16 Apr 2020 08:32:29 -0400 X-MC-Unique: AjUJxw8LM3mQ8KpWvbsusQ-1 Received: by mail-wr1-f70.google.com with SMTP id o12so1632416wra.14 for ; Thu, 16 Apr 2020 05:32:29 -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:content-transfer-encoding :in-reply-to; bh=0VyMwAzowexFZjgtgFRovq2sXpLz94EE6LhxQbSKU6M=; b=pPPYYo7tn4A5uM+pjI+XWsVVXL29WOIB8vmevhymxMHFXwt/74a77CkwfS2oUPX/M4 W1RtARLPjFqw/k0wNKtQZAriMeMhxs+3nvaWL0mWOnQYXr8pG7boZZHxbfAda/ZOY4sa uzw3SOchDUW57cfSaALdD0+Dsqdt/ZyOeNsGFLCw3cDt3NiuJf71rJAIJvwxMmM1ZF7e BjWhH3pN8XfLFM0a2Q9fM1dTU2DmQQg+IyHhtTBsvGgMXr5r6Gfg1X/YOL8dcpEA2vGH VOVT7PDtHEipmyzXUckmrubu6Xt/Yahwr2T7QD/C+AS4vuaJyOdSoy0uSp2c1iEVf2nF URMA== X-Gm-Message-State: AGi0PubY13xGTSC2KWebt1OH8HqMbOh56ErUZhHsBXzPYdTHEDFvyiR4 u4/Anb5LNC3hC2ybPpKzTY5Et58VD52r18HRhVqsa2AFB0Cvqqj9BIvQ2EEoFg3O+n+qImFig29 L/ywpOF0PNWKwmPnhZHcQXdCF X-Received: by 2002:adf:dc06:: with SMTP id t6mr30558901wri.385.1587040348033; Thu, 16 Apr 2020 05:32:28 -0700 (PDT) X-Received: by 2002:adf:dc06:: with SMTP id t6mr30558886wri.385.1587040347864; Thu, 16 Apr 2020 05:32:27 -0700 (PDT) Received: from redhat.com (bzq-79-183-51-3.red.bezeqint.net. [79.183.51.3]) by smtp.gmail.com with ESMTPSA id p10sm26656903wrm.6.2020.04.16.05.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Apr 2020 05:32:27 -0700 (PDT) Date: Thu, 16 Apr 2020 08:32:24 -0400 From: "Michael S. Tsirkin" To: Jason Wang Cc: Randy Dunlap , Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , virtualization@lists.linux-foundation.org Subject: Re: linux-next: Tree for Apr 15 (vdpa) Message-ID: <20200416082248-mutt-send-email-mst@kernel.org> References: <20200415152240.2422e06c@canb.auug.org.au> <620e1646-5899-a077-b9de-95443887364d@infradead.org> <33e4922f-d2b5-f3fa-4d32-a5db5a177238@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <33e4922f-d2b5-f3fa-4d32-a5db5a177238@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 16, 2020 at 12:07:06PM +0800, Jason Wang wrote: > > On 2020/4/16 上午12:16, Randy Dunlap wrote: > > On 4/14/20 10:22 PM, Stephen Rothwell wrote: > > > Hi all, > > > > > > Changes since 20200414: > > > > > on x86_64: > > > > ERROR: modpost: "vringh_set_iotlb" [drivers/vdpa/vdpa_sim/vdpa_sim.ko] undefined! > > ERROR: modpost: "vringh_init_iotlb" [drivers/vdpa/vdpa_sim/vdpa_sim.ko] undefined! > > ERROR: modpost: "vringh_iov_push_iotlb" [drivers/vdpa/vdpa_sim/vdpa_sim.ko] undefined! > > ERROR: modpost: "vringh_iov_pull_iotlb" [drivers/vdpa/vdpa_sim/vdpa_sim.ko] undefined! > > ERROR: modpost: "vringh_complete_iotlb" [drivers/vdpa/vdpa_sim/vdpa_sim.ko] undefined! > > ERROR: modpost: "vringh_getdesc_iotlb" [drivers/vdpa/vdpa_sim/vdpa_sim.ko] undefined! > > > > > > Full randconfig file is attached. > > > > The config has > > CONFIG_VHOST_IOTLB=m > CONFIG_VHOST_RING=y > > But we don't select VHOST_IOTLB in VHOST_RING after commit > e6faeaa128417("vhost: drop vring dependency on iotlb"). Which seems wrong. > > Thanks Well selecting IOTLB from ring breaks configs which don't need IOTLB. Legal configurations are: CONFIG_VHOST_IOTLB=y CONFIG_VHOST_RING=n CONFIG_VHOST_IOTLB=m CONFIG_VHOST_RING=n CONFIG_VHOST_IOTLB=n CONFIG_VHOST_RING=n CONFIG_VHOST_IOTLB=y CONFIG_VHOST_RING=y CONFIG_VHOST_IOTLB=n CONFIG_VHOST_RING=y CONFIG_VHOST_IOTLB=n CONFIG_VHOST_RING=m CONFIG_VHOST_IOTLB=y CONFIG_VHOST_RING=m CONFIG_VHOST_IOTLB=m CONFIG_VHOST_RING=m So VHOST_RING=y and VHOST_IOTLB=m is the only illegal one. -- MST