All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Improvements to x86 boot code
@ 2014-04-25 19:50 Andrew Cooper
  2014-04-25 19:50 ` [PATCH 1/4] x86/boot: Remove high_start and ret_point Andrew Cooper
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Andrew Cooper @ 2014-04-25 19:50 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper, Keir Fraser, Jan Beulich

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 completely removes pointless data which was in .init.text
Patch 2 moves some data from .init.text to .init.data
Patch 3 moves some code and data from .text to .init.text and .init.data
Patch 4 adds hlt instructions to terminal loops

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Keir Fraser <keir@xen.org>
CC: Jan Beulich <JBeulich@suse.com>

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-04-28 10:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-25 19:50 [PATCH 0/4] Improvements to x86 boot code Andrew Cooper
2014-04-25 19:50 ` [PATCH 1/4] x86/boot: Remove high_start and ret_point Andrew Cooper
2014-04-25 19:50 ` [PATCH 2/4] x86/boot: Early data should live in init.data Andrew Cooper
2014-04-28 10:08   ` Jan Beulich
2014-04-28 10:16     ` Andrew Cooper
2014-04-28 10:37       ` Jan Beulich
2014-04-28 10:41         ` Andrew Cooper
2014-04-25 19:50 ` [PATCH 3/4] x86/boot: Move some __high_start code and data into init sections Andrew Cooper
2014-04-28 10:12   ` Jan Beulich
2014-04-28 10:16     ` Andrew Cooper
2014-04-25 19:50 ` [PATCH 4/4] x86/boot: Use 'hlt' inside terminal loops Andrew Cooper
2014-04-28 10:14   ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.