Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp4046939pxy; Tue, 4 May 2021 16:41:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUYvVla8sfGOMr5bHLLX2SMVtMvHYMcMJLfkrMIcOIJLCvDWK4JVe72s2exu5TsjkGtw1f X-Received: by 2002:a05:6402:204b:: with SMTP id bc11mr29140826edb.40.1620171666630; Tue, 04 May 2021 16:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620171666; cv=none; d=google.com; s=arc-20160816; b=M+6ygEbE1CxK0GSt06gEKqm+B3orSH4C2c5xXcJ4bX22BlWy3aRUkmLvDhR3Ofh2lK B3SoruD/+3Z7GRPgPezXU2mhh/YNrkICRBtZGaCAjUraOe8AQsZoyOsf7d0rE21b+/Zp dTIMck4f+eYvYj1Tg0FlP4cWKn5ixYBHUIt/Xt2mxEcNYSfZ1EBqKr03QBFhSZOD+pf0 XP1oXnewPwu6CSMQGLlPkyXdfGX/x42mn4zvM7ZqqgRcEUv0mgbbgFw3J0Us1KZmvAQJ r0Ns5/TDXL8bz13hNDuXStPk6x+jslJaqckcYfHm8rQ1gvLF5P8V2v9lbHuz60GHM358 V8hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=cCjpzDhrttWsw5MJ/p42z/oli5HL0EZ4CCcwCVvuAoc=; b=j+4J9IBOknLPKV5wgVE+Wl8/4IVK2X+CHQpULfcS3bDWTNfR9iZFLlhv8PdSodAUJl KyrG+AjFTRF8banDzh6qnU293Ae7eju+DQUNRltCI4vO/JLRM51SoEhp8Eg4VxkrklDw r9YradZaRI2spHJkA/qQWNG/BWa+EQjqH+7XDVTLbqTnqUeOnggCYqXjzf0BdR74Pwci UvqbnPkOpxIIHJ86gxvFDP0KTpJajR78fk/uq5ounOTy6tFhd1mGCXDHy3UzJG70T2kR ywSZ0Kozh7kMFZpbv36/dAF2EqA8LB24v1hfQgMlItaQjgWhJmGZ4h8wTsy2QvwLoHLu j4Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Jsjd0wfS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id ne11si892773ejc.263.2021.05.04.16.40.43; Tue, 04 May 2021 16:41:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Jsjd0wfS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231300AbhEDXZJ (ORCPT + 99 others); Tue, 4 May 2021 19:25:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231226AbhEDXZJ (ORCPT ); Tue, 4 May 2021 19:25:09 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 568D0C06174A for ; Tue, 4 May 2021 16:24:13 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id d10so368866pgf.12 for ; Tue, 04 May 2021 16:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cCjpzDhrttWsw5MJ/p42z/oli5HL0EZ4CCcwCVvuAoc=; b=Jsjd0wfSASc35JMy8OFI+WGWdedhSmWjdc9/8egrIrj/OAUw1r3z0rbzxov+fJMCdB 8LCoDvmG6EHJ0veMHcaOO2y7esjJsxDR02u80b6HuYIjk01mdo+M80bFI99KNvDTT2o4 C50gnrXKnC5OkpOvBU75vnQxbhNksQ5ThdJ853VWIGHmBzge/oFgeNt568JWwqhlYhB9 IKt15CCP7c08U+Q0LG907KjvgkJnGsCgY0ZWrp+yrxSDIWSLEDuXul0XFnx0ULpszY58 JtCOAM3G2shxJVixfcKgUnxCsuGrToUGIFC8UvSHym/6qJ5Q9bO9KLESGkA/1Zf4uY5G m61w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cCjpzDhrttWsw5MJ/p42z/oli5HL0EZ4CCcwCVvuAoc=; b=CrbmYXGo5pjbs7MSToRGVecH8pT9V91oWtO2sxOx54hryZ2DDvziTVLEmln6e//6fU oHZQkmEynJqqot0CHVGXyqV/xiNU3+Nzk4pxByd1BJOy8XYPivHfaqbrpuDPZbTp/brO Midth3iPEIxziAYvEELgoYG6Fk91TwZE7dY/a17EiAZ+uuiwye2DrJQm9o6i+Byl0dnN SFsD+hUKTMI0nV/m8fUFpjTSp3s0WslCeEZJauJhEwYSkAzmw5fVyz7F5M4hhsiA7szX ve0bqYLItlRn5IlKTwvCtObK5DCmm7dBNxLxockxm2IAFR9E53dCAqilsQiTLhN4SJBL F56Q== X-Gm-Message-State: AOAM530Gr25s/McA/t4Qd78iBvExgEfzABQmyvdA+/GpHTU8ecsxvlt1 E7AZUKbMCf/Amw+u9ywTUBuWv75hj5Mos8sjlg12TQ== X-Received: by 2002:a63:ff25:: with SMTP id k37mr5373178pgi.360.1620170652347; Tue, 04 May 2021 16:24:12 -0700 (PDT) MIME-Version: 1.0 References: <20210504171734.1434054-1-seanjc@google.com> <20210504171734.1434054-5-seanjc@google.com> In-Reply-To: <20210504171734.1434054-5-seanjc@google.com> From: Jim Mattson Date: Tue, 4 May 2021 16:24:01 -0700 Message-ID: Subject: Re: [PATCH 04/15] KVM: x86: Move RDPID emulation intercept to its own enum To: Sean Christopherson Cc: Paolo Bonzini , Vitaly Kuznetsov , Wanpeng Li , Joerg Roedel , kvm list , LKML , Xiaoyao Li , Reiji Watanabe Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 4, 2021 at 10:17 AM Sean Christopherson wrote: > > Add a dedicated intercept enum for RDPID instead of piggybacking RDTSCP. > Unlike VMX's ENABLE_RDTSCP, RDPID is not bound to SVM's RDTSCP intercept. > > Fixes: fb6d4d340e05 ("KVM: x86: emulate RDPID") > Cc: stable@vger.kernel.org > Signed-off-by: Sean Christopherson Reviewed-by: Jim Mattson