From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm: bios: Put AP boot up code to 0x1000 Date: Thu, 14 Aug 2008 09:08:38 +0300 Message-ID: <48A3CBE6.9010007@qumranet.com> References: <200807311043.20880.sheng.yang@intel.com> <200808010919.00663.sheng.yang@intel.com> <033901c8f4d6$5b972570$0201a8c0@zeug> <200808051614.33138.sheng.yang@intel.com> <02a901c8f80f$940da820$0201a8c0@zeug> <489E9DAC.3030400@qumranet.com> <049b01c8fd98$90b27550$0201a8c0@zeug> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "Yang, Sheng" , kvm@vger.kernel.org To: Sebastian Herbszt Return-path: Received: from il.qumranet.com ([212.179.150.194]:20079 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbYHNGIh (ORCPT ); Thu, 14 Aug 2008 02:08:37 -0400 In-Reply-To: <049b01c8fd98$90b27550$0201a8c0@zeug> Sender: kvm-owner@vger.kernel.org List-ID: Sebastian Herbszt wrote: > Avi Kivity wrote: >>> >>> The AP enters HALT state with IF=0. What can make it resume at the >>> following "jmp 1b"? NMI? SMI? >>> >> >> Yes, but also INIT. > > Are you sure the AP will continue after the hlt instruction on INIT? > I think it will start to execute code from the reset vector (0xfffffff0). > I think an AP will actually wait for SIPI after INIT. I misread the question. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.