From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.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 E36792C0323 for ; Wed, 6 May 2026 05:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778046332; cv=none; b=JG8nkgNwU6uDBCkfwlbr2cndTw5f9q/ImfyK4SXKlOIGbmsS7nraGTsdRS/3LHNt36SlTgN9+oRABwOaWDYxaUovpiS+isx5VmhPjgTNRf4iNuztow2NHE0H29fz4kOMik6WUiOiZYM345kODlsURApZ2W5jjtRA7r8QXoGlsa0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778046332; c=relaxed/simple; bh=x6BSiLMSOWE205oOK5lzCtkszZwKctq6LhN5caPtujI=; h=Date:From:To:Cc:Subject:Message-ID; b=pTLev7u8IuEB4y2JA+eA8o7P5x8HIFWiRrt4fMsQ9yxMdBDYuWF68XgDb0kiEHmc683jjFfbMYDCSLf9Lcw4/urr3U6cv26soVaZEZS/u8XbItPYNWH3hYmYBd/T2iWOnIJCBPRE+yj5BXh0YB/xQj2q2J9D542idNQ5uaKng7Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ng38QfWC; arc=none smtp.client-ip=198.175.65.10 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ng38QfWC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1778046331; x=1809582331; h=date:from:to:cc:subject:message-id; bh=x6BSiLMSOWE205oOK5lzCtkszZwKctq6LhN5caPtujI=; b=ng38QfWCKyFNMrAu4dDCyKcb95NL0BEIHnCH7gzVg5pOy/pEjNgmWjCA 8d7/EiWu3u5slQULgFyyWfa5qvqFtuiJ+APW4tOh08AAV/nnbRflqO5T/ hDuretIuErG/xhE+i5J0ZAk7x2lhV9SlzLyZqvfhBv8ZgttXocCFrPHCJ HV+WXnw9x9euv/2CWNATvUiykT9BbZVhVuOq6WVehG4vFKb1SKTbaaA0T NXtogAp6hW2iFlt1rqpuloIaTW6jCNjQb06smMVvb5vmDFeMq/206PVIK VuBPLuZHJdhp4Y9nmVtHaQHxS650MeyG4vinkbhQfw3cfXaoYBZHsRdBi A==; X-CSE-ConnectionGUID: iZFhPydVRzW0H3sAd0RzjQ== X-CSE-MsgGUID: sXNCJa1ZSta+kg+jvlJmuQ== X-IronPort-AV: E=McAfee;i="6800,10657,11777"; a="96363059" X-IronPort-AV: E=Sophos;i="6.23,218,1770624000"; d="scan'208";a="96363059" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2026 22:45:31 -0700 X-CSE-ConnectionGUID: X+Ijo2GxTUqytrNRKAQvmQ== X-CSE-MsgGUID: YCYLD5ZhTMm8ULRhu8Ra9w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,218,1770624000"; d="scan'208";a="231445366" Received: from lkp-server01.sh.intel.com (HELO 9ec114424ce8) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 05 May 2026 22:45:29 -0700 Received: from kbuild by 9ec114424ce8 with local (Exim 4.98.2) (envelope-from ) id 1wKV4Y-000000000jz-36o0; Wed, 06 May 2026 05:45:26 +0000 Date: Wed, 06 May 2026 13:44:51 +0800 From: kernel test robot To: Bibo Mao Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Huacai Chen Subject: arch/loongarch/kernel/paravirt.c:15:1: sparse: sparse: symbol '__pcpu_scope_steal_time' was not declared. Should it be static? Message-ID: <202605061313.O8Hswm2b-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 74fe02ce122a6103f207d29fafc8b3a53de6abaf commit: c43dce6f13fb12144571c168c7a593e5e546f3b5 LoongArch: KVM: Make vcpu_is_preempted() as a macro rather than function date: 4 weeks ago config: loongarch-randconfig-r134-20260505 (https://download.01.org/0day-ci/archive/20260506/202605061313.O8Hswm2b-lkp@intel.com/config) compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3) sparse: v0.6.5-rc1 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260506/202605061313.O8Hswm2b-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 | Fixes: c43dce6f13fb ("LoongArch: KVM: Make vcpu_is_preempted() as a macro rather than function") | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202605061313.O8Hswm2b-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> arch/loongarch/kernel/paravirt.c:15:1: sparse: sparse: symbol '__pcpu_scope_steal_time' was not declared. Should it be static? arch/loongarch/kernel/paravirt.c: note: in included file (through arch/loongarch/include/asm/loongarch.h, arch/loongarch/include/asm/cpu-info.h, arch/loongarch/include/asm/cpu-features.h, ...): /opt/cross/clang-5bac06718f/lib/clang/23/include/larchintrin.h:202:24: sparse: sparse: undefined identifier '__builtin_loongarch_cpucfg' /opt/cross/clang-5bac06718f/lib/clang/23/include/larchintrin.h:202:11: sparse: sparse: cast from unknown type /opt/cross/clang-5bac06718f/lib/clang/23/include/larchintrin.h:202:11: sparse: sparse: cast from unknown type vim +/__pcpu_scope_steal_time +15 arch/loongarch/kernel/paravirt.c 11 12 static int has_steal_clock; 13 DEFINE_STATIC_KEY_FALSE(virt_preempt_key); 14 DEFINE_STATIC_KEY_FALSE(virt_spin_lock_key); > 15 DEFINE_PER_CPU(struct kvm_steal_time, steal_time) __aligned(64); 16 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki