[gvt-linux:topic/gvt-xengt 5/45] include/xen/arm/interface.h:22:35: error: unknown type name '__guest_handle_ulong'

kbuild test robot lkp at intel.com
Wed Aug 28 15:15:24 UTC 2019


tree:   https://github.com/intel/gvt-linux.git topic/gvt-xengt
head:   4d682fa233bb6bb7e86f6d94701b5d65787cba20
commit: 7b5224e9d4598eb5e1bf323edc481f5557196b4a [5/45] arch/x86/xen: add infrastruction in xen to support gvt
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 7b5224e9d4598eb5e1bf323edc481f5557196b4a
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/arm64/include/asm/xen/interface.h:1:0,
                    from include/xen/interface/xen.h:30,
                    from include/xen/xen.h:36,
                    from arch/arm64/include/asm/dma-mapping.h:13,
                    from include/linux/dma-mapping.h:266,
                    from include/linux/skbuff.h:30,
                    from include/linux/if_ether.h:19,
                    from include/uapi/linux/ethtool.h:19,
                    from include/linux/ethtool.h:18,
                    from include/linux/netdevice.h:37,
                    from drivers/net/xen-netfront.c:36:
>> include/xen/arm/interface.h:22:35: error: unknown type name '__guest_handle_ulong'
    #define GUEST_HANDLE(name)        __guest_handle_ ## name
                                      ^
   include/xen/interface/memory.h:261:5: note: in expansion of macro 'GUEST_HANDLE'
        GUEST_HANDLE(ulong) pfn_list;
        ^~~~~~~~~~~~

vim +/__guest_handle_ulong +22 include/xen/arm/interface.h

2fbadc3002c5f1 Marc Zyngier 2016-12-02  14  
2fbadc3002c5f1 Marc Zyngier 2016-12-02  15  #define __DEFINE_GUEST_HANDLE(name, type) \
2fbadc3002c5f1 Marc Zyngier 2016-12-02  16  	typedef struct { union { type *p; uint64_aligned_t q; }; }  \
2fbadc3002c5f1 Marc Zyngier 2016-12-02  17          __guest_handle_ ## name
2fbadc3002c5f1 Marc Zyngier 2016-12-02  18  
2fbadc3002c5f1 Marc Zyngier 2016-12-02  19  #define DEFINE_GUEST_HANDLE_STRUCT(name) \
2fbadc3002c5f1 Marc Zyngier 2016-12-02  20  	__DEFINE_GUEST_HANDLE(name, struct name)
2fbadc3002c5f1 Marc Zyngier 2016-12-02  21  #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name)
2fbadc3002c5f1 Marc Zyngier 2016-12-02 @22  #define GUEST_HANDLE(name)        __guest_handle_ ## name
2fbadc3002c5f1 Marc Zyngier 2016-12-02  23  

:::::: The code at line 22 was first introduced by commit
:::::: 2fbadc3002c5f172d20aa2e7e48920c5f14ed11f arm/arm64: xen: Move shared architecture headers to include/xen/arm

:::::: TO: Marc Zyngier <marc.zyngier at arm.com>
:::::: CC: Stefano Stabellini <sstabellini at kernel.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 45501 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20190828/e53fd50f/attachment-0001.gz>


More information about the intel-gvt-dev mailing list