linux/drivers/firmware/efi/cper_cxl.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * UEFI Common Platform Error Record (CPER) support for CXL Section.
 *
 * Copyright (C) 2022 Advanced Micro Devices, Inc.
 *
 * Author: Smita Koralahalli <[email protected]>
 */

#include <linux/cper.h>
#include "cper_cxl.h"

#define PROT_ERR_VALID_AGENT_TYPE
#define PROT_ERR_VALID_AGENT_ADDRESS
#define PROT_ERR_VALID_DEVICE_ID
#define PROT_ERR_VALID_SERIAL_NUMBER
#define PROT_ERR_VALID_CAPABILITY
#define PROT_ERR_VALID_DVSEC
#define PROT_ERR_VALID_ERROR_LOG

/* CXL RAS Capability Structure, CXL v3.0 sec 8.2.4.16 */
struct cxl_ras_capability_regs {};

static const char * const prot_err_agent_type_strs[] =;

/*
 * The layout of the enumeration and the values matches CXL Agent Type
 * field in the UEFI 2.10 Section N.2.13,
 */
enum {};

void cper_print_prot_err(const char *pfx, const struct cper_sec_prot_err *prot_err)
{}