forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic Kconfig, an initial (empty) af_mctp source object, and {AF,PF}_MCTP definitions, and the required definitions for a new protocol type. Signed-off-by: Jeremy Kerr <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
12 changed files
with
66 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11032,6 +11032,13 @@ F: drivers/mailbox/arm_mhuv2.c | |
F: include/linux/mailbox/arm_mhuv2_message.h | ||
F: Documentation/devicetree/bindings/mailbox/arm,mhuv2.yaml | ||
|
||
MANAGEMENT COMPONENT TRANSPORT PROTOCOL (MCTP) | ||
M: Jeremy Kerr <[email protected]> | ||
M: Matt Johnston <[email protected]> | ||
L: [email protected] | ||
S: Maintained | ||
F: net/mctp/ | ||
|
||
MAN-PAGES: MANUAL PAGES FOR LINUX -- Sections 2, 3, 4, 5, and 7 | ||
M: Michael Kerrisk <[email protected]> | ||
L: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ | ||
/* | ||
* Management Component Transport Protocol (MCTP) | ||
* | ||
* Copyright (c) 2021 Code Construct | ||
* Copyright (c) 2021 Google | ||
*/ | ||
|
||
#ifndef __UAPI_MCTP_H | ||
#define __UAPI_MCTP_H | ||
|
||
struct sockaddr_mctp { | ||
}; | ||
|
||
#endif /* __UAPI_MCTP_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
menuconfig MCTP | ||
depends on NET | ||
tristate "MCTP core protocol support" | ||
help | ||
Management Component Transport Protocol (MCTP) is an in-system | ||
protocol for communicating between management controllers and | ||
their managed devices (peripherals, host processors, etc.). The | ||
protocol is defined by DMTF specification DSP0236. | ||
|
||
This option enables core MCTP support. For communicating with other | ||
devices, you'll want to enable a driver for a specific hardware | ||
channel. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
obj-$(CONFIG_MCTP) += mctp.o | ||
mctp-objs := af_mctp.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
/* | ||
* Management Component Transport Protocol (MCTP) | ||
* | ||
* Copyright (c) 2021 Code Construct | ||
* Copyright (c) 2021 Google | ||
*/ | ||
|
||
#include <linux/module.h> | ||
|
||
MODULE_DESCRIPTION("MCTP core"); | ||
MODULE_LICENSE("GPL v2"); | ||
MODULE_AUTHOR("Jeremy Kerr <[email protected]>"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters