From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 ABC812F7479; Tue, 11 Nov 2025 15:43:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762875827; cv=none; b=sD07qrsv5JUdZuXdGuLvY2yX2rkGWqrk+bP/g2TPvdsCkEN8Kzzn/qhiOf4Kwq1cZoORPqZccCH9zh7U6LzXBqkyT6GTiRgHHu7eZwgb6J7jaaaCiPm48a/CWGC/TTiS/9mdYTzmPWeAqCqkSiOoRxCITKoYwZ/B2A5qaQjgPO4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762875827; c=relaxed/simple; bh=3sycy4wzLpo/QkHe5ysW7JWVGqoOwxBOkVNTup8L3SE=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=M8Pm4A7MXa+na3Hbdr/EdVJbVARGf55rwS4PhNbsqaiSGH9Neb/jCAXPWTETcIe7fEQE8aboPTvD8GQc5vX3ww8SUiGOxAInEsplGiIqaTt+zMxmZ4fWs0e5iRUO8rr7qECkShNBd8UgeCsNBT9h7jf8O8NxCkwDqkMoXtzng/A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4d5W5X6W9SzJ46Zq; Tue, 11 Nov 2025 23:43:12 +0800 (CST) Received: from dubpeml100005.china.huawei.com (unknown [7.214.146.113]) by mail.maildlp.com (Postfix) with ESMTPS id ECA1D140278; Tue, 11 Nov 2025 23:43:43 +0800 (CST) Received: from localhost (10.203.177.15) by dubpeml100005.china.huawei.com (7.214.146.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.36; Tue, 11 Nov 2025 15:43:42 +0000 Date: Tue, 11 Nov 2025 15:43:40 +0000 From: Jonathan Cameron To: "Fabio M. De Francesco" CC: , "Rafael J . Wysocki" , "Len Brown" , Tony Luck , Borislav Petkov , Hanjun Guo , Mauro Carvalho Chehab , Shuai Xue , "Davidlohr Bueso" , Dave Jiang , "Alison Schofield" , Vishal Verma , Ira Weiny , Dan Williams , Mahesh J Salgaonkar , Oliver O'Halloran , Bjorn Helgaas , , , , Subject: Re: [PATCH 4/6 v7] acpi/ghes: Add helper for CXL protocol errors checks Message-ID: <20251111154340.00002a39@huawei.com> In-Reply-To: <20251104182446.863422-5-fabio.m.de.francesco@linux.intel.com> References: <20251104182446.863422-1-fabio.m.de.francesco@linux.intel.com> <20251104182446.863422-5-fabio.m.de.francesco@linux.intel.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-cxl@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500012.china.huawei.com (7.191.174.4) To dubpeml100005.china.huawei.com (7.214.146.113) On Tue, 4 Nov 2025 19:22:35 +0100 "Fabio M. De Francesco" wrote: > Move the CPER CXL protocol errors validity check out of > cxl_cper_post_prot_err() to new cxl_cper_sec_prot_err_valid() and limit > the serial number check only to CXL agents that are CXL devices (UEFI > v2.10, Appendix N.2.13). > > Export the new symbol for reuse by ELOG. > > Signed-off-by: Fabio M. De Francesco Reviewed-by: Jonathan Cameron