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

Deb McLemore debmc at linux.ibm.com
Tue Nov 5 00:29:48 AEDT 2019


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)
-- 
2.7.4



More information about the Skiboot mailing list