Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3139162pxb; Tue, 19 Jan 2021 15:04:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwEZb3ZUBqRriF/vf6qRU0yRqysu/6ez/WEiu0JkIZGO/H9K21R1w6RJr3bPzAwievUpDxw X-Received: by 2002:a17:906:409:: with SMTP id d9mr4227496eja.70.1611097483382; Tue, 19 Jan 2021 15:04:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611097483; cv=none; d=google.com; s=arc-20160816; b=BPrkeK6gFohiycVUlCEUYLlr9uKhKkUaT96MDbG8zhNFXjbMXDORlSlzUQKVfS5DaG S3bTntgaIa74twFbCzRV6naFJVgRCdkqoJzOn4MBenX3aYL64xoLEnRxBL5J4BiqsuAZ kUXM8BZt25KX80cyV0hGsDz7swTWVqajYUEegARo1pr3seRmiLMU4gsxXGYDUmCU0nQS SjFviTCooi2HKq5dGT5iIg2i3ZzfoHiU8vO7HmegIvckN1oudUaNn9Cw72V4bJnwQ1Rx 9Wq5aJESMGMAhXg/vIZoI46p4pg/tGqqLDMoxuMXP/Ri8wuIaa10vh4Nes9fmRUgf6PZ rLAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mRg+gvvJ51JW9K/A8QugB/Fho1kaOXX/fvnAP5LcPtA=; b=G3VO9R/NRxUBSXITr8PLgwjTI9mF7V4uKW/cWVlQmCfgG7/qGCR02jujfFDC5IEd8Z TOoM7G34NvkzYRgMSyopvJzi2bAXnsdz6PXXuq8oNdqzCAlfEE7OR0/VgLiHcVBukeJD +c5mmeMVZpEPlLX9Ik2pLgTVwEQNTjusmSsc4V2Hl+ymNVAwOWUtUUJCx/7zZSlAikmZ Zd715gM3LH7KfleTx8NF7wnhepghIvFJnnBGWv7zsEgUmC9kQGq8iQSyOQBE49ntvnyZ NVuxjq9k22tk3Qo+nJg/qIlP1uEM5ygnxV/KJX0HGWl6XYBRmioeTaqavw0MxisZ6UCh 3Y5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="dw0w/4+K"; 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 f6si125923edq.152.2021.01.19.15.04.16; Tue, 19 Jan 2021 15:04:43 -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="dw0w/4+K"; 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 S1729360AbhASXDJ (ORCPT + 99 others); Tue, 19 Jan 2021 18:03:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729023AbhASXCE (ORCPT ); Tue, 19 Jan 2021 18:02:04 -0500 Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 990D8C061573 for ; Tue, 19 Jan 2021 15:01:24 -0800 (PST) Received: by mail-ot1-x32a.google.com with SMTP id d1so1006838otl.13 for ; Tue, 19 Jan 2021 15:01:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mRg+gvvJ51JW9K/A8QugB/Fho1kaOXX/fvnAP5LcPtA=; b=dw0w/4+KcEr8/9RT46PMqWBwFWdI49Mw6b591ShgUh69zPzoznsm8bK+rG6+p0ic0j t86NWdwEp6/SatFbQYlwCAdE+G0KGsTkh1P10SfHwofcbLGPvrUsEzqzrjhVjhxK6Zkh m6TcZaoxp88AL3fZWlHZUo+DmhRSZncgIX6FR4pUKs5n61ZO1tFM5rbYKJfWOXdCpqZA u907jWVl2wjQ2enpdcgm97TF86DsPHEu91nE6o/pkicbFTmYrgzWeAXNTX8nXUefIIob /HolFNaZ0Vyy4tValq1p5Uutw2yFSdBko/Ptpg40IhVXYl0jCJQ73L1Jkpuehp4CazAn pxxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mRg+gvvJ51JW9K/A8QugB/Fho1kaOXX/fvnAP5LcPtA=; b=V0vcPpmyCW0epWJ8lU9Lp0gabzaONMzZaTI376YVRNik/q9JMtRcDtoYU5ZVDcAUxP 59OmEWVYud1oD063v9/Tqo4gxGeigBiqpoEUMDpSM5UYbo1M8oMB+dEX8JIbFjwaEdTC K3MTqag+xTh6GDYNZ4O4Jm/hw7npNLtauiECsyfl1DzQni8BDO3xcfgbZl8HEMEFkbWu nM3igWUVQhq88ZtCN8RXho06nV9NQoL00sPX+bvIxxGxVumZF2vCDN46usO8gGvYPozL L4uibgisHhG7T6+xxzmzXwr8Xm1vMR7HXfO+b+hs9K3iNr1KTHJLR7bMwro5tYLd7uSx jdog== X-Gm-Message-State: AOAM5308UHtg0xZPz6NWkISS8527x9kMCePzkj3klXTaCkft9kFOqbFo BKoId1D2u//maUIO7Gv3N1steBNWpATzGOolbKRZQA== X-Received: by 2002:a05:6830:143:: with SMTP id j3mr5106649otp.241.1611097283745; Tue, 19 Jan 2021 15:01:23 -0800 (PST) MIME-Version: 1.0 References: <159985237526.11252.1516487214307300610.stgit@bmoger-ubuntu> <83a96ca9-0810-6c07-2e45-5aa2da9b1ab0@redhat.com> <5df9b517-448f-d631-2222-6e78d6395ed9@amd.com> In-Reply-To: <5df9b517-448f-d631-2222-6e78d6395ed9@amd.com> From: Jim Mattson Date: Tue, 19 Jan 2021 15:01:12 -0800 Message-ID: Subject: Re: [PATCH v6 00/12] SVM cleanup and INVPCID feature support To: Babu Moger Cc: Paolo Bonzini , Vitaly Kuznetsov , Sean Christopherson , Wanpeng Li , kvm list , Joerg Roedel , "the arch/x86 maintainers" , LKML , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Thomas Gleixner , Makarand Sonare Content-Type: multipart/mixed; boundary="0000000000004c527205b948d11d" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0000000000004c527205b948d11d Content-Type: text/plain; charset="UTF-8" On Mon, Sep 14, 2020 at 11:33 AM Babu Moger wrote: > Thanks Paolo. Tested Guest/nested guest/kvm units tests. Everything works > as expected. Debian 9 does not like this patch set. As a kvm guest, it panics on a Milan CPU unless booted with 'nopcid'. Gmail mangles long lines, so please see the attached kernel log snippet. Debian 10 is fine, so I assume this is a guest bug. --0000000000004c527205b948d11d Content-Type: application/octet-stream; name="debian9.panic" Content-Disposition: attachment; filename="debian9.panic" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kk4lo2930 WyAgICAxLjIzNTcyNl0gLS0tLS0tLS0tLS0tWyBjdXQgaGVyZSBdLS0tLS0tLS0tLS0tClsgICAg MS4yMzc1MTVdIGtlcm5lbCBCVUcgYXQgL2J1aWxkL2xpbnV4LWRxblJTYy9saW51eC00LjkuMjI4 L2FyY2gveDg2L2tlcm5lbC9hbHRlcm5hdGl2ZS5jOjcwOSEKWyAgICAxLjI0MDkyNl0gaW52YWxp ZCBvcGNvZGU6IDAwMDAgWyMxXSBTTVAKWyAgICAxLjI0MzMwMV0gTW9kdWxlcyBsaW5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