lkml.org 
[lkml]   [2020]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/2] riscv: Add vector ISA support
    Hi,

    I love your patch! Yet something to improve:

    [auto build test ERROR on linus/master]
    [also build test ERROR on v5.5-rc4 next-20191220]
    [if your patch is applied to the wrong git tree, please drop us a note to help
    improve the system. BTW, we also suggest to use '--base' option to specify the
    base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

    url: https://github.com/0day-ci/linux/commits/guoren-kernel-org/riscv-Fixup-obvious-bug-for-fp-regs-reset/20200105-105609
    base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git c420ddda506b80ec2686e405698d37fafeea3b7a
    config: riscv-rv32_defconfig (attached as .config)
    compiler: riscv32-linux-gcc (GCC) 7.5.0
    reproduce:
    wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
    chmod +x ~/bin/make.cross
    # save the attached .config to linux build tree
    GCC_VERSION=7.5.0 make.cross ARCH=riscv

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

    All errors (new ones prefixed by >>):

    In file included from arch/riscv/include/asm/ptrace.h:9:0,
    from arch/riscv/include/asm/processor.h:11,
    from arch/riscv/include/asm/irqflags.h:10,
    from include/linux/irqflags.h:16,
    from arch/riscv/include/asm/bitops.h:14,
    from include/linux/bitops.h:26,
    from include/linux/kernel.h:12,
    from include/asm-generic/bug.h:19,
    from arch/riscv/include/asm/bug.h:75,
    from include/linux/bug.h:5,
    from include/linux/page-flags.h:10,
    from kernel/bounds.c:10:
    >> arch/riscv/include/uapi/asm/ptrace.h:75:2: error: unknown type name '__uint128_t'
    __uint128_t v[32];
    ^~~~~~~~~~~
    make[2]: *** [kernel/bounds.s] Error 1
    make[2]: Target '__build' not remade because of errors.
    make[1]: *** [prepare0] Error 2
    make[1]: Target 'prepare' not remade because of errors.
    make: *** [sub-make] Error 2
    507 real 2 user 5 sys 1.58% cpu make prepare

    vim +/__uint128_t +75 arch/riscv/include/uapi/asm/ptrace.h

    73
    74 struct __riscv_v_state {
    > 75 __uint128_t v[32];
    76 unsigned long vstart;
    77 unsigned long vxsat;
    78 unsigned long vxrm;
    79 unsigned long vl;
    80 unsigned long vtype;
    81 };
    82

    ---
    0-DAY kernel test infrastructure Open Source Technology Center
    https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
    [unhandled content-type:application/gzip]
    \
     
     \ /
      Last update: 2020-01-05 13:35    [W:7.686 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site