From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gnuweeb.org (Postfix) with ESMTPS id 296297E382 for ; Fri, 13 May 2022 15:54:55 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=EXceocXB; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652457295; x=1683993295; h=date:from:to:cc:subject:message-id:mime-version; bh=7YiJnpRqkoP8+2hFRCOgRKoJDEV2SMb+0iE9XSsh8Tw=; b=EXceocXBzMiMS8aOQzvK77eJLJE6W9ZDFv16DU1qlbVd2JMej5+jS47p aWmAUWKkBcDOPC4NN78BY7goB84xGwIoKbcdYWwGxi7mI0mXoeDTx87B4 WIcst9K5KMfXqc52uv55R3ly0bfPoMVhb9ArJPVmxSdjhxFZmX0iMc+jP y0mjKJIkDD4HHcb6cJ8pMW6HKy/7EY3u/PXJ3KgqbARipCYhEfr9tW3D5 +FTmA+L1roGKVRYEGbZ8iVxnzVmtPLtZqtSCjyELqnDoX3IbpEqBx684U /lkrqMcI3/T0jnrADwCiqQ7t+pZszjOJL8/3g2ApZjZVFSA6AwqE8vACU A==; X-IronPort-AV: E=McAfee;i="6400,9594,10346"; a="270005968" X-IronPort-AV: E=Sophos;i="5.91,223,1647327600"; d="scan'208";a="270005968" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2022 08:54:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,223,1647327600"; d="scan'208";a="740204495" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 13 May 2022 08:54:51 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1npXcw-000Ltk-Nu; Fri, 13 May 2022 15:54:50 +0000 Date: Fri, 13 May 2022 23:54:16 +0800 From: kernel test robot To: Heiko Stuebner Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org, Palmer Dabbelt , Wei Fu , Liu Shaohua , Guo Ren , Philipp Tomsich Subject: [ammarfaizi2-block:palmer/linux/riscv-d1 9/12] arch/riscv/include/asm/pgtable-64.h:101:2: error: expected assembly-time absolute expression Message-ID: <202205132356.AcweeaE0-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: tree: https://github.com/ammarfaizi2/linux-block palmer/linux/riscv-d1 head: a35707c3d850dda0ceefb75b1b3bd191921d5765 commit: ff689fd21cb13098305bae3f8d0c0065df2e2fc1 [9/12] riscv: add RISC-V Svpbmt extension support config: riscv-randconfig-r031-20220512 (https://download.01.org/0day-ci/archive/20220513/202205132356.AcweeaE0-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 38189438b69ca27b4c6ce707c52dbd217583d046) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/ammarfaizi2/linux-block/commit/ff689fd21cb13098305bae3f8d0c0065df2e2fc1 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block palmer/linux/riscv-d1 git checkout ff689fd21cb13098305bae3f8d0c0065df2e2fc1 # 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=riscv SHELL=/bin/bash drivers/gpu/drm/ drivers/uio/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: >> arch/riscv/include/asm/pgtable-64.h:101:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_NOCACHE); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:98:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :27:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: >> arch/riscv/include/asm/pgtable-64.h:101:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_NOCACHE); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:99:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (889b - 888b) + (887b - 886b)\n" \ ^ :28:6: note: instantiated into assembly here .org . - (889b - 888b) + (887b - 886b) ^ In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: arch/riscv/include/asm/pgtable-64.h:93:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_MTMASK); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:98:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :27:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: arch/riscv/include/asm/pgtable-64.h:93:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_MTMASK); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:99:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (889b - 888b) + (887b - 886b)\n" \ ^ :28:6: note: instantiated into assembly here .org . - (889b - 888b) + (887b - 886b) ^ In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: >> arch/riscv/include/asm/pgtable-64.h:101:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_NOCACHE); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:98:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :27:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: >> arch/riscv/include/asm/pgtable-64.h:101:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_NOCACHE); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:99:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (889b - 888b) + (887b - 886b)\n" \ ^ :28:6: note: instantiated into assembly here .org . - (889b - 888b) + (887b - 886b) ^ In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: >> arch/riscv/include/asm/pgtable-64.h:101:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_NOCACHE); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:98:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :27:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: >> arch/riscv/include/asm/pgtable-64.h:101:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_NOCACHE); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:99:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (889b - 888b) + (887b - 886b)\n" \ ^ :28:6: note: instantiated into assembly here .org . - (889b - 888b) + (887b - 886b) ^ In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: arch/riscv/include/asm/pgtable-64.h:93:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_MTMASK); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:98:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :27:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: arch/riscv/include/asm/pgtable-64.h:93:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_MTMASK); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:99:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (889b - 888b) + (887b - 886b)\n" \ ^ :28:6: note: instantiated into assembly here .org . - (889b - 888b) + (887b - 886b) ^ In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: >> arch/riscv/include/asm/pgtable-64.h:101:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_NOCACHE); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:98:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (887b - 886b) + (889b - 888b)\n" \ ^ :27:6: note: instantiated into assembly here .org . - (887b - 886b) + (889b - 888b) ^ In file included from drivers/gpu/drm/drm_gem_shmem_helper.c:6: In file included from include/linux/dma-buf.h:16: In file included from include/linux/iosys-map.h:9: In file included from include/linux/io.h:13: In file included from arch/riscv/include/asm/io.h:15: In file included from include/linux/pgtable.h:6: In file included from arch/riscv/include/asm/pgtable.h:114: >> arch/riscv/include/asm/pgtable-64.h:101:2: error: expected assembly-time absolute expression ALT_SVPBMT(val, _PAGE_NOCACHE); ^ arch/riscv/include/asm/errata_list.h:46:5: note: expanded from macro 'ALT_SVPBMT' asm(ALTERNATIVE("li %0, 0\t\nnop", "li %0, %1\t\nslli %0,%0,%2", 0, \ ^ arch/riscv/include/asm/alternative-macros.h:187:2: note: expanded from macro 'ALTERNATIVE' _ALTERNATIVE_CFG(old_content, new_content, vendor_id, errata_id, CONFIG_k) ^ arch/riscv/include/asm/alternative-macros.h:113:2: note: expanded from macro '_ALTERNATIVE_CFG' __ALTERNATIVE_CFG(old_c, new_c, vendor_id, errata_id, IS_ENABLED(CONFIG_k)) ^ arch/riscv/include/asm/alternative-macros.h:110:2: note: expanded from macro '__ALTERNATIVE_CFG' ALT_NEW_CONTENT(vendor_id, errata_id, enable, new_c) ^ arch/riscv/include/asm/alternative-macros.h:99:3: note: expanded from macro 'ALT_NEW_CONTENT' ".org . - (889b - 888b) + (887b - 886b)\n" \ ^ :28:6: note: instantiated into assembly here .org . - (889b - 888b) + (887b - 886b) ^ 12 errors generated. .. vim +101 arch/riscv/include/asm/pgtable-64.h 96 97 static inline u64 riscv_page_nocache(void) 98 { 99 u64 val; 100 > 101 ALT_SVPBMT(val, _PAGE_NOCACHE); 102 return val; 103 } 104 -- 0-DAY CI Kernel Test Service https://01.org/lkp