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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 4CAB3C4332B for ; Tue, 24 Mar 2020 09:42:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2FAEA2080C for ; Tue, 24 Mar 2020 09:42:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727453AbgCXJmW (ORCPT ); Tue, 24 Mar 2020 05:42:22 -0400 Received: from 8bytes.org ([81.169.241.247]:55346 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727230AbgCXJmA (ORCPT ); Tue, 24 Mar 2020 05:42:00 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 279EF2E2; Tue, 24 Mar 2020 10:41:59 +0100 (CET) From: Joerg Roedel To: Paolo Bonzini Cc: Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Suravee Suthikulpanit , Tom Lendacky , Ashish Kalra , Brijesh Singh , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] KVM: SVM: Move and split up svm.c Date: Tue, 24 Mar 2020 10:41:50 +0100 Message-Id: <20200324094154.32352-1-joro@8bytes.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, here is a patch-set agains kvm/queue which moves svm.c into its own subdirectory arch/x86/kvm/svm/ and splits moves parts of it into separate source files: - The parts related to nested SVM to nested.c - AVIC implementation to avic.c - The SEV parts to sev.c I have tested the changes in a guest with and without SEV. Please review. Thanks, Joerg Joerg Roedel (4): kVM SVM: Move SVM related files to own sub-directory KVM: SVM: Move Nested SVM Implementation to nested.c KVM: SVM: Move AVIC code to separate file KVM: SVM: Move SEV code to separate file arch/x86/kvm/Makefile | 2 +- arch/x86/kvm/svm/avic.c | 1025 ++++ arch/x86/kvm/svm/nested.c | 823 ++++ arch/x86/kvm/{pmu_amd.c => svm/pmu.c} | 0 arch/x86/kvm/svm/sev.c | 1178 +++++ arch/x86/kvm/{ => svm}/svm.c | 6546 ++++++------------------- arch/x86/kvm/svm/svm.h | 491 ++ 7 files changed, 5106 insertions(+), 4959 deletions(-) create mode 100644 arch/x86/kvm/svm/avic.c create mode 100644 arch/x86/kvm/svm/nested.c rename arch/x86/kvm/{pmu_amd.c => svm/pmu.c} (100%) create mode 100644 arch/x86/kvm/svm/sev.c rename arch/x86/kvm/{ => svm}/svm.c (56%) create mode 100644 arch/x86/kvm/svm/svm.h -- 2.17.1