Commit e811aad0 authored by Corey Minyard's avatar Corey Minyard Committed by Xie XiuQi
Browse files

ipmi: Fix SSIF flag requests



mainline inclusion
from mainline-5.0
commit a1466ec5
category: bugfix
bugzilla: 11927
CVE: NA

-------------------------------------------------
Commit 89986496 ("ipmi: Turn off all activity on an idle ipmi
interface") modified the IPMI code to only request events when the
driver had somethine waiting for events.  The SSIF code, however,
was using the event fetch request to also fetch the flags.

Add a timer and the proper handling for the upper layer telling
whether flags fetches are required.

Reported-by: default avatarKamlakant Patel <Kamlakant.Patel@cavium.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
Tested-by: default avatarKamlakant Patel <kamlakant.patel@cavium.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarXuefeng <Wang&lt;wxf.wang@hisilicon.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 69a14ecc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment