From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15A22C433DF for ; Tue, 13 Oct 2020 08:11:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 77792214D8 for ; Tue, 13 Oct 2020 08:11:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="nR0UwQHN" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390846AbgJMILc (ORCPT ); Tue, 13 Oct 2020 04:11:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389340AbgJMILa (ORCPT ); Tue, 13 Oct 2020 04:11:30 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32926C0613D0 for ; Tue, 13 Oct 2020 01:11:30 -0700 (PDT) Received: from zn.tnic (p200300ec2f0ecc00b688821b0a181b84.dip0.t-ipconnect.de [IPv6:2003:ec:2f0e:cc00:b688:821b:a18:1b84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id D90CE1EC0407; Tue, 13 Oct 2020 10:11:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1602576687; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=icPRekjS8kR0Y34b/6RCaf5TY6fJKr7Q4iu2Gfc+rUg=; b=nR0UwQHND2jTLtgj6RNpHh6u7FSSI0wYvtYPE00EUK9NuI78HTJRGOu858J5QvGWSWIBBF 4KUFk1YmEh4Q0b9feeO8YyqvbMuUjQ5ML7G4NKgIqcFh0LR21Pi+KS+SgN9Vt1ra0sSTbR 9mOuE4nrMg/r9hzJsdq1xeS3Ta2d9kQ= Date: Tue, 13 Oct 2020 10:11:17 +0200 From: Borislav Petkov To: Arvind Sankar Cc: "Kirill A. Shutemov" , x86@kernel.org, Joerg Roedel , linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/boot/64: Initialize 5-level paging variables earlier Message-ID: <20201013081117.GA28215@zn.tnic> References: <20201008191623.2881677-1-nivedita@alum.mit.edu> <20201010191110.4060905-1-nivedita@alum.mit.edu> <20201010192624.GA4062867@rani.riverdale.lan> <20201012140830.vrc25x2gwo7yo4kn@black.fi.intel.com> <20201012153501.GA559681@rani.riverdale.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201012153501.GA559681@rani.riverdale.lan> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 12, 2020 at 11:35:01AM -0400, Arvind Sankar wrote: > > qemu supports it. -cpu "qemu64,+la57" > > Thanks! On QEMU, it does crash without this patch. Works fine here. I gave this to qemu: -cpu qemu64,+la57,vendor=GenuineIntel it said: qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.07H:ECX.la57 [bit 16] because host is AMD, probably, and I have CONFIG_X86_5LEVEL=y enabled for the guest kernel and tip:x86/seves booted fine. What am I missing? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette