Re: [Openipmi-developer] [PATCH linux ipmi for BMC] ipmi: add an Aspeed KCS IPMI BMC driver

2017-12-15 Thread Haiyue Wang
. - 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-developer@lists.sourceforge.net; linux-ker...@vger.kernel.org; 'Cédric Le Goat

[Openipmi-developer] [PATCH linux dev-4.10 1/2] ipmi: add an Aspeed KCS IPMI BMC driver

2017-12-10 Thread Haiyue Wang
) 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

[Openipmi-developer] [PATCH linux dev-4.10 2/2] ipmi: add the KCS nodes into AST2500 device tree

2017-12-10 Thread Haiyue Wang
Add kcs1, kcs2, kcs3 into mfd node 'lpc-bmc@0', and add kcs4 into mfd node 'lpc-host@80'. Signed-off-by: Haiyue Wang <haiyue.w...@linux.intel.com> --- arch/arm/boot/dts/aspeed-g5.dtsi | 42 1 file changed, 38 insertions(+), 4 deletions(-) diff

[Openipmi-developer] [PATCH v2] ipmi: kcs_bmc: fix IRQ exception if the channel is not open

2018-06-23 Thread Haiyue Wang
f the IBF is set, after handling, return 0 to low level IRQ handler to indicate that the IRQ is handled. Signed-off-by: Haiyue Wang --- v1 -> v2: - Change the commit message to be more understandable. --- drivers/char/ipmi/kcs_bmc.c | 31 ++- 1 file changed, 1

[Openipmi-developer] [PATCH arm/aspeed/ast2500 v4 1/2] ipmi: add a KCS IPMI BMC driver

2018-02-01 Thread Haiyue Wang
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

[Openipmi-developer] [PATCH arm/aspeed/ast2500 v4 2/2] ipmi: add an Aspeed KCS IPMI BMC driver

2018-02-01 Thread Haiyue Wang
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

[Openipmi-developer] [PATCH arm/aspeed/ast2500 v5 2/2] ipmi: add an Aspeed KCS IPMI BMC driver

2018-02-01 Thread Haiyue Wang
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

[Openipmi-developer] [PATCH arm/aspeed/ast2500 v3 2/2] ipmi: add an Aspeed KCS IPMI BMC driver

2018-02-01 Thread Haiyue Wang
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

[Openipmi-developer] [PATCH ipmi/kcs_bmc v4] ipmi: kcs_bmc: make the code be more clean

2018-02-21 Thread Haiyue Wang
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

[Openipmi-developer] [PATCH ipmi/kcs_bmc v1] ipmi: kcs_bmc: make the code be more clean

2018-02-19 Thread Haiyue Wang
. 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

[Openipmi-developer] [PATCH ] ipmi: kcs_bmc: fix IRQ exception if the channel is not open

2018-06-21 Thread Haiyue Wang
init) from [] (start_kernel+0x388/0x394) [] (start_kernel) from [<807c>] (0x807c) handlers: [] npcm7xx_kcs_irq Disabling IRQ #30 Signed-off-by: Haiyue Wang --- Hi Corey, This patch looks introducing BIG modification, it should be easily understandable, and makes code clean & fix an

[Openipmi-developer] [PATCH arm/aspeed/ast2500 v2] ipmi: add an Aspeed KCS IPMI BMC driver

2018-01-24 Thread Haiyue Wang
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

[Openipmi-developer] [PATCH ipmi/kcs_bmc v1] ipmi: kcs_bmc: optimize the data buffers allocation

2018-03-15 Thread Haiyue Wang
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

[Openipmi-developer] [PATCH ipmi/kcs_bmc v2] ipmi: kcs_bmc: make the code be more clean

2018-02-27 Thread Haiyue Wang
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 --