Commit c1d32ce4 authored by Devyn Liu's avatar Devyn Liu Committed by shiyongbang
Browse files

ipmi: Errata workaround to prevent SMS message processing timeout

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8BW7F


CVE: NA

--------------------------------------------------------------------------

Add erratum 162102203 for HIP09. Add erratum 162102203 kconfig to enable
workaround for SMS message processing timeout

Add a workaround method to prevent bridge commands from timeout. Because
SMS_ATN bit will be cleared by specific CPU hardware before it is
driven to process.

sms_atn_quirk: Identify whether the SMS_ATN flag needs to be
stored and do workaround operations.

sms_atn_flag: This variable is used to store SMS_ATN when the driver
polling enters the bt_event until the IDLE state is reached.Then
reset this flag when driver finished proccessing SMS message and
clear SMS_ATN bit.

Identify whether the incorrect BT_B2H_ATN is possibly due to receiving
an SMS message from BMC. If so, clear B2H_ATN. Prevents SMS_ATN from
being discarded after processing drain stale response.

Signed-off-by: default avatarDevyn Liu <liudingyuan@huawei.com>
parent f92fd428
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment