Received: by 10.223.164.202 with SMTP id h10csp4863064wrb; Wed, 29 Nov 2017 13:11:27 -0800 (PST) X-Google-Smtp-Source: AGs4zMYuCIVHzgqNBW6+giPm4T03xdPxOApsetIkjClPRvjpANIHjXf8w9HSddGQBB4GGXZmNDTK X-Received: by 10.98.212.12 with SMTP id a12mr4301027pfh.164.1511989887816; Wed, 29 Nov 2017 13:11:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511989887; cv=none; d=google.com; s=arc-20160816; b=q5TyLy7f4hIr5Vye3syqvxi1r/LS0HUmPXbl2WcSeLvIzslZDa4iEI2PPS9ZiwBFyX u7I8ro+Q5aopc5tEYNoJLPO3psQQLnlq09SuSdLmN1YsVubIJeyxW1fSGIIvLwv+vihP EaQlMD8Rus3ikGiG+zmgVAdMv1oRAdrK670+81ufkBZlNqb4GNdgEPbxgWXkP53hL0b0 ZYREIcGAu/9W20A03FLeivb5RjavY0YsYYgEuxmzVqwKaIgqfKQJ9nBZl+/48sc2LC6n 5qsjl568n7j252f/pp4hqQc6SjbXReyYPyI6NjqLz/hAb463eNXRCMJZC0mtJNS54f1O bPsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:arc-authentication-results; bh=QlIRTo1vguaLeIxuecjKjOSGXWnv/87a+d+oiaY2Ay0=; b=jpVHA6iMO2DSvIV2eQbxhMOcQ8W/jKG6hLc6uUjqUGx2QpYWraKfuWHSdDXq3/9Xzz SNNAIlTUwW0EIWoxudAng9mYmVEXcH9Vau2/GHPsSGx7iuvauBR8V18ijNb0tHhfyxIx zpJbBTy8ikwScOAMlriYjUYlRAGbWf0wtL3HFUgdJxdO6Ej8Pcf0Xyzwu41eyROcL2s7 PHfNN7UrxUbQeqPLzuuZn8kBffFgY5VR1dJxw/9W+fZ8/UXz9A7z9lXBKK/BEvZjqW2N Ya+oqJhoHy59lcJ79Vi4AKn4QR4KQvWWCvHgZmHvr7JX3xze96i8XLEOVXni2XT7tZLM Bzgw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v4si1798163plo.16.2017.11.29.13.11.13; Wed, 29 Nov 2017 13:11:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752722AbdK2VKx convert rfc822-to-8bit (ORCPT + 99 others); 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 Received: from [10.170.142.132] ([192.55.54.58]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id vATL3sFs020907 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 29 Nov 2017 13:03:55 -0800 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 Precedence: bulk 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. From 1585435543166405594@xxx Wed Nov 29 20:59:17 +0000 2017 X-GM-THRID: 1583718603202818481 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread