Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp585159pxb; Thu, 21 Jan 2021 14:43:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUZo/h+DODQ1gpMn1N1s7kmj6niUG5CgdkjIN70pzfMMFq6+tnpFalagH9WDC7M3OBAMxu X-Received: by 2002:a17:906:3401:: with SMTP id c1mr1141547ejb.156.1611268987206; Thu, 21 Jan 2021 14:43:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611268987; cv=none; d=google.com; s=arc-20160816; b=Xey0Giqknx4l203+6/95hCWGRqTDCFVR+6/wvG/o7fARkVYpWM2/MIBOZvBBlLE/Ue P3U0uYYIehqxIjNfeUoDgl4N7xLgWM50BYrGtz96BUFyMVsTcDmTcHrQ07rFDNANDOpG LVjQcs0IVpxLrtRYyqtqjIF7/JsImA/2AFMdy5EzC57CI/2XPL/gwIBEtwApMElmekDH xSH3twex33FF8rywGmYeeC+/ooLheE6gPsWJPh7yt/2kU/bAYbZ5RXH92icIiS/YB8DE /0oqLJE/LQhuE4IEaL+KIM3nuqgWwymI53hjbqKuWJ2PiTW92lsktmahNdSwTjm1Noz3 R/TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZM0IqfylJQO8fpBkI77F1H1VKg6hQFLtrN7oyrrKYhM=; b=QMkOfrL0qkp3z36n6aDCKNSdl/J41Wh9a6vn3fo7/IDaYEKFHLr6eGCUAkFWEetFHk XspfqE1UT0GlgB27y9dReEaVIS+1JUKUMeXtKJwyTrB5NCpDmn97n9NawfFP6Plg3JBi pmu3jjR9GVaYcPkko5hTwG226mLNlBoE3Kb1zW94J2GeaTHXAl8VH14nBvhjqvHXkuk8 iwZ8ZOeSVBiU/C0p7Vn91nT8Ac4+W6ROCodbiFvf/nU7WqOBzeZx6YqzL8wjEvnErWGJ nWoCiX1XOvdF2jy+Cqv3mPuE5Z4h4KANhR8QG1eBfbUavxyPu93U8BTdOjjCg1iOALOJ Yqyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=brYcVyxM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si385585edz.362.2021.01.21.14.42.42; Thu, 21 Jan 2021 14:43:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=brYcVyxM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726885AbhAUWlM (ORCPT + 99 others); Thu, 21 Jan 2021 17:41:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725268AbhAUWk7 (ORCPT ); Thu, 21 Jan 2021 17:40:59 -0500 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B410C061756 for ; Thu, 21 Jan 2021 14:40:19 -0800 (PST) Received: by mail-pl1-x62b.google.com with SMTP id b8so2108720plh.12 for ; Thu, 21 Jan 2021 14:40:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ZM0IqfylJQO8fpBkI77F1H1VKg6hQFLtrN7oyrrKYhM=; b=brYcVyxMXMhRtAQg4ywy6K+79u14opqTKuDEHgYANxh/TTAWAlvwzSflTL6QXquP2c kTFcYFzLXkLTfin10lkDaT9NffnfcYLGHTpEXSbdbhh9821bdTyp/tJzJv3+JUbWQtiC nVXFvytHBFqfc6DcJ6SW2Z0b9vBYlthVLo2NKlwhKVYkes1NOeBuDpFkugJ5NtjtTpFp eT6AST3K8DdHsOjvNA/1wnsf0cPbMVkM35Xp92N3jvFzRGxf4212xhmYPrI4qg1q1Mc+ xaaekxOIrbLNXUiYgvc8I5EXWEDCJTZO3vcvVz3obKst+dCxoaRLQltTKJ+3pHxTXI53 uJHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ZM0IqfylJQO8fpBkI77F1H1VKg6hQFLtrN7oyrrKYhM=; b=EYg+oCnAzj3dfODnO2b1EE7T5uqLiricGN+I3iJZWk/ilv8z5htpkAZjH1Zn/I9PeS 1qLra7+Nw5UyOgxOxujHwbIf6BZKXybhF1I/D2AQurL3FDHmYGd1JP/1C/JaA4anDml3 JZLcYInn0tckWYBE8/RBv2rIvBheAs7F8LueJdiS/4dNhLGm7KYLawFG4Ldv8867XnyR gpUOeG63hGoQDWWe0dV8NFCyaD30f1vvUbCExPL/zHeIlRhVNTL8Av+86On0CwcsgXvl /XZ1mxf/lIjN0GH44lCXJB5vfIP5fmGMmvNDaAW2dmUmeqAsLf5aLbPcMcA1uxRddc1R QjEQ== X-Gm-Message-State: AOAM5307XN4kD6Km9xbnyJRPzGiM1oFa6DjUzixj4rz3JVGKTVkPFcjr uUSyBgOaGjxcEfsrtNFZz5CqrA== X-Received: by 2002:a17:90b:11cb:: with SMTP id gv11mr1898532pjb.4.1611268818901; Thu, 21 Jan 2021 14:40:18 -0800 (PST) Received: from google.com ([2620:15c:f:10:1ea0:b8ff:fe73:50f5]) by smtp.gmail.com with ESMTPSA id k9sm6858083pjj.8.2021.01.21.14.40.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jan 2021 14:40:18 -0800 (PST) Date: Thu, 21 Jan 2021 14:40:11 -0800 From: Sean Christopherson To: Maxim Levitsky Cc: Wei Huang , Wei Huang , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, pbonzini@redhat.com, vkuznets@redhat.com, joro@8bytes.org, bp@alien8.de, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, jmattson@google.com, wanpengli@tencent.com, bsd@redhat.com, dgilbert@redhat.com, luto@amacapital.net Subject: Re: [PATCH v2 2/4] KVM: SVM: Add emulation support for #GP triggered by SVM instructions Message-ID: References: <20210121065508.1169585-1-wei.huang2@amd.com> <20210121065508.1169585-3-wei.huang2@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 21, 2021, Maxim Levitsky wrote: > BTW, on unrelated note, currently the smap test is broken in kvm-unit tests. > I bisected it to commit 322cdd6405250a2a3e48db199f97a45ef519e226 > > It seems that the following hack (I have no idea why it works, > since I haven't dug deep into the area 'fixes', the smap test for me) > > -#define USER_BASE (1 << 24) > +#define USER_BASE (1 << 25) https://lkml.kernel.org/r/20210121111808.619347-2-imbrenda@linux.ibm.com