OSDN Git Service

Staging: hv: vmbus: Do not enable auto eoi
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 27 Aug 2011 18:31:37 +0000 (11:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 29 Aug 2011 18:06:59 +0000 (11:06 -0700)
Linux interrupt handling code generates the eoi; don't enable auto eoi.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hv.c

index 736794e..06f1e15 100644 (file)
@@ -369,7 +369,7 @@ void hv_synic_init(void *irqarg)
        shared_sint.as_uint64 = 0;
        shared_sint.vector = irq_vector; /* HV_SHARED_SINT_IDT_VECTOR + 0x20; */
        shared_sint.masked = false;
-       shared_sint.auto_eoi = true;
+       shared_sint.auto_eoi = false;
 
        wrmsrl(HV_X64_MSR_SINT0 + VMBUS_MESSAGE_SINT, shared_sint.as_uint64);