svn commit: r314662 - stable/10/sys/x86/x86

Andriy Gapon avg at FreeBSD.org
Sat Mar 4 12:04:26 UTC 2017


Author: avg
Date: Sat Mar  4 12:04:24 2017
New Revision: 314662
URL: https://svnweb.freebsd.org/changeset/base/314662

Log:
  MFC r314357: edge-triggered interrupt mode is set by clearing APIC_LVT_TM

Modified:
  stable/10/sys/x86/x86/local_apic.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/x86/x86/local_apic.c
==============================================================================
--- stable/10/sys/x86/x86/local_apic.c	Sat Mar  4 12:04:19 2017	(r314661)
+++ stable/10/sys/x86/x86/local_apic.c	Sat Mar  4 12:04:24 2017	(r314662)
@@ -206,7 +206,7 @@ lvt_mode(struct lapic *la, u_int pin, ui
 		if (!lvt->lvt_edgetrigger) {
 			printf("lapic%u: Forcing LINT%u to edge trigger\n",
 			    la->la_id, pin);
-			value |= APIC_LVT_TM;
+			value &= ~APIC_LVT_TM;
 		}
 		/* Use a vector of 0. */
 		break;


More information about the svn-src-stable mailing list