Skip to content

KCS driver for LPC MCTP binding

Andrew Jeffery openbmc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4misc: Add ASPEED KCS driver for MCTP purposesdrivers/misc/Kconfig drivers/misc/Makefile drivers/misc/mctp-lpc.c+451 -00 replies
2/4ARM: dts: witherspoon: Add KCS node for LPC MCTParch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts+8 -00 replies
3/4ARM: dts: tacoma: Add KCS node for LPC MCTParch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts+8 -00 replies
4/4ARM: dts: rainier: Add KCS node for LPC MCTParch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [WIP PATCH linux dev-5.4 0/4] KCS driver for LPC MCTP binding

Hello,

This is a series that cleans up a driver that we (IBM) have been using internally for some time to expose the KCS device required by the astlpc binding found in libmctp[1]. The driver is generally terrible, and the userspace interface will no-longer be needed once I get to implementing socket-based MCTP support (which we should have roughly around the same time as practical nuclear fusion*).

We would like to apply this to the OpenBMC tree whilst _not_ upstreaming it on the basis that its userspace API will become obsolete in the future and the effort isn't worth the hassle, but we still need the functionality until we get socket support. Several IBM system configurations make use of the driver as is, and it serves to demonstrate the purpose of the astlpc binding in libmctp.

I've marked the series WIP because of the above reasons, not as indicator to not apply it. However, please don't stare at the code too hard in case it breaks you.

Andrew

[1] https://github.com/openbmc/libmctp/blob/master/astlpc.c

* Not serious, but it feels this way.

Andrew Geissler (1):
ARM: dts: tacoma: Add KCS node for LPC MCTP

Andrew Jeffery (2):
misc: Add ASPEED KCS driver for MCTP purposes
ARM: dts: witherspoon: Add KCS node for LPC MCTP

Eddie James (1):
ARM: dts: rainier: Add KCS node for LPC MCTP

 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts  |   8 +
 arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts   |   8 +
 .../boot/dts/aspeed-bmc-opp-witherspoon.dts   |   8 +
 drivers/misc/Kconfig                          |   7 +
 drivers/misc/Makefile                         |   1 +
 drivers/misc/mctp-lpc.c                       | 443 ++++++++++++++++++
 6 files changed, 475 insertions(+)
 create mode 100644 drivers/misc/mctp-lpc.c
Signature · 1 line
2.20.1