---
1 file changed, 16 insertions(+), 11 deletions(-)
Acked-by: Haiyue Wang
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
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 +
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.
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 ';' afte
– 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
---
v2 -> v3:
- Just remove the ';' after the end '}' of i2c_slave_mqueue_probe().
v1 -> v2:
-
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
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
---
Documentation/i2c/slave-mqueue-backend.rst | 125 ++
drivers/i2c/Kconfig| 13
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
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 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
---
v5 -> v6:
- Add the missed change to EPOLLIN.
v4 -> v5:
- Simplify the commit title and message.
- Change the
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:
-
, 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:
, 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
;s comment style 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
mment style 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 ++
uct file *filp'.
3. Change the 'unsigned 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 +--
arameter has 'struct file *filp'.
3. 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(-)
d
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
t;ipmi-kcs%u", channel);
+
+ spin_lock_init(&kcs_bmc->lock);
+ kcs_bmc->channel = channel;
+
+ mutex_init(&kcs_bmc->mutex);
+ init_waitqueue_head(&kcs_bmc->queue);
+
+ kcs_bmc->data_in = devm_kmalloc(dev, KCS_MSG_BUFSIZ, GFP_KERNEL);
+ kcs_bm
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
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 +
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
---
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
, 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
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
.
- 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
) 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
rey Minyard [mailto:tcminy...@gmail.com] On Behalf 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 f
(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/ip
35 matches
Mail list logo