2017-11-29 21:11:27

by H. Peter Anvin

[permalink] [raw]
Subject: Re: [PATCHv2 0/4] x86: 5-level related changes into decompression code

On November 29, 2017 12:58:15 PM PST, Andi Kleen <[email protected]> wrote:
>> We're really early in the boot -- startup_64 in decompression code --
>and
>> I don't know a way print a message there. Is there a way?
>>
>> no_longmode handled by just hanging the machine. Is it enough for
>no_la57
>> case too?
>
>The way to handle it is to check it early in the real mode boot code
>when you
>can still print messages. That is how missing long mode is handled.
>
>-Andi

Yes, and that test should be done automatically. However, we also check at several later points in case that code is bypassed by the bootloader.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

From 1585435543166405594@xxx Wed Nov 29 20:59:17 +0000 2017
X-GM-THRID: 1583718603202818481
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread