Received: by 10.223.176.5 with SMTP id f5csp1008591wra; Fri, 2 Feb 2018 09:37:03 -0800 (PST) X-Google-Smtp-Source: AH8x226ZuAdjMun/i4Pff3rpN0i80kP2hPqH8Uu2JjFqj2Mu5nwSE7MnFAfwZ49zVq2Yntk0ydQb X-Received: by 2002:a17:902:6e4:: with SMTP id 91-v6mr623065plh.26.1517593023240; Fri, 02 Feb 2018 09:37:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517593023; cv=none; d=google.com; s=arc-20160816; b=m6quBtTNEWoXCfys4EUBTsjR4EMaZVVGcw62wueWFu4L7FQU4AFaXsVE78Il5MSQ1U dtCSANNclRh2JJQTLSBYMAZcNsJo+HJ3b/TVF6nBhOfjGAFKxFa4dS3WgAaHtoppOpRu noC2oZwO4sDDHZzvj6nK8qq5Oc2e0EN3ERrHwY6t7Vtj6R3GlkBdaD9wkoRn1kgH/w8x czzBjPIE5OZvwtfRfDi6NqTiJgD2TjtK4TJKAjCbbS7K8mx8grQ8g9rjzaYNEFe1vkWy AOwXyBavVUj85bahIoUdxVME0AvO9Ne5Rs1xe2yXgyvkEu3GEVJm3XilCJ5kNXf8Ka4Y 460Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=NPTuXtqcCeuZnAHH5+ZN8QFaSGwL1V4uhAMQF3YtdCM=; b=QC0NQDz3/K0tf2eDP4lx4/cQDsRK1LtfA9tnwq2SYLv+pmUdaeAHkKpJIjnbVNth9A TEJNAsw3yMwqcAxh8/SOfRFc9bpA5UVPjRw6fCYSEEjLxjphJFB2l4quCKDnq0t7k2jj JSw8+Jj3drH6anKZOcuPLCFftv1/zmwWwegGXKGoDW7i4Evki/dEjxtX9ZuIbcGeO8OH 7KPHqzAsbWMIhpfF6JER1rFrGzzda0tiPrWvgREnWvspa/qQel4lk4hIuE4ui+eFCj6E uv+XWHuVMXGm1/PDsKjhzrQfXF+B/5O4awPf70w1EVjChU/RbMDZXbR1tqpOy7QCncjA JPAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=neEadrsX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id x5-v6si2190147plm.701.2018.02.02.09.36.48; Fri, 02 Feb 2018 09:37:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=neEadrsX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1753847AbeBBRfm (ORCPT + 99 others); Fri, 2 Feb 2018 12:35:42 -0500 Received: from mail-io0-f196.google.com ([209.85.223.196]:40001 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753700AbeBBRfX (ORCPT ); Fri, 2 Feb 2018 12:35:23 -0500 Received: by mail-io0-f196.google.com with SMTP id t22so23708393ioa.7 for ; Fri, 02 Feb 2018 09:35:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=NPTuXtqcCeuZnAHH5+ZN8QFaSGwL1V4uhAMQF3YtdCM=; b=neEadrsXPRyQetAyDiOLzE192tkcOynY1gSn53HSxZq5TgVuZPnWTwIVOB+RUqBkpC uXKuC5htpfwjokWyC+u2SUEihKO1CySJDnoSg1ZvlVMHAZwWeb4mWVN6z+7YiIQXh98Y XyVayF5w03iOWbB6JBdqR/EH9Q7e/8wIU8M3DQ7OgixLlRrt0iKkFmuLb+u6CDl1U8hU 1X9fZD8P33VQHxdIbKmW2p2CS5Ah/56lf18P91mz+ahOkzc9NTwJeJCj17EDjbFYKISC rGfARaHJ8s9h5+HyxGjdrctEKuzvgEuXIMOuaeQygv6WdBfuRBPeWJ1wUFlJFfR689yO SKFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=NPTuXtqcCeuZnAHH5+ZN8QFaSGwL1V4uhAMQF3YtdCM=; b=B1VY73YqHyBs867bIyzlMuj0dBKy8LJqDnGlzD3/mwLWH1I+cteKhumSnBvCGRLwRN Ao0lVI3MDoUzsxEQejw/NVy7rLR7XbTxYrn9urWqNs5ExkfLf0NF12vsz7pwy/J1FWLr lWsD0RhQmn0LboVwt94lLnfuAxs556wDSDrQesDG1ZuUdUa9e8R1w1dvz3fVM59wvqxk 7ZHoj9+bnCfXTrVuOt+95FnKyT8pNYo+Vnzj/Ko7Dx6F8G4pMSSIp4gu1FvOc+SEHOws E1HqORSrTCsfvqTxMX4PbC9OwgShpPqJ+2sHx/Fm9t2IBG5yeC/O3gw/ubXIOnKq8NVb l0RQ== X-Gm-Message-State: AKwxytcvBmQnl4eUPcep15nmrIImZVfH2oesaRZEeBW/ZX5vdcS7ISyG Mnh9xLbEOdJHEzXU00c6NVSKDCDuYCD4CWloyBsubg== X-Received: by 10.107.53.150 with SMTP id k22mr29133447ioo.285.1517592921794; Fri, 02 Feb 2018 09:35:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.128.7 with HTTP; Fri, 2 Feb 2018 09:35:20 -0800 (PST) In-Reply-To: <20180202105326.v53jv7ry4yd6icm4@starbug-vm.ie.oracle.com> References: <1517522386-18410-1-git-send-email-karahmed@amazon.de> <1517522386-18410-4-git-send-email-karahmed@amazon.de> <20180202105326.v53jv7ry4yd6icm4@starbug-vm.ie.oracle.com> From: Jim Mattson Date: Fri, 2 Feb 2018 09:35:20 -0800 Message-ID: Subject: Re: [PATCH v6 3/5] KVM: VMX: Emulate MSR_IA32_ARCH_CAPABILITIES To: KarimAllah Ahmed , kvm list , LKML , "the arch/x86 maintainers" , Asit Mallick , Dave Hansen , Arjan Van De Ven , Tim Chen , Linus Torvalds , Andrea Arcangeli , Andi Kleen , Thomas Gleixner , Dan Williams , Jun Nakajima , Andy Lutomirski , Greg KH , Paolo Bonzini , Ashok Raj , David Woodhouse Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 2, 2018 at 2:53 AM, Darren Kenny wrote: > On Thu, Feb 01, 2018 at 10:59:44PM +0100, KarimAllah Ahmed wrote: >> >> Intel processors use MSR_IA32_ARCH_CAPABILITIES MSR to indicate RDCL_NO >> (bit 0) and IBRS_ALL (bit 1). This is a read-only MSR. By default the >> contents will come directly from the hardware, but user-space can still >> override it. >> >> [dwmw2: The bit in kvm_cpuid_7_0_edx_x86_features can be unconditional] >> >> Cc: Asit Mallick >> Cc: Dave Hansen >> Cc: Arjan Van De Ven >> Cc: Tim Chen >> Cc: Linus Torvalds >> Cc: Andrea Arcangeli >> Cc: Andi Kleen >> Cc: Thomas Gleixner >> Cc: Dan Williams >> Cc: Jun Nakajima >> Cc: Andy Lutomirski >> Cc: Greg KH >> Cc: Paolo Bonzini >> Cc: Ashok Raj >> Reviewed-by: Paolo Bonzini >> Signed-off-by: KarimAllah Ahmed >> Signed-off-by: David Woodhouse > > > Reviewed-by: Darren Kenny Reviewed-by: Jim Mattson