Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EB1BC6FD1C for ; Mon, 20 Mar 2023 20:36:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230018AbjCTUgD (ORCPT ); Mon, 20 Mar 2023 16:36:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbjCTUgB (ORCPT ); Mon, 20 Mar 2023 16:36:01 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ABEEA253 for ; Mon, 20 Mar 2023 13:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679344559; x=1710880559; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=XsI54tRIC2yyLGKG7ZmZAaYYUDtiaowqXj/qk8ckWTM=; b=RavBrUY73E55ISIVixkw4vSHAHTVNiZddFBfamW3o+guGE4SNo6GrlHt 2/82Ndby5c6FgzJenHAIx2kBg2Gdr3f2prMFZaoX/cepakgR3xn4E3Kqc zxg6BLmvo1+8ZLHP6Zr2Nm7fa7NoUekWcPn0/nbZVP7dC1fwSNq1Ycn+U pgUsM1AFObJ2advEPpAtIQjCyY9nvRJ7+h57CdaVEuglKlv80D2m8UgMu 3m2zW8JMA3a2cpZ0m2ZUjCOnsjcOzIFR14L3b8KPcdmANPwTkakHrGpmX Xzik/Fl8Fo6vWkC5ojQiyvndxLaWx6LUcwtUfk1SZel6CxeknaZ6RjVdq A==; X-IronPort-AV: E=McAfee;i="6600,9927,10655"; a="318424153" X-IronPort-AV: E=Sophos;i="5.98,276,1673942400"; d="scan'208";a="318424153" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2023 13:35:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10655"; a="681223512" X-IronPort-AV: E=Sophos;i="5.98,276,1673942400"; d="scan'208";a="681223512" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 20 Mar 2023 13:35:57 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1peMEW-000BIQ-0J; Mon, 20 Mar 2023 20:35:56 +0000 Date: Tue, 21 Mar 2023 04:34:56 +0800 From: kernel test robot To: Viktor Prutyanov , mst@redhat.com, jasowang@redhat.com Cc: oe-kbuild-all@lists.linux.dev, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, yan@daynix.com, viktor@daynix.com Subject: Re: [PATCH] virtio: add VIRTIO_F_NOTIFICATION_DATA feature support Message-ID: <202303210449.m2ERQJXB-lkp@intel.com> References: <20230320115451.1232171-1-viktor@daynix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230320115451.1232171-1-viktor@daynix.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Viktor, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mst-vhost/linux-next] [also build test WARNING on linus/master v6.3-rc3 next-20230320] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Viktor-Prutyanov/virtio-add-VIRTIO_F_NOTIFICATION_DATA-feature-support/20230320-195725 base: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next patch link: https://lore.kernel.org/r/20230320115451.1232171-1-viktor%40daynix.com patch subject: [PATCH] virtio: add VIRTIO_F_NOTIFICATION_DATA feature support config: nios2-randconfig-s051-20230319 (https://download.01.org/0day-ci/archive/20230321/202303210449.m2ERQJXB-lkp@intel.com/config) compiler: nios2-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/b6212a12ca1691dc346e5de046ec46bd3ce11247 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Viktor-Prutyanov/virtio-add-VIRTIO_F_NOTIFICATION_DATA-feature-support/20230320-195725 git checkout b6212a12ca1691dc346e5de046ec46bd3ce11247 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=nios2 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=nios2 SHELL=/bin/bash drivers/virtio/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303210449.m2ERQJXB-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/virtio/virtio_mmio.c:293:16: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] data @@ drivers/virtio/virtio_mmio.c:293:16: sparse: expected unsigned int [usertype] value drivers/virtio/virtio_mmio.c:293:16: sparse: got restricted __le32 [usertype] data vim +293 drivers/virtio/virtio_mmio.c 287 288 static bool vm_notify_with_data(struct virtqueue *vq) 289 { 290 struct virtio_mmio_device *vm_dev = to_virtio_mmio_device(vq->vdev); 291 __le32 data = vring_fill_notification_data(vq); 292 > 293 writel(data, vm_dev->base + VIRTIO_MMIO_QUEUE_NOTIFY); 294 295 return true; 296 } 297 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests