Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7461011rdb; Wed, 3 Jan 2024 17:52:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4OqPQB4crrcWlqYDmjA3U1a4nIHNHYf1qN4vHcUhY64ZT+fwwMao08D8g+jfNOpH+2LgE X-Received: by 2002:a05:6808:2f07:b0:3bb:c0d1:b4b with SMTP id gu7-20020a0568082f0700b003bbc0d10b4bmr18763172oib.43.1704333152073; Wed, 03 Jan 2024 17:52:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704333152; cv=none; d=google.com; s=arc-20160816; b=A0H1jdJflTV4AROQJU0WoKreG4WVZI6sczU95F0UGRSAaWtWc+5sdzwRrXAeQzPeSo iaTz/IMdfh6m+urNG6w1WZlA+7Rz8VZXxPYHjN4PP40B5WP49E3yiXiyhJ0/hlHv/3n3 CtuwMHiiS/mCxai0egnhhPfqZ1BtTAijmIJER4RhVY2RJPjhCBdPwp+T+DAE86/xAdzO W8e+fDdhNQhMaSWbFSulLsW6QHoHtFvSNlpHI+y6rwCNmkiaQ80xQyJ9ijRrUA9j6Qc5 LhpzcJJrChDM+wtWiAp1nYIK23cKuu+oTXS6tZWF+8E8rv0wgJQGd6lDFVWVyxkh514D Jxmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XEykbiahawQAz5xkYDI4CHwRSaznPmZW5Dt15UkPxfU=; fh=NtjX0lbuYuj3mKO6bSORFQf1O+tuCCefSW+e1caFYqs=; b=CbRQw3D3KzlOFDOSZsipdF5w50C+XCLvl3N7Yt53jYvDaZLy8a9ccrXj2JCw+7Rjpd tQHh0zS7kSBjtiKPFu57oQyEeuBMXsfWx5B1Tipy8qTm10t5DoCpa8F+zFrOGIXE7bk2 +YkNlJoA7ahti1YUbDJQ8s8vDMGGQ+wtjwLEeJ+U8xDyfyTfsssGSS41jCBu39D0Eqsv KPHNaJ+B0rZ7pi2sWyj7xjUHOGhJgAr1TIlnqRtfeTqZ9pZlzwfLJtrHQfviW8aQQ6D9 2XpE4CGWbAyj5Avfx4XR5SOa1uiwcg5fy3jZWR/E3jjhmEizr3+gbbB9Vf9pAuhLUnvw HSSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fCF1RXVn; spf=pass (google.com: domain of linux-kernel+bounces-16187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ko10-20020a056a00460a00b006d983f1fce5si20769643pfb.276.2024.01.03.17.52.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 17:52:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fCF1RXVn; spf=pass (google.com: domain of linux-kernel+bounces-16187-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 92F33B23EAA for ; Thu, 4 Jan 2024 01:52:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15C6C443E; Thu, 4 Jan 2024 01:52:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="fCF1RXVn" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A37901FA1; Thu, 4 Jan 2024 01:52:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704333139; x=1735869139; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=x87hXyg1vD9hfcAbz58oRkGr1NdcwNmNwpY5ZaL9VpU=; b=fCF1RXVnPwtk8vwrtIn9FjP3JzNuWOSZLYeCKDyTfdGYyjw83/J9wDk6 l++vR7uhTTtCyLo3oTFRQEpFhR9hvcgiQvPUO6GhxPd/bDZkvaWkjcNjH +/qZd2VPDZivsRM87JVRn7tTFRLenwJ4cehCcoIbKdgq1EIOdfXQ8fR/I pdvdkgb0JoaRJmmH/os2mvov6Z/iLnXlry0m0O4pNy2MFDZz/EAbBmjr+ 2IkRZHIgaoTl5Bc9pxVNBteTYsIHS6TXKyaH8OCJZKkm1+jPelNVu4Z7I 9IS8dBNjUepGJT7VQ+1Fc5zE4LIjjlIa13Bg1z0PtMUpAnIF1WLlLktPC g==; X-IronPort-AV: E=McAfee;i="6600,9927,10942"; a="4443211" X-IronPort-AV: E=Sophos;i="6.04,329,1695711600"; d="scan'208";a="4443211" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jan 2024 17:52:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10942"; a="783692444" X-IronPort-AV: E=Sophos;i="6.04,329,1695711600"; d="scan'208";a="783692444" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 03 Jan 2024 17:52:15 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rLCu5-000MmM-0C; Thu, 04 Jan 2024 01:52:13 +0000 Date: Thu, 4 Jan 2024 09:51:30 +0800 From: kernel test robot To: Bibo Mao , Huacai Chen , Tianrui Zhao , Juergen Gross Cc: oe-kbuild-all@lists.linux.dev, loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, virtualization@lists.linux.dev, kvm@vger.kernel.org Subject: Re: [PATCH 3/5] LoongArch/smp: Refine ipi ops on LoongArch platform Message-ID: <202401040952.1JdPfC85-lkp@intel.com> References: <20240103071615.3422264-4-maobibo@loongson.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240103071615.3422264-4-maobibo@loongson.cn> Hi Bibo, kernel test robot noticed the following build warnings: [auto build test WARNING on 610a9b8f49fbcf1100716370d3b5f6f884a2835a] url: https://github.com/intel-lab-lkp/linux/commits/Bibo-Mao/LoongArch-KVM-Add-hypercall-instruction-emulation-support/20240103-151946 base: 610a9b8f49fbcf1100716370d3b5f6f884a2835a patch link: https://lore.kernel.org/r/20240103071615.3422264-4-maobibo%40loongson.cn patch subject: [PATCH 3/5] LoongArch/smp: Refine ipi ops on LoongArch platform config: loongarch-randconfig-r131-20240103 (https://download.01.org/0day-ci/archive/20240104/202401040952.1JdPfC85-lkp@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20240104/202401040952.1JdPfC85-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/202401040952.1JdPfC85-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> arch/loongarch/kernel/smp.c:192:73: sparse: sparse: incorrect type in argument 4 (different address spaces) @@ expected void [noderef] __percpu *percpu_dev_id @@ got int * @@ arch/loongarch/kernel/smp.c:192:73: sparse: expected void [noderef] __percpu *percpu_dev_id arch/loongarch/kernel/smp.c:192:73: sparse: got int * arch/loongarch/kernel/smp.c: note: in included file (through arch/loongarch/include/asm/loongarch.h, arch/loongarch/include/asm/cpu-info.h, ...): ../lib/gcc/loongarch64-linux/13.2.0/include/larchintrin.h:332:3: sparse: sparse: undefined identifier '__builtin_loongarch_iocsrwr_d' ../lib/gcc/loongarch64-linux/13.2.0/include/larchintrin.h:284:25: sparse: sparse: undefined identifier '__builtin_loongarch_iocsrrd_w' ../lib/gcc/loongarch64-linux/13.2.0/include/larchintrin.h:284:11: sparse: sparse: cast from unknown type ../lib/gcc/loongarch64-linux/13.2.0/include/larchintrin.h:322:3: sparse: sparse: undefined identifier '__builtin_loongarch_iocsrwr_w' arch/loongarch/kernel/smp.c: note: in included file (through arch/loongarch/include/asm/cpu-info.h, arch/loongarch/include/asm/processor.h, ...): arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: undefined identifier '__builtin_loongarch_csrrd_w' arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: cast from unknown type arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: undefined identifier '__builtin_loongarch_csrwr_w' arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: cast from unknown type arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: undefined identifier '__builtin_loongarch_csrrd_w' arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: cast from unknown type arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: undefined identifier '__builtin_loongarch_csrwr_w' arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: cast from unknown type arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: undefined identifier '__builtin_loongarch_csrrd_w' arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: cast from unknown type arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: undefined identifier '__builtin_loongarch_csrwr_w' arch/loongarch/include/asm/loongarch.h:1260:1: sparse: sparse: cast from unknown type arch/loongarch/kernel/smp.c: note: in included file (through arch/loongarch/include/asm/loongarch.h, arch/loongarch/include/asm/cpu-info.h, ...): ../lib/gcc/loongarch64-linux/13.2.0/include/larchintrin.h:294:30: sparse: sparse: undefined identifier '__builtin_loongarch_iocsrrd_d' ../lib/gcc/loongarch64-linux/13.2.0/include/larchintrin.h:294:11: sparse: sparse: cast from unknown type arch/loongarch/kernel/smp.c: note: in included file (through include/linux/irqflags.h, include/linux/spinlock.h, include/linux/mmzone.h, ...): arch/loongarch/include/asm/percpu.h:30:9: sparse: sparse: undefined identifier '__builtin_loongarch_csrwr_d' arch/loongarch/include/asm/percpu.h:30:9: sparse: sparse: cast from unknown type arch/loongarch/include/asm/percpu.h:30:9: sparse: sparse: cast from unknown type vim +192 arch/loongarch/kernel/smp.c 181 182 static void loongson_ipi_init(void) 183 { 184 int r, ipi_irq; 185 static int ipi_dummy_dev; 186 187 ipi_irq = get_percpu_irq(INT_IPI); 188 if (ipi_irq < 0) 189 panic("IPI IRQ mapping failed\n"); 190 191 irq_set_percpu_devid(ipi_irq); > 192 r = request_percpu_irq(ipi_irq, loongson_ipi_interrupt, "IPI", &ipi_dummy_dev); 193 if (r < 0) 194 panic("IPI IRQ request failed\n"); 195 } 196 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki