All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Cédric Le Goater" <clg-Bxea+6Xhats@public.gmane.org>
To: Corey Minyard <minyard-HInyCGIudOg@public.gmane.org>,
	openipmi-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Joel Stanley <joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org>
Cc: "Alistair Popple"
	<alistair-Y4h6yKqj69EXC2x5gXVKYQ@public.gmane.org>,
	"Rob Herring" <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	"Mark Rutland" <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	"Russell King" <linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>,
	"Arnd Bergmann" <arnd-r2nGTMty4D4@public.gmane.org>,
	"Jeremy Kerr" <jk-mnsaURCQ41sdnm+yROfE0A@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	"Cédric Le Goater" <clg-Bxea+6Xhats@public.gmane.org>
Subject: [PATCH v2 0/3] ARM: aspeed: add support for the BT IPMI interface
Date: Fri, 16 Sep 2016 12:39:24 +0200	[thread overview]
Message-ID: <1474022367-21029-1-git-send-email-clg@kaod.org> (raw)

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.

Most noticeable changes in v2 are:

 - 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):
  misc: Add 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                         | 486 +++++++++++++++++++++
 include/uapi/linux/Kbuild                          |   1 +
 include/uapi/linux/bt-bmc.h                        |  18 +
 11 files changed, 551 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

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: clg@kaod.org (Cédric Le Goater)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/3] ARM: aspeed: add support for the BT IPMI interface
Date: Fri, 16 Sep 2016 12:39:24 +0200	[thread overview]
Message-ID: <1474022367-21029-1-git-send-email-clg@kaod.org> (raw)

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.

Most noticeable changes in v2 are:

 - 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):
  misc: Add 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                         | 486 +++++++++++++++++++++
 include/uapi/linux/Kbuild                          |   1 +
 include/uapi/linux/bt-bmc.h                        |  18 +
 11 files changed, 551 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

-- 
2.7.4

             reply	other threads:[~2016-09-16 10:39 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-16 10:39 Cédric Le Goater [this message]
2016-09-16 10:39 ` [PATCH v2 0/3] ARM: aspeed: add support for the BT IPMI interface Cédric Le Goater
     [not found] ` <1474022367-21029-1-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-09-16 10:39   ` [PATCH v2 1/3] ipmi: add an Aspeed BT IPMI BMC driver Cédric Le Goater
2016-09-16 10:39     ` Cédric Le Goater
2016-09-16 11:55     ` Arnd Bergmann
2016-09-16 11:55       ` Arnd Bergmann
     [not found]     ` <1474022367-21029-2-git-send-email-clg-Bxea+6Xhats@public.gmane.org>
2016-09-16 12:29       ` LABBE Corentin
2016-09-16 12:29         ` LABBE Corentin
2016-09-16 13:00         ` Cédric Le Goater
2016-09-16 13:00           ` Cédric Le Goater
2016-09-16 19:41       ` Corey Minyard
2016-09-16 19:41         ` Corey Minyard
2016-09-19  8:00         ` Cédric Le Goater
2016-09-19  8:00           ` Cédric Le Goater
     [not found]           ` <9ce54c4c-e8ae-7ac2-de9c-71402dfa4c39-Bxea+6Xhats@public.gmane.org>
2016-09-19 14:01             ` Corey Minyard
2016-09-19 14:01               ` Corey Minyard
2016-09-20  6:57               ` Cédric Le Goater
2016-09-20  6:57                 ` Cédric Le Goater
2016-09-16 10:39   ` [PATCH v2 2/3] ARM: aspeed: Add defconfigs for CONFIG_ASPEED_BT_IPMI_BMC Cédric Le Goater
2016-09-16 10:39     ` Cédric Le Goater
2016-09-16 10:39   ` [PATCH v2 3/3] ARM: dts: aspeed: Enable BT IPMI BMC device Cédric Le Goater
2016-09-16 10:39     ` Cédric Le Goater
2016-09-16 11:58 ` [PATCH v2 0/3] ARM: aspeed: add support for the BT IPMI interface Arnd Bergmann
2016-09-16 11:58   ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1474022367-21029-1-git-send-email-clg@kaod.org \
    --to=clg-bxea+6xhats@public.gmane.org \
    --cc=alistair-Y4h6yKqj69EXC2x5gXVKYQ@public.gmane.org \
    --cc=arnd-r2nGTMty4D4@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=jk-mnsaURCQ41sdnm+yROfE0A@public.gmane.org \
    --cc=joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org \
    --cc=linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=minyard-HInyCGIudOg@public.gmane.org \
    --cc=openipmi-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.