From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (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 07F7626389C for ; Tue, 11 Feb 2025 19:21:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739301718; cv=none; b=es9wZL7p/IGa3AAJxDnNWKvoqGZWBl7FE/DZ9wdXSkqF/tK8LOJt2yE/Cg354kz6okKaCsVKMASCcw4rCbR9k/hgaLCOj/xjJWJJCZP20ddKn+Tfccqgzq3rNFPDW/bVAI3eXueL9g1aH3PYfAuzFGhKlSFJQe1RETmHw53cLDQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739301718; c=relaxed/simple; bh=an+OqzvJ659CbgGiWfy2HCJIq9L7yPkSs+VThOVR1Po=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=K4tL86KVgDuVtZ/XPMiKpQmw3w/COFSDRXoevvi4o2JMwSJDqHifz3ae+0jZR3nFkBSm/9CVmEaw16sAA4NoRjib1vAWBpnf9Hk+QqSMZ8xJKf3nHwgQDMaqum7i6uQSkj0G5ReoLfoHrT1JHo6/IGoz4jPKouy+tlc6kh8AgOc= 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=ZAoS19jk; arc=none smtp.client-ip=198.175.65.9 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ZAoS19jk" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1739301717; x=1770837717; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=an+OqzvJ659CbgGiWfy2HCJIq9L7yPkSs+VThOVR1Po=; b=ZAoS19jkZa8suUCYxrHB13fKulIV8sKglKWSCFiTKOi0nQP6X2ZVcMvQ XYAVOtdEEkerVoYE9QwlcSNT40CvHppixG06x6vN72zE3boqYx6YGIfzu /rPBL8k//7ssfZ9J9I7zYD4FpTaHS9SWtyGAWO8/Dtm+T/OhJB50xcUhg ayd4Sln9re06GcvCJi52gajzOcPC8XrdZj8CzAiO51sgQpOFxhGjIlfVg NWCd3yEUVq/t6Qg5z2X1tPbwmE8sVk/pcAsaz7mb9PQADeT4LlFAE9O41 kijDePapfTf9xyNTVoCzDFdMLuodYmOXshcee1gCVU3cJ4oOdG69m9Kx/ Q==; X-CSE-ConnectionGUID: Hk1tIaNwQZiBAyqhiP/4Cg== X-CSE-MsgGUID: g0JzzECvQgugAzUxYc7w0A== X-IronPort-AV: E=McAfee;i="6700,10204,11342"; a="62405288" X-IronPort-AV: E=Sophos;i="6.13,278,1732608000"; d="scan'208";a="62405288" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2025 11:21:56 -0800 X-CSE-ConnectionGUID: xgB4JW0MS+yIC75aTORLvg== X-CSE-MsgGUID: u36XP4KPQwCDg3aE0WG8uA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.13,278,1732608000"; d="scan'208";a="113112836" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by fmviesa010.fm.intel.com with ESMTP; 11 Feb 2025 11:21:51 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1thvpN-0014b7-0W; Tue, 11 Feb 2025 19:21:49 +0000 Date: Wed, 12 Feb 2025 03:21:07 +0800 From: kernel test robot To: Charlie Jenkins , Paul Walmsley , Palmer Dabbelt , Ard Biesheuvel , Ben Dooks , Pasha Bouzarjomehri , Emil Renner Berthing Cc: oe-kbuild-all@lists.linux.dev, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Charlie Jenkins Subject: Re: [PATCH v5] riscv: Add runtime constant support Message-ID: <202502120355.WlAf0wvw-lkp@intel.com> References: <20250203-runtime_const_riscv-v5-1-bc61736a3229@rivosinc.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: <20250203-runtime_const_riscv-v5-1-bc61736a3229@rivosinc.com> Hi Charlie, kernel test robot noticed the following build errors: [auto build test ERROR on ffd294d346d185b70e28b1a28abe367bbfe53c04] url: https://github.com/intel-lab-lkp/linux/commits/Charlie-Jenkins/riscv-Add-runtime-constant-support/20250204-044527 base: ffd294d346d185b70e28b1a28abe367bbfe53c04 patch link: https://lore.kernel.org/r/20250203-runtime_const_riscv-v5-1-bc61736a3229%40rivosinc.com patch subject: [PATCH v5] riscv: Add runtime constant support config: riscv-randconfig-r072-20250212 (https://download.01.org/0day-ci/archive/20250212/202502120355.WlAf0wvw-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250212/202502120355.WlAf0wvw-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/202502120355.WlAf0wvw-lkp@intel.com/ All error/warnings (new ones prefixed by >>): >> fs/dcache.c:112:9: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'relax' or 'norelax' [-Winline-asm] return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:52:19: note: expanded from macro 'runtime_const_ptr' ".option push\n\t" \ ^ :32:10: note: instantiated into assembly here .option arch,+zba ^ >> fs/dcache.c:112:9: error: instruction requires the following: 'Zba' (Address Generation Instructions) return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:54:32: note: expanded from macro 'runtime_const_ptr' "slli %[__tmp],%[__tmp],32\n\t" \ ^ :34:2: note: instantiated into assembly here add.uw a1,a1,a3 ^ >> fs/dcache.c:112:9: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'relax' or 'norelax' [-Winline-asm] return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:60:19: note: expanded from macro 'runtime_const_ptr' ".option push\n\t" \ ^ :59:10: note: instantiated into assembly here .option arch,+zbkb ^ >> fs/dcache.c:112:9: error: instruction requires the following: 'Zbp' (Permutation 'Zb' Instructions) or 'Zbkb' (Bitmanip instructions for Cryptography) return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:61:25: note: expanded from macro 'runtime_const_ptr' ".option arch,+zbkb\n\t" \ ^ :60:2: note: instantiated into assembly here pack a1,a1,a3 ^ >> fs/dcache.c:112:9: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'relax' or 'norelax' [-Winline-asm] return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:52:19: note: expanded from macro 'runtime_const_ptr' ".option push\n\t" \ ^ :32:10: note: instantiated into assembly here .option arch,+zba ^ >> fs/dcache.c:112:9: error: instruction requires the following: 'Zba' (Address Generation Instructions) return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:54:32: note: expanded from macro 'runtime_const_ptr' "slli %[__tmp],%[__tmp],32\n\t" \ ^ :34:2: note: instantiated into assembly here add.uw a3,a3,a4 ^ >> fs/dcache.c:112:9: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'relax' or 'norelax' [-Winline-asm] return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:60:19: note: expanded from macro 'runtime_const_ptr' ".option push\n\t" \ ^ :59:10: note: instantiated into assembly here .option arch,+zbkb ^ >> fs/dcache.c:112:9: error: instruction requires the following: 'Zbp' (Permutation 'Zb' Instructions) or 'Zbkb' (Bitmanip instructions for Cryptography) return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:61:25: note: expanded from macro 'runtime_const_ptr' ".option arch,+zbkb\n\t" \ ^ :60:2: note: instantiated into assembly here pack a3,a3,a4 ^ >> fs/dcache.c:112:9: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'relax' or 'norelax' [-Winline-asm] return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:52:19: note: expanded from macro 'runtime_const_ptr' ".option push\n\t" \ ^ :32:10: note: instantiated into assembly here .option arch,+zba ^ >> fs/dcache.c:112:9: error: instruction requires the following: 'Zba' (Address Generation Instructions) return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:54:32: note: expanded from macro 'runtime_const_ptr' "slli %[__tmp],%[__tmp],32\n\t" \ ^ :34:2: note: instantiated into assembly here add.uw a0,a0,a1 ^ >> fs/dcache.c:112:9: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'relax' or 'norelax' [-Winline-asm] return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:60:19: note: expanded from macro 'runtime_const_ptr' ".option push\n\t" \ ^ :59:10: note: instantiated into assembly here .option arch,+zbkb ^ >> fs/dcache.c:112:9: error: instruction requires the following: 'Zbp' (Permutation 'Zb' Instructions) or 'Zbkb' (Bitmanip instructions for Cryptography) return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:61:25: note: expanded from macro 'runtime_const_ptr' ".option arch,+zbkb\n\t" \ ^ :60:2: note: instantiated into assembly here pack a0,a0,a1 ^ >> fs/dcache.c:112:9: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'relax' or 'norelax' [-Winline-asm] return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:52:19: note: expanded from macro 'runtime_const_ptr' ".option push\n\t" \ ^ :32:10: note: instantiated into assembly here .option arch,+zba ^ >> fs/dcache.c:112:9: error: instruction requires the following: 'Zba' (Address Generation Instructions) return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:54:32: note: expanded from macro 'runtime_const_ptr' "slli %[__tmp],%[__tmp],32\n\t" \ ^ :34:2: note: instantiated into assembly here add.uw a1,a1,a2 ^ >> fs/dcache.c:112:9: warning: unknown option, expected 'push', 'pop', 'rvc', 'norvc', 'relax' or 'norelax' [-Winline-asm] return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:60:19: note: expanded from macro 'runtime_const_ptr' ".option push\n\t" \ ^ :59:10: note: instantiated into assembly here .option arch,+zbkb ^ >> fs/dcache.c:112:9: error: instruction requires the following: 'Zbp' (Permutation 'Zb' Instructions) or 'Zbkb' (Bitmanip instructions for Cryptography) return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:61:25: note: expanded from macro 'runtime_const_ptr' ".option arch,+zbkb\n\t" \ ^ :60:2: note: instantiated into assembly here pack a1,a1,a2 ^ >> fs/dcache.c:112:9: error: invalid .org offset '21034' (at offset '21038') return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:47:3: note: expanded from macro 'runtime_const_ptr' ALTERNATIVE_2( \ ^ arch/riscv/include/asm/alternative-macros.h:163:2: note: expanded from macro 'ALTERNATIVE_2' _ALTERNATIVE_CFG_2(old_content, new_content_1, vendor_id_1, patch_id_1, CONFIG_k_1, \ ^ arch/riscv/include/asm/alternative-macros.h:108:2: note: expanded from macro '_ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG_2(old_c, new_c_1, vendor_id_1, patch_id_1, IS_ENABLED(CONFIG_k_1), \ ^ arch/riscv/include/asm/alternative-macros.h:98:2: note: expanded from macro '__ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG(old_c, new_c_1, vendor_id_1, patch_id_1, enable_1) \ ^ arch/riscv/include/asm/alternative-macros.h:94:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, patch_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:81:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :41:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ fs/dcache.c:112:9: error: invalid .org offset '21050' (at offset '21054') return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:47:3: note: expanded from macro 'runtime_const_ptr' ALTERNATIVE_2( \ ^ arch/riscv/include/asm/alternative-macros.h:163:2: note: expanded from macro 'ALTERNATIVE_2' _ALTERNATIVE_CFG_2(old_content, new_content_1, vendor_id_1, patch_id_1, CONFIG_k_1, \ ^ arch/riscv/include/asm/alternative-macros.h:108:2: note: expanded from macro '_ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG_2(old_c, new_c_1, vendor_id_1, patch_id_1, IS_ENABLED(CONFIG_k_1), \ ^ arch/riscv/include/asm/alternative-macros.h:99:2: note: expanded from macro '__ALTERNATIVE_CFG_2' ALT_NEW_CONTENT(vendor_id_2, patch_id_2, enable_2, new_c_2) ^ arch/riscv/include/asm/alternative-macros.h:81:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :68:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ fs/dcache.c:112:9: error: invalid .org offset '21066' (at offset '21070') return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:47:3: note: expanded from macro 'runtime_const_ptr' ALTERNATIVE_2( \ ^ arch/riscv/include/asm/alternative-macros.h:163:2: note: expanded from macro 'ALTERNATIVE_2' _ALTERNATIVE_CFG_2(old_content, new_content_1, vendor_id_1, patch_id_1, CONFIG_k_1, \ ^ arch/riscv/include/asm/alternative-macros.h:108:2: note: expanded from macro '_ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG_2(old_c, new_c_1, vendor_id_1, patch_id_1, IS_ENABLED(CONFIG_k_1), \ ^ arch/riscv/include/asm/alternative-macros.h:98:2: note: expanded from macro '__ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG(old_c, new_c_1, vendor_id_1, patch_id_1, enable_1) \ ^ arch/riscv/include/asm/alternative-macros.h:94:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, patch_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:81:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :41:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ fs/dcache.c:112:9: error: invalid .org offset '21082' (at offset '21086') return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:47:3: note: expanded from macro 'runtime_const_ptr' ALTERNATIVE_2( \ ^ arch/riscv/include/asm/alternative-macros.h:163:2: note: expanded from macro 'ALTERNATIVE_2' _ALTERNATIVE_CFG_2(old_content, new_content_1, vendor_id_1, patch_id_1, CONFIG_k_1, \ ^ arch/riscv/include/asm/alternative-macros.h:108:2: note: expanded from macro '_ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG_2(old_c, new_c_1, vendor_id_1, patch_id_1, IS_ENABLED(CONFIG_k_1), \ ^ arch/riscv/include/asm/alternative-macros.h:99:2: note: expanded from macro '__ALTERNATIVE_CFG_2' ALT_NEW_CONTENT(vendor_id_2, patch_id_2, enable_2, new_c_2) ^ arch/riscv/include/asm/alternative-macros.h:81:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :68:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ fs/dcache.c:112:9: error: invalid .org offset '21098' (at offset '21102') return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:47:3: note: expanded from macro 'runtime_const_ptr' ALTERNATIVE_2( \ ^ arch/riscv/include/asm/alternative-macros.h:163:2: note: expanded from macro 'ALTERNATIVE_2' _ALTERNATIVE_CFG_2(old_content, new_content_1, vendor_id_1, patch_id_1, CONFIG_k_1, \ ^ arch/riscv/include/asm/alternative-macros.h:108:2: note: expanded from macro '_ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG_2(old_c, new_c_1, vendor_id_1, patch_id_1, IS_ENABLED(CONFIG_k_1), \ ^ arch/riscv/include/asm/alternative-macros.h:98:2: note: expanded from macro '__ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG(old_c, new_c_1, vendor_id_1, patch_id_1, enable_1) \ ^ arch/riscv/include/asm/alternative-macros.h:94:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, patch_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:81:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :41:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ fs/dcache.c:112:9: error: invalid .org offset '21114' (at offset '21118') return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:47:3: note: expanded from macro 'runtime_const_ptr' ALTERNATIVE_2( \ ^ arch/riscv/include/asm/alternative-macros.h:163:2: note: expanded from macro 'ALTERNATIVE_2' _ALTERNATIVE_CFG_2(old_content, new_content_1, vendor_id_1, patch_id_1, CONFIG_k_1, \ ^ arch/riscv/include/asm/alternative-macros.h:108:2: note: expanded from macro '_ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG_2(old_c, new_c_1, vendor_id_1, patch_id_1, IS_ENABLED(CONFIG_k_1), \ ^ arch/riscv/include/asm/alternative-macros.h:99:2: note: expanded from macro '__ALTERNATIVE_CFG_2' ALT_NEW_CONTENT(vendor_id_2, patch_id_2, enable_2, new_c_2) ^ arch/riscv/include/asm/alternative-macros.h:81:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :68:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ fs/dcache.c:112:9: error: invalid .org offset '21130' (at offset '21134') return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:47:3: note: expanded from macro 'runtime_const_ptr' ALTERNATIVE_2( \ ^ arch/riscv/include/asm/alternative-macros.h:163:2: note: expanded from macro 'ALTERNATIVE_2' _ALTERNATIVE_CFG_2(old_content, new_content_1, vendor_id_1, patch_id_1, CONFIG_k_1, \ ^ arch/riscv/include/asm/alternative-macros.h:108:2: note: expanded from macro '_ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG_2(old_c, new_c_1, vendor_id_1, patch_id_1, IS_ENABLED(CONFIG_k_1), \ ^ arch/riscv/include/asm/alternative-macros.h:98:2: note: expanded from macro '__ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG(old_c, new_c_1, vendor_id_1, patch_id_1, enable_1) \ ^ arch/riscv/include/asm/alternative-macros.h:94:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, patch_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:81:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :41:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ fs/dcache.c:112:9: error: invalid .org offset '21146' (at offset '21150') return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:47:3: note: expanded from macro 'runtime_const_ptr' ALTERNATIVE_2( \ ^ arch/riscv/include/asm/alternative-macros.h:163:2: note: expanded from macro 'ALTERNATIVE_2' _ALTERNATIVE_CFG_2(old_content, new_content_1, vendor_id_1, patch_id_1, CONFIG_k_1, \ ^ arch/riscv/include/asm/alternative-macros.h:108:2: note: expanded from macro '_ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG_2(old_c, new_c_1, vendor_id_1, patch_id_1, IS_ENABLED(CONFIG_k_1), \ ^ arch/riscv/include/asm/alternative-macros.h:99:2: note: expanded from macro '__ALTERNATIVE_CFG_2' ALT_NEW_CONTENT(vendor_id_2, patch_id_2, enable_2, new_c_2) ^ arch/riscv/include/asm/alternative-macros.h:81:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :68:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ >> fs/dcache.c:112:9: error: invalid .org offset '21034' (at offset '21038') return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:47:3: note: expanded from macro 'runtime_const_ptr' ALTERNATIVE_2( \ ^ arch/riscv/include/asm/alternative-macros.h:163:2: note: expanded from macro 'ALTERNATIVE_2' _ALTERNATIVE_CFG_2(old_content, new_content_1, vendor_id_1, patch_id_1, CONFIG_k_1, \ ^ arch/riscv/include/asm/alternative-macros.h:108:2: note: expanded from macro '_ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG_2(old_c, new_c_1, vendor_id_1, patch_id_1, IS_ENABLED(CONFIG_k_1), \ ^ arch/riscv/include/asm/alternative-macros.h:98:2: note: expanded from macro '__ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG(old_c, new_c_1, vendor_id_1, patch_id_1, enable_1) \ ^ arch/riscv/include/asm/alternative-macros.h:94:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, patch_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:81:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :41:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ fs/dcache.c:112:9: error: invalid .org offset '21050' (at offset '21054') return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:47:3: note: expanded from macro 'runtime_const_ptr' ALTERNATIVE_2( \ ^ arch/riscv/include/asm/alternative-macros.h:163:2: note: expanded from macro 'ALTERNATIVE_2' _ALTERNATIVE_CFG_2(old_content, new_content_1, vendor_id_1, patch_id_1, CONFIG_k_1, \ ^ arch/riscv/include/asm/alternative-macros.h:108:2: note: expanded from macro '_ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG_2(old_c, new_c_1, vendor_id_1, patch_id_1, IS_ENABLED(CONFIG_k_1), \ ^ arch/riscv/include/asm/alternative-macros.h:99:2: note: expanded from macro '__ALTERNATIVE_CFG_2' ALT_NEW_CONTENT(vendor_id_2, patch_id_2, enable_2, new_c_2) ^ arch/riscv/include/asm/alternative-macros.h:81:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :68:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ fs/dcache.c:112:9: error: invalid .org offset '21066' (at offset '21070') return runtime_const_ptr(dentry_hashtable) + ^ arch/riscv/include/asm/runtime-const.h:47:3: note: expanded from macro 'runtime_const_ptr' ALTERNATIVE_2( \ ^ arch/riscv/include/asm/alternative-macros.h:163:2: note: expanded from macro 'ALTERNATIVE_2' _ALTERNATIVE_CFG_2(old_content, new_content_1, vendor_id_1, patch_id_1, CONFIG_k_1, \ ^ arch/riscv/include/asm/alternative-macros.h:108:2: note: expanded from macro '_ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG_2(old_c, new_c_1, vendor_id_1, patch_id_1, IS_ENABLED(CONFIG_k_1), \ ^ arch/riscv/include/asm/alternative-macros.h:98:2: note: expanded from macro '__ALTERNATIVE_CFG_2' __ALTERNATIVE_CFG(old_c, new_c_1, vendor_id_1, patch_id_1, enable_1) \ ^ arch/riscv/include/asm/alternative-macros.h:94:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, patch_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:81:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :41:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 8 warnings and 20 errors generated. vim +/Zba +112 fs/dcache.c ceb5bdc2d246f6 Nicholas Piggin 2011-01-07 109 e60cc61153e61e Linus Torvalds 2024-06-10 110 static inline struct hlist_bl_head *d_hash(unsigned long hashlen) ceb5bdc2d246f6 Nicholas Piggin 2011-01-07 111 { e78298556ee5d8 Linus Torvalds 2024-06-04 @112 return runtime_const_ptr(dentry_hashtable) + e78298556ee5d8 Linus Torvalds 2024-06-04 113 runtime_const_shift_right_32(hashlen, d_hash_shift); ceb5bdc2d246f6 Nicholas Piggin 2011-01-07 114 } ceb5bdc2d246f6 Nicholas Piggin 2011-01-07 115 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki