From nobody Sun Feb 8 20:00:01 2026 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (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 B57C021B9D2; Fri, 17 Oct 2025 13:35:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760708131; cv=none; b=eHq/OO0fSEiyTcNul8B/5d3FWLR0wmGdmeoWk5BczrY9KYC5gUr/ADObqpI9TUXsGtT1xZj6de+osWnV3dP4wVrT2A9fYOYzBHSQqwnDljnPP/mtT41zapBTq+jf4EeumUAgL0I/4NBaMM5sN8hDUT4xvZi03YZ+3+UyZ34kwPw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760708131; c=relaxed/simple; bh=wPKd8yUUZ8RO1qltV90gZI04z5ZwdXSuIu40FGC5NBY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iPhn0NoC2vfOI5BokrOdHmM7vsYhMf6rT0XkZnnQnoZtpRsjbNiA+aq1ja6pFwzqCzVUheEC/GXN2bRMDCYJWmvHP5PN0YRMEWBRyqUMvtobEq4KGM+Du8ktyrtHfxSK6J2W2fZNzjvOZHyqwGMrNmLg3y37caSDcS7ykqEhbLU= 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=kah7rwah; arc=none smtp.client-ip=198.175.65.16 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="kah7rwah" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1760708129; x=1792244129; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=wPKd8yUUZ8RO1qltV90gZI04z5ZwdXSuIu40FGC5NBY=; b=kah7rwahFUdpJK1ngzT0BUQUu9D/wTQbq64h+nutJAOAWM2nTfPwq+4i BkB4fin17Npns7HyVIzrZ9QPWFgKADrWbxCymHlNBTsGlot359GtAxEKR UzAAS7BfUeri/7iKmBZAkDdEPGXGoOn9a+pZD6Ex6xB8ZD5bO09n3oocu aescTrTc1ZYtsNT7iM17DAuN0WzN5ijCP9GT5/Ate0mtr1Xuazl2Fw9Be z+5YfXBGie9f73axAS9Pzfdm5u16Kb3jRWjodPPj3/6zi5eIBQp8KMQlS jxSJ4DuPTHkKhCMkRBb7+JNC8xFAZVJ8n6nxm1pmPjkGnyg1AZyB7OefE w==; X-CSE-ConnectionGUID: HqS8brfjQnyV3GKgQccETg== X-CSE-MsgGUID: oDtLJBc8T/StockPmIdBRA== X-IronPort-AV: E=McAfee;i="6800,10657,11585"; a="63064916" X-IronPort-AV: E=Sophos;i="6.19,236,1754982000"; d="scan'208";a="63064916" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2025 06:34:31 -0700 X-CSE-ConnectionGUID: 9RiGHURCRZ2xt3lQF+2aoQ== X-CSE-MsgGUID: OyYsQh36SA+TbGK34FBtrA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,236,1754982000"; d="scan'208";a="181925064" Received: from fdefranc-mobl3.ger.corp.intel.com (HELO fdefranc-mobl3.intel.com) ([10.245.246.215]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2025 06:34:18 -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 v5] ACPI: extlog: Trace CPER Non-standard Section Body Date: Fri, 17 Oct 2025 15:30:46 +0200 Message-ID: <20251017133357.1150982-2-fabio.m.de.francesco@linux.intel.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251017133357.1150982-1-fabio.m.de.francesco@linux.intel.com> References: <20251017133357.1150982-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 --- 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 f6b9562779de0..47d11cb5c9120 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