From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: [PATCH v2 0/3] Improvements to x86 boot code Date: Mon, 28 Apr 2014 14:06:41 +0100 Message-ID: <1398690404-9559-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: Andrew Cooper , Keir Fraser , Jan Beulich List-Id: xen-devel@lists.xenproject.org These patches are ones I have had since working on c/s 1ed76797439e "x86/boot: fix BIOS memory corruption on certain IBM systems" in the 4.4 freeze window, which required frequent reference to the disassembly. The early code uses mixed processor modes and objdump doesn't know when to change between them. It can be overridden to an appropriate mode for the boot code using -M options, but symbol tracking becomes broken. I ended up referencing the 64, 32 and 16 bit disassemblies side by side; one with correct symbols and two with correct instructions. This series was started to remove extraneous clutter from the text disassembly. Patch 1 moves some data from .init.text to .init.data Patch 2 moves some code and data from .text to .init.text and .init.data Patch 3 adds hlt instructions to terminal loops Updates in v2: * Drop original patch 1 as it is now committed * init.data -> init.rodata * Fix missing @progbits * .Lhalt label for long jump * Align gdt_boot_descr Signed-off-by: Andrew Cooper CC: Keir Fraser CC: Jan Beulich