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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 641EACF043B for ; Wed, 9 Oct 2024 03:26:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 744B36B00D4; Tue, 8 Oct 2024 23:26:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6F3846B00D5; Tue, 8 Oct 2024 23:26:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 56EAD6B00D7; Tue, 8 Oct 2024 23:26:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 365796B00D4 for ; Tue, 8 Oct 2024 23:26:37 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 28B5E120F5B for ; Wed, 9 Oct 2024 03:26:35 +0000 (UTC) X-FDA: 82652626392.03.129D8C8 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by imf11.hostedemail.com (Postfix) with ESMTP id 0EBB940011 for ; Wed, 9 Oct 2024 03:26:33 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=kv33Kq6+; spf=pass (imf11.hostedemail.com: domain of lkp@intel.com designates 198.175.65.14 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1728444214; h=from:from:sender: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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Hds+j3hzGcmN54WzXqwfROvePLobTCGMJhM1nQwZ8bs=; b=VDXL9VHdIFEi0hD6YguT1iiiH8G39/4DK4qJ+vvsI3mpR8KoM4Wyk2b+GwtJhaix7Mi/ll Mg0ETQAGxwp9dyTHpDwzMlNfMfhy1+hWAk1+bDCqb/rPb3RKmY7QFf7wMSdjTTUJetKljU x8IPQ2ZEK35mORcEHwxx87mw5khD3lo= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=kv33Kq6+; spf=pass (imf11.hostedemail.com: domain of lkp@intel.com designates 198.175.65.14 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1728444214; a=rsa-sha256; cv=none; b=aBEaexsZblJwRg8AwA1e7BdE2cG4iOxB5hxYaCPaI2LN4xC6lppHDN6kIIlujnbaBu+H7f VXIVmK8qTPW6EesTBHjeH/um0idikX1n0YG4En1En9fKSCNZD1UAEabjjnVSAN3fDNmOzQ 0rHEMcsELyNjGpAKQoZvePjvJW5e5Ck= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728444394; x=1759980394; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Vvq3GasDZ5OEHHM265BL9M8ogLQk30+7BiNEPEkvCPw=; b=kv33Kq6+QSwZfDZujRfuYgjlY4Chadc9Izpn+WBa+aBvfYISOBOgrTOh Y5U0Tg2VhZvEHWFS+CFtZ49YbBDg8a0rcb4gMXDEaCFsbrEwt4A6O2d7p H5rtk/sOMoD21l1aaAWhc1gehJWyWBJCFAS29WahuGrDvAszhAShSSwcc BNnqgYKW3m+b2gI4HshJGHBKsMe+IsBCiTMowx2jYaRj6IP3FiDmxdKAO MWSGPWf8OakiO12kJU4X+++ttjKF9zEjlqeWTanv+uGGxI4SR/a+uirrM w+VkqpCS8rMPL7ZASor20uhhcmaFIF6PcwdjtG0o2ipMbOxU9X+V53B0C A==; X-CSE-ConnectionGUID: 7PwZ6YZOSu+Og40Xih48BA== X-CSE-MsgGUID: yr3pYgatTgGPNkHRy8x/3w== X-IronPort-AV: E=McAfee;i="6700,10204,11219"; a="31501669" X-IronPort-AV: E=Sophos;i="6.11,188,1725346800"; d="scan'208";a="31501669" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2024 20:26:32 -0700 X-CSE-ConnectionGUID: StiRHXKtQQONRCWKega/Ww== X-CSE-MsgGUID: CzpD02caTKOoZXqm+inSlw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,188,1725346800"; d="scan'208";a="80685703" Received: from lkp-server01.sh.intel.com (HELO a48cf1aa22e8) ([10.239.97.150]) by fmviesa004.fm.intel.com with ESMTP; 08 Oct 2024 20:26:25 -0700 Received: from kbuild by a48cf1aa22e8 with local (Exim 4.96) (envelope-from ) id 1syNLC-0008fY-21; Wed, 09 Oct 2024 03:26:22 +0000 Date: Wed, 9 Oct 2024 11:25:57 +0800 From: kernel test robot To: Julian Vetter , Arnd Bergmann , Russell King , Catalin Marinas , Will Deacon , Guo Ren , Huacai Chen , WANG Xuerui , Andrew Morton , Geert Uytterhoeven , Richard Henderson , Ivan Kokshaysky , Matt Turner , "James E . J . Bottomley" , Helge Deller , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Richard Weinberger , Anton Ivanov , Johannes Berg , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Naveen N Rao , Madhavan Srinivasan , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List Subject: Re: [PATCH v8 01/14] Consolidate IO memcpy/memset into iomap_copy.c Message-ID: <202410091134.mtrlor1I-lkp@intel.com> References: <20241008075023.3052370-2-jvetter@kalrayinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241008075023.3052370-2-jvetter@kalrayinc.com> X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 0EBB940011 X-Stat-Signature: 1rk5u4jefqbcj43as817reaxtbdyer8b X-Rspam-User: X-HE-Tag: 1728444393-710323 X-HE-Meta: U2FsdGVkX18VlOwYWZAz3BrieHAXQFudWOPG+fzLHpq6KB6voO+zcgXxrjKNxAkstmbOjbiyenf5nqIM+p3RSDEmxBd/aXsZQhFfouPWu3dGaFQ7CnmjiuPZg6NLjb0aej8kp7Wie+oOeIfxyINfTBhM+sP1Ymp7OwkLkNCsNlA787U7ZZ/baIRo517YNmIdUyCBWp1YMZIrS2uoVkxtyhjrq6hfYzS6LiUrsT2u6O/PK3LIEbaqW3kRzpkm9Da5wMMoLamQ7ofUFudiByntei0bGFidVBNzVmEu/WaJUa9hbIArbs8ItJeUNCycBE96UQG5WYEuFsTyJ12CWWKbojGJ+sPCbgJ97cPHTx8z6ShSwwfm8rc5dLO/kVyigDanTYfuckotlgji34UnaKt19mvPzhKipettSzHb7t1qsSdNFFOaMmXsHet/S3vjLPtASpVs8aZHpiMJRbe/8aXeGhPumaqqj4CUmQGHVwt/wn/70zGlyqsJDLm/YOC03eokYBbpRh/7lkgM/1yeP6VFNJSFsg/MVuJI9El3Tn+pCeRrZGtMS3K6kdxJvZDTIcMy4/h+X8GIQNHttgrQyimHNQjwXXps+eqnO16VgtavzoXzsV3moejXPwPelgLmeF2QC2+RVoQsRGxe8Y6v4v9CmUMo6Mt6hoB2oXxs1GTkuu6ckKvbSII6slsx0lvc6IMtFviKYdAQ0QfuTKqTNXqaLUxOZX+BswemOSKfd3WdPvBu/7ft6y5RIckRG55sdY9nbw5S+9ajKVrgq306WzpcEm0VHYvDVOSbd7mYQatIbt+M4bkHU/W7t9OuyJCR4lb/ad+vLFmjkNGisj5MJTwi48U+eZ8MPcmHwasKua6FGWvC1cEGPbO6EVxJw7YSDrs9iEtFZAlJ+PIK19Dk3YppJWemB0o2pgy07vzODNc0dHKo16Sy73kmj+iZ6pNp+HM7swRCtet6GhYwuINj2wH wTp7PAb0 U9Rqr0enj4tNWKoX/xnJslnsBkKeoj6T0FkGV60tKwVAxbEaZT61YSa0Rx599l4mgE9KWVair9LHlkXgofA6TTNOwVEqB5i3ldUjBR2Av8e4oIp8fJ2Z5OyByAcXNNjPlHw4Jvu6U7eUCSqlOIDz2cXXADwb5alZCrG1Ef7LkCP4z5tWJLbg9e/HEikUKltcw+SE8cj1dtLSSOIvawfOhZ4mVa2pWpAC4Tvd+l6KwSSVqz5FMBayz0M7Za0F1oMpy4zi5uhaujm9Qf9AQ+JDo/qIJG16L4u7ZELEb8YrNpdBbsnWEliO0+e17CEe6tbZnIw8nmhg2OLizcNRo2K6auCct2/2m3hLrxiw9PpJtcytDb9DsHqDB2EEA9iMH84E1JPpELs5MFZvc6sTYx64FqcGJpXHRvwrSGMW7JOWYJhBbFg3BifVe8eUIPguYvGyF/XDxwGcqp1KklPA= 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: List-Subscribe: List-Unsubscribe: Hi Julian, kernel test robot noticed the following build errors: [auto build test ERROR on powerpc/next] [also build test ERROR on powerpc/fixes arm64/for-next/core deller-parisc/for-next s390/features mtd/mtd/next mtd/mtd/fixes linus/master arm/for-next arm/fixes v6.12-rc2 next-20241008] [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/Julian-Vetter/Consolidate-IO-memcpy-memset-into-iomap_copy-c/20241008-163134 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next patch link: https://lore.kernel.org/r/20241008075023.3052370-2-jvetter%40kalrayinc.com patch subject: [PATCH v8 01/14] Consolidate IO memcpy/memset into iomap_copy.c config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20241009/202410091134.mtrlor1I-lkp@intel.com/config) compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 70e0a7e7e6a8541bcc46908c592eed561850e416) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241009/202410091134.mtrlor1I-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/202410091134.mtrlor1I-lkp@intel.com/ All errors (new ones prefixed by >>): WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] In file included from arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/hexagon/include/asm/io.h:328: >> include/asm-generic/io.h:105:13: error: conflicting types for 'memcpy_fromio' 105 | extern void memcpy_fromio(void *to, const volatile void __iomem *from, | ^ arch/hexagon/include/asm/io.h:314:23: note: expanded from macro 'memcpy_fromio' 314 | #define memcpy_fromio memcpy_fromio | ^ arch/hexagon/include/asm/io.h:173:20: note: previous definition is here 173 | static inline void memcpy_fromio(void *dst, const volatile void __iomem *src, | ^ In file included from arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/hexagon/include/asm/io.h:328: >> include/asm-generic/io.h:107:13: error: conflicting types for 'memcpy_toio' 107 | extern void memcpy_toio(volatile void __iomem *to, const void *from, | ^ arch/hexagon/include/asm/io.h:315:21: note: expanded from macro 'memcpy_toio' 315 | #define memcpy_toio memcpy_toio | ^ arch/hexagon/include/asm/io.h:179:20: note: previous definition is here 179 | static inline void memcpy_toio(volatile void __iomem *dst, const void *src, | ^ In file included from arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:554:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 554 | val = __raw_readb(PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:567:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 567 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ In file included from arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:580:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 580 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ In file included from arch/hexagon/kernel/asm-offsets.c:15: In file included from include/linux/interrupt.h:11: In file included from include/linux/hardirq.h:11: In file included from ./arch/hexagon/include/generated/asm/hardirq.h:1: In file included from include/asm-generic/hardirq.h:17: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:591:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 591 | __raw_writeb(value, PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:601:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 601 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:611:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 611 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ 6 warnings and 2 errors generated. make[3]: *** [scripts/Makefile.build:102: arch/hexagon/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1203: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:224: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:224: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for MODVERSIONS Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y] Selected by [y]: - RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=y] || GCC_PLUGINS [=n]) && MODULES [=y] WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [m]: - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m] vim +/memcpy_fromio +105 include/asm-generic/io.h 104 > 105 extern void memcpy_fromio(void *to, const volatile void __iomem *from, 106 size_t count); > 107 extern void memcpy_toio(volatile void __iomem *to, const void *from, 108 size_t count); 109 extern void memset_io(volatile void __iomem *dst, int c, size_t count); 110 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki