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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DDBFC433EF for ; Fri, 13 May 2022 15:55:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382304AbiEMPy7 (ORCPT ); Fri, 13 May 2022 11:54:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1382297AbiEMPy4 (ORCPT ); Fri, 13 May 2022 11:54:56 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6812229FD5 for ; Fri, 13 May 2022 08:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652457294; x=1683993294; h=date:from:to:cc:subject:message-id:mime-version; bh=7YiJnpRqkoP8+2hFRCOgRKoJDEV2SMb+0iE9XSsh8Tw=; b=aVJvNVgCw4pHBU12HnQQfg8CHPoaUmhz2D7VVkKxVkbTgI84aoj9+R9W l88jkz3+nhgsuBLRxYCL9ZRjbbli/N4XhAEU2TiQUPmyzLJ96vD15UNYn xk2URiDvI06o8plxt/eG3f0Qt/z8zjs7x3JQWlykiY4cGKYFH3aQv0cCM N0y1+/fAIB7x+bZFMqda6ZYZ0vsVTnG8n/pcAVSU70Ub17B8mbXPMNcfW Cek1tvF/LSv7SOhhAF+PRSMLwTKUbM3ejuDUcUzEYDzCEyhLfQxCbr8pw AfBWe0ozPEvxUx3fAVJ3N83yduMTw96aMiAnhj0vU+WqMinGTJD4JK1ey w==; X-IronPort-AV: E=McAfee;i="6400,9594,10346"; a="295595872" X-IronPort-AV: E=Sophos;i="5.91,223,1647327600"; d="scan'208";a="295595872" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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