]> www.infradead.org Git - users/willy/linux.git/commit
ipmi: Fix SSIF flag requests
authorCorey Minyard <cminyard@mvista.com>
Mon, 22 Oct 2018 20:30:57 +0000 (15:30 -0500)
committerCorey Minyard <cminyard@mvista.com>
Mon, 5 Nov 2018 12:53:14 +0000 (06:53 -0600)
commit4a0e5ed75f99dda73e75e266b71d2296fcf7511a
tree62ace2a3c29ea96625862b96eeb3de8014b701d0
parent01aa9d518eae8a4d75cd3049defc6ed0b6d0a658
ipmi: Fix SSIF flag requests

Commit 89986496de141 ("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: Kamlakant Patel <Kamlakant.Patel@cavium.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Tested-by: Kamlakant Patel <kamlakant.patel@cavium.com>
drivers/char/ipmi/ipmi_ssif.c