All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-tdx:guest 27/72] arch/x86/include/asm/pgtable.h:26:12: error: implicit declaration of function 'tdg_shared_mask'; did you mean 'cpu_llc_shared_mask'?
@ 2021-06-03 12:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-03 12:06 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3094 bytes --]

tree:   https://github.com/intel/tdx.git guest
head:   01e6ec62425f8bb220d0644285e8858cc1e48992
commit: 6929030ca7777796934b9271024858ae893aba1a [27/72] x86/tdx: Make pages shared in ioremap()
config: x86_64-kexec (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel/tdx/commit/6929030ca7777796934b9271024858ae893aba1a
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout 6929030ca7777796934b9271024858ae893aba1a
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/x86/include/asm/paravirt_types.h:39,
                    from arch/x86/include/asm/ptrace.h:97,
                    from arch/x86/include/asm/math_emu.h:5,
                    from arch/x86/include/asm/processor.h:13,
                    from arch/x86/include/asm/cpufeature.h:5,
                    from arch/x86/include/asm/thread_info.h:53,
                    from include/linux/thread_info.h:59,
                    from arch/x86/include/asm/preempt.h:7,
                    from include/linux/preempt.h:78,
                    from include/linux/spinlock.h:51,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:6,
                    from include/linux/mm.h:10,
                    from include/linux/memblock.h:13,
                    from arch/x86/mm/ioremap.c:10:
   arch/x86/mm/ioremap.c: In function '__ioremap_caller':
>> arch/x86/include/asm/pgtable.h:26:12: error: implicit declaration of function 'tdg_shared_mask'; did you mean 'cpu_llc_shared_mask'? [-Werror=implicit-function-declaration]
      26 |            tdg_shared_mask())
         |            ^~~~~~~~~~~~~~~
   arch/x86/include/asm/pgtable_types.h:177:37: note: in definition of macro '__pgprot'
     177 | #define __pgprot(x)  ((pgprot_t) { (x) } )
         |                                     ^
   arch/x86/mm/ioremap.c:249:10: note: in expansion of macro 'pgprot_protected_guest'
     249 |   prot = pgprot_protected_guest(prot);
         |          ^~~~~~~~~~~~~~~~~~~~~~
   arch/x86/mm/ioremap.c: At top level:
   arch/x86/mm/ioremap.c:721:17: warning: no previous prototype for 'early_memremap_pgprot_adjust' [-Wmissing-prototypes]
     721 | pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
         |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +26 arch/x86/include/asm/pgtable.h

    23	
    24	/* Make the page accesable by VMM for protected guests */
    25	#define pgprot_protected_guest(prot) __pgprot(pgprot_val(prot) |	\
  > 26						      tdg_shared_mask())
    27	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 28751 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-03 12:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-03 12:06 [intel-tdx:guest 27/72] arch/x86/include/asm/pgtable.h:26:12: error: implicit declaration of function 'tdg_shared_mask'; did you mean 'cpu_llc_shared_mask'? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.