Commit d46651d4 authored by Binbin Zhou's avatar Binbin Zhou Committed by Corey Minyard
Browse files

ipmi: Add Loongson-2K BMC support



This patch adds Loongson-2K BMC IPMI support.

According to the existing design, we use software simulation to
implement the KCS interface registers: Stauts/Command/Data_Out/Data_In.

Also since both host side and BMC side read and write kcs status, fifo flag
is used to ensure data consistency.

The single KCS message block is as follows:

+-------------------------------------------------------------------------+
|FIFO flags| KCS register data | CMD data | KCS version | WR REQ | WR ACK |
+-------------------------------------------------------------------------+

Co-developed-by: default avatarChong Qiao <qiaochong@loongson.cn>
Signed-off-by: default avatarChong Qiao <qiaochong@loongson.cn>
Reviewed-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
Acked-by: default avatarCorey Minyard <corey@minyard.net>
Signed-off-by: default avatarBinbin Zhou <zhoubinbin@loongson.cn>
Message-ID: <8f9ffb6f0405345af8f04193ce1510aacd075e72.1756987761.git.zhoubinbin@loongson.cn>
Signed-off-by: default avatarCorey Minyard <corey@minyard.net>
parent bc3a9d21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment