Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp626567pxk; Wed, 23 Sep 2020 11:38:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxToxeyLqSZyjvpewNG740D2G5Tu2lTCfqwiC8QjuX3Dx3QJGmcvjFwBo0K5zscsmfb6ep X-Received: by 2002:a17:906:4d57:: with SMTP id b23mr996758ejv.496.1600886325339; Wed, 23 Sep 2020 11:38:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600886325; cv=none; d=google.com; s=arc-20160816; b=TffLybSYeEqnoWFeNk0yCq82or/+BfP4ZZq/UDATgzM1eRjVSVklCmvSRhD2LUTR29 TuR9FTr5mrpWKYzc09OI9SEr2z9DQp+Ndr3izSU6amceq7r2gi2EFdn3fvLzJagL97BW KQPWYSYSTI0dkbsUNUS0IPGcs+7a4Oi7rgRMl28CkkM3/A4FfgZ1ydpCZlb4zbNCxdW+ zjK2RAwKYucuvJyvNG0s3oR1bH0qcTfSuX4XWCj1V5UFvFQrUyLd4VwYZwnMPXOd2YnI YbDWq64sSlOXn1TWgzZ5dXODZ+f3A23YID93Zx+/M3KqErx1NqDglOBdf++WK1bCp9I5 v0SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=1so3HbzTVqdqJZVLY5Qh7NZYh5DpAffU3CxAwPyTZaw=; b=OrB1w/qaCUhVEPygMz2JMFlnagnQ/VvB4K5WWbHJBg+J+c5tg5KZpsWu8n5BF1BBsM yuE/Pq73LbuEu8OrD2tKEU7ihXi7sDYEgoh2V5KzR1aWfb2iNT8Od7ID0za/AA82pYxN JJpIjcblZrpyiB0fQshuv6yCxz4F2OjSnFD4tKG2deNhwzPI0/H5tRAq91HR/ssIK7ia tcnEDaJwmghLSgvjR+7RZZm8ldsf7mJqYsynkOE35SR8BHEEg14W5OBCn5gRdOU8CuDc nvS/HbrYiWdCS14M2V8YgyRJkruCjkG9sdUn1I1q4UFRPLeUf/o5JVTPKZozpTH2fpgo rMkw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f17si429031edq.587.2020.09.23.11.38.21; Wed, 23 Sep 2020 11:38:45 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726843AbgIWSgl (ORCPT + 99 others); Wed, 23 Sep 2020 14:36:41 -0400 Received: from mga01.intel.com ([192.55.52.88]:62893 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726419AbgIWSgb (ORCPT ); Wed, 23 Sep 2020 14:36:31 -0400 IronPort-SDR: pu1WlUPkEAIVm+sm7cktybZu5wOcnW59pPgT2MgJYtRAPptH1zevNzdRo5UrJDyHYWRNp98228 r8oz/iwA83Zg== X-IronPort-AV: E=McAfee;i="6000,8403,9753"; a="179071084" X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="179071084" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Sep 2020 11:31:13 -0700 IronPort-SDR: XCE25CZx9o4roeAASR1hBUV0R6VuwmCg7XyrXto6zd0cgXxwq7xYvcXnJIe5iTekicSGWKLzN+ NqFRKAB0dYQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,293,1596524400"; d="scan'208";a="413082157" Received: from sjchrist-coffee.jf.intel.com ([10.54.74.160]) by fmsmga001.fm.intel.com with ESMTP; 23 Sep 2020 11:31:13 -0700 From: Sean Christopherson To: Paolo Bonzini Cc: Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Xiaoyao Li Subject: [PATCH 0/2] KVM: VMX: Super early file refactor for TDX Date: Wed, 23 Sep 2020 11:31:10 -0700 Message-Id: <20200923183112.3030-1-sean.j.christopherson@intel.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename vmx/ops.h to vmx/vmx_ops.h, and move VMX's posted interrupt support to dedicated files in preparation for future Trust Domain Extensions (TDX) enabling. These changes are somewhat premature, as full TDX enabling is months away, but the posted interrupts change is (IMO) valuable irrespective of TDX. The value of the vmx_ops.h rename without TDX is debatable. I have no problem deferring the change to the actual TDX series if there are objections. I'm submitting the patch now as getting the rename upstream will save us minor merge conflict pain if there are changes to vmx/ops.h between now and whenever the TDX enabling series comes along. https://software.intel.com/content/www/us/en/develop/articles/intel-trust-domain-extensions.html Sean Christopherson (1): KVM: VMX: Rename ops.h to vmx_ops.h Xiaoyao Li (1): KVM: VMX: Extract posted interrupt support to separate files arch/x86/kvm/Makefile | 3 +- arch/x86/kvm/vmx/posted_intr.c | 332 ++++++++++++++++++++++++++ arch/x86/kvm/vmx/posted_intr.h | 99 ++++++++ arch/x86/kvm/vmx/vmx.c | 321 +------------------------ arch/x86/kvm/vmx/vmx.h | 92 +------ arch/x86/kvm/vmx/{ops.h => vmx_ops.h} | 0 6 files changed, 440 insertions(+), 407 deletions(-) create mode 100644 arch/x86/kvm/vmx/posted_intr.c create mode 100644 arch/x86/kvm/vmx/posted_intr.h rename arch/x86/kvm/vmx/{ops.h => vmx_ops.h} (100%) -- 2.28.0