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 51DE4EB64DC for ; Mon, 26 Jun 2023 02:02:35 +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=ROlz9OKtkmkd1ihjeOC1PVEhvU3yqrYVAvDWZOWWCOM=; b=NRyz1UTnJlbVIJ zll3/j5c2jA3cdOoWT7nxKj4eRlpQzO9gzy3P9zh5HFUOxEBhA5rzrOZ5ijJP7mbSh35eUIHxmP4j N35DoXaTir3cb0eSm1G/veDjkHC5rFCOJneoXYjCz/s89KtDYUQGDr6/f07QeyxIoQsJObJuEsz04 xt1gOsapMdhy1Kd7PSAA/PlLTZ7PXw/5pb0df8idApYSuDAyLr9iZjD/UNunPDkzuoks4d3XvKURa v/TTYhMYtZNmEqLV87347NcO3EXf/iRY3M7rLeYKvCWskADHfozYajKwNg+hxlQfYO65C03gP3Jl9 Bj/lzUle2Ea6ecbFM6FA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qDbYL-0096Y8-1T; Mon, 26 Jun 2023 02:02:05 +0000 Received: from mga18.intel.com ([134.134.136.126]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qDbYJ-0096XZ-0i for linux-arm-kernel@lists.infradead.org; Mon, 26 Jun 2023 02:02:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687744923; x=1719280923; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gnkp5LohmQ7mxtSM9otU7q+Yt38d3qrFodovkYf3rYw=; b=TnzQfWmeE8rzjFgEW+qSllgkMgHH7qL9RaG/N7X4GTqva1fioLOlVKWQ +vGhTYTvJfbuE4BvXD1SbeBWA3nxJlw8frsZy5cEbSSh/AmvxEwixYQnk cYYprmFa9peBN9FMi5MTyptoYfBa3qG2Nkj+LfNiW+VhLGFQPPHeZDhe3 5/xzEUhaPGGvXNExQkkjVGBcPR47hzax7c1Vtfo/gr9W2Y7ghlaHJZtoS Zmc8QVwqnYc2LHz9Ybq1UplpD3WTnbhQvs8bNrM6N2mC2Nv8pj3N9FKoQ Eh/F7IAoog6PJQSbtEPUmhMHwW0EbtY8bEFgLCJ+Af4PpF/HDF+kDpn4V g==; X-IronPort-AV: E=McAfee;i="6600,9927,10752"; a="345901976" X-IronPort-AV: E=Sophos;i="6.01,158,1684825200"; d="scan'208";a="345901976" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2023 19:02:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10752"; a="1046315819" X-IronPort-AV: E=Sophos;i="6.01,158,1684825200"; d="scan'208";a="1046315819" Received: from lkp-server01.sh.intel.com (HELO 783282924a45) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 25 Jun 2023 19:01:59 -0700 Received: from kbuild by 783282924a45 with local (Exim 4.96) (envelope-from ) id 1qDbYE-000AOn-1K; Mon, 26 Jun 2023 02:01:58 +0000 Date: Mon, 26 Jun 2023 10:01:52 +0800 From: kernel test robot To: D Scott Phillips , linux-arm-kernel@lists.infradead.org, James Morse Cc: oe-kbuild-all@lists.linux.dev, Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Darren Hart Subject: Re: [PATCH v4] arm64: sdei: abort running SDEI handlers during crash Message-ID: <202306260925.6Qm42hTs-lkp@intel.com> References: <20230625234033.672594-1-scott@os.amperecomputing.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230625234033.672594-1-scott@os.amperecomputing.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230625_190203_354363_0A82AC55 X-CRM114-Status: GOOD ( 15.87 ) 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 Scott, kernel test robot noticed the following build errors: [auto build test ERROR on arm64/for-next/core] [also build test ERROR on arm/for-next arm/fixes kvmarm/next soc/for-next linus/master v6.4 next-20230623] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/D-Scott-Phillips/arm64-sdei-abort-running-SDEI-handlers-during-crash/20230626-074210 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core patch link: https://lore.kernel.org/r/20230625234033.672594-1-scott%40os.amperecomputing.com patch subject: [PATCH v4] arm64: sdei: abort running SDEI handlers during crash config: arm64-defconfig (https://download.01.org/0day-ci/archive/20230626/202306260925.6Qm42hTs-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230626/202306260925.6Qm42hTs-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/202306260925.6Qm42hTs-lkp@intel.com/ All errors (new ones prefixed by >>): arch/arm64/kernel/smp.c: In function 'crash_smp_send_stop': >> arch/arm64/kernel/smp.c:1073:9: error: implicit declaration of function 'sdei_handler_abort'; did you mean 'acpi_handle_alert'? [-Werror=implicit-function-declaration] 1073 | sdei_handler_abort(); | ^~~~~~~~~~~~~~~~~~ | acpi_handle_alert cc1: some warnings being treated as errors vim +1073 arch/arm64/kernel/smp.c 1030 1031 #ifdef CONFIG_KEXEC_CORE 1032 void crash_smp_send_stop(void) 1033 { 1034 static int cpus_stopped; 1035 cpumask_t mask; 1036 unsigned long timeout; 1037 1038 /* 1039 * This function can be called twice in panic path, but obviously 1040 * we execute this only once. 1041 */ 1042 if (cpus_stopped) 1043 return; 1044 1045 cpus_stopped = 1; 1046 1047 /* 1048 * If this cpu is the only one alive at this point in time, online or 1049 * not, there are no stop messages to be sent around, so just back out. 1050 */ 1051 if (num_other_online_cpus() == 0) 1052 goto skip_ipi; 1053 1054 cpumask_copy(&mask, cpu_online_mask); 1055 cpumask_clear_cpu(smp_processor_id(), &mask); 1056 1057 atomic_set(&waiting_for_crash_ipi, num_other_online_cpus()); 1058 1059 pr_crit("SMP: stopping secondary CPUs\n"); 1060 smp_cross_call(&mask, IPI_CPU_CRASH_STOP); 1061 1062 /* Wait up to one second for other CPUs to stop */ 1063 timeout = USEC_PER_SEC; 1064 while ((atomic_read(&waiting_for_crash_ipi) > 0) && timeout--) 1065 udelay(1); 1066 1067 if (atomic_read(&waiting_for_crash_ipi) > 0) 1068 pr_warn("SMP: failed to stop secondary CPUs %*pbl\n", 1069 cpumask_pr_args(&mask)); 1070 1071 skip_ipi: 1072 sdei_mask_local_cpu(); > 1073 sdei_handler_abort(); 1074 } 1075 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel