Received: by 10.213.65.68 with SMTP id h4csp491984imn; Tue, 20 Mar 2018 08:08:40 -0700 (PDT) X-Google-Smtp-Source: AG47ELu5i7uKp/pS+MVGqv97Sz7PLi3XDkd6sKUfJpF61ySjyeLZntrPhbfGU6ZygrdxR1TIpcD3 X-Received: by 10.99.96.66 with SMTP id u63mr12432686pgb.22.1521558520469; Tue, 20 Mar 2018 08:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521558520; cv=none; d=google.com; s=arc-20160816; b=y9VQZPLzDDGmQ+vjFcZ7HHO+IsoIRKj07FlahCpuqmm5zlwi266DE4aT0kpIaSBU2d EJgOxZf9kYqqmnm7wk5D489ft5WKTqx7hfQ08Pniij0g2TnM3iHBeMuBGcIUbhUYVHtA PXHjkR1R2UCVeMcf3sWiD2aA4i7KR2XBItcOokfsleC1FPiejVdokeJt7P0I4jbql95z J1tE8SvTOFm2QYDjcp5MKdgyTZXX8WXitIXcU3KiXvjjXj1IRBtmA7qFKQsRENANyBEh mVzEgeIEpRt5/r86Jlc8bN3+RgVrvx9SyZebiUrzik64lmBY03O4rm8MDFvs7uZcl443 6Nrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:cc:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=4IM3kXGQIosGINmkqPT8Z3ETPc/IQoZ9oq+3U5CASZs=; b=QOR3/b/CirZOcbSZDwR73THagwQAzHf0Q/wDmxxXHoFib8c1e5SNSw/clWRbLDPbm7 hezmBCa0j7KOIt/R/W2z3JliBIv/wwBa3FUmoglL0HCPMfvvPrrVfXVhrjveL2PdGXOa CZNDh9QEp8+fiTndN+ZAbMfjfgTJMKgDXm6vIHrlWmz7izuJg07nrXARezwXEd8DUSXx JT3OkcLZrfrPGvhLYL9OWwblVCKAxtUNm0g2TivughC5ClzT2m+OvarA7Gd3LrLv8fta BEYSxaWEpABS+iqyWKG4zY1AJSNK2vTzTXpgKA1Bv4CjXFG0xGTQdifbbXvSs1FARpCa TCrQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9-v6si1959809plz.79.2018.03.20.08.08.18; Tue, 20 Mar 2018 08:08:40 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751449AbeCTPHI (ORCPT + 99 others); Tue, 20 Mar 2018 11:07:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:32988 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750991AbeCTPHG (ORCPT ); Tue, 20 Mar 2018 11:07:06 -0400 Received: from mail-io0-f174.google.com (mail-io0-f174.google.com [209.85.223.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CBFC9217D8 for ; Tue, 20 Mar 2018 15:07:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CBFC9217D8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=luto@kernel.org Received: by mail-io0-f174.google.com with SMTP id e7so2740904iof.2 for ; Tue, 20 Mar 2018 08:07:05 -0700 (PDT) X-Gm-Message-State: AElRT7HM8z2a6vVcSXoNpwWnsI97zcKpbGJV4qp/KZLtKnDNNhUrlrcH ce+YZIaprbe/FdwG8mivlGe5rV3KDH94gQ7BXebrug== X-Received: by 10.107.20.213 with SMTP id 204mt13966640iou.239.1521558425281; Tue, 20 Mar 2018 08:07:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.137.70 with HTTP; Tue, 20 Mar 2018 08:06:44 -0700 (PDT) In-Reply-To: References: <1521481767-22113-1-git-send-email-chang.seok.bae@intel.com> From: Andy Lutomirski Date: Tue, 20 Mar 2018 15:06:44 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/15] x86: Enable FSGSBASE instructions Cc: "Chang S. Bae" , X86 ML , Andi Kleen , "H. Peter Anvin" , "Metzger, Markus T" , Tony Luck , "Ravi V. Shankar" , LKML Content-Type: text/plain; charset="UTF-8" To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 20, 2018 at 3:05 PM, Andy Lutomirski wrote: > On Mon, Mar 19, 2018 at 5:49 PM, Chang S. Bae wrote: >> FSGSBASE is 64-bit instruction set to allow read/write >> FS/GS base from any privilege. As introduced from >> Ivybridge, enabling effort has been revolving quite long >> [2,3,4] for various reasons. After extended discussions [1], >> this patchset is proposed to introduce new ABIs of >> customizing FS/GS base (separate from its selector). >> >> FSGSBASE-enabled VM can be located on hosts with >> either HW virtualization or SW emulation. KVM advertises >> FSGSBASE when physical CPU has and emulation is >> supported in QEMU/TCG [5]. In a pool of mixed systems, VMM >> may disable FSGSBASE for seamless VM migrations [6]. >> >> A couple of major benefits are expected. Kernel will have >> performance improvement in context switch by skipping MSR >> write for GS base. User-level programs (such as JAVA-based) >> benefit from avoiding system calls to edit FS/GS base. > > Can you describe what changed since the last submission? It looks > like a lot has changed and this series is much more complicated and > much more fragile than it used to be. Why? Also, I've been getting lots of kbuild bot complaints about something that looks like this patches from your git tree as recently as March 17. Have you fixed those problems?