Gleb Natapov dd17765b5f reduce number of reinjects on ACK
Windows 7 BSODs under load with HAL_RTC_IRQF_WILL_NOT_CLEAR error.

It happens here:
hal!HalpRtcUnmaskClock:
8281b93a 8bff            mov     edi,edi
8281b93c 56              push    esi
8281b93d 33f6            xor     esi,esi
8281b93f 6a0c            push    0Ch
8281b941 e8b2ffffff      call    hal!CMOS_READ (8281b8f8)
8281b946 84c0            test    al,al
8281b948 7920            jns     hal!HalpRtcUnmaskClock+0x30 (8281b96a)
8281b94a 6a0a            push    0Ah
8281b94c 46              inc     esi
8281b94d e854c8ffff      call    hal!KeStallExecutionProcessor (828181a6)
8281b952 83fe64          cmp     esi,64h
8281b955 72e8            jb      hal!HalpRtcUnmaskClock+0x5 (8281b93f)
8281b957 6a00            push    0
8281b959 6a00            push    0
8281b95b 6a00            push    0
8281b95d 680a010000      push    10Ah
8281b962 6a5c            push    5Ch
8281b964 ff1500c38082    call    dword ptr [hal!_imp__KeBugCheckEx (8280c300)]
8281b96a 5e              pop     esi
8281b96b c3              ret

So it loops for 100(64h) times reading register C before BSOD. Lets
reduce number of immediate reinjection well under this limit.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-01-20 08:51:41 -06:00
..
2010-01-19 16:31:04 -06:00
2009-11-19 16:45:21 +00:00
2009-12-23 16:35:00 +02:00
2009-12-23 16:35:00 +02:00
2009-10-01 16:12:16 -05:00
2009-11-19 16:45:21 +00:00
2009-11-19 16:45:21 +00:00
2009-11-19 16:45:21 +00:00
2009-05-08 02:35:15 +01:00
2009-11-13 04:04:18 +00:00
2009-10-01 16:12:16 -05:00
2009-11-19 16:45:21 +00:00
2009-10-07 08:54:54 -05:00
2009-05-12 12:33:04 +01:00
2009-12-02 08:57:42 -06:00
2009-11-22 21:27:40 +00:00
2009-11-22 21:27:40 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-02 08:57:42 -06:00
2009-10-01 16:12:16 -05:00
2009-11-09 08:43:03 -06:00
2009-10-27 12:28:41 -05:00
2009-11-16 17:06:43 +00:00
2009-10-01 16:12:16 -05:00
2009-11-22 21:27:40 +00:00
2009-10-01 16:12:16 -05:00
2009-05-10 01:44:56 +01:00
2010-01-19 16:31:02 -06:00
2009-12-04 20:44:44 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-01-16 09:06:34 +00:00
2009-12-03 09:41:36 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-03 09:41:32 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-12 09:42:31 -05:00
2009-10-01 16:12:16 -05:00
2009-12-18 11:26:33 -06:00
2009-10-05 09:32:49 -05:00
2009-03-28 16:17:50 +00:00
2009-10-01 16:12:16 -05:00
2004-11-07 18:04:02 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-01-11 13:41:00 -06:00
2009-12-18 11:26:34 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-09-10 19:48:00 +04:00
2009-12-02 17:26:19 +01:00
2009-10-05 09:32:39 -05:00
2009-09-11 11:10:06 -05:00
2009-10-01 16:12:16 -05:00
2009-10-07 08:54:54 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-21 15:06:59 +00:00
2010-01-11 13:41:00 -06:00
2010-01-11 13:41:00 -06:00
2009-11-22 21:27:40 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-05-10 01:44:56 +01:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-03 09:41:32 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2007-11-17 17:14:51 +00:00
2009-11-09 08:43:03 -06:00
2009-11-14 01:11:27 +01:00
2009-11-15 23:04:20 +01:00
2009-10-01 16:12:16 -05:00
2009-12-03 09:41:33 -06:00
2009-11-19 16:45:21 +00:00
2009-12-23 16:35:00 +02:00
2009-09-11 10:19:48 -05:00
2009-09-11 10:19:48 -05:00
2009-10-01 16:12:16 -05:00
2009-12-03 09:41:33 -06:00
2010-01-15 00:06:16 +01:00
2009-12-04 20:44:44 +00:00
2009-12-03 09:41:31 -06:00
2009-12-02 08:57:42 -06:00
2009-10-01 16:12:16 -05:00
2009-11-22 21:27:40 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-19 16:04:52 +01:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-01-10 20:54:38 +00:00
2009-12-23 16:35:00 +02:00
2010-01-11 13:41:00 -06:00
2009-12-04 20:44:44 +00:00
2009-12-03 09:41:31 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-21 16:03:03 +01:00
2009-10-01 16:12:16 -05:00
2009-12-21 16:03:03 +01:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-21 16:03:03 +01:00
2009-12-21 16:03:03 +01:00
2009-10-01 16:12:16 -05:00
2009-11-13 04:04:18 +00:00
2008-12-13 09:32:43 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-05 09:32:38 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-01-11 13:40:59 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-21 20:19:12 +00:00
2009-12-03 09:41:40 -06:00
2010-01-19 16:31:04 -06:00
2009-12-03 09:41:38 -06:00
2009-12-18 23:23:56 +01:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-01-14 16:15:50 +01:00
2009-09-20 14:58:02 +00:00
2009-12-03 09:41:33 -06:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-07 08:54:54 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-07 08:54:54 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-12-04 20:44:44 +00:00
2009-12-18 23:23:56 +01:00
2009-12-18 23:23:56 +01:00
2010-01-19 16:31:04 -06:00
2010-01-19 16:31:04 -06:00
2009-12-18 11:26:28 -06:00
2009-10-27 12:28:55 -05:00
2010-01-13 17:14:15 -06:00
2009-09-12 07:36:22 +00:00
2009-09-20 08:02:28 +00:00
2009-12-02 08:57:43 -06:00
2009-04-23 18:29:47 +00:00
2009-10-01 16:12:16 -05:00
2009-12-03 09:41:34 -06:00
2009-06-13 16:18:31 +03:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00