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 199E0ECAAD4 for ; Sun, 4 Sep 2022 12:45:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5F1D08D003B; Sun, 4 Sep 2022 08:45:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5A1EE8D0030; Sun, 4 Sep 2022 08:45:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 490908D003B; Sun, 4 Sep 2022 08:45:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 3A0C98D0030 for ; Sun, 4 Sep 2022 08:45:59 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 0C7391C629C for ; Sun, 4 Sep 2022 12:45:59 +0000 (UTC) X-FDA: 79874375238.12.96C0EDC Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf06.hostedemail.com (Postfix) with ESMTP id 4411B180054 for ; Sun, 4 Sep 2022 12:45:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662295558; x=1693831558; h=date:from:to:cc:subject:message-id:mime-version; bh=zyDO9Kg2hUr/SwaRqtrMHX6s+VQDPstk18Xzu72PjI0=; b=J2QwRtEq92s9OzICdyFSGDGjV20d1cyl12oYLmPQhczBJp1on0B+Jpyi yGP4dyF+NjlW6F8yrFqCxs18zTITBSaQQyrblZ7E7D6Hdrrr2urIL312B lo+XOn+j5sfE4O06+UflBYl2gA3WIVjN1wVnyWx2E+xKWCKrSyGFTZ0/h /9B1o8EshG3WDGRX/z/bRbbZ6uP8Vmx+XJuJENOzlAnP9KUH7r5M2JXly OO1hWK4egKeOP4v8Zc4tTnUbqL/f9FKDhOkPdkCppmIzjKnF10R/MpQDm qDU5SyAhjOjppUosp+azQ6/i+11xvZbZPchG4JlBDgr5z957633BegacS Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10459"; a="297539493" X-IronPort-AV: E=Sophos;i="5.93,289,1654585200"; d="scan'208";a="297539493" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2022 05:45:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,289,1654585200"; d="scan'208";a="941803675" Received: from lkp-server02.sh.intel.com (HELO 95dfd251caa2) ([10.239.97.151]) by fmsmga005.fm.intel.com with ESMTP; 04 Sep 2022 05:45:54 -0700 Received: from kbuild by 95dfd251caa2 with local (Exim 4.96) (envelope-from ) id 1oUp0b-00033H-25; Sun, 04 Sep 2022 12:45:53 +0000 Date: Sun, 4 Sep 2022 20:45:34 +0800 From: kernel test robot To: Kees Cook Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Marco Elver , Andrew Morton , Linux Memory Management List Subject: arch/x86/include/asm/checksum_32.h:149:6: error: inline assembly requires more registers than available Message-ID: <202209042007.sjb2ZKIv-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662295558; a=rsa-sha256; cv=none; b=HR3CBMb6dk8UzYBPBELqywOdkxe6HeelMhA9+LDgrqYO+8v3+GVrWGk6D8hJsjqcbWaNlk 0bw4qAsg0AeqRr6trPxan/9SZgj5GnsAx1zYwg6nFIrqADFMvlSkMNrTKndS+fx1gYRWR9 6rbFkoOyEKpKD+uxlFlNxrft5Mui/C8= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=J2QwRtEq; dmarc=fail reason="No valid SPF" header.from=intel.com (policy=none); spf=softfail (imf06.hostedemail.com: 134.134.136.65 is neither permitted nor denied by domain of lkp@intel.com) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662295558; 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: references:dkim-signature; bh=J3+lWTk4IWR/rl+1RLZXNw2o8ycuoZjW4zNcLtBo7IU=; b=RNXcIqR1+WYPoyh4O8JD0AyyNM+MLGTXcOm+ULUWoivsAL0zJe4nzhYlAtw+qQ0uKKxXCq QLwgtmWmtojSV7jRswxwX0EdzpV+jBFMHfyKxBK+yEFBXtrSvtUKxn9lXPTQ5mY7TI6G9z 0i2LceQVHIyki+2ZDAm3Hgh3+5kCwzA= X-Stat-Signature: ozw34nny8thjyzamx5zuwqct1ygp89h4 X-Rspamd-Queue-Id: 4411B180054 Authentication-Results: imf06.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=J2QwRtEq; dmarc=fail reason="No valid SPF" header.from=intel.com (policy=none); spf=softfail (imf06.hostedemail.com: 134.134.136.65 is neither permitted nor denied by domain of lkp@intel.com) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-Rspamd-Server: rspam02 X-HE-Tag: 1662295558-264147 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7726d4c3e60bfe206738894267414a5f10510f1a commit: 69d0db01e210e07fe915e5da91b54a867cda040f ubsan: remove CONFIG_UBSAN_OBJECT_SIZE date: 8 months ago config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220904/202209042007.sjb2ZKIv-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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 # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=69d0db01e210e07fe915e5da91b54a867cda040f git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 69d0db01e210e07fe915e5da91b54a867cda040f # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from net/netfilter/nf_synproxy_core.c:7: In file included from include/linux/skbuff.h:28: In file included from include/net/checksum.h:22: In file included from arch/x86/include/asm/checksum.h:6: >> arch/x86/include/asm/checksum_32.h:149:6: error: inline assembly requires more registers than available asm("addl 0(%1), %0 ;\n" ^ 1 error generated. vim +149 arch/x86/include/asm/checksum_32.h ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 143 ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 144 #define _HAVE_ARCH_IPV6_CSUM 0883e91ae209f4 include/asm-x86/checksum_32.h Joe Perches 2008-03-23 145 static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr, 72685fcd286e94 include/asm-i386/checksum.h Al Viro 2006-11-14 146 const struct in6_addr *daddr, 1e94082963747b arch/x86/include/asm/checksum_32.h Alexander Duyck 2016-03-11 147 __u32 len, __u8 proto, __wsum sum) ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 148 { 0883e91ae209f4 include/asm-x86/checksum_32.h Joe Perches 2008-03-23 @149 asm("addl 0(%1), %0 ;\n" ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 150 "adcl 4(%1), %0 ;\n" ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 151 "adcl 8(%1), %0 ;\n" ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 152 "adcl 12(%1), %0 ;\n" ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 153 "adcl 0(%2), %0 ;\n" ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 154 "adcl 4(%2), %0 ;\n" ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 155 "adcl 8(%2), %0 ;\n" ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 156 "adcl 12(%2), %0 ;\n" ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 157 "adcl %3, %0 ;\n" ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 158 "adcl %4, %0 ;\n" ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 159 "adcl $0, %0 ;\n" ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 160 : "=&r" (sum) ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 161 : "r" (saddr), "r" (daddr), 392d814daf460a arch/x86/include/asm/checksum_32.h Samuel Thibault 2009-10-01 162 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) 392d814daf460a arch/x86/include/asm/checksum_32.h Samuel Thibault 2009-10-01 163 : "memory"); ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 164 ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 165 return csum_fold(sum); ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 166 } ^1da177e4c3f41 include/asm-i386/checksum.h Linus Torvalds 2005-04-16 167 :::::: The code at line 149 was first introduced by commit :::::: 0883e91ae209f4ada4db9b383026df77351c1320 include/asm-x86/checksum_32.h: checkpatch cleanups - formatting only :::::: TO: Joe Perches :::::: CC: Ingo Molnar -- 0-DAY CI Kernel Test Service https://01.org/lkp