mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Quan Nguyen](/assets/img/avatar_default.png)
The SMBus system interface (SSIF) IPMI BMC driver can be used to perform in-band IPMI communication with their host in management (BMC) side. Thanks Dan for the copy_from_user() fix in the link below. Link: https://lore.kernel.org/linux-arm-kernel/20220310114119.13736-4-quan@os.amperecomputing.com/ Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com> Message-Id: <20221004093106.1653317-2-quan@os.amperecomputing.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>
18 lines
456 B
C
18 lines
456 B
C
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note*/
|
|
/*
|
|
* Copyright (c) 2022, Ampere Computing LLC.
|
|
*/
|
|
|
|
#ifndef _UAPI_LINUX_IPMI_SSIF_BMC_H
|
|
#define _UAPI_LINUX_IPMI_SSIF_BMC_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
/* Max length of ipmi ssif message included netfn and cmd field */
|
|
#define IPMI_SSIF_PAYLOAD_MAX 254
|
|
struct ipmi_ssif_msg {
|
|
unsigned int len;
|
|
__u8 payload[IPMI_SSIF_PAYLOAD_MAX];
|
|
};
|
|
|
|
#endif /* _UAPI_LINUX_IPMI_SSIF_BMC_H */
|