From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7E2DC54FD0 for ; Fri, 24 Apr 2020 13:29:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8A346206D7 for ; Fri, 24 Apr 2020 13:29:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727866AbgDXN3k (ORCPT ); Fri, 24 Apr 2020 09:29:40 -0400 Received: from mga03.intel.com ([134.134.136.65]:63524 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726667AbgDXN3k (ORCPT ); Fri, 24 Apr 2020 09:29:40 -0400 IronPort-SDR: YvDEbMMZKNjzMaIb4B2VP26HGUzN6D31nQhnATEklIX+KfJRpRDQL92VGH1DNG/KxHuGPEbpg2 S2pBErK/UNzQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2020 06:29:39 -0700 IronPort-SDR: 64R9MDsW0CF8L3MESn1yqC+i4CXvebiAVZdK7XPQreI4c2nvb1ZER3fsqrSwoIzQSQwr1PyuIa Ea68KJxcmmVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,311,1583222400"; d="scan'208";a="292632097" Received: from unknown (HELO localhost) ([10.239.159.128]) by orsmga008.jf.intel.com with ESMTP; 24 Apr 2020 06:29:37 -0700 Date: Fri, 24 Apr 2020 21:31:39 +0800 From: Yang Weijiang To: Sean Christopherson Cc: Yang Weijiang , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, pbonzini@redhat.com, jmattson@google.com, yu.c.zhang@linux.intel.com Subject: Re: [PATCH v11 0/9] Introduce support for guest CET feature Message-ID: <20200424133139.GA24039@local-michael-cet-test> References: <20200326081847.5870-1-weijiang.yang@intel.com> <20200423155109.GD17824@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200423155109.GD17824@linux.intel.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 23, 2020 at 08:51:09AM -0700, Sean Christopherson wrote: > On Thu, Mar 26, 2020 at 04:18:37PM +0800, Yang Weijiang wrote: > > Control-flow Enforcement Technology (CET) provides protection against > > Return/Jump-Oriented Programming (ROP/JOP) attack. It includes two > > sub-features: Shadow Stack (SHSTK) and Indirect Branch Tracking (IBT). > > > > KVM needs to update to enable guest CET feature. > > This patchset implements CET related CPUID/XSAVES enumeration, MSRs > > and vmentry/vmexit configuration etc.so that guest kernel can setup CET > > runtime infrastructure based on them. Some CET MSRs and related feature > > flags used reference the definitions in kernel patchset. > > > > CET kernel patches are here: > > https://lkml.org/lkml/2020/2/5/593 > > https://lkml.org/lkml/2020/2/5/604 > > lkml.org is pretty worthless for this sort of thing, and lkml.kernel.org > is the preferred link method in general. The syntax is > > https://lkml.kernel.org/r/ > > e.g. > > https://lkml.kernel.org/r/20200205181935.3712-1-yu-cheng.yu@intel.com > > Note, that will redirect to lore.kernel.org, but the above format is > preferred because it isn't dependent on binning the thread to a specific > mailing list. > > Anyways, kernel.org provides a link to download the entire thread in mbox > format, which allows reviewers to get the prerequisite series without much > fuss. > > https://lore.kernel.org/linux-api/20200205181935.3712-1-yu-cheng.yu@intel.com/t.mbox.gz Thanks Sean for the detailed review! I completely omitted such kind of consideration, will change it from next version.