<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/boot/header.S, branch linux-3.11.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.11.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-01-30T03:32:33Z</updated>
<entry>
<title>x86, boot: Support loading bzImage, boot_params and ramdisk above 4G</title>
<updated>2013-01-30T03:32:33Z</updated>
<author>
<name>Yinghai Lu</name>
</author>
<published>2013-01-29T04:16:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ee92d815027a76ef92f3ec7b155b0c8aa345f239'/>
<id>urn:sha1:ee92d815027a76ef92f3ec7b155b0c8aa345f239</id>
<content type='text'>
xloadflags bit 1 indicates that we can load the kernel and all data
structures above 4G; it is set if kernel is relocatable and 64bit.

bootloader will check if xloadflags bit 1 is set to decide if
it could load ramdisk and kernel high above 4G.

bootloader will fill value to ext_ramdisk_image/size for high 32bits
when it load ramdisk above 4G.
kernel use get_ramdisk_image/size to use ext_ramdisk_image/size to get
right positon for ramdisk.

Signed-off-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
Cc: Rob Landley &lt;rob@landley.net&gt;
Cc: Matt Fleming &lt;matt.fleming@intel.com&gt;
Cc: Gokul Caushik &lt;caushik1@gmail.com&gt;
Cc: Josh Triplett &lt;josh@joshtriplett.org&gt;
Cc: Joe Millenbach &lt;jmillenbach@gmail.com&gt;
Link: http://lkml.kernel.org/r/1359058816-7615-26-git-send-email-yinghai@kernel.org
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>x86, boot: Define the 2.12 bzImage boot protocol</title>
<updated>2013-01-27T23:56:37Z</updated>
<author>
<name>H. Peter Anvin</name>
</author>
<published>2013-01-27T18:43:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=09c205afde70c15f20ca76ba0a57409dad175fd0'/>
<id>urn:sha1:09c205afde70c15f20ca76ba0a57409dad175fd0</id>
<content type='text'>
Define the 2.12 bzImage boot protocol: add xloadflags and additional
fields to allow the command line, initramfs and struct boot_params to
live above the 4 GiB mark.

The xloadflags now communicates if this is a 64-bit kernel with the
legacy 64-bit entry point and which of the EFI handover entry points
are supported.

Avoid adding new read flags to loadflags because of claimed
bootloaders testing the whole byte for == 1 to determine bzImageness
at least until the issue can be researched further.

This is based on patches by Yinghai Lu and David Woodhouse.

Originally-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
Originally-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
Acked-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
Acked-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
Acked-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
Link: http://lkml.kernel.org/r/1359058816-7615-26-git-send-email-yinghai@kernel.org
Cc: Rob Landley &lt;rob@landley.net&gt;
Cc: Gokul Caushik &lt;caushik1@gmail.com&gt;
Cc: Josh Triplett &lt;josh@joshtriplett.org&gt;
Cc: Joe Millenbach &lt;jmillenbach@gmail.com&gt;
</content>
</entry>
<entry>
<title>x86: remove dummy long from EFI stub</title>
<updated>2012-11-20T20:17:48Z</updated>
<author>
<name>Cesar Eduardo Barros</name>
</author>
<published>2012-10-27T22:34:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=caaa8c6339ccefee6e834c4a8b0bec7e721e7357'/>
<id>urn:sha1:caaa8c6339ccefee6e834c4a8b0bec7e721e7357</id>
<content type='text'>
Commit 2e064b1 (x86, efi: Fix issue of overlapping .reloc section for
EFI_STUB) removed a dummy reloc added by commit 291f363 (x86, efi: EFI
boot stub support), but forgot to remove the dummy long used by that
reloc.

