-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Print the CXL Error Log field as found in CXL Protocol Error Section. The CXL RAS Capability structure will be reused by OS First Handling and the duplication/appropriate placement will be addressed eventually. Signed-off-by: Smita Koralahalli <Smita.KoralahalliChannabasappa@amd.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
- Loading branch information
Smita Koralahalli
authored and
Ard Biesheuvel
committed
Nov 18, 2022
1 parent
abdbf1a
commit 2fb6999
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* SPDX-License-Identifier: GPL-2.0-only */ | ||
/* | ||
* Copyright (C) 2022 Advanced Micro Devices, Inc. | ||
* | ||
* Author: Smita Koralahalli <Smita.KoralahalliChannabasappa@amd.com> | ||
*/ | ||
|
||
#ifndef LINUX_CXL_ERR_H | ||
#define LINUX_CXL_ERR_H | ||
|
||
/* CXL RAS Capability Structure, CXL v3.1 sec 8.2.4.16 */ | ||
struct cxl_ras_capability_regs { | ||
u32 uncor_status; | ||
u32 uncor_mask; | ||
u32 uncor_severity; | ||
u32 cor_status; | ||
u32 cor_mask; | ||
u32 cap_control; | ||
u32 header_log[16]; | ||
}; | ||
|
||
#endif //__CXL_ERR_ |