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 D7EA274C14; Fri, 19 Dec 2025 12:41:00 +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=1766148062; cv=none; b=f9tDOQQKP5JmwDQDzTiSXhI+kY3CrwkKdmoY65shCTy4MYpvOyNKXHQ6UbBeEXwRi0yJid66UMHRAbBpLQlQX5ygb2RqnbiuwowLrVTH/RYEuPr4SmRthX/FoEp9+bXL820y2qA+RSjPYcgVUw6f5pAtB850lgE4v+jeM8Ovn3M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766148062; c=relaxed/simple; bh=EQyaSRv2w/jZw5GCerkw7EGbCpvexnkcYc/L8RPqTcw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MjLpgGfKKdlqPZ6B6pdhE2/rYve+zAWaGqyIHlqIEnKFalcenGErRb/Ac0Qk9Rlq6sVyQbgfyxFVcthT58H+p/YXXXvex0KD/w2zMGO/0vrADa7wR/a6kuruoKtP2k3xXk2NYTfik+6upGEFisO/0sihPkNF5Lp5NKNsgU/k4Lg= 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=ODGorOGy; arc=none smtp.client-ip=192.198.163.11 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="ODGorOGy" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1766148061; x=1797684061; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=EQyaSRv2w/jZw5GCerkw7EGbCpvexnkcYc/L8RPqTcw=; b=ODGorOGyYbXSOqg/exlE72et3wEe1x38ee/Gy3Fq6kChoPNUq5MS0feI iNhw2AfybcqmpvaLthbkgtXI0RKmJXN6eUt2CoAl2dw/0DC6m3PTdlHgR 4uX2017iUjPetsa9HlFT3E3kwPiZnUPLireejb090Qr9UrDnJ+tXX7rSP hWw0Qk7DFWWzR+3ArWuA65UaMbejW1qNGJyD82AmQeNNlGRs/OfogH0GC bDJB9TNSpOt760o077McFCcNkhBlfvvMUacc4zFdEorc3NeCoZMtagUIM BdFCr1S+PKsVIp6xQ93t8NdHV8I8ta+RMblADhfjH+9Dpzk3aS1FypYX8 w==; X-CSE-ConnectionGUID: 37pHIzCtQpmEBcMWVXFEZQ== X-CSE-MsgGUID: PoP32FFiTu6lZAj6USlxNw== X-IronPort-AV: E=McAfee;i="6800,10657,11646"; a="78742705" X-IronPort-AV: E=Sophos;i="6.21,161,1763452800"; d="scan'208";a="78742705" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2025 04:41:00 -0800 X-CSE-ConnectionGUID: xl+YCUIBQbqwZlhYPX8/tg== X-CSE-MsgGUID: wJiKn0tRR+e6iMG0x6N5kQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,161,1763452800"; d="scan'208";a="198444382" Received: from fdefranc-mobl3.ger.corp.intel.com (HELO fdefranc-mobl3.intel.com) ([10.245.246.52]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2025 04:40:54 -0800 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 , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org, "Fabio M. De Francesco" , Jonathan Cameron , Kuppuswamy Sathyanarayanan , Qiuxu Zhuo Subject: [PATCH 1/5 v8] ACPI: extlog: Trace CPER Non-standard Section Body Date: Fri, 19 Dec 2025 13:39:40 +0100 Message-ID: <20251219124042.3759749-2-fabio.m.de.francesco@linux.intel.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251219124042.3759749-1-fabio.m.de.francesco@linux.intel.com> References: <20251219124042.3759749-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: 8bit ghes_do_proc() has a catch-all for unknown or unhandled CPER formats (UEFI v2.11 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: Kuppuswamy Sathyanarayanan 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, unsigned long val, if (gdata->error_data_length >= sizeof(*mem)) trace_extlog_mem_event(mem, err_seq, fru_id, fru_text, (u8)gdata->error_severity); + } else { + void *err = acpi_hest_get_payload(gdata); + + log_non_standard_event(sec_type, fru_id, fru_text, + gdata->error_severity, err, + gdata->error_data_length); } } -- 2.52.0