From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752764AbdK2U6S (ORCPT ); Wed, 29 Nov 2017 15:58:18 -0500 Received: from mga04.intel.com ([192.55.52.120]:13050 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752118AbdK2U6Q (ORCPT ); Wed, 29 Nov 2017 15:58:16 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,339,1508828400"; d="scan'208";a="7367854" Date: Wed, 29 Nov 2017 12:58:15 -0800 From: Andi Kleen To: "Kirill A. Shutemov" Cc: Thomas Gleixner , Borislav Petkov , "Kirill A. Shutemov" , Ingo Molnar , x86@kernel.org, "H. Peter Anvin" , Linus Torvalds , Andy Lutomirski , Cyrill Gorcunov , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2 0/4] x86: 5-level related changes into decompression code Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171129170831.2iqpop2u534mgrbc@node.shutemov.name> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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