mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
Introduce the main thread and HECI Active Management (HAM) message handling for the ISSEI (Intel Silicon Security Engine Interface) subsystem. The main thread is responsible for managing the reset flow and processing messages, while the HAM message handling is crucial for initializing communication with the firmware and managing clients. With this implementation, the ISSEI driver is capable of performing the required initialization and management of communication between the host and the firmware. Reviewed-by: Karol Wachowski <karol.wachowski@linux.intel.com> Co-developed-by: Vitaly Lubart <lubvital@gmail.com> Signed-off-by: Vitaly Lubart <lubvital@gmail.com> Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Link: https://patch.msgid.link/20260513-issei-for-upstream-v1-3-f590038678f9@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21 lines
514 B
C
21 lines
514 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (C) 2023-2026 Intel Corporation */
|
|
#ifndef _ISSEI_HAM_H_
|
|
#define _ISSEI_HAM_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct issei_device;
|
|
|
|
int issei_ham_send_start_req(struct issei_device *idev);
|
|
int issei_ham_send_clients_req(struct issei_device *idev);
|
|
|
|
static inline bool issei_is_ham_rsp(u16 fw_id, u16 host_id)
|
|
{
|
|
return fw_id == 0 && host_id == 0;
|
|
}
|
|
|
|
int issei_ham_process_ham_rsp(struct issei_device *idev, const u8 *buf, size_t length);
|
|
|
|
#endif /* _ISSEI_HAM_H_ */
|