mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
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: Chong Qiao <[email protected]> Signed-off-by: Chong Qiao <[email protected]> Reviewed-by: Huacai Chen <[email protected]> Acked-by: Corey Minyard <[email protected]> Signed-off-by: Binbin Zhou <[email protected]> Message-ID: <8f9ffb6f0405345af8f04193ce1510aacd075e72.1756987761.git.zhoubinbin@loongson.cn> Signed-off-by: Corey Minyard <[email protected]>