Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp852787rdh; Thu, 26 Oct 2023 19:02:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFDNZQaGNBPZDHf75IgQT/duSYbgCUkJ8K0BtR+rqNKUGowj36TK9IyTcfYj84D1/K8gfvb X-Received: by 2002:a81:d40b:0:b0:589:f41c:bc63 with SMTP id z11-20020a81d40b000000b00589f41cbc63mr1260252ywi.39.1698372128844; Thu, 26 Oct 2023 19:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698372128; cv=none; d=google.com; s=arc-20160816; b=q0eypNVD718I04Rb1WeJ4lGt3ol3TihnEYwmhUx0tZHUN13hf1qvGs/j5WiNMJUehp wivUuhQMVre0vTkVTVscRbAU4ADEIOXm/oV1fsN4Mw3TYGvAZRpPdm+HSpySQO0ShMXY Bsjtmpm8anZfnV1avOWY2O2phj5x3mY8jpmZTkWFdpSC9G/3rkEZmQarNqzREpPtQfsd c8Yawn+UcH8opyJPKYa3r84/k1ssWCoPJrO65G0PXTd1EQKGxXsysq43CNH6qdKyas3+ xqJHGhbjZe+dPixNscaR32jkNrbNHnWeSVosCJnKakcXcxU8qG+IklUWfvF/m+nQLcK3 8INg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=eaVy5DmfenuqWFA+WbP41NCpgpZjfKEz4vzIoFfn2Ik=; fh=hkUK8ZFZ3qS8U2zsO4tgy+1ahIn5hzScuQg/UGypNDY=; b=MsY/M7fWw+2D4OWNVZJbeK5Mo4hbwAD4tVPRO9GzuJF55f6TUKljWgX97FC6tuvam9 v6E3HGU/s118NtGD+jDyVPm6Y6q9KjJ8VLs2lwG+FE/jFfSpwpeKtPn6Ladi7iEbYHfS T1zCvF5E1lqEEYTyhHo5fv3sqingwUx4gWFKK5S1RF9C5H+ZP/fFSwBfiu8+CanlGmtQ osFqoOpPkgArRTps5HfDoD014zlLScs2L8WXSuBprUtBWGA0fbglg0yAxVA3xJlmaCYv a7/SpOakB1DEJNNyEjrVWNlNMK89PjhAG1b9wkcf375jBDjQQy41pXx+er/eBY72vcbH fGiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gWy6h0OO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id g67-20020a0df646000000b005a210c4511dsi885738ywf.488.2023.10.26.19.02.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 19:02:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gWy6h0OO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C199080E65A6; Thu, 26 Oct 2023 19:02:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345099AbjJ0CCA (ORCPT + 99 others); Thu, 26 Oct 2023 22:02:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjJ0CCA (ORCPT ); Thu, 26 Oct 2023 22:02:00 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71DB6AB for ; Thu, 26 Oct 2023 19:01:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698372117; x=1729908117; h=date:from:to:cc:subject:message-id:mime-version; bh=9wl1fn5OCDJbFx27deXP8MrBM8vEcaM3WdOsTqdpBHw=; b=gWy6h0OOX0AMPZ/nhgV/dz+5icoAPXLmagrGkG6Ao4/o7dWjfxn3rGgw +Ay0syT2BINFtES40U2+vVTdCOXZc9AkRzpEEIg1hVUa15ft8m7UUQxOj PEezELBcVro5RBXcHvVHurnOnuOyjtadT2zfM7cmpvizN/AIYNcDSH2GG u11oIMilT6V2v1D9Cy16G9aKlH3sfHywsEqmZUHaeuThHID4ZoHD2xpYO WEb+h+IDUCiSN2zn+inSE5zKl3OclpiCjWLa3lr6OZrthW49l+PbhxnP0 Eth4ai3baBK4bGMf/HTpqLts/OMOaOSrljODkpZLImKRiwJEWSuVhheUc A==; X-IronPort-AV: E=McAfee;i="6600,9927,10875"; a="378058713" X-IronPort-AV: E=Sophos;i="6.03,255,1694761200"; d="scan'208";a="378058713" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2023 19:01:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10875"; a="829818439" X-IronPort-AV: E=Sophos;i="6.03,255,1694761200"; d="scan'208";a="829818439" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 26 Oct 2023 19:01:54 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qwCAa-000AKN-29; Fri, 27 Oct 2023 02:01:52 +0000 Date: Fri, 27 Oct 2023 10:01:35 +0800 From: kernel test robot To: Uros Bizjak Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org, Ingo Molnar , Nadav Amit Subject: [tip:x86/percpu 21/22] arch/x86/include/asm/processor.h:522:24: sparse: sparse: dereference of noderef expression Message-ID: <202310270909.QBAOkiZP-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 26 Oct 2023 19:02:07 -0700 (PDT) tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/percpu head: 0548eb067ed664b93043e033295ca71e3e706245 commit: ed2f752e0e0a21d941ca0ee539ef3d4cd576bc5e [21/22] x86/percpu: Introduce const-qualified const_pcpu_hot to micro-optimize code generation config: x86_64-randconfig-122-20231027 (https://download.01.org/0day-ci/archive/20231027/202310270909.QBAOkiZP-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231027/202310270909.QBAOkiZP-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/202310270909.QBAOkiZP-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) kernel/entry/common.c: note: in included file (through include/linux/sched.h, include/linux/context_tracking.h): arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression kernel/entry/common.c: note: in included file (through arch/x86/include/asm/cpufeature.h, arch/x86/include/asm/thread_info.h, include/linux/thread_info.h, ...): >> arch/x86/include/asm/processor.h:522:24: sparse: sparse: dereference of noderef expression kernel/entry/common.c: note: in included file (through include/linux/sched.h, include/linux/context_tracking.h): arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression kernel/entry/common.c: note: in included file (through arch/x86/include/asm/cpufeature.h, arch/x86/include/asm/thread_info.h, include/linux/thread_info.h, ...): >> arch/x86/include/asm/processor.h:522:24: sparse: sparse: dereference of noderef expression kernel/entry/common.c: note: in included file (through include/linux/sched.h, include/linux/context_tracking.h): arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression kernel/entry/common.c: note: in included file (through arch/x86/include/asm/cpufeature.h, arch/x86/include/asm/thread_info.h, include/linux/thread_info.h, ...): >> arch/x86/include/asm/processor.h:522:24: sparse: sparse: dereference of noderef expression kernel/entry/common.c: note: in included file (through include/linux/sched.h, include/linux/context_tracking.h): arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression kernel/entry/common.c: note: in included file (through arch/x86/include/asm/cpufeature.h, arch/x86/include/asm/thread_info.h, include/linux/thread_info.h, ...): >> arch/x86/include/asm/processor.h:522:24: sparse: sparse: dereference of noderef expression kernel/entry/common.c: note: in included file (through include/linux/sched.h, include/linux/context_tracking.h): arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression kernel/entry/common.c: note: in included file (through arch/x86/include/asm/cpufeature.h, arch/x86/include/asm/thread_info.h, include/linux/thread_info.h, ...): >> arch/x86/include/asm/processor.h:522:24: sparse: sparse: dereference of noderef expression kernel/entry/common.c: note: in included file (through include/linux/sched.h, include/linux/context_tracking.h): arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression arch/x86/include/asm/current.h:46:24: sparse: sparse: dereference of noderef expression vim +522 arch/x86/include/asm/processor.h 513 514 static __always_inline unsigned long current_top_of_stack(void) 515 { 516 /* 517 * We can't read directly from tss.sp0: sp0 on x86_32 is special in 518 * and around vm86 mode and sp0 on x86_64 is special because of the 519 * entry trampoline. 520 */ 521 if (IS_ENABLED(CONFIG_USE_X86_SEG_SUPPORT)) > 522 return pcpu_hot.top_of_stack; 523 524 return this_cpu_read_stable(pcpu_hot.top_of_stack); 525 } 526 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki