From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (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 41CE02F12C9; Tue, 23 Dec 2025 23:58:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766534340; cv=none; b=uNpxfzfcqsxgIhhsu2X7EC0CXV75nhTwlZLPuF0cpMkqevYEbIAWGeLUGBFAdOVejJcZy4j1KeuXVWk/CsftCUma57GlRxXh8b9xsLP8pgzVZKTt6a+fBtqzU68zVcpG0rGEA7Nd/JEZ28rev52OvpdRDgbr6c+RMPKH4Nmbb6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766534340; c=relaxed/simple; bh=wbLqI2F7wg0GAZJFEKzvgXl0WujlC0eAlfgVTwT4Pnc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ekClxg3LPZuJUM73b4rVkYiseA0Z6Z+bZ8YMAR/yWGPS3sjkyz7f/oU5d5Bl1JK8h2yzzW0Uwe+Iyy1IA+0zGYSlKxBgxmlr4Zg4OTY+HDJ2wRnpNOlIyVKOe8FZkO7vboY2E2bI3/+yXQ1GnH4dJhqPy8Yz58M3MpAQdYhlNJc= 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=AmDktxGz; arc=none smtp.client-ip=192.198.163.11 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="AmDktxGz" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1766534339; x=1798070339; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=wbLqI2F7wg0GAZJFEKzvgXl0WujlC0eAlfgVTwT4Pnc=; b=AmDktxGz6As7TDCDiArpZwUFI3TctiOPKvOD/dPZr7Td8xbNWYrfcCZD TcOvxhoIEQIURoUYhs2NgcsG/tQV2RIYDuWd01BKB+TvFkndrmzPrllxu aPoqKMhOifXhHzwbZnOSAi0oW7qRPkpV99STDCs6qRK2u+lfwbRzqz4z1 1KOj4GMUbD9AhcL7E8T4ySpV/iOkT9wqx9WCoco648s9mUbBNo5rZqaP7 Pe2bFr8vPw2xle5rL1bsDhqGDEpdbHHaPprBwpGFNZgXq2NouvUbv3CVs HELKrVvq16CVay0rylfefexnteFhNKbWHCXJ7aiTddMdXQyq60kz3Cjjv g==; X-CSE-ConnectionGUID: /QR2UOgAQYewr1OliCngag== X-CSE-MsgGUID: DSDhPZVIRdiiTnmHKw+7VQ== X-IronPort-AV: E=McAfee;i="6800,10657,11651"; a="79016466" X-IronPort-AV: E=Sophos;i="6.21,172,1763452800"; d="scan'208";a="79016466" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Dec 2025 15:58:58 -0800 X-CSE-ConnectionGUID: TcJUReP5Qwy+NGFGsQ85Gg== X-CSE-MsgGUID: K0cnw6bARF6boThsyEe6Hw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,172,1763452800"; d="scan'208";a="199870155" Received: from lkp-server02.sh.intel.com (HELO dd3453e2b682) ([10.239.97.151]) by orviesa007.jf.intel.com with ESMTP; 23 Dec 2025 15:58:52 -0800 Received: from kbuild by dd3453e2b682 with local (Exim 4.98.2) (envelope-from ) id 1vYCHC-000000002Uf-0n58; Tue, 23 Dec 2025 23:58:50 +0000 Date: Wed, 24 Dec 2025 07:58:45 +0800 From: kernel test robot To: "Fabio M. De Francesco" , linux-cxl@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Rafael J Wysocki , Len Brown , Tony Luck , Borislav Petkov , Hanjun Guo , Mauro Carvalho Chehab , linux-media@vger.kernel.org, Shuai Xue , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Ira Weiny , Dan Williams , Mahesh J Salgaonkar , Oliver O'Halloran , Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org, "Fabio M. De Francesco" Subject: Re: [PATCH 3/5 v8] acpi/ghes: Add helper for CPER CXL protocol errors checks Message-ID: <202512240711.Iv57ik8I-lkp@intel.com> References: <20251219124042.3759749-4-fabio.m.de.francesco@linux.intel.com> Precedence: bulk X-Mailing-List: linux-acpi@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: <20251219124042.3759749-4-fabio.m.de.francesco@linux.intel.com> Hi Fabio, kernel test robot noticed the following build errors: [auto build test ERROR on ea1013c1539270e372fc99854bc6e4d94eaeff66] url: https://github.com/intel-lab-lkp/linux/commits/Fabio-M-De-Francesco/ACPI-extlog-Trace-CPER-Non-standard-Section-Body/20251219-204338 base: ea1013c1539270e372fc99854bc6e4d94eaeff66 patch link: https://lore.kernel.org/r/20251219124042.3759749-4-fabio.m.de.francesco%40linux.intel.com patch subject: [PATCH 3/5 v8] acpi/ghes: Add helper for CPER CXL protocol errors checks config: arm64-defconfig (https://download.01.org/0day-ci/archive/20251224/202512240711.Iv57ik8I-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251224/202512240711.Iv57ik8I-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/202512240711.Iv57ik8I-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/acpi/apei/ghes_helpers.c: In function 'cxl_cper_sec_prot_err_valid': >> drivers/acpi/apei/ghes_helpers.c:9:17: error: implicit declaration of function 'pr_err_ratelimited' [-Wimplicit-function-declaration] 9 | pr_err_ratelimited("CXL CPER invalid agent type\n"); | ^~~~~~~~~~~~~~~~~~ >> drivers/acpi/apei/ghes_helpers.c:27:17: error: implicit declaration of function 'pr_warn_ratelimited' [-Wimplicit-function-declaration] 27 | pr_warn_ratelimited(FW_WARN | ^~~~~~~~~~~~~~~~~~~ >> drivers/acpi/apei/ghes_helpers.c:27:37: error: 'FW_WARN' undeclared (first use in this function) 27 | pr_warn_ratelimited(FW_WARN | ^~~~~~~ drivers/acpi/apei/ghes_helpers.c:27:37: note: each undeclared identifier is reported only once for each function it appears in >> drivers/acpi/apei/ghes_helpers.c:27:44: error: expected ')' before string constant 27 | pr_warn_ratelimited(FW_WARN | ~ ^ | ) 28 | "CXL CPER no device serial number\n"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/pr_err_ratelimited +9 drivers/acpi/apei/ghes_helpers.c 5 6 int cxl_cper_sec_prot_err_valid(struct cxl_cper_sec_prot_err *prot_err) 7 { 8 if (!(prot_err->valid_bits & PROT_ERR_VALID_AGENT_ADDRESS)) { > 9 pr_err_ratelimited("CXL CPER invalid agent type\n"); 10 return -EINVAL; 11 } 12 13 if (!(prot_err->valid_bits & PROT_ERR_VALID_ERROR_LOG)) { 14 pr_err_ratelimited("CXL CPER invalid protocol error log\n"); 15 return -EINVAL; 16 } 17 18 if (prot_err->err_len != sizeof(struct cxl_ras_capability_regs)) { 19 pr_err_ratelimited("CXL CPER invalid RAS Cap size (%u)\n", 20 prot_err->err_len); 21 return -EINVAL; 22 } 23 24 if ((prot_err->agent_type == RCD || prot_err->agent_type == DEVICE || 25 prot_err->agent_type == LD || prot_err->agent_type == FMLD) && 26 !(prot_err->valid_bits & PROT_ERR_VALID_SERIAL_NUMBER)) > 27 pr_warn_ratelimited(FW_WARN -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki