From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91F72C43331 for ; Tue, 31 Mar 2020 18:55:52 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4C63D208E0 for ; Tue, 31 Mar 2020 18:55:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="PxUJXzfr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C63D208E0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D96216B000E; Tue, 31 Mar 2020 14:55:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D47BB6B0037; Tue, 31 Mar 2020 14:55:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C35DC6B006C; Tue, 31 Mar 2020 14:55:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0007.hostedemail.com [216.40.44.7]) by kanga.kvack.org (Postfix) with ESMTP id A9E6B6B000E for ; Tue, 31 Mar 2020 14:55:51 -0400 (EDT) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 591BF4DDC for ; Tue, 31 Mar 2020 18:55:51 +0000 (UTC) X-FDA: 76656561702.08.feast89_8a5d1f638d32b X-HE-Tag: feast89_8a5d1f638d32b X-Filterd-Recvd-Size: 7018 Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by imf25.hostedemail.com (Postfix) with ESMTP for ; Tue, 31 Mar 2020 18:55:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585680950; 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=y8gR7+3C5MfGXa0bG1NOaZcyldoOurn5y+CzEHCiBGc=; b=PxUJXzfrKBynRQnTz6mlE3hE9niNTNml0RiriPZ5eNJArxFCdXSJmvjQ2TEoosEaKoOKL1 TJpgfmh/XXX6balLfFt7pxILpTHy0IH5xoXI7Q1QeE6Qch1aR3vd4qI4FXkLcqqhp+6TFg e3sTWiWdrdmaN14lbX6qe7sXK/KaSQE= 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-211-srfyU5OaMbSLHUToTyRIsA-1; Tue, 31 Mar 2020 14:55:46 -0400 X-MC-Unique: srfyU5OaMbSLHUToTyRIsA-1 Received: by mail-wr1-f71.google.com with SMTP id v14so13372757wrq.13 for ; Tue, 31 Mar 2020 11:55:46 -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=9N83ulIWUt944dVDEJ06AJzgWaetQqP5tl+Ibkm3ba4=; b=FoyM4e9TBbQrprQACVdoeJiRGlH7AFE5T890tKfZ9D7CykvWGAAZw9jCnWSFgz3pqF c1ljUm3+jYEvcrt0eqvx3ullf1pYRmYSIBuk59nzK2zYstLw7uFbNiOed/kZqgilVcQC wPx8SB5TG5F6Ww6C1w1y7coaqRXYPuULyt+6LzCODraa3kJb1nJvLVNbJAlhpa1QE/Ol v8mcGkMNpcsL3AgUp53TpmgkMKPmiUqzIwK6OOCyViAhc1xCkyK0k6ME1UCSYbGXeb0j 75CaflRxzuggmHQstpJu9j5+ZNF+ssjgbKYVkllc6rIH8vekTZgx5fqPoxCYyES0X2zz iy1A== X-Gm-Message-State: AGi0Pual4Cs8q7oE9znsALPdwiI2lAlbpSMmwB1IlwMO+u0HSmq+P3gI uc2LGIFmp/obPSGq+53HhSd2LpL3UrXv/M4hRbcCvPFbGKWMR9u6I6VS1BWFNB1pmR7smjNXXS+ 1gJ+z3xoTNu8= X-Received: by 2002:a1c:82:: with SMTP id 124mr257859wma.63.1585680945318; Tue, 31 Mar 2020 11:55:45 -0700 (PDT) X-Google-Smtp-Source: APiQypIItSTAIpN2eJyUg/bKQdlRjERgE+twajxI2WUL+EtqTwGmwdqtCNM2ixY8sVPtXuyHJWpU4g== X-Received: by 2002:a1c:82:: with SMTP id 124mr257825wma.63.1585680944950; Tue, 31 Mar 2020 11:55:44 -0700 (PDT) Received: from redhat.com (bzq-79-176-51-222.red.bezeqint.net. [79.176.51.222]) by smtp.gmail.com with ESMTPSA id y7sm30626556wrq.54.2020.03.31.11.55.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 11:55:44 -0700 (PDT) Date: Tue, 31 Mar 2020 14:55:41 -0400 From: "Michael S. Tsirkin" To: Randy Dunlap Cc: akpm@linux-foundation.org, broonie@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-next@vger.kernel.org, mhocko@suse.cz, mm-commits@vger.kernel.org, sfr@canb.auug.org.au, Masahiro Yamada , virtualization@lists.linux-foundation.org, Jason Wang Subject: Re: mmotm 2020-03-30-18-46 uploaded (VDPA + vhost) Message-ID: <20200331144650-mutt-send-email-mst@kernel.org> References: <20200331014748.ajL0G62jF%akpm@linux-foundation.org> <969cacf1-d420-223d-7cc7-5b1b2405ec2a@infradead.org> <20200331143437-mutt-send-email-mst@kernel.org> <9c03fee8-af1a-2035-b903-611a631094b0@infradead.org> MIME-Version: 1.0 In-Reply-To: <9c03fee8-af1a-2035-b903-611a631094b0@infradead.org> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Mar 31, 2020 at 11:42:47AM -0700, Randy Dunlap wrote: > On 3/31/20 11:37 AM, Michael S. Tsirkin wrote: > > On Tue, Mar 31, 2020 at 11:27:54AM -0700, Randy Dunlap wrote: > >> On 3/30/20 6:47 PM, akpm@linux-foundation.org wrote: > >>> The mm-of-the-moment snapshot 2020-03-30-18-46 has been uploaded to > >>> > >>> http://www.ozlabs.org/~akpm/mmotm/ > >>> > >>> mmotm-readme.txt says > >>> > >>> README for mm-of-the-moment: > >>> > >>> http://www.ozlabs.org/~akpm/mmotm/ > >>> > >>> This is a snapshot of my -mm patch queue. Uploaded at random hopeful= ly > >>> more than once a week. > >>> > >>> You will need quilt to apply these patches to the latest Linus releas= e (5.x > >>> or 5.x-rcY). The series file is in broken-out.tar.gz and is duplicat= ed in > >>> http://ozlabs.org/~akpm/mmotm/series > >>> > >>> The file broken-out.tar.gz contains two datestamp files: .DATE and > >>> .DATE-yyyy-mm-dd-hh-mm-ss. Both contain the string yyyy-mm-dd-hh-mm-= ss, > >>> followed by the base kernel version against which this patch series i= s to > >>> be applied. > >>> > >>> This tree is partially included in linux-next. To see which patches = are > >>> included in linux-next, consult the `series' file. Only the patches > >>> within the #NEXT_PATCHES_START/#NEXT_PATCHES_END markers are included= in > >>> linux-next. > >>> > >>> > >>> A full copy of the full kernel tree with the linux-next and mmotm pat= ches > >>> already applied is available through git within an hour of the mmotm > >>> release. Individual mmotm releases are tagged. The master branch al= ways > >>> points to the latest release, so it's constantly rebasing. > >>> > >>> =09https://github.com/hnaz/linux-mm > >> > >> on i386: > >> > >> ld: drivers/vhost/vdpa.o: in function `vhost_vdpa_init': > >> vdpa.c:(.init.text+0x52): undefined reference to `__vdpa_register_driv= er' > >> ld: drivers/vhost/vdpa.o: in function `vhost_vdpa_exit': > >> vdpa.c:(.exit.text+0x14): undefined reference to `vdpa_unregister_driv= er' > >> > >> > >> > >> drivers/virtio/vdpa/ is not being built. (confusing!) > >> > >> CONFIG_VIRTIO=3Dm > >> # CONFIG_VIRTIO_MENU is not set > >> CONFIG_VDPA=3Dy > >=20 > > Hmm. OK. Can't figure it out. CONFIG_VDPA is set why isn't > > drivers/virtio/vdpa/ built? > > we have: > >=20 >=20 > Ack. Hopefully Yamada-san can tell us what is happening here. I reproduced this without difficulty btw, thanks for the report! > >=20 > > obj-$(CONFIG_VDPA) +=3D vdpa/ > >=20 > > and under that: > >=20 > > obj-$(CONFIG_VDPA) +=3D vdpa.o > >=20 > >=20 > >> CONFIG_VDPA_MENU=3Dy > >> # CONFIG_VDPA_SIM is not set > >> CONFIG_VHOST_IOTLB=3Dy > >> CONFIG_VHOST_RING=3Dm > >> CONFIG_VHOST=3Dy > >> CONFIG_VHOST_SCSI=3Dm > >> CONFIG_VHOST_VDPA=3Dy > >> > >> Full randconfig file is attached. > >> > >> (This same build failure happens with today's linux-next, Mar. 31.) > >> > >> @Yamada-san: Is this a kbuild problem (or feature)? > >> > >> --=20 > >> ~Randy > >> Reported-by: Randy Dunlap > >=20 >=20 >=20 > --=20 > ~Randy > Reported-by: Randy Dunlap