Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp754859ybr; Fri, 22 May 2020 19:25:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGv6xw+t+O58NjY0OPi3VDhysdVa/rNhxZx3ZL93TrOeDwwxoG1B/8zloRFtsnrQtyDBh7 X-Received: by 2002:a17:906:8608:: with SMTP id o8mr10214957ejx.274.1590200728134; Fri, 22 May 2020 19:25:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590200728; cv=none; d=google.com; s=arc-20160816; b=ABx5HMTNrqb7WxCxsJYXMxeBW7qCqHNCbKz3njPgMTaYE0FQ25AFas1QmY4oBjg9kt 6IRg5no92+bu2LR1A+1JJAzZb4YOTmI+G6mcLMhwmgzNuaE2vMefEK9lF5o1VHcRUpn2 Bt6jWdyObMFVzCUpdmFuQe5StK6h2uiCmoozwxTfvnbOuJOrgQL023sXCPyx62tCP5fK 0KPaz+vnw2s5eowA6QVxoRopIuF/y1NX7X8y6Wah0yn+sFHYu1RJRZmK7yWiK9KxAw6r YSYQVhf+E+iKX99//gQGX8f8vIMTXFVBz377QHnO4f/nLzos111epkqMhy2EUL4MjlgM t1ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from :dkim-signature:date; bh=tN0lzgWw1Y9SSXfLcncf8bC5dsKRRwfu7rERCQfQIDk=; b=klA7SgXyrNRL5g+zIDkT13s7FPJP0rPoMTzo4ow2n3u9MkiVtc9kvI+Aifj+XPI6CN IHZ9ebxoZCJBc6Aimv8v+uXQMD/Cpm19r34kyqzkBzgFpGCJZj/qh8/wsjhs06iSTXwd 6WTR8S53/ff1KLLBWRBVXC4jlQukF+jE7aJtuGqed2WH38ExMxWlI4594Wfw6qZ7NrBT S2PgSYpMriZnVGFmkpMchwmdWiGjF5k430tZqht5VDtA0lDb2k7oA/GMneu+J01dlLDa ECW/LYSOsqcWdVEy4ENTRh4HhX+a7Nf64qXtmGZvIOXtLI4yBBVmCe4EJ6WvQqT+5KQZ sBbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@notmuch.email header.s=mail header.b=BKAvCzrf; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nu20si6338101ejb.186.2020.05.22.19.24.38; Fri, 22 May 2020 19:25:28 -0700 (PDT) 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=@notmuch.email header.s=mail header.b=BKAvCzrf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387491AbgEWCRr (ORCPT + 99 others); Fri, 22 May 2020 22:17:47 -0400 Received: from mx.h4ck.space ([159.69.146.50]:55142 "EHLO mx.h4ck.space" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387413AbgEWCRq (ORCPT ); Fri, 22 May 2020 22:17:46 -0400 Date: Sat, 23 May 2020 04:17:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=notmuch.email; s=mail; t=1590200260; bh=tN0lzgWw1Y9SSXfLcncf8bC5dsKRRwfu7rERCQfQIDk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=BKAvCzrf+p7FHgEsSRBDVfJ8SOfxx2aEKb8D9wm1HnxUeItIS6w3dacmZ84IzcVcF gkjEmgulhm8JJJ/SGlIHg5N3zFyRy3/+F2flauAQ/LoBLIB88TfSLfnSsvB+gcWbcu 6uAHdq20PYSRdFUxZnp1a3EX4rmXlgNgStjXfpYE= From: Andreas Rammhold To: Ricardo Neri Cc: Brendan Shanks , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , "Eric W. Biederman" , Sergey Senozhatsky , Babu Moger , Kefeng Wang , Jason Yan , linux-kernel@vger.kernel.org Subject: Re: umip: AMD Ryzen 3900X, pagefault after emulate SLDT/SIDT instruction Message-ID: <20200523021739.bbq5m6ze63ctouh6@wrt> References: <20200519143815.cpsd2xfx2kl3khsq@wrt> <2330FAB4-A6CE-49E7-921C-B7D55763BDED@codeweavers.com> <20200519194320.GA25138@ranerica-svr.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200519194320.GA25138@ranerica-svr.sc.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12:43 19.05.20, Ricardo Neri wrote: > I have a patch for this already that I wrote for testing purposes: > https://github.com/ricardon/tip/commit/1692889cb3f8accb523d44b682458e234b93be50 > Perhaps it can be used as a starting point? Not sure what the spoofing > value should be, though. Perhaps 0? I tried the above patch (in modified/rebased version; hope that didn't kill it [0]). The results are negative, as without the patch. [0] https://github.com/andir/linux/commit/bda858f44a860762bc484da62833f57462220874