(Keyboard Controller Style) interface is used to perform in-band
IPMI communication between a host and its BMC.
The device name defaults to '/dev/ipmi-kcsX', X=1,2,3,4.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
.../devicetree/bindings/mfd/aspeed-lpc.txt | 31 +-
d
Of Corey Minyard
Sent: Friday, December 15, 2017 10:31
To: Haiyue Wang <haiyue.w...@linux.intel.com>;
openipmi-develo...@lists.sourceforge.net; linux-kernel@vger.kernel.org; Cédric
Le Goater <c...@kaod.org>; Jeremy Kerr <j...@ozlabs.org>; Joel Stanley
<j...@jms.id.au>;
) interface is used to perform in-band
IPMI communication between a host and its BMC.
The device name defaults to '/dev/ipmi-kcsX', X=1,2,3,4.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
.../devicetree/bindings/mfd/aspeed-lpc.txt | 31 +-
drivers/char/ipmi/K
.
- haiyue
-Original Message-
From: Corey Minyard [mailto:tcminy...@gmail.com] On Behalf Of Corey Minyard
Sent: Friday, December 15, 2017 21:06
To: Haiyue Wang <haiyue.w...@linux.intel.com>;
openipmi-develo...@lists.sourceforge.net; linux-kernel@vger.kernel.org; 'Cédric
Le Goat
, the following VW
(Virtual Wire) messages are done in firmware:
1. SLAVE_BOOT_LOAD_DONE / SLAVE_BOOT_LOAD_STATUS
2. SUS_ACK
3. OOB_RESET_ACK
4. HOST_RESET_ACK
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
.../devicetree/bindings/misc/aspeed-espi-slave.txt | 20 ++
Documentatio
and this driver
implements the BMC side of the KCS interface.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
.../devicetree/bindings/ipmi/aspeed-kcs-bmc.txt| 26 +
drivers/char/ipmi/Kconfig | 9 +
drivers/char/ipmi/Makefile
and this driver
implements the BMC side of the KCS interface.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
.../devicetree/bindings/ipmi/aspeed-kcs-bmc.txt| 26 ++
drivers/char/ipmi/Kconfig | 12 +
drivers/char/ipmi/Ma
+ kcs_bmc->data_in = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL);
+ kcs_bmc->data_out = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL);
+ kcs_bmc->kbuffer = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL);
+ if (!kcs_bmc->data_in || !kcs_bmc->data_out || !kcs_bm
and this driver
implements the BMC side of the KCS interface.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
.../devicetree/bindings/ipmi/aspeed-kcs-bmc.txt| 26 ++
drivers/char/ipmi/Kconfig | 12 +
drivers/char/ipmi/Ma
r the KCS (Keyboard Controller Style)
IPMI interface which meets the requirement of the BMC (Baseboard
Management Controllers) side for handling the IPMI request from
host system software.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
drivers/char/ipmi/Kconfig | 8 +
dr
which meets the requirement of the BMC (Baseboard
Management Controllers) side for handling the IPMI request from
host system software.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
drivers/char/ipmi/Kconfig | 8 +
drivers/char/ipmi/Makefile| 1 +
drivers/char/ip
and this driver
implements the BMC side of the KCS interface.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
.../devicetree/bindings/ipmi/aspeed-kcs-bmc.txt| 26 ++
drivers/char/ipmi/Kconfig | 12 +
drivers/char/ipmi/Ma
for 'SPDX-License-Identifier'.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
v2 -> v3:
- Make the commit message be more understandable.
v1 -> v2:
- Add 'SPDX-License-Identifier' style for header files modification.
---
drivers/char/ipmi/kcs_bmc.c
for 'SPDX-License-Identifier'.
Correct the header file's macro defination end comment which is old file
name.
Remove the space between the comment words and colon by referring other
modules.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
v3 -> v4:
- Correct the header fil
. Change the 'unsigned int' to '__poll_t' to meet the new 'poll'
definition.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
drivers/char/ipmi/kcs_bmc.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/char/ipmi/kcs_bmc.c b/d
int' to '__poll_t' to meet the new 'poll'
definition.
4. Correct the 'SPDX-License-Identifier' style for header files.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
drivers/char/ipmi/kcs_bmc.c| 32 +---
drivers/char/ipmi/kcs_bmc.h| 6 --
, the following VW
(Virtual Wire) messages are done in firmware:
1. SLAVE_BOOT_LOAD_DONE / SLAVE_BOOT_LOAD_STATUS
2. SUS_ACK
3. OOB_RESET_ACK
4. HOST_RESET_ACK
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
v1 -> v2:
- Fix the checkpatch.pl warning in file espi-slave.rst
, the following VW
(Virtual Wire) messages are done in firmware:
1. SLAVE_BOOT_LOAD_DONE / SLAVE_BOOT_LOAD_STATUS
2. SUS_ACK
3. OOB_RESET_ACK
4. HOST_RESET_ACK
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
v2 -> v3:
- Remove the unused header file reference.
- Change some c
, the following VW
(Virtual Wire) messages are done in firmware:
1. SLAVE_BOOT_LOAD_DONE / SLAVE_BOOT_LOAD_STATUS
2. SUS_ACK
3. OOB_RESET_ACK
4. HOST_RESET_ACK
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
.../devicetree/bindings/misc/aspeed-espi-slave.txt | 20 ++
Documentatio
and this driver
implements the BMC side of the KCS interface.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
v1->v2
- Divide the driver into two parts, one handles the BMC KCS IPMI 2.0 state;
the other handles the BMC KCS controller such as AST2500 IO accessing.
- Use
The IPMI KCS device part of the LPC interface and is used for
communication with the host processor.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
arch/arm/boot/dts/aspeed-g5.dtsi | 43 +++-
1 file changed, 42 insertions(+), 1 deletion(-)
Allocate a continuous memory block for the three KCS data buffers with
related index assignment.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
drivers/char/ipmi/kcs_bmc.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/char/ipmi/kcs_b
slave mode.
This new slave mqueue backend is used to receive and queue messages, it
will exposes these messages to userspace by sysfs bin file.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
v4 -> v5:
- Typo: bellowing -> the below
v3 -> v4:
- Drop the smal
slave mode.
This new slave mqueue backend is used to receive and queue messages, it
will exposes these messages to userspace by sysfs bin file.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
v2 -> v3:
- Just remove the ';' after the end '}' of i2c_slave_mqueue_probe().
slave mode.
This new slave mqueue backend is used to receive and queue messages, it
will exposes these messages to userspace by sysfs bin file.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
v3 -> v4:
- Drop the small message after receiving I2C STOP.
v2 -> v3:
-
– 0CA3h | kcs3|
SMM Interface | SMI handling | 0CA4h – 0CA5h | kcs4|
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
The kcs_bmc_aspeed driver is in linux-next now:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/cha
and its BMC.
Signed-off-by: Avi Fishman <avifishma...@gmail.com>
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
.../devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt | 39
drivers/char/ipmi/Kconfig | 15 ++
drivers/char/i
slave mode.
This new slave mqueue backend is used to receive and queue messages, it
will exposes these messages to userspace by sysfs bin file.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
Documentation/i2c/slave-mqueue-backend.rst | 125 ++
drivers/i2c/K
slave mode.
This new slave mqueue backend is used to receive and queue messages, it
will exposes these messages to userspace by sysfs bin file.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
v1 -> v2:
- Change MQ_MSGBUF_SIZE and MQ_QUEUE_SIZE to be configurable b
The IPMI KCS device part of the LPC interface and is used for
communication with the host processor.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
Hi Joel & Andrew,
The kcs-bmc-aspeed module has been in:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-nex
Many for coding-style fixes, and update the poll API with the new
type '__poll_t', this is new commit from linux-4.16-rc1.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
v4 -> v5:
- Simplify the commit title and message.
- Change the 'MODULE_DEVICE_TABLE' position.
Many for coding-style fixes, and update the poll API with the new
type '__poll_t', this is new commit from linux-4.16-rc1.
Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com>
---
v5 -> v6:
- Add the missed change to EPOLLIN.
v4 -> v5:
- Simplify the commit title and messag
Allocate a continuous memory block for the three KCS data buffers with
related index assignment.
Signed-off-by: Haiyue Wang
---
drivers/char/ipmi/kcs_bmc.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/char/ipmi/kcs_bmc.c b/drivers/char/ipmi/kcs_bmc.c
and its BMC.
Signed-off-by: Avi Fishman
Signed-off-by: Haiyue Wang
---
.../devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt | 39
drivers/char/ipmi/Kconfig | 15 ++
drivers/char/ipmi/Makefile | 1 +
drivers/char/ipmi/kcs_bmc_npcm7xx.c
slave mode.
This new slave mqueue backend is used to receive and queue messages, it
will exposes these messages to userspace by sysfs bin file.
Signed-off-by: Haiyue Wang
---
v1 -> v2:
- Change MQ_MSGBUF_SIZE and MQ_QUEUE_SIZE to be configurable by Kconfig.
---
Documentation/i2c/slave-mqu
slave mode.
This new slave mqueue backend is used to receive and queue messages, it
will exposes these messages to userspace by sysfs bin file.
Signed-off-by: Haiyue Wang
---
v2 -> v3:
- Just remove the ';' after the end '}' of i2c_slave_mqueue_probe().
v1 -> v2:
- Change MQ_MSGBU
slave mode.
This new slave mqueue backend is used to receive and queue messages, it
will exposes these messages to userspace by sysfs bin file.
Signed-off-by: Haiyue Wang
---
Documentation/i2c/slave-mqueue-backend.rst | 125 ++
drivers/i2c/Kconfig| 13
for 'SPDX-License-Identifier'.
Signed-off-by: Haiyue Wang
---
v2 -> v3:
- Make the commit message be more understandable.
v1 -> v2:
- Add 'SPDX-License-Identifier' style for header files modification.
---
drivers/char/ipmi/kcs_bmc.c| 32 +---
drivers/cha
for 'SPDX-License-Identifier'.
Correct the header file's macro defination end comment which is old file
name.
Remove the space between the comment words and colon by referring other
modules.
Signed-off-by: Haiyue Wang
---
v3 -> v4:
- Correct the header file's macro defination end comment wh
(Keyboard Controller Style) interface is used to perform in-band
IPMI communication between a host and its BMC.
The device name defaults to '/dev/ipmi-kcsX', X=1,2,3,4.
Signed-off-by: Haiyue Wang
---
.../devicetree/bindings/mfd/aspeed-lpc.txt | 31 +-
drivers/char/ipmi/Kconfig
Of Corey Minyard
Sent: Friday, December 15, 2017 10:31
To: Haiyue Wang ;
openipmi-develo...@lists.sourceforge.net; linux-kernel@vger.kernel.org; Cédric
Le Goater ; Jeremy Kerr ; Joel Stanley
; Andrew Jeffery
Subject: Re: [PATCH linux ipmi for BMC] ipmi: add an Aspeed KCS IPMI BMC driver
O
) interface is used to perform in-band
IPMI communication between a host and its BMC.
The device name defaults to '/dev/ipmi-kcsX', X=1,2,3,4.
Signed-off-by: Haiyue Wang
---
.../devicetree/bindings/mfd/aspeed-lpc.txt | 31 +-
drivers/char/ipmi/Kconfig | 9
.
- haiyue
-Original Message-
From: Corey Minyard [mailto:tcminy...@gmail.com] On Behalf Of Corey Minyard
Sent: Friday, December 15, 2017 21:06
To: Haiyue Wang ;
openipmi-develo...@lists.sourceforge.net; linux-kernel@vger.kernel.org; 'Cédric
Le Goater' ; 'Jeremy Kerr' ; 'Joel Stanley
, the following VW
(Virtual Wire) messages are done in firmware:
1. SLAVE_BOOT_LOAD_DONE / SLAVE_BOOT_LOAD_STATUS
2. SUS_ACK
3. OOB_RESET_ACK
4. HOST_RESET_ACK
Signed-off-by: Haiyue Wang
---
.../devicetree/bindings/misc/aspeed-espi-slave.txt | 20 ++
Documentation/misc-devices/espi-slave.rst
slave mode.
This new slave mqueue backend is used to receive and queue messages, it
will exposes these messages to userspace by sysfs bin file.
Signed-off-by: Haiyue Wang
---
v4 -> v5:
- Typo: bellowing -> the below
v3 -> v4:
- Drop the small message after receiving I2C STOP.
– 0CA3h | kcs3|
SMM Interface | SMI handling | 0CA4h – 0CA5h | kcs4|
Signed-off-by: Haiyue Wang
---
The kcs_bmc_aspeed driver is in linux-next now:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/char/ipmi/kcs_bmc_aspeed.c?h=next-20180329
---
arch
slave mode.
This new slave mqueue backend is used to receive and queue messages, it
will exposes these messages to userspace by sysfs bin file.
Signed-off-by: Haiyue Wang
---
v3 -> v4:
- Drop the small message after receiving I2C STOP.
v2 -> v3:
- Just remove the ';' after t
The IPMI KCS device part of the LPC interface and is used for
communication with the host processor.
Signed-off-by: Haiyue Wang
---
arch/arm/boot/dts/aspeed-g5.dtsi | 43 +++-
1 file changed, 42 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts
, the following VW
(Virtual Wire) messages are done in firmware:
1. SLAVE_BOOT_LOAD_DONE / SLAVE_BOOT_LOAD_STATUS
2. SUS_ACK
3. OOB_RESET_ACK
4. HOST_RESET_ACK
Signed-off-by: Haiyue Wang
---
v1 -> v2:
- Fix the checkpatch.pl warning in file espi-slave.rst
Missing or malformed SPDX-Lice
, the following VW
(Virtual Wire) messages are done in firmware:
1. SLAVE_BOOT_LOAD_DONE / SLAVE_BOOT_LOAD_STATUS
2. SUS_ACK
3. OOB_RESET_ACK
4. HOST_RESET_ACK
Signed-off-by: Haiyue Wang
---
v2 -> v3:
- Remove the unused header file reference.
- Change some code lines sequence.
v1 -> v2:
r the KCS (Keyboard Controller Style)
IPMI interface which meets the requirement of the BMC (Baseboard
Management Controllers) side for handling the IPMI request from
host system software.
Signed-off-by: Haiyue Wang
---
drivers/char/ipmi/Kconfig | 8 +
drivers/char/ipmi/Makefile| 1 +
and this driver
implements the BMC side of the KCS interface.
Signed-off-by: Haiyue Wang
---
.../devicetree/bindings/ipmi/aspeed-kcs-bmc.txt| 26 ++
drivers/char/ipmi/Kconfig | 12 +
drivers/char/ipmi/Makefile | 1 +
drivers/char/ipmi
data_in = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL);
+ kcs_bmc->data_out = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL);
+ kcs_bmc->kbuffer = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL);
+ if (!kcs_bmc->data_in || !kcs_bmc->data_out || !kcs_bmc->kbuffer)
+ return
and this driver
implements the BMC side of the KCS interface.
Signed-off-by: Haiyue Wang
---
.../devicetree/bindings/ipmi/aspeed-kcs-bmc.txt| 26 ++
drivers/char/ipmi/Kconfig | 12 +
drivers/char/ipmi/Makefile | 1 +
drivers/char/ipmi
The IPMI KCS device part of the LPC interface and is used for
communication with the host processor.
Signed-off-by: Haiyue Wang
---
Hi Joel & Andrew,
The kcs-bmc-aspeed module has been in:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/char/
Many for coding-style fixes, and update the poll API with the new
type '__poll_t', this is new commit from linux-4.16-rc1.
Signed-off-by: Haiyue Wang
---
v4 -> v5:
- Simplify the commit title and message.
- Change the 'MODULE_DEVICE_TABLE' position.
v3 -> v4:
- Correct the header
Many for coding-style fixes, and update the poll API with the new
type '__poll_t', this is new commit from linux-4.16-rc1.
Signed-off-by: Haiyue Wang
---
v5 -> v6:
- Add the missed change to EPOLLIN.
v4 -> v5:
- Simplify the commit title and message.
- Change the 'MODULE_DEVICE
. Change the 'unsigned int' to '__poll_t' to meet the new 'poll'
definition.
Signed-off-by: Haiyue Wang
---
drivers/char/ipmi/kcs_bmc.c | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/char/ipmi/kcs_bmc.c b/drivers/char/ipmi/kcs_bmc.c
index
int' to '__poll_t' to meet the new 'poll'
definition.
4. Correct the 'SPDX-License-Identifier' style for header files.
Signed-off-by: Haiyue Wang
---
drivers/char/ipmi/kcs_bmc.c| 32 +---
drivers/char/ipmi/kcs_bmc.h| 6 --
drivers/char/ipmi/kcs_bmc_aspee
On 12/21/2020 13:56, Chia-Wei, Wang wrote:
Add check against LPC device v2 compatible string to
ensure that the fixed device tree layout is adopted.
The LPC register offsets are also fixed accordingly.
Signed-off-by: Chia-Wei, Wang
---
drivers/char/ipmi/kcs_bmc_aspeed.c | 35
On 12/21/2020 15:53, Haiyue Wang wrote:
On 12/21/2020 13:56, Chia-Wei, Wang wrote:
Add check against LPC device v2 compatible string to
ensure that the fixed device tree layout is adopted.
The LPC register offsets are also fixed accordingly.
Signed-off-by: Chia-Wei, Wang
---
drivers/char
---
1 file changed, 16 insertions(+), 11 deletions(-)
Acked-by: Haiyue Wang
and this driver
implements the BMC side of the KCS interface.
Signed-off-by: Haiyue Wang
---
v1->v2
- Divide the driver into two parts, one handles the BMC KCS IPMI 2.0 state;
the other handles the BMC KCS controller such as AST2500 IO accessing.
- Use the spin lock APIs to handle the dev
which meets the requirement of the BMC (Baseboard
Management Controllers) side for handling the IPMI request from
host system software.
Signed-off-by: Haiyue Wang
---
drivers/char/ipmi/Kconfig | 8 +
drivers/char/ipmi/Makefile| 1 +
drivers/char/ipmi/kcs_bmc.c
and this driver
implements the BMC side of the KCS interface.
Signed-off-by: Haiyue Wang
---
.../devicetree/bindings/ipmi/aspeed-kcs-bmc.txt| 26 ++
drivers/char/ipmi/Kconfig | 12 +
drivers/char/ipmi/Makefile | 1 +
drivers/char/ipmi
and this driver
implements the BMC side of the KCS interface.
Signed-off-by: Haiyue Wang
---
.../devicetree/bindings/ipmi/aspeed-kcs-bmc.txt| 26 +
drivers/char/ipmi/Kconfig | 9 +
drivers/char/ipmi/Makefile | 1 +
drivers/char/ipmi/kcs
, the following VW
(Virtual Wire) messages are done in firmware:
1. SLAVE_BOOT_LOAD_DONE / SLAVE_BOOT_LOAD_STATUS
2. SUS_ACK
3. OOB_RESET_ACK
4. HOST_RESET_ACK
Signed-off-by: Haiyue Wang
---
.../devicetree/bindings/misc/aspeed-espi-slave.txt | 20 ++
Documentation/misc-devices/espi-slave.rst
67 matches
Mail list logo