Reviewed-by: Jordan Justen &lt;jordan.l.justen@intel.com&gt;
Tested-by: Lee G Rosenbaum &lt;lee.g.rosenbaum@intel.com&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Ingo Molnar &lt;mingo@redhat.com&gt;
Signed-off-by: Cesar Eduardo Barros &lt;cesarb@cesarb.net&gt;
Signed-off-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
</content>
</entry>
<entry>
<title>x86, boot: Remove obsolete and unused constant RAMDISK</title>
<updated>2012-08-20T18:34:48Z</updated>
<author>
<name>Paul Bolle</name>
</author>
<published>2012-08-19T17:06:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0570a365a6b8ccbfe7baa459de2b7396ddf2de90'/>
<id>urn:sha1:0570a365a6b8ccbfe7baa459de2b7396ddf2de90</id>
<content type='text'>
The named constant RAMDISK is unused. It used to set the (obsolete)
kernel boot header field ram_size, but its usage for that purpose got
dropped in commit 5e47c478b0b69bc9bc3ba544e4b1ca3268f98fef ("x86: remove
zImage support"). Now remove this constant too.

Signed-off-by: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Link: http://lkml.kernel.org/r/1345396003.1771.9.camel@x61.thuisdomein
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
<updated>2012-07-26T20:13:25Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2012-07-26T20:13:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0a2fe19ccc4bc552a8083a595a3aa737b8bea727'/>
<id>urn:sha1:0a2fe19ccc4bc552a8083a595a3aa737b8bea727</id>
<content type='text'>
Pul x86/efi changes from Ingo Molnar:
 "This tree adds an EFI bootloader handover protocol, which, once
  supported on the bootloader side, will make bootup faster and might
  result in simpler bootloaders.

  The other change activates the EFI wall clock time accessors on x86-64
  as well, instead of the legacy RTC readout."

* 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86, efi: Handover Protocol
  x86-64/efi: Use EFI to deal with platform wall clock
</content>
</entry>
<entry>
<title>Merge branches 'x86-cleanups-for-linus' and 'x86-cpufeature-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
<updated>2012-07-26T20:12:09Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2012-07-26T20:12:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1b669b72a05aeae0882742dd40f30d51732ed15'/>
<id>urn:sha1:c1b669b72a05aeae0882742dd40f30d51732ed15</id>
<content type='text'>
Pull x86 cleanup and cpufeature from Ingo Molnar:
 "Just a single cleanup and and a commit that adds new CPU feature
  names"

* 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86, boot: Remove ancient, unconditionally #ifdef'd out dead code

* 'x86-cpufeature-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86, cpufeature: Add the RDSEED and ADX features
</content>
</entry>
<entry>
<title>x86, efi: Handover Protocol</title>
<updated>2012-07-20T23:18:58Z</updated>
<author>
<name>Matt Fleming</name>
</author>
<published>2012-07-19T09:23:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ca8f72a9297f2052d806bd1111e176533aa69bd'/>
<id>urn:sha1:9ca8f72a9297f2052d806bd1111e176533aa69bd</id>
<content type='text'>
As things currently stand, traditional EFI boot loaders and the EFI
boot stub are carrying essentially the same initialisation code
required to setup an EFI machine for booting a kernel. There's really
no need to have this code in two places and the hope is that, with
this new protocol, initialisation and booting of the kernel can be
left solely to the kernel's EFI boot stub. The responsibilities of the
boot loader then become,

   o Loading the kernel image from boot media

File system code still needs to be carried by boot loaders for the
scenario where the kernel and initrd files reside on a file system
that the EFI firmware doesn't natively understand, such as ext4, etc.

   o Providing a user interface

Boot loaders still need to display any menus/interfaces, for example
to allow the user to select from a list of kernels.

Bump the boot protocol number because we added the 'handover_offset'
field to indicate the location of the handover protocol entry point.

Cc: H. Peter Anvin &lt;hpa@zytor.com&gt;
Cc: Peter Jones &lt;pjones@redhat.com&gt;
Cc: Ingo Molnar &lt;mingo@kernel.org&gt;
Signed-off-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
Acked-and-Tested-by: Matthew Garrett &lt;mjg@redhat.com&gt;
Link: http://lkml.kernel.org/r/1342689828-16815-1-git-send-email-matt@console-pimps.org
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86, boot: Remove ancient, unconditionally #ifdef'd out dead code</title>
<updated>2012-06-21T00:28:56Z</updated>
<author>
<name>Paul Bolle</name>
</author>
<published>2012-06-20T22:16:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5a7286b5f1b0b5beb97275f2152bf10c4aa4204'/>
<id>urn:sha1:e5a7286b5f1b0b5beb97275f2152bf10c4aa4204</id>
<content type='text'>
Release v1.3.82 wrapped a few lines of code in an "#ifdef
SAFE_RESET_DISK_CONTROLLER" and "#endif" pair. Since
SAFE_RESET_DISK_CONTROLLER was never defined anywhere that was basically
a verbose "#ifdef 0" and "#endif" pair. These dead lines have been in
the tree for sixteen years but now the time has come to remove them.

I guess the main lesson here is that if you want your dead code in the
tree for a very long time you'd better be creative. A plain old "#ifdef
0" and "#endif" pair just doesn't cut it!

See: http://lkml.kernel.org/r/199603301718.LAA00178@craie.inetnebr.com

Signed-off-by: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Link: http://lkml.kernel.org/r/1340230589.1773.7.camel@x61.thuisdomein
Acked-by: Jeff Epler &lt;jepler@unpythonic.net&gt;
Acked-by: Jesper Juhl &lt;jj@chaosbits.net&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>x86, efi stub: Add .reloc section back into image</title>
<updated>2012-06-07T16:52:33Z</updated>
<author>
<name>Jordan Justen</name>
</author>
<published>2012-06-07T16:05:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=743628e868c5992354fc80b4d1e9a6143da1c0e6'/>
<id>urn:sha1:743628e868c5992354fc80b4d1e9a6143da1c0e6</id>
<content type='text'>
Some UEFI firmware will not load a .efi with a .reloc section
with a size of 0.

Therefore, we create a .efi image with 4 main areas and 3 sections.
1. PE/COFF file header
2. .setup section (covers all setup code following the first sector)
3. .reloc section (contains 1 dummy reloc entry, created in build.c)
4. .text section (covers the remaining kernel image)

To make room for the new .setup section data, the header
bugger_off_msg had to be shortened.

Reported-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Signed-off-by: Jordan Justen &lt;jordan.l.justen@intel.com&gt;
Link: http://lkml.kernel.org/r/1339085121-12760-1-git-send-email-jordan.l.justen@intel.com
Tested-by: Lee G Rosenbaum &lt;lee.g.rosenbaum@intel.com&gt;
Tested-by: Henrik Rydberg &lt;rydberg@euromail.se&gt;
Cc: Matt Fleming &lt;matt.fleming@intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86, efi: Fix NumberOfRvaAndSizes field in PE32 header for EFI_STUB</title>
<updated>2012-03-26T20:10:02Z</updated>
<author>
<name>Matt Fleming</name>
</author>
<published>2012-03-23T16:35:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e47bb0bda46bf50f81671db502d0c903e0a32604'/>
<id>urn:sha1:e47bb0bda46bf50f81671db502d0c903e0a32604</id>
<content type='text'>
We've actually got six data directories in the header, not one. Even
though the firmware loader doesn't seem to mind, when we come to sign
the kernel image the signing tool thinks that there is no Certificate
Table data directory, even though we've allocated space for one.

Signed-off-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
Link: http://lkml.kernel.org/r/1332520506-6472-4-git-send-email-jordan.l.justen@intel.com
Reviewed-by: Jordan Justen &lt;jordan.l.justen@intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
</feed>
