public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86, doc: Remove cmdline_size from list of fields to be filled in for EFI handover
@ 2015-03-28 12:14 Alex Smith
  2015-04-30 11:26 ` Matt Fleming
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Smith @ 2015-03-28 12:14 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Alex Smith, Matt Fleming, x86, linux-kernel

The cmdline_size field in setup_header is listed as read-only, and is
never read by the kernel. Therefore, there is no need for it to be set
by a boot loader implementing the EFI handover protocol, so remove it
from the list of fields required to be set by a boot loader.

Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
Cc: H. Peter Anvin <hpa@linux.intel.com>
Cc: Matt Fleming <matt.fleming@intel.com>
Cc: x86@kernel.org
Cc: linux-kernel@vger.kernel.org
---
 Documentation/x86/boot.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Documentation/x86/boot.txt b/Documentation/x86/boot.txt
index a75e3ad..2685581 100644
--- a/Documentation/x86/boot.txt
+++ b/Documentation/x86/boot.txt
@@ -1118,7 +1118,6 @@ The boot loader *must* fill out the following fields in bp,
 
     o hdr.code32_start
     o hdr.cmd_line_ptr
-    o hdr.cmdline_size
     o hdr.ramdisk_image (if applicable)
     o hdr.ramdisk_size  (if applicable)
 
-- 
2.3.1


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

* Re: [PATCH] x86, doc: Remove cmdline_size from list of fields to be filled in for EFI handover
  2015-03-28 12:14 [PATCH] x86, doc: Remove cmdline_size from list of fields to be filled in for EFI handover Alex Smith
@ 2015-04-30 11:26 ` Matt Fleming
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Fleming @ 2015-04-30 11:26 UTC (permalink / raw)
  To: Alex Smith; +Cc: H. Peter Anvin, Matt Fleming, x86, linux-kernel

On Sat, 28 Mar, at 12:14:09PM, Alex Smith wrote:
> The cmdline_size field in setup_header is listed as read-only, and is
> never read by the kernel. Therefore, there is no need for it to be set
> by a boot loader implementing the EFI handover protocol, so remove it
> from the list of fields required to be set by a boot loader.
> 
> Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
> Cc: H. Peter Anvin <hpa@linux.intel.com>
> Cc: Matt Fleming <matt.fleming@intel.com>
> Cc: x86@kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
>  Documentation/x86/boot.txt | 1 -
>  1 file changed, 1 deletion(-)

Sorry for the delay. Thanks, applied!

-- 
Matt Fleming, Intel Open Source Technology Center

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

end of thread, other threads:[~2015-04-30 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-28 12:14 [PATCH] x86, doc: Remove cmdline_size from list of fields to be filled in for EFI handover Alex Smith
2015-04-30 11:26 ` Matt Fleming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox