From nobody Mon Feb 9 01:21:23 2026 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (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 C6C7B2F6928; Thu, 23 Oct 2025 12:26:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.9 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761222400; cv=none; b=Ol68Amos78oKub4qzppop1VnBktAdlmf0BTUpkaKML3aESfIC8yU2cOZACfbItZjpRsOMS2+AdFfpXg3NpMNGQx6hzcxOWLuMgHEs+pvx+tkfjYOESp+Do3Y6MBT/mEuY3cNtWweiAYK69gDslGgtv1/2bn0uoeRX3ZDyVNB+rc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761222400; c=relaxed/simple; bh=5hEjvEKmxlJ4nI+ib5yXu9qh7SsHe8NFIE5tNKshc/Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iOaN1lHwDXlUcV27ApOSV+cKkCXegPWAq9X2ujmdFTaoCiWnN7dfgpFxMKihfUs7ZR/fh2oanliAzUfivza35oHZ2qe0d1CNkwxpm367Bjax5XuMU4kzjv679Rjgiwc7m6fXaZ1Nayjc1ymKzTLwpXny5xh+Z165vBJ1I8P7qZg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=DQJKga6T; arc=none smtp.client-ip=192.198.163.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="DQJKga6T" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1761222399; x=1792758399; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5hEjvEKmxlJ4nI+ib5yXu9qh7SsHe8NFIE5tNKshc/Y=; b=DQJKga6TEMlL82uRorQg4vf0rk6VgV2r4Bjc2xRJSl0hCrbwWsT34hOI 5VjCpRhgMzRqJVHjrK1T4X4axCgbK1ALuf3eOSCNbockZUHrPW0iQ/wH7 SlvpllaGRMtMCZHVMjU8HVvTeB4krkX2DCWCm5hNSVmDXgPF2EkSyIlZQ pzglKBqyQgkS8PcwzvEuTxklg+gAZm1e+7ku2JbNyDaN2yyoH4i8dufFI Kn/J1eWIl1g3EFTep6lzIJA+fbHwBMh0GBPTKOaZj9XTe/vqNwL4biqMd KJp3M+xF1t0CjW34mJCJzJyqy3e2u0UBDQNpIXqpFgEbsNvTayUk2PoQ9 A==; X-CSE-ConnectionGUID: 62vtoQKWTY6hIFBJowPnTw== X-CSE-MsgGUID: C3UWORL1QZ+1kNJB4X/z4Q== X-IronPort-AV: E=McAfee;i="6800,10657,11586"; a="74057989" X-IronPort-AV: E=Sophos;i="6.19,249,1754982000"; d="scan'208";a="74057989" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2025 05:26:38 -0700 X-CSE-ConnectionGUID: l3HPS2vpSVG/SN0A0Ax62w== X-CSE-MsgGUID: CcNU6AIMTNqojfDF0RBlpQ== X-ExtLoop1: 1 Received: from unknown (HELO fdefranc-mobl3.igk.intel.com) ([10.237.142.160]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2025 05:26:27 -0700 From: "Fabio M. De Francesco" To: linux-cxl@vger.kernel.org Cc: "Rafael J . Wysocki" , Len Brown , Tony Luck , Borislav Petkov , Hanjun Guo , Mauro Carvalho Chehab , Shuai Xue , Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Alison Schofield , Vishal Verma , Ira Weiny , Dan Williams , Mahesh J Salgaonkar , Oliver O'Halloran , Bjorn Helgaas , Sunil V L , Xiaofei Tan , Mario Limonciello , Huacai Chen , Heinrich Schuchardt , Arnd Bergmann , "Fabio M . De Francesco" , Peter Zijlstra , Ingo Molnar , Guo Weikang , Xin Li , Will Deacon , Huang Yiwei , Gavin Shan , Smita Koralahalli , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Li Ming , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Kuppuswamy Sathyanarayanan , Karolina Stolarek , Jon Pan-Doh , Lukas Wunner , Shiju Jose , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org, Jonathan Cameron , Qiuxu Zhuo Subject: [PATCH 1/6 v6] ACPI: extlog: Trace CPER Non-standard Section Body Date: Thu, 23 Oct 2025 14:25:36 +0200 Message-ID: <20251023122612.1326748-2-fabio.m.de.francesco@linux.intel.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251023122612.1326748-1-fabio.m.de.francesco@linux.intel.com> References: <20251023122612.1326748-1-fabio.m.de.francesco@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" ghes_do_proc() has a catch-all for unknown or unhandled CPER formats (UEFI v2.10 Appendix N 2.3), extlog_print() does not. This gap was noticed by a RAS test that injected CXL protocol errors which were notified to extlog_print() via the IOMCA (I/O Machine Check Architecture) mechanism. Bring parity to the extlog_print() path by including a similar log_non_standard_event(). Cc: Dan Williams Reviewed-by: Dan Williams Reviewed-by: Dave Jiang Reviewed-by: Jonathan Cameron Reviewed-by: Qiuxu Zhuo Signed-off-by: Fabio M. De Francesco Reviewed-by: Kuppuswamy Sathyanarayanan --- drivers/acpi/acpi_extlog.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/acpi/acpi_extlog.c b/drivers/acpi/acpi_extlog.c index f6b9562779de..47d11cb5c912 100644 --- a/drivers/acpi/acpi_extlog.c +++ b/drivers/acpi/acpi_extlog.c @@ -183,6 +183,12 @@ static int extlog_print(struct notifier_block *nb, uns= igned long val, if (gdata->error_data_length >=3D sizeof(*mem)) trace_extlog_mem_event(mem, err_seq, fru_id, fru_text, (u8)gdata->error_severity); + } else { + void *err =3D acpi_hest_get_payload(gdata); + + log_non_standard_event(sec_type, fru_id, fru_text, + gdata->error_severity, err, + gdata->error_data_length); } } =20 --=20 2.51.0