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 12E66C6FD1C for ; Sat, 11 Mar 2023 17:38:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 385426B0072; Sat, 11 Mar 2023 12:38:08 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 335996B0074; Sat, 11 Mar 2023 12:38:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1D5D76B0075; Sat, 11 Mar 2023 12:38:08 -0500 (EST) 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 073316B0072 for ; Sat, 11 Mar 2023 12:38:08 -0500 (EST) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id C225240508 for ; Sat, 11 Mar 2023 17:38:07 +0000 (UTC) X-FDA: 80557325814.26.A45B8AC Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf03.hostedemail.com (Postfix) with ESMTP id A22112000A for ; Sat, 11 Mar 2023 17:38:03 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=g2PqqHFA; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 192.55.52.120 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=1678556285; 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=MMaawGW9lIqmOKgVx7+Oy1IlerFHIjh1uyRoqHtCpIE=; b=5/p+HarnhDWkitw7ojDZ/p8pDfQjkTWAeoAEQBO/ILyfwHg3FvfKGJBe3Zv7FavsWAcw06 u92UB95iTi1g3J6Y2CLda+V8QnLtt/Xh8j2+MD3no9q4bkPB2m7gPwdS4hmPM1GpC73Cep nzcMZvztqbOQbdJorHOMLrefU1UC6Gw= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=g2PqqHFA; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 192.55.52.120 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=1678556285; a=rsa-sha256; cv=none; b=D8vJX4+9ehHq8gTe5CaLJA1q6y5Py8sERx+WkEaAtZ9dfsLJZtaxX2SFgmvd7TpgElJvS5 rUdROGkfLGNs/KkVVgJPtYUOVyB8FXyUgHeFfraUZTYO3fsyFLCzaKLByuDvJUuKaSacmS Rj0IInXmfNVQy5zwhE536PhEFSGbT9o= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678556283; x=1710092283; h=date:from:to:cc:subject:message-id:mime-version; bh=etrJYQIhA3MJXInQDnwkIDMfJeROFhXktGAGfRbUXmM=; b=g2PqqHFA+p1mrFDX8g7cVz2Ay1l4pel2JBTDbu2JrtRiwDgbL3ZmUzbu Tr0f56qWMQYdE+RCieqP7+gBUJwndZi0MgL9MKnLapknmyvrwXQfRch0H qPs+wGmE1jVOxRrrvcE81egb/Zt6UJvSeFzOa5n3AAZCY/pSj66IN0jRF +LabBm/ZMGO10DBTWFQ8Mdy5/KKU6CLmAP+zIwlQvq092bbyJLZ6eIcUf oidUuyPA1MWWlROS9Lf6eowbvaqnD/4EPiF/06uxebSUrNz6htgyE4LLe NZ00j9A6LmGP3uAEMHPsnb01dcJ6qmVYLEam53PJfEhw6pPcPG+NDIfcO g==; X-IronPort-AV: E=McAfee;i="6500,9779,10646"; a="335623480" X-IronPort-AV: E=Sophos;i="5.98,253,1673942400"; d="scan'208";a="335623480" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2023 09:38:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10646"; a="628160337" X-IronPort-AV: E=Sophos;i="5.98,253,1673942400"; d="scan'208";a="628160337" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 11 Mar 2023 09:37:58 -0800 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pb3AL-0004j3-3D; Sat, 11 Mar 2023 17:37:58 +0000 Date: Sun, 12 Mar 2023 01:37:39 +0800 From: kernel test robot To: Kees Cook Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Greg Kroah-Hartman , Marco Elver , Andrew Morton , Linux Memory Management List Subject: [stable:linux-5.15.y 714/9999] arch/s390/kernel/vtime.c:132:2: error: expected absolute expression Message-ID: <202303120122.OX46jlQ2-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: 3imkqd3jfzdjp6difrz9bdtgckjfbupm X-Rspam-User: X-Rspamd-Queue-Id: A22112000A X-Rspamd-Server: rspam06 X-HE-Tag: 1678556283-239652 X-HE-Meta: U2FsdGVkX1/C+giWVWEAPEA7a65qi7wDj8PLvo6UsGYVCxlaYt2FB5gvLC1TdiVYZ7O51+viXRAx/xPTwX2Z8ge6EAFRXbcR/LbxOGUzu4eXbyjkEk6zqmrYSLnJwZRLL9iBLywOZqrb8zwHBLofS6sXXOEiXidZW4yy1bgFkY4ufCXY4jBteCQTkZcvbibIryuvXpwVD26Y+J8otM54nGbNUEBKVUUyRrxrr+Ji+Z+sow7GgwCUOKfOkDUBPzuv1OPW/BOFET4H37MNreXvHMu5Rl+aBNCqVdLdM5dUkUx53ZL5Oa7sV0Uf21qmxUTqCpQEAgeI86aH+p3MU2f1qBPlpVtlpD+jNCVkfR+JERb9oLj6xVafWqrNrA03X5/Sr57AA7nGEQzoNDaxIzHcPB7OYxxu64BGzQwhFmS4eitnnbx+7QKwR9GEKuY56ayoQV9ilh0lAzOMyWUJcM9xVUS982Yv8Mn3m/t6o4oVKb7AVngWFp31FiEcBNU+x3O9FlkDKV7qIuYHxqCj6PXJGoc/UMFxBHhkSvjGWSfbwQZctvm8GKRmH315lkMC6a/iC4nxh1kBJx+0aQmVUjCcQ3mGhzvvwxEsTSeIc/BRRN7sHuK0qwC/XVQCn76kULleio50jb4lP91o/RWeX0V0BG8YAewtN2eFJiEGHskaFk1X0H+WPU1KPpv//eWOgLgxHza3bFZzftj5NbhjR6b8jmG7QSNBCV48pNsi2qcGerLdLmHtWKEuGK+lOHEmGK4E9fsMnJyqKqnahgbzf3E2Ia5f+CEiY3iiPQOIJz4CrmOyrC3WTmDbDCe1kUxY9LoZxeTUGwOuK6/e8bUqvGmUf5bn154KL6Q1B0fH9SYQn7gMER1fW52W8c1r/XZWTMiPx5VX5ukfk9qdIlAd4gOPjXpUuaMQ5/+4ErnUltSPoryD+A9S+T2DvtxF/Gze2byaACEthcOJPQDXtKgjPR6 YWMTr+66 G4nW01RW6k4Fg7PupilVWdLIbPK21l0b+W0+KtQAs0EgIwyrmJoo9n99ehk+T2tmV88v/9y8hqJhZHetAszaAUJ3xK6P90UW/pJVCorQOvgzfOmXQXQU3bzfNym7ykfo54AbS08PgnjWDOxVNhYwAmE7TDpdI8izpttZZzFLmBQ7nEzPhYPoXU96zBTLieLdSs1t95SLSMSlQo9hIRZjfahBk/mdynLXVdpXUA30DCk+zA87eUl3UjnVfU+SXFA1h681f50b5PidqVtTphktO5QPEtm/Zm9QCaW3qclhlbosvSOZJ44Q+c5sDF/7Gt6whqSVLWODsa8uTJfLLRLAfipNSLv357ZMFuStL9HPJoV/zpPZvt+6z5NQdKUMd74kQqOlJ6KOEidG8WROtxhmc4f4bcQ== 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: Hi Kees, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.15.y head: d214f240b0f61480f9dbc4384cef03f6a55e5d03 commit: 33db9912ff7c491f839c89a08e98f755aa09598f [714/9999] ubsan: remove CONFIG_UBSAN_OBJECT_SIZE config: s390-randconfig-r044-20230311 (https://download.01.org/0day-ci/archive/20230312/202303120122.OX46jlQ2-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7) 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 # install s390 cross compiling tool for clang build # apt-get install binutils-s390x-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=33db9912ff7c491f839c89a08e98f755aa09598f git remote add stable https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git git fetch --no-tags stable linux-5.15.y git checkout 33db9912ff7c491f839c89a08e98f755aa09598f # 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=s390 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash arch/s390/kernel/ arch/s390/lib/ kernel/locking/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303120122.OX46jlQ2-lkp@intel.com/ All errors (new ones prefixed by >>): >> arch/s390/kernel/vtime.c:132:2: error: expected absolute expression alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", ^ arch/s390/include/asm/alternative.h:155:22: note: expanded from macro 'alternative_io' asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \ ^ arch/s390/include/asm/alternative.h:111:2: note: expanded from macro 'ALTERNATIVE' ALTINSTR_REPLACEMENT(altinstr, 1) \ ^ arch/s390/include/asm/alternative.h:106:2: note: expanded from macro 'ALTINSTR_REPLACEMENT' INSTR_LEN_SANITY_CHECK(altinstr_len(num)) ^ arch/s390/include/asm/alternative.h:62:3: note: expanded from macro 'INSTR_LEN_SANITY_CHECK' ".if " len " > 254\n" \ ^ :7:5: note: instantiated into assembly here .if 6651b-6641b > 254 ^ >> arch/s390/kernel/vtime.c:132:2: error: cpu alternatives does not support instructions blocks > 254 bytes alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", ^ arch/s390/include/asm/alternative.h:155:22: note: expanded from macro 'alternative_io' asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \ ^ arch/s390/include/asm/alternative.h:111:2: note: expanded from macro 'ALTERNATIVE' ALTINSTR_REPLACEMENT(altinstr, 1) \ ^ arch/s390/include/asm/alternative.h:106:2: note: expanded from macro 'ALTINSTR_REPLACEMENT' INSTR_LEN_SANITY_CHECK(altinstr_len(num)) ^ arch/s390/include/asm/alternative.h:63:3: note: expanded from macro 'INSTR_LEN_SANITY_CHECK' "\t.error \"cpu alternatives does not support instructions " \ ^ :8:2: note: instantiated into assembly here .error "cpu alternatives does not support instructions blocks > 254 bytes" ^ >> arch/s390/kernel/vtime.c:132:2: error: expected absolute expression alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", ^ arch/s390/include/asm/alternative.h:155:22: note: expanded from macro 'alternative_io' asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \ ^ arch/s390/include/asm/alternative.h:111:2: note: expanded from macro 'ALTERNATIVE' ALTINSTR_REPLACEMENT(altinstr, 1) \ ^ arch/s390/include/asm/alternative.h:106:2: note: expanded from macro 'ALTINSTR_REPLACEMENT' INSTR_LEN_SANITY_CHECK(altinstr_len(num)) ^ arch/s390/include/asm/alternative.h:66:3: note: expanded from macro 'INSTR_LEN_SANITY_CHECK' ".if (" len ") %% 2\n" \ ^ :10:5: note: instantiated into assembly here .if (6651b-6641b) % 2 ^ >> arch/s390/kernel/vtime.c:132:2: error: cpu alternatives instructions length is odd alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", ^ arch/s390/include/asm/alternative.h:155:22: note: expanded from macro 'alternative_io' asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \ ^ arch/s390/include/asm/alternative.h:111:2: note: expanded from macro 'ALTERNATIVE' ALTINSTR_REPLACEMENT(altinstr, 1) \ ^ arch/s390/include/asm/alternative.h:106:2: note: expanded from macro 'ALTINSTR_REPLACEMENT' INSTR_LEN_SANITY_CHECK(altinstr_len(num)) ^ arch/s390/include/asm/alternative.h:67:3: note: expanded from macro 'INSTR_LEN_SANITY_CHECK' "\t.error \"cpu alternatives instructions length is odd\"\n" \ ^ :11:2: note: instantiated into assembly here .error "cpu alternatives instructions length is odd" ^ >> arch/s390/kernel/vtime.c:132:2: error: expected absolute expression alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", ^ arch/s390/include/asm/alternative.h:155:22: note: expanded from macro 'alternative_io' asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \ ^ arch/s390/include/asm/alternative.h:113:2: note: expanded from macro 'ALTERNATIVE' OLDINSTR(oldinstr, 1) \ ^ arch/s390/include/asm/alternative.h:83:2: note: expanded from macro 'OLDINSTR' OLDINSTR_PADDING(oldinstr, num) \ ^ arch/s390/include/asm/alternative.h:71:3: note: expanded from macro 'OLDINSTR_PADDING' ".if " oldinstr_pad_len(num) " > 6\n" \ ^ :19:5: note: instantiated into assembly here .if -(((6651b-6641b)-(662b-661b)) > 0) * ((6651b-6641b)-(662b-661b)) > 6 ^ >> arch/s390/kernel/vtime.c:132:2: error: expected absolute expression alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", ^ arch/s390/include/asm/alternative.h:155:22: note: expanded from macro 'alternative_io' asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \ ^ arch/s390/include/asm/alternative.h:113:2: note: expanded from macro 'ALTERNATIVE' OLDINSTR(oldinstr, 1) \ ^ arch/s390/include/asm/alternative.h:85:2: note: expanded from macro 'OLDINSTR' INSTR_LEN_SANITY_CHECK(oldinstr_len) ^ arch/s390/include/asm/alternative.h:62:3: note: expanded from macro 'INSTR_LEN_SANITY_CHECK' ".if " len " > 254\n" \ ^ :29:5: note: instantiated into assembly here .if 662b-661b > 254 ^ >> arch/s390/kernel/vtime.c:132:2: error: cpu alternatives does not support instructions blocks > 254 bytes alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", ^ arch/s390/include/asm/alternative.h:155:22: note: expanded from macro 'alternative_io' asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \ ^ arch/s390/include/asm/alternative.h:113:2: note: expanded from macro 'ALTERNATIVE' OLDINSTR(oldinstr, 1) \ ^ arch/s390/include/asm/alternative.h:85:2: note: expanded from macro 'OLDINSTR' INSTR_LEN_SANITY_CHECK(oldinstr_len) ^ arch/s390/include/asm/alternative.h:63:3: note: expanded from macro 'INSTR_LEN_SANITY_CHECK' "\t.error \"cpu alternatives does not support instructions " \ ^ :30:2: note: instantiated into assembly here .error "cpu alternatives does not support instructions blocks > 254 bytes" ^ >> arch/s390/kernel/vtime.c:132:2: error: expected absolute expression alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", ^ arch/s390/include/asm/alternative.h:155:22: note: expanded from macro 'alternative_io' asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \ ^ arch/s390/include/asm/alternative.h:113:2: note: expanded from macro 'ALTERNATIVE' OLDINSTR(oldinstr, 1) \ ^ arch/s390/include/asm/alternative.h:85:2: note: expanded from macro 'OLDINSTR' INSTR_LEN_SANITY_CHECK(oldinstr_len) ^ arch/s390/include/asm/alternative.h:66:3: note: expanded from macro 'INSTR_LEN_SANITY_CHECK' ".if (" len ") %% 2\n" \ ^ :32:5: note: instantiated into assembly here .if (662b-661b) % 2 ^ >> arch/s390/kernel/vtime.c:132:2: error: cpu alternatives instructions length is odd alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", ^ arch/s390/include/asm/alternative.h:155:22: note: expanded from macro 'alternative_io' asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \ ^ arch/s390/include/asm/alternative.h:113:2: note: expanded from macro 'ALTERNATIVE' OLDINSTR(oldinstr, 1) \ ^ arch/s390/include/asm/alternative.h:85:2: note: expanded from macro 'OLDINSTR' INSTR_LEN_SANITY_CHECK(oldinstr_len) ^ arch/s390/include/asm/alternative.h:67:3: note: expanded from macro 'INSTR_LEN_SANITY_CHECK' "\t.error \"cpu alternatives instructions length is odd\"\n" \ ^ :33:2: note: instantiated into assembly here .error "cpu alternatives instructions length is odd" ^ >> arch/s390/kernel/vtime.c:132:2: error: invalid number of bytes alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", ^ arch/s390/include/asm/alternative.h:155:22: note: expanded from macro 'alternative_io' asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \ ^ arch/s390/include/asm/alternative.h:113:2: note: expanded from macro 'ALTERNATIVE' OLDINSTR(oldinstr, 1) \ ^ arch/s390/include/asm/alternative.h:83:2: note: expanded from macro 'OLDINSTR' OLDINSTR_PADDING(oldinstr, num) \ ^ arch/s390/include/asm/alternative.h:74:3: note: expanded from macro 'OLDINSTR_PADDING' "\t.fill (" oldinstr_pad_len(num) " - (6620b-662b)) / 2, 2, 0x0700\n" \ ^ :22:8: note: instantiated into assembly here .fill (-(((6651b-6641b)-(662b-661b)) > 0) * ((6651b-6641b)-(662b-661b)) - (6620b-662b)) / 2, 2, 0x0700 ^ >> arch/s390/kernel/vtime.c:132:2: error: invalid number of bytes alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", ^ arch/s390/include/asm/alternative.h:155:22: note: expanded from macro 'alternative_io' asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, facility) \ ^ arch/s390/include/asm/alternative.h:113:2: note: expanded from macro 'ALTERNATIVE' OLDINSTR(oldinstr, 1) \ ^ arch/s390/include/asm/alternative.h:83:2: note: expanded from macro 'OLDINSTR' OLDINSTR_PADDING(oldinstr, num) \ ^ arch/s390/include/asm/alternative.h:74:3: note: expanded from macro 'OLDINSTR_PADDING' "\t.fill (" oldinstr_pad_len(num) " - (6620b-662b)) / 2, 2, 0x0700\n" \ ^ :22:8: note: instantiated into assembly here .fill (-(((6651b-6641b)-(662b-661b)) > 0) * ((6651b-6641b)-(662b-661b)) - (6620b-662b)) / 2, 2, 0x0700 ^ 11 errors generated. -- >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:67:4: note: while in macro instantiation " VSTM 8,23,128,1\n" /* vstm %v8,%v23,128(%r1) */ ^ :7:2: note: instantiated into assembly here VSTM 8,23,128,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:74:4: note: while in macro instantiation " VSTM 0,7,0,1\n" /* vstm %v0,%v7,0(%r1) */ ^ :13:2: note: instantiated into assembly here VSTM 0,7,0,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:76:4: note: while in macro instantiation "1: VSTM 8,15,128,1\n" /* vstm %v8,%v15,128(%r1) */ ^ :15:4: note: instantiated into assembly here 1: VSTM 8,15,128,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:78:4: note: while in macro instantiation "2: VSTM 0,15,0,1\n" /* vstm %v0,%v15,0(%r1) */ ^ :17:4: note: instantiated into assembly here 2: VSTM 0,15,0,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:84:4: note: while in macro instantiation " VSTM 16,23,256,1\n" /* vstm %v16,%v23,256(%r1) */ ^ :22:2: note: instantiated into assembly here VSTM 16,23,256,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:86:4: note: while in macro instantiation "4: VSTM 24,31,384,1\n" /* vstm %v24,%v31,384(%r1) */ ^ :24:4: note: instantiated into assembly here 4: VSTM 24,31,384,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:88:4: note: while in macro instantiation "5: VSTM 0,15,0,1\n" /* vstm %v0,%v15,0(%r1) */ ^ :26:4: note: instantiated into assembly here 5: VSTM 0,15,0,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:89:4: note: while in macro instantiation "6: VSTM 16,31,256,1\n" /* vstm %v16,%v31,256(%r1) */ ^ :27:4: note: instantiated into assembly here 6: VSTM 16,31,256,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:149:4: note: while in macro instantiation " VLM 8,23,128,1\n" /* vlm %v8,%v23,128(%r1) */ ^ :7:2: note: instantiated into assembly here VLM 8,23,128,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:156:4: note: while in macro instantiation " VLM 0,7,0,1\n" /* vlm %v0,%v7,0(%r1) */ ^ :13:2: note: instantiated into assembly here VLM 0,7,0,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:158:4: note: while in macro instantiation "1: VLM 8,15,128,1\n" /* vlm %v8,%v15,128(%r1) */ ^ :15:4: note: instantiated into assembly here 1: VLM 8,15,128,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:160:4: note: while in macro instantiation "2: VLM 0,15,0,1\n" /* vlm %v0,%v15,0(%r1) */ ^ :17:4: note: instantiated into assembly here 2: VLM 0,15,0,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:166:4: note: while in macro instantiation " VLM 16,23,256,1\n" /* vlm %v16,%v23,256(%r1) */ ^ :22:2: note: instantiated into assembly here VLM 16,23,256,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:168:4: note: while in macro instantiation "4: VLM 24,31,384,1\n" /* vlm %v24,%v31,384(%r1) */ ^ :24:4: note: instantiated into assembly here 4: VLM 24,31,384,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:170:4: note: while in macro instantiation "5: VLM 0,15,0,1\n" /* vlm %v0,%v15,0(%r1) */ ^ :26:4: note: instantiated into assembly here 5: VLM 0,15,0,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:171:4: note: while in macro instantiation "6: VLM 16,31,256,1\n" /* vlm %v16,%v31,256(%r1) */ ^ :27:4: note: instantiated into assembly here 6: VLM 16,31,256,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:187:10: note: while in macro instantiation "VLM 0,15,0,1\n" ^ :2:1: note: instantiated into assembly here VLM 0,15,0,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:188:10: note: while in macro instantiation "VLM 16,31,256,1\n" ^ :3:1: note: instantiated into assembly here VLM 16,31,256,1 ^ >> :3:19: error: too many positional arguments GR_NUM b2, 1 /* Base register */ ^ arch/s390/kernel/fpu.c:238:10: note: while in macro instantiation "VSTM 0,15,0,1\n" ^ :2:1: note: instantiated into assembly here VSTM 0,15,0,1 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. .. vim +132 arch/s390/kernel/vtime.c b7394a5f4ce954 Martin Schwidefsky 2017-01-05 120 ^1da177e4c3f41 Linus Torvalds 2005-04-16 121 /* ^1da177e4c3f41 Linus Torvalds 2005-04-16 122 * Update process times based on virtual cpu times stored by entry.S ^1da177e4c3f41 Linus Torvalds 2005-04-16 123 * to the lowcore fields user_timer, system_timer & steal_clock. ^1da177e4c3f41 Linus Torvalds 2005-04-16 124 */ 8f2b468aadc81c Martin Schwidefsky 2016-12-20 125 static int do_account_vtime(struct task_struct *tsk) ^1da177e4c3f41 Linus Torvalds 2005-04-16 126 { 152e9b8676c6e7 Martin Schwidefsky 2019-03-06 127 u64 timer, clock, user, guest, system, hardirq, softirq; ^1da177e4c3f41 Linus Torvalds 2005-04-16 128 ^1da177e4c3f41 Linus Torvalds 2005-04-16 129 timer = S390_lowcore.last_update_timer; ^1da177e4c3f41 Linus Torvalds 2005-04-16 130 clock = S390_lowcore.last_update_clock; 1c7673476b8298 Heiko Carstens 2021-02-02 131 /* Use STORE CLOCK by default, STORE CLOCK FAST if available. */ 1c7673476b8298 Heiko Carstens 2021-02-02 @132 alternative_io("stpt %0\n .insn s,0xb2050000,%1\n", 1c7673476b8298 Heiko Carstens 2021-02-02 133 "stpt %0\n .insn s,0xb27c0000,%1\n", 1c7673476b8298 Heiko Carstens 2021-02-02 134 25, 1c7673476b8298 Heiko Carstens 2021-02-02 135 ASM_OUTPUT2("=Q" (S390_lowcore.last_update_timer), 1c7673476b8298 Heiko Carstens 2021-02-02 136 "=Q" (S390_lowcore.last_update_clock)), 1c7673476b8298 Heiko Carstens 2021-02-02 137 ASM_NO_INPUT_CLOBBER("cc")); b7394a5f4ce954 Martin Schwidefsky 2017-01-05 138 clock = S390_lowcore.last_update_clock - clock; b7394a5f4ce954 Martin Schwidefsky 2017-01-05 139 timer -= S390_lowcore.last_update_timer; b7394a5f4ce954 Martin Schwidefsky 2017-01-05 140 b7394a5f4ce954 Martin Schwidefsky 2017-01-05 141 if (hardirq_count()) b7394a5f4ce954 Martin Schwidefsky 2017-01-05 142 S390_lowcore.hardirq_timer += timer; b7394a5f4ce954 Martin Schwidefsky 2017-01-05 143 else b7394a5f4ce954 Martin Schwidefsky 2017-01-05 144 S390_lowcore.system_timer += timer; ^1da177e4c3f41 Linus Torvalds 2005-04-16 145 72d38b19781de4 Martin Schwidefsky 2015-09-18 146 /* Update MT utilization calculation */ f341b8dff9823a Martin Schwidefsky 2015-08-03 147 if (smp_cpu_mtid && 72d38b19781de4 Martin Schwidefsky 2015-09-18 148 time_after64(jiffies_64, this_cpu_read(mt_scaling_jiffies))) 72d38b19781de4 Martin Schwidefsky 2015-09-18 149 update_mt_scaling(); 10ad34bc76dfbc Martin Schwidefsky 2015-01-14 150 b7394a5f4ce954 Martin Schwidefsky 2017-01-05 151 /* Calculate cputime delta */ b7394a5f4ce954 Martin Schwidefsky 2017-01-05 152 user = update_tsk_timer(&tsk->thread.user_timer, b7394a5f4ce954 Martin Schwidefsky 2017-01-05 153 READ_ONCE(S390_lowcore.user_timer)); b7394a5f4ce954 Martin Schwidefsky 2017-01-05 154 guest = update_tsk_timer(&tsk->thread.guest_timer, b7394a5f4ce954 Martin Schwidefsky 2017-01-05 155 READ_ONCE(S390_lowcore.guest_timer)); b7394a5f4ce954 Martin Schwidefsky 2017-01-05 156 system = update_tsk_timer(&tsk->thread.system_timer, b7394a5f4ce954 Martin Schwidefsky 2017-01-05 157 READ_ONCE(S390_lowcore.system_timer)); b7394a5f4ce954 Martin Schwidefsky 2017-01-05 158 hardirq = update_tsk_timer(&tsk->thread.hardirq_timer, b7394a5f4ce954 Martin Schwidefsky 2017-01-05 159 READ_ONCE(S390_lowcore.hardirq_timer)); b7394a5f4ce954 Martin Schwidefsky 2017-01-05 160 softirq = update_tsk_timer(&tsk->thread.softirq_timer, b7394a5f4ce954 Martin Schwidefsky 2017-01-05 161 READ_ONCE(S390_lowcore.softirq_timer)); b7394a5f4ce954 Martin Schwidefsky 2017-01-05 162 S390_lowcore.steal_timer += b7394a5f4ce954 Martin Schwidefsky 2017-01-05 163 clock - user - guest - system - hardirq - softirq; b7394a5f4ce954 Martin Schwidefsky 2017-01-05 164 b7394a5f4ce954 Martin Schwidefsky 2017-01-05 165 /* Push account value */ b7394a5f4ce954 Martin Schwidefsky 2017-01-05 166 if (user) { 23244a5c8003d4 Frederic Weisbecker 2017-01-31 167 account_user_time(tsk, cputime_to_nsecs(user)); 5613fda9a503cd Frederic Weisbecker 2017-01-31 168 tsk->utimescaled += cputime_to_nsecs(scale_vtime(user)); b7394a5f4ce954 Martin Schwidefsky 2017-01-05 169 } 10ad34bc76dfbc Martin Schwidefsky 2015-01-14 170 b7394a5f4ce954 Martin Schwidefsky 2017-01-05 171 if (guest) { fb8b049c988f1f Frederic Weisbecker 2017-01-31 172 account_guest_time(tsk, cputime_to_nsecs(guest)); 5613fda9a503cd Frederic Weisbecker 2017-01-31 173 tsk->utimescaled += cputime_to_nsecs(scale_vtime(guest)); 10ad34bc76dfbc Martin Schwidefsky 2015-01-14 174 } b7394a5f4ce954 Martin Schwidefsky 2017-01-05 175 b7394a5f4ce954 Martin Schwidefsky 2017-01-05 176 if (system) b29e061bb7a8d2 Martin Schwidefsky 2017-05-12 177 account_system_index_scaled(tsk, system, CPUTIME_SYSTEM); b7394a5f4ce954 Martin Schwidefsky 2017-01-05 178 if (hardirq) b29e061bb7a8d2 Martin Schwidefsky 2017-05-12 179 account_system_index_scaled(tsk, hardirq, CPUTIME_IRQ); b7394a5f4ce954 Martin Schwidefsky 2017-01-05 180 if (softirq) b29e061bb7a8d2 Martin Schwidefsky 2017-05-12 181 account_system_index_scaled(tsk, softirq, CPUTIME_SOFTIRQ); ^1da177e4c3f41 Linus Torvalds 2005-04-16 182 b7394a5f4ce954 Martin Schwidefsky 2017-01-05 183 return virt_timer_forward(user + guest + system + hardirq + softirq); ^1da177e4c3f41 Linus Torvalds 2005-04-16 184 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 185 :::::: The code at line 132 was first introduced by commit :::::: 1c7673476b82983768c6a4dd78775f817f0e0f88 s390/vtime: use cpu alternative for stck/stckf :::::: TO: Heiko Carstens :::::: CC: Vasily Gorbik -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests