[Skiboot] [PATCH v3 12/13] hw/bt: Allow ipmi regular intervals

Deb McLemore debmc at linux.ibm.com
Tue Jan 7 06:21:47 AEDT 2020


Found during investigation of slow ipmi messages in OPAL_FLASH_READ/WRITE
operations.

When bt irqs are operational perform default timer scheduling.

Signed-off-by: Deb McLemore <debmc at linux.ibm.com>
---
 hw/bt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/bt.c b/hw/bt.c
index 824a1f2..72393a2 100644
--- a/hw/bt.c
+++ b/hw/bt.c
@@ -518,7 +518,7 @@ static void bt_poll(struct timer *t __unused, void *data __unused,
 	bt_send_and_unlock();
 
 	schedule_timer(&bt.poller,
-		       bt.irq_ok ? TIMER_POLL : msecs_to_tb(BT_DEFAULT_POLL_MS));
+		       bt.irq_ok ? msecs_to_tb(BT_DEFAULT_POLL_MS) : TIMER_POLL);
 }
 
 static void bt_ipmi_poll(void)
-- 
1.8.3.1



More information about the Skiboot mailing list