提交 b0506f4c 编写于 作者: D Dean Luick 提交者: Doug Ledford

IB/hfi1: Reduce hardware mutex timeout

The hardware mutex is now held only long enough to set
or clear flags.  Reduce the timeout to something more
reasonable.
Reviewed-by: NMitko Haralanov <mitko.haralanov@intel.com>
Reviewed-by: NEaswar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: NDean Luick <dean.luick@intel.com>
Signed-off-by: NJubin John <jubin.john@intel.com>
Signed-off-by: NDoug Ledford <dledford@redhat.com>
上级 7a8f28ca
...@@ -198,7 +198,7 @@ static const struct firmware *platform_config; ...@@ -198,7 +198,7 @@ static const struct firmware *platform_config;
#define RSA_ENGINE_TIMEOUT 100 /* ms */ #define RSA_ENGINE_TIMEOUT 100 /* ms */
/* hardware mutex timeout, in ms */ /* hardware mutex timeout, in ms */
#define HM_TIMEOUT 4000 /* 4 s */ #define HM_TIMEOUT 10 /* ms */
/* 8051 memory access timeout, in us */ /* 8051 memory access timeout, in us */
#define DC8051_ACCESS_TIMEOUT 100 /* us */ #define DC8051_ACCESS_TIMEOUT 100 /* us */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册