From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752783AbdK2VKx convert rfc822-to-8bit (ORCPT ); Wed, 29 Nov 2017 16:10:53 -0500 Received: from terminus.zytor.com ([65.50.211.136]:56459 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752457AbdK2VKw (ORCPT ); Wed, 29 Nov 2017 16:10:52 -0500 Date: Wed, 29 Nov 2017 13:03:46 -0800 User-Agent: K-9 Mail for Android In-Reply-To: <20171129205815.GE3070@tassilo.jf.intel.com> References: <20171110220645.59944-1-kirill.shutemov@linux.intel.com> <20171129154908.6y4st6xc7hbsey2v@pd.tnic> <20171129161349.d7ksuhwhdamloty6@node.shutemov.name> <20171129170831.2iqpop2u534mgrbc@node.shutemov.name> <20171129205815.GE3070@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCHv2 0/4] x86: 5-level related changes into decompression code To: Andi Kleen , "Kirill A. Shutemov" CC: Thomas Gleixner , Borislav Petkov , "Kirill A. Shutemov" , Ingo Molnar , x86@kernel.org, Linus Torvalds , Andy Lutomirski , Cyrill Gorcunov , linux-mm@kvack.org, linux-kernel@vger.kernel.org From: hpa@zytor.com Message-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On November 29, 2017 12:58:15 PM PST, Andi Kleen 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.