Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3583821pxb; Mon, 25 Jan 2021 22:21:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8/RVP3iUE5mwgikiQTyLwB9bRQO0QuJSLGDxc9loLAYR8AdSVxQ8jxxmLqooFdiRgu3Uk X-Received: by 2002:a05:6402:34d2:: with SMTP id w18mr3526646edc.102.1611642061466; Mon, 25 Jan 2021 22:21:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611642061; cv=none; d=google.com; s=arc-20160816; b=b3QQf/oU1ol0Pq4Kqdqa+jMINb3ab9HUSBs6o0bevg+LYAA93krluJH9VykroG+ixd zhIns9W4F9UdJsrRd11k4v3k5T6Kj2UFSfEI6J9wccUDW+f4wjTSA+IkjK4swEd0PM7u gdQXuugYTnRlR8YwAFNl07cke1JtctSBEmZSapkF+Zlq8IDh4TzvK8VT5Hy6ZB4bljfV XDtP0n6/F8klmkpvDf6a9CZ/Xrr9ToCNLzH6+SZ0uQE1Ji2kKo+dJozouMGeTwfwFmV0 Vd9q+N+QHyhNm4xeqjvGBWQywFrx81p29T8r5elIhKxzxJPU/oMLlMCikms9B3A44n/S KKMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=0HGRoOq6BrrbzjHTsXqbOX8EfSf6zyIl/yxyGyvENJM=; b=ZaUpjFD/FbWuHLCEiU1uQ0YnRKexHJxaRpL2llWZX5H7yAkLQOU5tQewniz3rzQH9s n4DEJvfjhG9sZbTi9H7qZTWj2cVwezhCCqik9MbbBcFQyrwz6HVw19vXEqpjJmvVnno5 5zgNICtRr0JqaWkZsNV/59ATkUCnKCRb0d/v46qIbcSU8oVsOMo9xSVgBuIkjA+xSqOC 8MiczRBxXKgSEzc8jJM6L+/i19i+Ew8/DXes5zBegtUTkx4gYqbHcwbBZAdpC2LzPTuE x4aAD9FQpm7QBjtl37KwJJ0zJFQdfLDa4vQmhVAJJwqtvLalzVfBQymj/mwPiIzAzF1l 0Tiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hKg9wC3f; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pw15si6849414ejb.567.2021.01.25.22.20.37; Mon, 25 Jan 2021 22:21:01 -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=@redhat.com header.s=mimecast20190719 header.b=hKg9wC3f; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731368AbhAZGTK (ORCPT + 99 others); Tue, 26 Jan 2021 01:19:10 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:41933 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728767AbhAYNYY (ORCPT ); Mon, 25 Jan 2021 08:24:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611580977; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0HGRoOq6BrrbzjHTsXqbOX8EfSf6zyIl/yxyGyvENJM=; b=hKg9wC3fJ8UJSDDalt+dcqIuZsR781KqVnRZlLAscFnBIlqMJj5BmW8XTh9aOFp3WKHPVj rLGKMOXdTBT5p6DHE98HvkqgzC4DGfu/NGaAMDUaInzB+XOolSKOgd4ekBW3Mc4ZzBsQBU povqt745LleleWuusMmPkejHCPmTY7Y= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-192-zDQWX4KjMwav68AebMd7pQ-1; Mon, 25 Jan 2021 08:22:56 -0500 X-MC-Unique: zDQWX4KjMwav68AebMd7pQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 49B6E107ACE8; Mon, 25 Jan 2021 13:22:54 +0000 (UTC) Received: from starship (unknown [10.35.206.204]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1901D60936; Mon, 25 Jan 2021 13:22:46 +0000 (UTC) Message-ID: Subject: Re: [PATCH v2 2/4] KVM: SVM: Add emulation support for #GP triggered by SVM instructions From: Maxim Levitsky To: Sean Christopherson 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 Date: Mon, 25 Jan 2021 15:22:46 +0200 In-Reply-To: References: <20210121065508.1169585-1-wei.huang2@amd.com> <20210121065508.1169585-3-wei.huang2@amd.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2021-01-21 at 14:40 -0800, Sean Christopherson wrote: > 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 > Thanks! Best regards, Maxim Levitsky