Date: Thu, 23 Feb 2012 21:54:05 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r232079 - stable/9/sys/amd64/amd64 Message-ID: <201202232154.q1NLs5Tk024918@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Thu Feb 23 21:54:04 2012 New Revision: 232079 URL: http://svn.freebsd.org/changeset/base/232079 Log: MFC: r231169 Do not EOI local APIC too early when suspending APs. Just do doreti instead of taking a shortcut. Modified: stable/9/sys/amd64/amd64/apic_vector.S Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/amd64/amd64/apic_vector.S ============================================================================== --- stable/9/sys/amd64/amd64/apic_vector.S Thu Feb 23 21:50:13 2012 (r232078) +++ stable/9/sys/amd64/amd64/apic_vector.S Thu Feb 23 21:54:04 2012 (r232079) @@ -300,13 +300,10 @@ IDTVEC(cpustop) IDTVEC(cpususpend) PUSH_FRAME + call cpususpend_handler movq lapic, %rax movl $0, LA_EOI(%rax) /* End Of Interrupt to APIC */ - - call cpususpend_handler - - POP_FRAME - jmp doreti_iret + jmp doreti /* * Executed by a CPU when it receives a RENDEZVOUS IPI from another CPU.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202232154.q1NLs5Tk024918>