Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp273027pxa; Tue, 4 Aug 2020 05:24:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsqDFcseFHC/Fg2d+oyhPnwjJvX898ai6oZFXlhDZBQd9BWXYZg4XW4JxEEtUR/HmZXPv2 X-Received: by 2002:a17:906:ecf7:: with SMTP id qt23mr21976817ejb.314.1596543866855; Tue, 04 Aug 2020 05:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596543866; cv=none; d=google.com; s=arc-20160816; b=Wpa/L8G4ka56lm0G7ZPUBtZytz2YUMBS1+nfWzGr+Wy2a3Sh63TtMgTLNWNSVb6chG UCDInk7oF1oLqZsUvupt5D3PEjiiMFQ5EcR9/AiKhw/+zAxJYzIdUxl3iTk2bEcA0elU kvFMd9uFXwxroWUHVTPvRI6EbkqQVGSqtf2TkzjJ9rVb1l6ZSAZOYER9MG2M1r2NhMQ8 zftjBxFWPkaMLue00SEzds2h9ItG2CIdUX2dwxjQbmzWCZeru+0czU2qIPTh4tCsgr02 MkbA5R+WQpmPWd0OcVNMcAq/WDhM6eXC+NxX2zCgEV4fMicaLluKNmoe0dXBPL1r7HOI y0LQ== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Cfhrqb6pBBQzVJy0vxTB4jGpyV61Q7QFxMfhI7EBCL4=; b=J6ESiNtr2WBgCtotJNkWA4Ub0+07qOjQKocQBD+88BclHvm1EdrT2ZSkgeWXye7kZp tzb1JsrrCKGdJPMzxAM4Dait2NvljJNL+X7c7yevy1ukmG52mvuCwE9mHBct54KJBC4n JHZwX5AximGYq76T0QcXSOtZ5TWHb+j+dhZo88RQanbKfwaTLp/LgDx7mzfa27iFkSHd FtfrjvzBMn7oRr9CZqygqBFRkCWmeV7QcPudK1eoIqjYAo6p67n0CW2fUF9rllfhzNml Fxve8nPFOFnAZSA9bM2acz2ngliCL70d365BH5vL1MfzdxeDB8pRUUj5rBKg/0JcYxnL a9fQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IbGQs4Yh; 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 w2si12116716edu.590.2020.08.04.05.23.58; Tue, 04 Aug 2020 05:24:26 -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=IbGQs4Yh; 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 S1726291AbgHDMXV (ORCPT + 99 others); Tue, 4 Aug 2020 08:23:21 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:22024 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726202AbgHDMWr (ORCPT ); Tue, 4 Aug 2020 08:22:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596543754; 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=Cfhrqb6pBBQzVJy0vxTB4jGpyV61Q7QFxMfhI7EBCL4=; b=IbGQs4YhkjDnXQxk1QUKGa65mGFOdX4pIiXMdpRgP96hQFxHVDC0yF2Yy3byoYPGgofhP1 sj76o54Xz7UM7tUs05bXbF+Ua4X+RmNgfSvLtWlX2LWaRFnFdGSzl6cqxBglioItWbDox0 pag+5O3F0HXoHvVzlFuzUq+4kR/eo7w= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-404-LdrI7GNRMZKj1AQbDXc42A-1; Tue, 04 Aug 2020 08:22:14 -0400 X-MC-Unique: LdrI7GNRMZKj1AQbDXc42A-1 Received: by mail-qt1-f198.google.com with SMTP id q19so19562925qtp.0 for ; Tue, 04 Aug 2020 05:22:14 -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=Cfhrqb6pBBQzVJy0vxTB4jGpyV61Q7QFxMfhI7EBCL4=; b=tPc/YB0qTpvsx5KsbgN00zwSNN8dl3lzzvO9QhvwFdUJiBH8Dx2aR6PJ1SZHE0RUow ZM/GjvFssy1iddqntjDyhxyORN4ztVONJK5KvMBVyPt7HffiaOBSsXyt6nVCf0qF95I6 xNxQ6UD3TDLPJCX3CMWG7GVp+Doyst7Te04gaKG+xs5BhUiakve2cA6Xl0rfrgOrfvNQ FrLUcf4zeYMPFf1lrZMNwECD1JnmlgXKGrHxP8BUYpL1UdkU5g4wDLnAhjO5OgKGWRKL oLY0DNd6wV2CYu5AsynqaAyqgSI07elpHZDMFWfp++WsjJaJZrcqlG3eGNgpHXl5otmh A53Q== X-Gm-Message-State: AOAM531br4r615P5hLksOmn9uNrDTrU2Nz/74shMYX5qu2olqwcQJjIj q5/+KAY0rjeO2mwthIZa9rjmdJQ9LfPYDKzOoCGD+n4D67kYEsSaZuDMY+lFMrC7d0ftjhA1qGi GJbELxc+P7MzfdWJByO0WO28+ X-Received: by 2002:ac8:4c9a:: with SMTP id j26mr20753979qtv.373.1596543734014; Tue, 04 Aug 2020 05:22:14 -0700 (PDT) X-Received: by 2002:ac8:4c9a:: with SMTP id j26mr20753950qtv.373.1596543733713; Tue, 04 Aug 2020 05:22:13 -0700 (PDT) Received: from redhat.com (bzq-79-177-102-128.red.bezeqint.net. [79.177.102.128]) by smtp.gmail.com with ESMTPSA id p123sm20548192qkd.26.2020.08.04.05.22.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2020 05:22:12 -0700 (PDT) Date: Tue, 4 Aug 2020 08:22:07 -0400 From: "Michael S. Tsirkin" To: Eli Cohen Cc: kernel test robot , "jasowang@redhat.com" , "virtualization@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "kbuild-all@lists.01.org" , Shahaf Shuler , Saeed Mahameed , Parav Pandit Subject: Re: [PATCH V3 vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices Message-ID: <20200804081501-mutt-send-email-mst@kernel.org> References: <20200728060539.4163-11-eli@mellanox.com> <202007282108.S8MkTrap%lkp@intel.com> <20200804115419.GA6326@nps-server-21.mtl.labs.mlnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200804115419.GA6326@nps-server-21.mtl.labs.mlnx> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 04, 2020 at 02:54:19PM +0300, Eli Cohen wrote: > On Tue, Jul 28, 2020 at 04:43:00PM +0300, kernel test robot wrote: > > Hi Eli, > > > > Thank you for the patch! Yet something to improve: > > > > [auto build test ERROR on next-20200727] > > > > url: https://github.com/0day-ci/linux/commits/Eli-Cohen/VDPA-support-for-Mellanox-ConnectX-devices/20200728-140938 > > base: e9a523ff8f76de0768857f02ea76437d3b39d151 > > config: mips-allmodconfig (attached as .config) > > compiler: mips-linux-gcc (GCC) 9.3.0 > > reproduce (this is a W=1 build): > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>, old ones prefixed by <<): > > > > ERROR: modpost: "fw_arg3" [drivers/mtd/parsers/bcm63xxpart.ko] undefined! > > >> ERROR: modpost: "__udivdi3" [drivers/vdpa/mlx5/mlx5_vdpa.ko] undefined! > > I don't know where this complaint comes from. When I follow the steps > above to reproduce, I find myself failing on code unrelated to my patch > set so I can get my code compiled: > > drivers/rpmsg/virtio_rpmsg_bus.c:88:8: error: redefinition of 'struct rpmsg_hdr' > 88 | struct rpmsg_hdr { > | ^~~~~~~~~ > In file included from drivers/rpmsg/virtio_rpmsg_bus.c:28: > ./include/linux/virtio_rpmsg.h:21:8: note: originally defined here > 21 | struct rpmsg_hdr { > | ^~~~~~~~~ > drivers/rpmsg/virtio_rpmsg_bus.c:109:8: error: redefinition of 'struct > rpmsg_ns_msg' > 109 | struct rpmsg_ns_msg { > | ^~~~~~~~~~~~ > In file included from drivers/rpmsg/virtio_rpmsg_bus.c:28: > ./include/linux/virtio_rpmsg.h:42:8: note: originally defined here > 42 | struct rpmsg_ns_msg { > | ^~~~~~~~~~~~ > Hmm more conflicts. My bad :( > I think the reason for the complaint comes from usage of DIV_ROUND_UP() > which somehow does not work on mips. > > I can try to avoid using this macro and implement something of my own, > unless someone has a better idea what's going on here. > > > > > --- > > 0-DAY CI Kernel Test Service, Intel Corporation > > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org >