From: "Jan Beulich" Subject: Re: [PATCH 3/4] x86/boot: Move some __high_start code and data into init sections Date: Mon, 28 Apr 2014 11:12:37 +0100 Message-ID: <535E45B5020000780000CD1D@nat28.tlf.novell.com> References: <1398455459-8431-1-git-send-email-andrew.cooper3@citrix.com> <1398455459-8431-4-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398455459-8431-4-git-send-email-andrew.cooper3@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Keir Fraser , Xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 25.04.14 at 21:50, wrote: > Half of __high_start is strictly for the BSP and will only be run once on > boot. To complement 'start_secondary', create 'start_bsp' and move it into > the init.code section. > > The interrupt handler 'ingore_int' is patched into the BSPs IDT, but fully > replaced with real handlers early during boot. The BSPs IDT is used by APs > until midway through start_secondary, but after the real handlers have been > installed. Therefore, 'ignore_int' can move to init.code. Furthermore, its s/init[.]code/.init.text/ twice. > strings can move to init.data. .init.rodata again as well as consistent use of @progbits. Jan