From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755528AbcAVVih (ORCPT ); Fri, 22 Jan 2016 16:38:37 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:47458 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755040AbcAVVgb (ORCPT ); Fri, 22 Jan 2016 16:36:31 -0500 From: Boris Ostrovsky To: david.vrabel@citrix.com, konrad.wilk@oracle.com Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, roger.pau@citrix.com, mcgrof@suse.com, Boris Ostrovsky Subject: [PATCH v1 00/12] HVMlite domU support Date: Fri, 22 Jan 2016 16:35:46 -0500 Message-Id: <1453498558-6028-1-git-send-email-boris.ostrovsky@oracle.com> X-Mailer: git-send-email 1.7.1 X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series introduces HVMlite support for unprivileged guests. It has been tested on Intel/AMD, both 32- and 64-bit, including CPU on- and offlining and save/restore. (Restore will result in APIC write warnings which exist now for 32-bit PV guests as well so I didn't address this in this series) Compile-tested on ARM Boris Ostrovsky (12): x86/smp: Make start_secondary() and initial_pg_pmd visible globally xen/hvmlite: Factor out common kernel init code xen/hvmlite: Import hvmlite-related Xen public interfaces xen/hvmlite: Bootstrap HVMlite guest xen/hvmlite: Allow HVMlite guests delay initializing grant table xen/hvmlite: Initialize PCI xen/hvmlite: Prepare cpu_initialize_context() routine for HVMlite SMP xen/hvmlite: Initialize context for secondary VCPUs xen/hvmlite: Extend APIC operations for HVMlite guests xen/hvmlite: Use x86's default timer init for HVMlite guests xen/hvmlite: Boot secondary CPUs xen/hvmlite: Enable CPU on-/offlining arch/x86/include/asm/smp.h | 1 + arch/x86/kernel/head_32.S | 2 +- arch/x86/kernel/smpboot.c | 2 +- arch/x86/pci/xen.c | 2 +- arch/x86/xen/Makefile | 1 + arch/x86/xen/apic.c | 39 ++++- arch/x86/xen/enlighten.c | 318 ++++++++++++++++++++++------------ arch/x86/xen/grant-table.c | 4 +- arch/x86/xen/platform-pci-unplug.c | 4 +- arch/x86/xen/pmu.c | 4 +- arch/x86/xen/smp.c | 248 ++++++++++++++++++-------- arch/x86/xen/smp.h | 4 + arch/x86/xen/time.c | 5 +- arch/x86/xen/xen-hvmlite.S | 173 ++++++++++++++++++ drivers/xen/grant-table.c | 8 +- include/xen/interface/elfnote.h | 12 ++- include/xen/interface/hvm/hvm_vcpu.h | 143 +++++++++++++++ include/xen/interface/xen.h | 24 +++ include/xen/xen.h | 6 + 19 files changed, 801 insertions(+), 199 deletions(-) create mode 100644 arch/x86/xen/xen-hvmlite.S create mode 100644 include/xen/interface/hvm/hvm_vcpu.h From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: [PATCH v1 00/12] HVMlite domU support Date: Fri, 22 Jan 2016 16:35:46 -0500 Message-ID: <1453498558-6028-1-git-send-email-boris.ostrovsky@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aMjNe-0004F4-5X for xen-devel@lists.xenproject.org; Fri, 22 Jan 2016 21:36:30 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: david.vrabel@citrix.com, konrad.wilk@oracle.com Cc: Boris Ostrovsky , xen-devel@lists.xenproject.org, mcgrof@suse.com, linux-kernel@vger.kernel.org, roger.pau@citrix.com List-Id: xen-devel@lists.xenproject.org This series introduces HVMlite support for unprivileged guests. It has been tested on Intel/AMD, both 32- and 64-bit, including CPU on- and offlining and save/restore. (Restore will result in APIC write warnings which exist now for 32-bit PV guests as well so I didn't address this in this series) Compile-tested on ARM Boris Ostrovsky (12): x86/smp: Make start_secondary() and initial_pg_pmd visible globally xen/hvmlite: Factor out common kernel init code xen/hvmlite: Import hvmlite-related Xen public interfaces xen/hvmlite: Bootstrap HVMlite guest xen/hvmlite: Allow HVMlite guests delay initializing grant table xen/hvmlite: Initialize PCI xen/hvmlite: Prepare cpu_initialize_context() routine for HVMlite SMP xen/hvmlite: Initialize context for secondary VCPUs xen/hvmlite: Extend APIC operations for HVMlite guests xen/hvmlite: Use x86's default timer init for HVMlite guests xen/hvmlite: Boot secondary CPUs xen/hvmlite: Enable CPU on-/offlining arch/x86/include/asm/smp.h | 1 + arch/x86/kernel/head_32.S | 2 +- arch/x86/kernel/smpboot.c | 2 +- arch/x86/pci/xen.c | 2 +- arch/x86/xen/Makefile | 1 + arch/x86/xen/apic.c | 39 ++++- arch/x86/xen/enlighten.c | 318 ++++++++++++++++++++++------------ arch/x86/xen/grant-table.c | 4 +- arch/x86/xen/platform-pci-unplug.c | 4 +- arch/x86/xen/pmu.c | 4 +- arch/x86/xen/smp.c | 248 ++++++++++++++++++-------- arch/x86/xen/smp.h | 4 + arch/x86/xen/time.c | 5 +- arch/x86/xen/xen-hvmlite.S | 173 ++++++++++++++++++ drivers/xen/grant-table.c | 8 +- include/xen/interface/elfnote.h | 12 ++- include/xen/interface/hvm/hvm_vcpu.h | 143 +++++++++++++++ include/xen/interface/xen.h | 24 +++ include/xen/xen.h | 6 + 19 files changed, 801 insertions(+), 199 deletions(-) create mode 100644 arch/x86/xen/xen-hvmlite.S create mode 100644 include/xen/interface/hvm/hvm_vcpu.h