lkml.org 
[lkml]   [2013]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot
From
On Sat, Jul 13, 2013 at 7:53 AM, H. Peter Anvin <hpa@zytor.com> wrote:
> On 07/12/2013 11:47 PM, Yinghai Lu wrote:
>>
>> for 32 bit, that is ok.
>> for 64 bit via 32bit bootloader, arch/x86/boot/compressed/head_64.S
>> will set page table for first 4G still ok.
>> for 64 bit via 64bit loader, like kexec via bzImage64, First Kernel/Kexec only
>> set ident mapping for usable range, so mmio just under 64 is not mapped.
>>
>> Looks like we need to update boot.txt to add requirement for 64bit bootloader
>> that 0-4G need to be all ident mapping?
>>
>
> I think that is an unrealistic requirement, especially if this is the
> sole user.

That will cause regression for:
64bit system with kexec/kdump bzImage64.
if second kernel carry "console=uart,mmio,0xABCD0000"

or we can extend kexec-tools to make it scan second kernel command line string
and one entry into image->segment[]

Yinghai


\
 
 \ /
  Last update: 2013-07-14 00:21    [W:0.103 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site