Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21075130ybl; Sun, 5 Jan 2020 19:28:04 -0800 (PST) X-Google-Smtp-Source: APXvYqxsa6jQO6Asyw73xsmOiT0CC1qkITRaTyJ/t2IVdjzypS2qsPTjzBsxiEn+/XuF90UmkghV X-Received: by 2002:a05:6830:10c6:: with SMTP id z6mr119967679oto.203.1578281284683; Sun, 05 Jan 2020 19:28:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578281284; cv=none; d=google.com; s=arc-20160816; b=U64OC6fozGG4u6MY/px3xElsvcAqAzVF4SyeAen4vbj1e1ObA7Nhw7mQoECVt4K2sL LnM+Qh1772B2h1qKtpswL3Y4YcyZetQV6jOkbX+cSSVjAo0vbPbQfoXC498qAqorSuGi INnKOBg31tKdzBpiF/iX77dO7M8polWGrzEgAdyhIlNe06R1r3w8yrF1Gmd/JEYylDlC i1sb/qyMP77OE9QoSp3lDbuzXgX4UsS0V2hUK+YRvulFihnIVG/0j6EiemXgIU5C176C 9CNlXW9AjSzR7MP4oVvtaXuoB+icP+fiml5XDI591Urobu7+K2CQp41VWVVmQvHbz/nl dW5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=RKFJJPiOYXP0DtOqEsY/XlMXcY2EZhFsYxzktJ9oz7E=; b=H3vWGfhh1FNF7TiAGLVlXtMY2oajlHDW1r8unrkXkln+COrJwzDwGXt+Yhj9o99JVZ eylA+dFfifVOl45A41TbJ/XVxzDfERECKXRIKvC0MfNdpt/94tRFOEUwt8xPGdWd5/qq bdhne6Rv3ZPUd2VPzwZGaa1p8NdPlb4l8p6SeT5KN3QR+WH+/VfD6qx/vFrKRLanubC9 KX3pBeD9Hz9N22tcxVDlF7NsVyS/Z9xcVtizsME08kMK4Lv1x5LUIUJCs35ng6tKKqyN Stb2ejz9B4jo3ysBtsmxyJ6np1PNegL/3HfxWbl6UTOLF8APMpk2HWzaVnEcC6+4yIHT WxAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Z0UwdeID; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10si6970764otj.260.2020.01.05.19.27.52; Sun, 05 Jan 2020 19:28:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Z0UwdeID; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727445AbgAFD1P (ORCPT + 99 others); Sun, 5 Jan 2020 22:27:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:45298 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727307AbgAFD1P (ORCPT ); Sun, 5 Jan 2020 22:27:15 -0500 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ED6AC218AC; Mon, 6 Jan 2020 03:27:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578281234; bh=Zo+Fm8zO3lwsW6sZymHRh/4KsQXc6l1b/Ks9odphPR0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Z0UwdeIDHhcH0bW8cMbIjnpqCStxe5BOfqJVW76lGxrpfgsRH/Q5lih0aZlEABzDm HWQaCImcVIi5OjEYe6PikuM8t2KLZVnbSDxhAcN/gg4q9UCZsitaCmAs7YI07pswKo teIg6PGUXySLYj4xI8Wf6fm+vkRcDmm/pqwRE70M= Received: by mail-lf1-f46.google.com with SMTP id f15so35416333lfl.13; Sun, 05 Jan 2020 19:27:13 -0800 (PST) X-Gm-Message-State: APjAAAVIHFBWBbVbG+dfgBB45WwviUUKcLYmZoh5tob+4URTToTnnKZL EQz4x2QQGkRmfp/uNdiOCobQ/cIDQ8MWql0GX7Q= X-Received: by 2002:ac2:4476:: with SMTP id y22mr55916850lfl.169.1578281232059; Sun, 05 Jan 2020 19:27:12 -0800 (PST) MIME-Version: 1.0 References: <20200105025215.2522-2-guoren@kernel.org> <202001052007.tXdAjjwN%lkp@intel.com> In-Reply-To: <202001052007.tXdAjjwN%lkp@intel.com> From: Guo Ren Date: Mon, 6 Jan 2020 11:27:00 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] riscv: Add vector ISA support To: kbuild test robot Cc: kbuild-all@lists.01.org, Paul Walmsley , Palmer Dabbelt , aou@eecs.berkeley.edu, Anup Patel , vincent.chen@sifive.com, zong.li@sifive.com, greentime.hu@sifive.com, Bin Meng , Atish Patra , Linux Kernel Mailing List , linux-arch , Arnd Bergmann , linux-csky@vger.kernel.org, linux-riscv@lists.infradead.org, Guo Ren Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org __uint128_t could work with gcc 8.1. If compile the patch we need some small patch for binutils to support several vector instructions, 0-day gcc need be updated in future. On Sun, Jan 5, 2020 at 8:33 PM kbuild test robot wrote: > > 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 > > 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 -- Best Regards Guo Ren ML: https://lore.kernel.org/linux-csky/