History

Merge tag 'for-linus-6.2-1' of https://github.com/cminyard/linux-ipmi

Pull IPMI updates from Corey Minyard: "This includes a number of small fixes, as usual. It also includes a new driver for doing the i2c (SSIF) interface BMC-side, pretty much completing the BMC side interfaces" * tag 'for-linus-6.2-1' of https://github.com/cminyard/linux-ipmi: ipmi/watchdog: use strscpy() to instead of strncpy() ipmi: ssif_bmc: Convert to i2c's .probe_new() ipmi: fix use after free in _ipmi_destroy_user() ipmi/watchdog: Include <linux/kstrtox.h> when appropriate ipmi:ssif: Increase the message retry time ipmi: Fix some kernel-doc warnings ipmi: ssif_bmc: Use EPOLLIN instead of POLLIN ipmi: fix msg stack when IPMI is disconnected ipmi: fix memleak when unload ipmi driver ipmi: fix long wait in unload when IPMI disconnect ipmi: kcs: Poll OBF briefly to reduce OBE latency bindings: ipmi: Add binding for SSIF BMC driver ipmi: ssif_bmc: Add SSIF BMC driver

Linus Torvalds committed 3 years ago

Commit 90b12f42 parents 2043f9a c6f613e11 files · +1004 −23Browse files

Showing the changes to include/uapi (1 of 11 files). Show all

Unified · Split

include/uapi/linux/ipmi_ssif_bmc.h+18−0
@@ -0,0 +1,18 @@
1+/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note*/
2+/*
3+ * Copyright (c) 2022, Ampere Computing LLC.
4+ */
5+
6+#ifndef _UAPI_LINUX_IPMI_SSIF_BMC_H
7+#define _UAPI_LINUX_IPMI_SSIF_BMC_H
8+
9+#include <linux/types.h>
10+
11+/* Max length of ipmi ssif message included netfn and cmd field */
12+#define IPMI_SSIF_PAYLOAD_MAX 254
13+struct ipmi_ssif_msg {
14+ unsigned int len;
15+ __u8 payload[IPMI_SSIF_PAYLOAD_MAX];
16+};
17+
18+#endif /* _UAPI_LINUX_IPMI_SSIF_BMC_H */