Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp15349lqo; Wed, 15 May 2024 18:59:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV3/NtGUPeMxL1DWyO7bTECoqyUgH9/vhX3bkret9bVydY4xmfyUa/gCpItI5etyiNbYBlSy92JHigeFoJlXJo4oy19yoABMYTI6ZpKJA== X-Google-Smtp-Source: AGHT+IGiToMTTlKJwAok9mDucYndkq2YSiml9VuKX4qdDW7R5SRvkdQJrbYHn4f8lfVVMoZdloCc X-Received: by 2002:a17:90b:4a03:b0:2b1:73f8:a013 with SMTP id 98e67ed59e1d1-2b6cc14b7e4mr15593778a91.2.1715824779242; Wed, 15 May 2024 18:59:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715824779; cv=pass; d=google.com; s=arc-20160816; b=wub7VBQqwgjtzMADBVpGC+m00NTlhRhpG/qMuYVU+p3Z4sFCvkTaGI65YWZq7eOV21 3EZQB+iQlZQtZLyTm9C9YCGyuQmVQB8L2XAsedH6u0Nm/UTZ03nXo8BFlBkIGRY6nlyI PkDbQ/kP/0R66gWcUjHjUHfNRURPqQXqc/yZ20qmL46AnvEbeLQuGCnsKlLRn6g1Llip 7RnQdMrF1T58TSSMKMWGk8J7sK3p7U61hAoAHqwQqkhG2TnLsN48jScjW398myDpfIFi K3HMjwKvmv5vemwJ8R33/z2lfkAOojrCooMxsHKivU9CcLgu6zDyQacH1Fdg/fPyPR8m O9kQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=GE0MTL+8gbeidbv9OxlNbmIvPEavQQjpsdyRDwl1raI=; fh=/vc/LyF94HDmvOz2lHCHXkALGzs6eRKAvQYXN5fvxaY=; b=gqWTkt8JUcFR1LVCJQPP/6Cr9Pu0XAKiYKwy4KzBQlFYJbQlz1YBgx9Pwjs6eu+NSH y2jc8ljF1or+FN9vNZflN+8WoGQUr+33GGwPBEo99aYfF9xKwg36ksGSG/1kjKu8N6Ce 9c+7DJ/jTZY2oWMi5SfoqaUb/Bpx+WH/6mImYdOZiRG2QdH+zFLJPp+LUjF6iLqAuWaE z+ixjWrXpq3RlXiDxGBrPTP4btRH3floPDMI4GxWfidTs57yGMqt2EGzxLMlrutjJI1s zqVK9gMZm+Y9OAW7ZMILCfZU/k862+2xIleLpN2La4SORcNUX0nfDg+RU3WN6lAJ03vk 2aPQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CVIvcfhv; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-180558-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180558-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b670e32f76si13569874a91.36.2024.05.15.18.59.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 18:59:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180558-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CVIvcfhv; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-180558-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180558-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D3B1F28313A for ; Thu, 16 May 2024 01:59:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9904F1C32; Thu, 16 May 2024 01:59:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="CVIvcfhv" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58748EBB; Thu, 16 May 2024 01:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715824766; cv=none; b=SdxhXQmyLahqA/CgGAdAHa3/1eU8M0/wnMVy/7ILHjWSBlxqnnhBB3a1RR/1eX5c19hl+z4GciFeEP3O8FBHM6Yo+o/m5I7D5f4mj738Ee29x0l6WZ79BLjecQqij243bqY0SIzbkAyhuyPLi79BL3s7fkHUOBcbR6FWxawQwTY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715824766; c=relaxed/simple; bh=7HSfQz9HrIYfoe/ol0dKoYo0afQ+LSzzS3Aa66XC5oc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RoOfgwOTrpKQizJbtf9kKvEiJS94Bxd6rSwN6QA6HzP0FEZiAwQEBytp6NI+Dxu/rXepG0flH4OZfFUYkEIHUUtvWDO35j8eJpw7ilcu+IK+SkYjJztvpvhnwYNDhlv1u3mXk5cbBEEWWQC9r38Ol2TvTZIVwMTzXNcIow7+oPY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=CVIvcfhv; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715824765; x=1747360765; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=7HSfQz9HrIYfoe/ol0dKoYo0afQ+LSzzS3Aa66XC5oc=; b=CVIvcfhvD8K2c+7D62f/e4gJX6/+oq180FY6qQAyYGNHHcorL5ozrZiW GTmB1/ThqHQ7JOgJibXpDfi98WoZJqWrxVx4sqdzVfq+kWiYWR95zKtQV uCDi+bwlJ8FSYblxL4bWms/+8Y3Mdz86Jn6VzLVftnORL7IhhOXi8nUpM 6zmHqs4OM8tVsO5Xjrecy4caTVsXKz+aGZjTbTP6tPxasFW81n7X3VFcj HJP4tDn25GS4J8pr/G7no7Q2YsfPokKbEZvzNgyv12kQ1fdiE+tdot7ZJ e1HpjqOpxC71jh7SlQmyaj1YhmreW66mI2CdNXncT7NMXnSONOhzcxSTP w==; X-CSE-ConnectionGUID: H8f5VmqxTOm0n9mJBB2YTg== X-CSE-MsgGUID: yPuu5WVMRvmf3Tu2Rfw1NQ== X-IronPort-AV: E=McAfee;i="6600,9927,11074"; a="15688530" X-IronPort-AV: E=Sophos;i="6.08,163,1712646000"; d="scan'208";a="15688530" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2024 18:59:25 -0700 X-CSE-ConnectionGUID: Mp5+E/nITZmPU7mfDx0v9w== X-CSE-MsgGUID: q/hTrHFoSmmDXB1J9OLnQw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,163,1712646000"; d="scan'208";a="31361713" Received: from lkp-server01.sh.intel.com (HELO f8b243fe6e68) ([10.239.97.150]) by fmviesa010.fm.intel.com with ESMTP; 15 May 2024 18:59:21 -0700 Received: from kbuild by f8b243fe6e68 with local (Exim 4.96) (envelope-from ) id 1s7QOs-000DTT-39; Thu, 16 May 2024 01:59:18 +0000 Date: Thu, 16 May 2024 09:59:15 +0800 From: kernel test robot To: Ronak Doshi , netdev@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Ronak Doshi , Broadcom internal kernel review list , Eric Dumazet , Jakub Kicinski , Paolo Abeni , open list Subject: Re: [PATCH net-next 2/4] vmxnet3: add latency measurement support in vmxnet3 Message-ID: <202405160926.GplTaou0-lkp@intel.com> References: <20240514182050.20931-3-ronak.doshi@broadcom.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240514182050.20931-3-ronak.doshi@broadcom.com> Hi Ronak, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Ronak-Doshi/vmxnet3-prepare-for-version-9-changes/20240515-023833 base: net-next/main patch link: https://lore.kernel.org/r/20240514182050.20931-3-ronak.doshi%40broadcom.com patch subject: [PATCH net-next 2/4] vmxnet3: add latency measurement support in vmxnet3 config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20240516/202405160926.GplTaou0-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project d3455f4ddd16811401fa153298fadd2f59f6914e) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240516/202405160926.GplTaou0-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202405160926.GplTaou0-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/elf.h:6: In file included from arch/s390/include/asm/elf.h:173: In file included from arch/s390/include/asm/mmu_context.h:11: In file included from arch/s390/include/asm/pgalloc.h:18: In file included from include/linux/mm.h:2210: include/linux/vmstat.h:508:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 508 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 509 | item]; | ~~~~ include/linux/vmstat.h:515:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 515 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 516 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:527:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 527 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 528 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:536:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 536 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 537 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/net/vmxnet3/vmxnet3_drv.c:28: In file included from include/net/ip6_checksum.h:27: In file included from include/net/ip.h:22: In file included from include/linux/ip.h:16: In file included from include/linux/skbuff.h:28: In file included from include/linux/dma-mapping.h:11: In file included from include/linux/scatterlist.h:9: In file included from arch/s390/include/asm/io.h:78: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 547 | val = __raw_readb(PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 560 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/big_endian.h:37:59: note: expanded from macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) | ^ include/uapi/linux/swab.h:102:54: note: expanded from macro '__swab16' 102 | #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) | ^ In file included from drivers/net/vmxnet3/vmxnet3_drv.c:28: In file included from include/net/ip6_checksum.h:27: In file included from include/net/ip.h:22: In file included from include/linux/ip.h:16: In file included from include/linux/skbuff.h:28: In file included from include/linux/dma-mapping.h:11: In file included from include/linux/scatterlist.h:9: In file included from arch/s390/include/asm/io.h:78: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 573 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/big_endian.h:35:59: note: expanded from macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) | ^ include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ In file included from drivers/net/vmxnet3/vmxnet3_drv.c:28: In file included from include/net/ip6_checksum.h:27: In file included from include/net/ip.h:22: In file included from include/linux/ip.h:16: In file included from include/linux/skbuff.h:28: In file included from include/linux/dma-mapping.h:11: In file included from include/linux/scatterlist.h:9: In file included from arch/s390/include/asm/io.h:78: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 584 | __raw_writeb(value, PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 594 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 604 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:692:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 692 | readsb(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ include/asm-generic/io.h:700:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 700 | readsw(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ include/asm-generic/io.h:708:20: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 708 | readsl(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ include/asm-generic/io.h:717:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 717 | writesb(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ include/asm-generic/io.h:726:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 726 | writesw(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ include/asm-generic/io.h:735:21: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 735 | writesl(PCI_IOBASE + addr, buffer, count); | ~~~~~~~~~~ ^ >> drivers/net/vmxnet3/vmxnet3_drv.c:151:51: error: invalid input constraint 'c' in asm 151 | asm volatile("rdpmc" : "=a" (low), "=d" (high) : "c" (pmc)); | ^ drivers/net/vmxnet3/vmxnet3_drv.c:3973:46: warning: shift count >= width of type [-Wshift-count-overflow] 3973 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 18 warnings and 1 error generated. vim +/c +151 drivers/net/vmxnet3/vmxnet3_drv.c 145 146 static u64 147 vmxnet3_get_cycles(int pmc) 148 { 149 u32 low, high; 150 > 151 asm volatile("rdpmc" : "=a" (low), "=d" (high) : "c" (pmc)); 152 return (low | ((u_int64_t)high << 32)); 153 } 154 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki