Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp3240732rwo; Fri, 4 Aug 2023 01:26:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQyjnxv4ReDg9A7ZlVmGMT25pIMraVEcBnEuRAYwTtUGfRM9OHseJvSgnWnzp21AQcCbWn X-Received: by 2002:a17:90a:b786:b0:268:d05c:2d7e with SMTP id m6-20020a17090ab78600b00268d05c2d7emr991268pjr.14.1691137563251; Fri, 04 Aug 2023 01:26:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691137563; cv=none; d=google.com; s=arc-20160816; b=Q/kstzzx1qtXPdzw3ZCkq/U/XOfObcHM2IPyq2Yuqu0SqFda/MUa5ywlBm5O7LvT2Z i/yOH+vEsrCopUlISjRBrP6Cf1EyHzltgnlNw9L+xoaFx6FiWkxtlLEvfMB1ddFS1d2/ apVy5RpGX+Xg3UFpo4Kqin7hkPQccb9aBxVKw7+iJtvNAAlVkzb/F6Orj1ztWgzC4fKS HAj4O+FrVL88GgTPAoUY/03WT0bUlSPZSk+6FqQ4T7NEdGtGyze8wYi243Gd5fpAiUHm S6Ru8qtQ3FpAb5KwnqyXd86WYvm2R8KIDEiEMIJseyUqjr137qwerb9PTFkb3K4jQTCE +Ghg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=j8KDnjR8zHQykC/DHtg3qcXn6vzILw7FPLOIdsuyZxI=; fh=rYZa9L8bMVqfwatINk4myGjGShm1RP2SOYAhRYZa8UU=; b=JesIjcU+EzBHR6JPNuS/7um+FTNwJBImtasZDwH7S+PQI7SHfLdFGfgYJcsEM/lmGg 6z2BauA9k35SKQfd3pHw8acSu3YYqs0XOf1DD7BGBvE74Kq97Atf8H6YeQXw9KWyrrMs aPhkhp4ehUixh/DIdygLbKWjZ7nXujvUjvOaoGhfdGB/W1QJ4vNCeoLNI3QmO5AOT1L+ rWUAwV1TCNlHpvlHdxg+Y2E8oyxm3TyLjcm2uwtVufwHx9WT8wW7HGGoGR/bt4owgpE4 eeGRyjvEVZz4M1jxik3Y40vzSEb7YyyeN0gXAP8v+QEvH6kGW3k3X/erdGYf7p3Aevze OMsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=E8tTOvAU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lp5-20020a17090b4a8500b00268e32e99f0si1700922pjb.28.2023.08.04.01.25.50; Fri, 04 Aug 2023 01:26:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=E8tTOvAU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233417AbjHDFW0 (ORCPT + 99 others); Fri, 4 Aug 2023 01:22:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233610AbjHDFUZ (ORCPT ); Fri, 4 Aug 2023 01:20:25 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9BFD13E; Thu, 3 Aug 2023 22:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691126232; x=1722662232; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=e1cpoVNcGs0kUXxIvP1Pk1UFLtW1Z3PkHvbpqT0KCQE=; b=E8tTOvAUy9buQI1MNBOiU07rtLMS9opIXbt4xrDJsyVS8NwxaYCdML9P +OEZi/06XEytWWaFhKSr+ZtQSykRcwZe/rltf71cDkVaIjOr4wr5vMtxR 2cdKFpFWT3vmPh56g8n2C6faLAm+Y/c5dxCkCB32zFsEQB9pcnaaZZx2r MV9XBDtEWR0ZSIXrOiGoAcLpsxMayT67p6UXWsC2LB4KJsZLOycWyuXbG mK3Wrqe7rlXqmmSLBjRueaGdW1nC9FMpn1cJaFzZpnryH5BYo6p0yv5BA L4KzVdkbE5nLT5WEgqn2JNTUfW3S7O0m0Rfn+OF2IBIoo7kyIyT1W0fuR Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10791"; a="349660662" X-IronPort-AV: E=Sophos;i="6.01,254,1684825200"; d="scan'208";a="349660662" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2023 22:17:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10791"; a="1060583122" X-IronPort-AV: E=Sophos;i="6.01,254,1684825200"; d="scan'208";a="1060583122" Received: from lkp-server01.sh.intel.com (HELO d1ccc7e87e8f) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 03 Aug 2023 22:17:05 -0700 Received: from kbuild by d1ccc7e87e8f with local (Exim 4.96) (envelope-from ) id 1qRnBQ-0002dU-1y; Fri, 04 Aug 2023 05:17:04 +0000 Date: Fri, 4 Aug 2023 13:16:55 +0800 From: kernel test robot To: Charlie Jenkins , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, bpf@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Paul Walmsley , Palmer Dabbelt , Albert Ou , Peter Zijlstra , Josh Poimboeuf , Jason Baron , Steven Rostedt , Ard Biesheuvel , Anup Patel , Atish Patra , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Luke Nelson , Xi Wang , Nam Cao Subject: Re: [PATCH 10/10] RISC-V: Refactor bug and traps instructions Message-ID: <202308041213.o49SRQWZ-lkp@intel.com> References: <20230803-master-refactor-instructions-v4-v1-10-2128e61fa4ff@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230803-master-refactor-instructions-v4-v1-10-2128e61fa4ff@rivosinc.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Charlie, kernel test robot noticed the following build warnings: [auto build test WARNING on 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4] url: https://github.com/intel-lab-lkp/linux/commits/Charlie-Jenkins/RISC-V-Expand-instruction-definitions/20230804-101437 base: 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4 patch link: https://lore.kernel.org/r/20230803-master-refactor-instructions-v4-v1-10-2128e61fa4ff%40rivosinc.com patch subject: [PATCH 10/10] RISC-V: Refactor bug and traps instructions config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20230804/202308041213.o49SRQWZ-lkp@intel.com/config) compiler: riscv64-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230804/202308041213.o49SRQWZ-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308041213.o49SRQWZ-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/riscv/kernel/elf_kexec.c:326: warning: "RV_X" redefined 326 | #define RV_X(x, s, n) (((x) >> (s)) & ((1 << (n)) - 1)) | In file included from arch/riscv/include/asm/bug.h:14, from include/linux/bug.h:5, from include/linux/thread_info.h:13, from include/asm-generic/preempt.h:5, from ./arch/riscv/include/generated/asm/preempt.h:1, from include/linux/preempt.h:79, from include/linux/spinlock.h:56, from include/linux/ipc.h:5, from include/uapi/linux/sem.h:5, from include/linux/sem.h:5, from include/linux/compat.h:14, from arch/riscv/include/asm/elf.h:12, from include/linux/elf.h:6, from arch/riscv/kernel/elf_kexec.c:15: arch/riscv/include/asm/insn.h:1915: note: this is the location of the previous definition 1915 | #define RV_X(X, s, mask) (((X) >> (s)) & (mask)) | vim +/RV_X +326 arch/riscv/kernel/elf_kexec.c 6261586e0c91db1 Liao Chang 2022-04-08 325 838b3e28488f702 Li Zhengyu 2022-04-08 @326 #define RV_X(x, s, n) (((x) >> (s)) & ((1 << (n)) - 1)) 838b3e28488f702 Li Zhengyu 2022-04-08 327 #define RISCV_IMM_BITS 12 838b3e28488f702 Li Zhengyu 2022-04-08 328 #define RISCV_IMM_REACH (1LL << RISCV_IMM_BITS) 838b3e28488f702 Li Zhengyu 2022-04-08 329 #define RISCV_CONST_HIGH_PART(x) \ 838b3e28488f702 Li Zhengyu 2022-04-08 330 (((x) + (RISCV_IMM_REACH >> 1)) & ~(RISCV_IMM_REACH - 1)) 838b3e28488f702 Li Zhengyu 2022-04-08 331 #define RISCV_CONST_LOW_PART(x) ((x) - RISCV_CONST_HIGH_PART(x)) 838b3e28488f702 Li Zhengyu 2022-04-08 332 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki