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 2B0A1C2D0EF for ; Tue, 31 Mar 2020 18:57:55 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D4F17208E0 for ; Tue, 31 Mar 2020 18:57:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ho/vBgtJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D4F17208E0 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 691286B000E; Tue, 31 Mar 2020 14:57:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 641C96B0037; Tue, 31 Mar 2020 14:57:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 530136B006C; Tue, 31 Mar 2020 14:57:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0151.hostedemail.com [216.40.44.151]) by kanga.kvack.org (Postfix) with ESMTP id 3C1166B000E for ; Tue, 31 Mar 2020 14:57:54 -0400 (EDT) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id F41D8181AC1F5 for ; Tue, 31 Mar 2020 18:57:53 +0000 (UTC) X-FDA: 76656566868.11.pies02_ab0621e0dc16 X-HE-Tag: pies02_ab0621e0dc16 X-Filterd-Recvd-Size: 7110 Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by imf09.hostedemail.com (Postfix) with ESMTP for ; Tue, 31 Mar 2020 18:57:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585681072; 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=0dVgzF4spN/+yF938xyPy3sHWRsD+0hozHeBfBvB9tA=; b=Ho/vBgtJAchdKsnKFrwVRSxup2SmsB4MgVL+daaZMQGHcZ1bAAPd0GkiHnnvTgEC2LltpJ RIm84nE8qoWJ4r812rJP2klZklrQbf0S7LULeTPKwIrEUUAeHOelSUbLzIrZucph7gSDnJ BYYKukDkBfBxc6dmetwnupSEq4n3kG0= 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-329-Le17_4LgPo-xrBi6KgA7Tw-1; Tue, 31 Mar 2020 14:57:48 -0400 X-MC-Unique: Le17_4LgPo-xrBi6KgA7Tw-1 Received: by mail-wr1-f71.google.com with SMTP id y1so13368036wrn.10 for ; Tue, 31 Mar 2020 11:57:48 -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=bjuPWfP4XM6yz96SvNfUrwVZXF7xkmhK3kaB303goaM=; b=RclQ0Zd/0gBCH+Q4ay/Tl9vTA0WbldHv7ItqbKzuKm7vYo2fag1XCGo69vhXzu3QdZ OY2zWqCNp2mEGu60GNCVzv+kf0VwyHRS09JanCZspwk3rdcsL2ylhfgGDMIaAMGd8dB/ Xo7YQYBqfJyYi0fTjpt+FozPxJE/AKyFNu8iPeas3C2Ocl5rK6U9g2jxUPdEa0BtTP8I ukc4DJXkW4DmjX6M6bbL0lVvn6Cm0B2AkJWnX3bBh392EnaKPzpqPk68UYZTLJKt3flq 7dpHF61tWiVyyvhN0JU3rkBWcpnxfnibkK992p1XMvcBXlQpjxC4s5KKMmOLAvRtCxVj h4Hg== X-Gm-Message-State: ANhLgQ0ZwrqBQGlExU7x3RSfK/Cl+bKcAganmQiZKoMt074q7qtbbZEF g1M6P+HFpLJaBts4Aqhbg/KXJofjBJQ2Vy9Q4y4qFb5P3I89S4k9HTCEL9vtsvPancMvJweyLzL dxIjtfK8zWlE= X-Received: by 2002:adf:a549:: with SMTP id j9mr20849174wrb.183.1585681067706; Tue, 31 Mar 2020 11:57:47 -0700 (PDT) X-Google-Smtp-Source: ADFU+vumkiVUnoTFzxgxNV8v2tnIE0AdT7rk4DqQxWt81v0qN5/05onGh4L9duOpOsKKqaOy2HvO9w== X-Received: by 2002:adf:a549:: with SMTP id j9mr20849150wrb.183.1585681067499; Tue, 31 Mar 2020 11:57:47 -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 f13sm586160wrx.56.2020.03.31.11.57.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 11:57:46 -0700 (PDT) Date: Tue, 31 Mar 2020 14:57:43 -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: <20200331145630-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. Oh wait a second: obj-$(CONFIG_VIRTIO) +=3D virtio/ So CONFIG_VIRTIO=3Dm and build does not even interate into drivers/virtio. > >=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