From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 15160C433EF for ; Tue, 15 Mar 2022 20:57:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Vqu4AGn65zuxMbJ4HgT0c+rAaRy9RM58F+xIGIZL45I=; b=ZCHczQCX4mXIqq 3bUUA9t+ody79SvHsZflImVU4UGgtdiMpiNehombvBM9YWgAiCbt4Iiuv22VNcwpa7ADEq+9J3kqn EYO0xR4722RRGhvnrbjiiyL4ULggcDJtui4B079XM9BF3VuzZrMlWm2bTEyQ0kYzFoNrVauGGziw5 kA0VdzHUymzJLvPNFyihLobk12z4RlnS1GRSv2gs3w+c29Z92ZfDe6FmfhD9W4aHtGARkW8objF6H crkJN4kHqkbOzaH4fk3ntsv59ortVRTR5pHyuFwlXkg3S9tnY4Sk6mJ33DD7YUXmywaqd0B+s6EX/ DWGD6xf40lsVOO4VdIaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUEDM-00AbdA-Cx; Tue, 15 Mar 2022 20:56:20 +0000 Received: from mga14.intel.com ([192.55.52.115]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nUEDI-00Abcp-MK for linux-arm-kernel@lists.infradead.org; Tue, 15 Mar 2022 20:56:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647377776; x=1678913776; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wcWxfBz7gIpbcf19I34sSPdP/pedEjqYkrqf1/Sz/y8=; b=fz2ZdnDVRZidUxm7Av/vhhMo+mvOc2ylRyyuAsx70hAFTFAD6ns+sWz+ R7+zOiDYFuaMGe7kaxz49wdEFLFF3qqyij1ax7BijAklx7SX6CVHX8mZ6 4CkKqyFQtILh8Eq0Rn147OIIQCyRJYMxRIrCHA/aY/G6gN7oBC9Y7ct6c TLFIph7kNEnfSHr+nqNonXlv3J5biODsZtGgLL1VAA1Rw7UJbgZNEDldP ysMBDk+n5q8YoGj4HlOt3uNCc/0UTDd4UmiTfFzSBN40sk7IEQWIOvxtG SK2yLceQM1CET51qpmDulChQQ68XlUZxx6IWR/HM728bm/XA7V/D8Hf9Q A==; X-IronPort-AV: E=McAfee;i="6200,9189,10286"; a="256613176" X-IronPort-AV: E=Sophos;i="5.90,184,1643702400"; d="scan'208";a="256613176" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2022 13:56:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,184,1643702400"; d="scan'208";a="634732935" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 15 Mar 2022 13:56:12 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nUEDD-000BVI-Nz; Tue, 15 Mar 2022 20:56:11 +0000 Date: Wed, 16 Mar 2022 04:55:56 +0800 From: kernel test robot To: Zhen Lei , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Zhen Lei , James Morse , Christoffer Dall Subject: Re: [PATCH] arm64: add the printing of tpidr_elx in __show_regs() Message-ID: <202203160439.K5AL4Spr-lkp@intel.com> References: <20220315110926.1060-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220315110926.1060-1-thunder.leizhen@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220315_135616_776524_38A83C41 X-CRM114-Status: GOOD ( 15.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Zhen, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on arm64/for-next/core] [also build test WARNING on arm-perf/for-next/perf arm/for-next xilinx-xlnx/master soc/for-next kvmarm/next v5.17-rc8 next-20220315] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Zhen-Lei/arm64-add-the-printing-of-tpidr_elx-in-__show_regs/20220315-191234 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core config: arm64-randconfig-s032-20220313 (https://download.01.org/0day-ci/archive/20220316/202203160439.K5AL4Spr-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/0day-ci/linux/commit/1a42e34104d70b0b90fe074ba96f2c04d33ffb23 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Zhen-Lei/arm64-add-the-printing-of-tpidr_elx-in-__show_regs/20220315-191234 git checkout 1a42e34104d70b0b90fe074ba96f2c04d33ffb23 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> arch/arm64/kernel/process.c:220:17: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got void * @@ arch/arm64/kernel/process.c:220:17: sparse: expected void const [noderef] __percpu *__vpp_verify arch/arm64/kernel/process.c:220:17: sparse: got void * arch/arm64/kernel/process.c:437:1: sparse: sparse: symbol '__pcpu_scope___entry_task' was not declared. Should it be static? vim +220 arch/arm64/kernel/process.c 200 201 void __show_regs(struct pt_regs *regs) 202 { 203 int i, top_reg; 204 u64 lr, sp; 205 206 if (compat_user_mode(regs)) { 207 lr = regs->compat_lr; 208 sp = regs->compat_sp; 209 top_reg = 12; 210 } else { 211 lr = regs->regs[30]; 212 sp = regs->sp; 213 top_reg = 29; 214 } 215 216 show_regs_print_info(KERN_DEFAULT); 217 print_pstate(regs); 218 219 if (IS_ENABLED(CONFIG_SMP)) > 220 printk("tpidr : %016lx\n", this_cpu_ptr(NULL)); 221 222 if (!user_mode(regs)) { 223 printk("pc : %pS\n", (void *)regs->pc); 224 printk("lr : %pS\n", (void *)ptrauth_strip_insn_pac(lr)); 225 } else { 226 printk("pc : %016llx\n", regs->pc); 227 printk("lr : %016llx\n", lr); 228 } 229 230 printk("sp : %016llx\n", sp); 231 232 if (system_uses_irq_prio_masking()) 233 printk("pmr_save: %08llx\n", regs->pmr_save); 234 235 i = top_reg; 236 237 while (i >= 0) { 238 printk("x%-2d: %016llx", i, regs->regs[i]); 239 240 while (i-- % 3) 241 pr_cont(" x%-2d: %016llx", i, regs->regs[i]); 242 243 pr_cont("\n"); 244 } 245 } 246 --- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel