linux/include/linux/psp.h

/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __PSP_H
#define __PSP_H

#ifdef CONFIG_X86
#include <linux/mem_encrypt.h>

#define __psp_pa(x)
#else
#define __psp_pa
#endif

/*
 * Fields and bits used by most PSP mailboxes
 *
 * Note: Some mailboxes (such as SEV) have extra bits or different meanings
 * and should include an appropriate local definition in their source file.
 */
#define PSP_CMDRESP_STS
#define PSP_CMDRESP_CMD
#define PSP_CMDRESP_RESERVED
#define PSP_CMDRESP_RECOVERY
#define PSP_CMDRESP_RESP

#define PSP_DRBL_MSG
#define PSP_DRBL_RING

#endif /* __PSP_H */