From: "Jan Beulich" Subject: Re: [PATCH v2 10/10] x86/misc: Post cleanup Date: Fri, 16 May 2014 16:10:28 +0100 Message-ID: <5376468402000078000132FE@mail.emea.novell.com> References: <1400236782-28492-1-git-send-email-andrew.cooper3@citrix.com> <1400236782-28492-11-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: <1400236782-28492-11-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: Tim Deegan , Keir Fraser , Xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 16.05.14 at 12:39, wrote: > * panic() now works on early boot. Replace EARLY_FAIL() > * Cleanup __set_intr_gate() & friends. The master IDT is fully constructed on > early boot, and only subsequently altered on the crash path. Make them > private to traps.c, move them into .init, and remove the loop over all idts, > as __set_intr_gate() will never find an AP to patch. (For some reason, > leaving out the noinline causes ~1.5k of code bloat from GCC inlining > everything) > * No need to clear X86_EFLAGS_NT in cpu_init(). This is covered by the eflags > reset in __high_start(). > > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich