Skip to content

ARM: aspeed: add support for the BT IPMI interface

Cédric Le Goater linux-arm-kernel linux-devicetree 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/20 of 3 patches 0 repliesNew
  2. v3 posting 1/23 patches 0 repliesSuperseded
  3. v23 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches0 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/3] ARM: aspeed: add support for the BT IPMI interface
Quoted 8 lines · Corey Minyard
Quoted 6 lines · C?dric Le Goater

Hello,

This serie adds support for the iBT interface on Aspeed SOCs (AST2400 and AST2500). The BT (Block Transfer) interface is used to perform in-band IPMI communication between a host and its BMC. This driver implements the BMC side.

Quoted 4 lines

This looks good. I pulled these into my tree, it's ok for 4.9 or whatever is next, since it's a new driver.

Do patches 2 and 3 go through Joel?

Yes. He said he would.

Thanks,

C.

Quoted 45 lines

-corey

Quoted 41 lines

Changes since v2:

- limit to one opener
- protect write/read operations with a mutex.

Changes since v1:

- the driver is now called 'bt-bmc' and the device node '/dev/ipmi-bt-host'
- the code is now under drivers/char/ipmi/. This required a change of
the top Makefile in drivers/ to compile the bt-bmc driver with the ipmi handlers not being selected. That might be an issue.
- changed the read/write operations to use a temporary buffer and get
rid of the {get,put}_user calls

Thanks,

C.

Alistair Popple (1):
ipmi: add an Aspeed BT IPMI BMC driver

C?dric Le Goater (2):
ARM: aspeed: Add defconfigs for CONFIG_ASPEED_BT_IPMI_BMC
ARM: dts: aspeed: Enable BT IPMI BMC device

  .../bindings/char/ipmi/aspeed,ast2400-bt-bmc.txt   |  23 +
  arch/arm/boot/dts/aspeed-g4.dtsi                   |   6 +
  arch/arm/boot/dts/aspeed-g5.dtsi                   |   6 +
  arch/arm/configs/aspeed_g4_defconfig               |   1 +
  arch/arm/configs/aspeed_g5_defconfig               |   1 +
  drivers/Makefile                                   |   2 +-
  drivers/char/ipmi/Kconfig                          |   7 +
  drivers/char/ipmi/Makefile                         |   1 +
  drivers/char/ipmi/bt-bmc.c                         | 510 +++++++++++++++++++++
  include/uapi/linux/Kbuild                          |   1 +
  include/uapi/linux/bt-bmc.h                        |  18 +
  11 files changed, 575 insertions(+), 1 deletion(-)

create mode 100644 Documentation/devicetree/bindings/char/ipmi/aspeed,ast2400-bt-bmc.txt create mode 100644 drivers/char/ipmi/bt-bmc.c
create mode 100644 include/uapi/linux/bt-bmc.h