From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx3-rdu2.redhat.com ([66.187.233.73] helo=mx1.redhat.com) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fJLbN-0004GV-I3 for speck@linutronix.de; Thu, 17 May 2018 18:18:02 +0200 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1E2A37D65F for ; Thu, 17 May 2018 16:17:55 +0000 (UTC) Received: from [10.36.118.13] (unknown [10.36.118.13]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 92DEF2166BAD for ; Thu, 17 May 2018 16:17:54 +0000 (UTC) Subject: [MODERATED] Re: [patch 08/15] SSB updates V17 8 References: <20180516135132.687640705@linutronix.de> <20180516135209.978573772@linutronix.de> <326984b0-af40-c512-a940-d65eb8b08e11@amd.com> <20180517025631.GL10272@char.us.oracle.com> <3e7de72a-066f-b9be-2d2d-c24e4a5bdbc8@amd.com> From: Paolo Bonzini Message-ID: <7336bf63-e63b-5a70-0d2e-2bf093314fda@redhat.com> Date: Thu, 17 May 2018 18:17:53 +0200 MIME-Version: 1.0 In-Reply-To: <3e7de72a-066f-b9be-2d2d-c24e4a5bdbc8@amd.com> Content-Type: multipart/mixed; boundary="dIVgZoDmmfLPkG8EeIpkLui6TzXyoAeXI"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --dIVgZoDmmfLPkG8EeIpkLui6TzXyoAeXI Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 17/05/2018 18:13, speck for Tom Lendacky wrote: >>> Paolo (I'm assuming your on this list), >>> >>> Do you know if anyone is working on Qemu / Libvirt patches to support= the >>> new AMD VIRT_SSBD feature (new CPU definitions, etc.)? >> But surely you have a patch that you wrote for testing this? > Yes, but I want to build upon anything that may already be in progress.= > Also, I'm not a qemu expert so I wanted to be sure I had everything. > For example, I can already see that the KVM support needs to add > MSR_AMD64_VIRT_SPEC_CTRL to msrs_to_save in arch/x86/kvm/x86.c (I'll > send a follow-up patch to the list to add that). >=20 >> Did you have in mind these two patches (inline), not tested, still com= piling. >> >> If you can test them, I can sync up with Daniel P. Berrang=E9 who is g= oing >> to post the Intel SSBD ones for libvirt+qemu on Monday. > Yes, I'll review and test. I have some initial comments below. I got (Konrad's?) patches for QEMU via Dan, and they seem to be okay. > I'll provide a patch back on top of these patches with any other update= s. --dIVgZoDmmfLPkG8EeIpkLui6TzXyoAeXI--