Received: by 10.223.176.5 with SMTP id f5csp1932400wra; Wed, 31 Jan 2018 13:55:04 -0800 (PST) X-Google-Smtp-Source: AH8x226fA7m/FI+D1p9Kqa6VT1HM3K/6OpBAEYQ1abjJjfCbHUaLs/iPSaj0A8ac8qynJ/PZeGrW X-Received: by 2002:a17:902:b496:: with SMTP id y22-v6mr9505927plr.206.1517435704043; Wed, 31 Jan 2018 13:55:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517435704; cv=none; d=google.com; s=arc-20160816; b=DOlqva0pVoRxiwoHC2s78J5VOUkuIBaU94OpqqrzcidX5fW8322obKxAhFDuuQOG6d Xym9lleTjDRnKQHz8phLkAVq2YJqWHp/WDGCB05Jmf3054UoOglgnc4wk9WCmXiq897n OWB6ycA+oPZw2FVGDbZ8XxP6Dxv7PyKd32YyHE3hOSYE66L+CgEBMvWtjRQCyp7g9znW CDWLwBAZhLL2DL3lyDEOZHFXnHC4IGk73DvTA8yLoerArdhBmdlVoEeLrMv2+je+4c4P YZep3n2vNGmnC4J4qppyJTaH3xR+WmNqRazU5G3Hbn+sftpQzSMoXMix0iABrvxSnz8Y 318A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=7zMXV4PXbEoj+YNTt1LfxQL1ZwiE+jdt13fq308JrFo=; b=haAZ8E/gXdq8i6bmPN7g709T+OIibJeRmnqZrvU1FAJh4lNIeL7CPztjarPhSfoJVQ SNK8zGU3u4DtStuqswSm6T6br29K/cj0Qfm6CjTmhxcPxYa9p5OBupLO/fkBD2kilj7H BgD5fpjV3OszW6NsqmmLRC9zE5DEgZup4uoirY/O7cWruIfAYc4IBdzF+EyBU+sMw15j tRWrpvTqaE2B6alVKnv3zc4OAKaO+ag45JO2SnxJ1CRnxnYAujc/pdQIF0nZeJ2fv5B4 ZztwLHWIeJByM/j82tuJKGFGdF0+gvdu3Wh3I9nxtcCvrEeCJDyi2zviA+4HoqEOFuqM PaPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nGOEs6IG; 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 z33-v6si6772034plb.663.2018.01.31.13.54.30; Wed, 31 Jan 2018 13:55:04 -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=nGOEs6IG; 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 S1753253AbeAaVyC (ORCPT + 99 others); Wed, 31 Jan 2018 16:54:02 -0500 Received: from mail-it0-f54.google.com ([209.85.214.54]:39043 "EHLO mail-it0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753220AbeAaVyA (ORCPT ); Wed, 31 Jan 2018 16:54:00 -0500 Received: by mail-it0-f54.google.com with SMTP id 68so1367619ite.4 for ; Wed, 31 Jan 2018 13:54:00 -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 :cc; bh=7zMXV4PXbEoj+YNTt1LfxQL1ZwiE+jdt13fq308JrFo=; b=nGOEs6IG+H6phHTODVfkxjelnZEPuVW6I031/+6kE0oZXTcPQMlmifqfTpBDDMDeY7 KcKCgQo3KNGC6IlvCXswGQkYxYn+Qo7Ui571DuQH+QxnditYuxNOXe7VxwyGOIbwpkRt +ittxPMiDwD1t3BHkirKDPdZthkF/m8L3qSj8pHvv/Uc//uhLJ14PcAWN+CeF3Jyb/aJ RdzJH3UGVw3yr4NwheJ1+tFKw3X4hQqgsxbe+msRNkZjc4NFtJMDbndnBRR/FMo4qsdI riyGlVBlQnvvOVqazzQRUcoPsei4mYsdIYVTVNg641AF29sHcZ/ISMth7sJjgfGk3AqD TvQA== 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:cc; bh=7zMXV4PXbEoj+YNTt1LfxQL1ZwiE+jdt13fq308JrFo=; b=HmXIqS5yLyjqAhSwKFYHP2vP/Z4TM0gAAwnYB+ybGfmx6zdy6wlt5qW95hPjuD9UuR jcA08dDJV35eXmhMPp5+aN0nukL3ZTkGiXG8fX34hofEzzjAo9lp0yDzhVcL+EyZg3vY 7B/1w0Z0TKUdkcTyapS/R3m9LjbqWGM1099AD9sKi8lRVml43NSMd9rIMx/G5bnEY1eJ omJxI5JijgQ8BneySZbhBuze1FfFvKMFef645u6wAiSteKMs5yTMeq/BEI5Ts7/dXaiH lBamZHIyam9Ian5WnIIL1fCg21GX4FQ4Fk1/xBJSu9/SCWAeEyyGQB2JUFmQC4re8KCf 0r4g== X-Gm-Message-State: AKwxytd0Z0tlwQrnW4SIcVClzVGAVGRUHBRBTbait/2urrX4kc35VMUt P14Mv/N0OsdgHRDvbx3x4/u391dJlHNEExfBBB9Ubw== X-Received: by 10.36.4.82 with SMTP id 79mr8709395itb.89.1517435639748; Wed, 31 Jan 2018 13:53:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.128.7 with HTTP; Wed, 31 Jan 2018 13:53:59 -0800 (PST) In-Reply-To: References: <1517427467-28567-1-git-send-email-karahmed@amazon.de> <1517427467-28567-5-git-send-email-karahmed@amazon.de> <06cb88da-f355-41ed-380f-7daa8ddf6159@amazon.com> <67dca2bb-1298-c7fa-f681-018e4edc6725@redhat.com> <16d89e09-fbfc-4a08-00a6-40cfb4776018@redhat.com> From: Jim Mattson Date: Wed, 31 Jan 2018 13:53:59 -0800 Message-ID: Subject: Re: [PATCH v5 4/5] KVM: VMX: Allow direct access to MSR_IA32_SPEC_CTRL To: Paolo Bonzini Cc: KarimAllah Ahmed , KarimAllah Ahmed , kvm list , LKML , "the arch/x86 maintainers" , Asit Mallick , Arjan Van De Ven , Dave Hansen , Andi Kleen , Andrea Arcangeli , Linus Torvalds , Tim Chen , Thomas Gleixner , Dan Williams , Jun Nakajima , David Woodhouse , Greg KH , Andy Lutomirski , Ashok Raj 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 Wed, Jan 31, 2018 at 1:42 PM, Paolo Bonzini wrote: > Can we just say it sucks to be L2 too? :) Because in the end as long as > no one ever writes to spec_ctrl, everybody is happy. Unfortunately, quite a few OS vendors shipped IBRS-based mitigations earlier this month. (Has Redhat stopped writing to IA32_SPEC_CTRL yet? :-) And in the long run, everyone is going to set IA32_SPEC_CTRL.IBRS=1 on CPUs with IA32_ARCH_CAPABILITIES.IBRS_ALL.