Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754324AbcJNSK3 (ORCPT ); Fri, 14 Oct 2016 14:10:29 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:44166 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754008AbcJNSKW (ORCPT ); Fri, 14 Oct 2016 14:10:22 -0400 From: Boris Ostrovsky To: david.vrabel@citrix.com, JGross@suse.com Cc: roger.pau@citrix.com, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, Boris Ostrovsky Subject: [PATCH 0/8] PVH v2 support Date: Fri, 14 Oct 2016 14:05:10 -0400 Message-Id: <1476468318-24422-1-git-send-email-boris.ostrovsky@oracle.com> X-Mailer: git-send-email 1.8.3.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 Content-Length: 2388 Lines: 55 (Resending with proper mailing lists included) PVH v2 support for unprivileged guests. Previous version was posted long time ago. Major changes: 1. Drop PVH v1 support 2. Enable ACPI. This allows us to use much more of native code and results in making this series much simpler (for example, PV-style VCPU bringup is no longer necessary). 3. Refactor 32-bit pagetable setup from native code (by Matt Fleming) This has been tested on Intel/AMD, both 32- and 64-bit, including CPU hotplug and save/restore. Compile-tested for ARM. Boris Ostrovsky (8): xen/x86: Remove PVH support x86/head: Refactor 32-bit pgtable setup xen/pvh: Import PVH-related Xen public interfaces xen/pvh: Bootstrap PVH guest xen/pvh: Prevent PVH guests from using PIC, RTC and IOAPIC xen/pvh: Initialize grant table for PVH guests xen/pvh: PVH guests always have PV devices xen/pvh: Enable CPU hotplug arch/x86/Makefile | 2 + arch/x86/kernel/Makefile | 2 + arch/x86/kernel/head_32.S | 168 +--------------------- arch/x86/kernel/pgtable_32.S | 196 +++++++++++++++++++++++++ arch/x86/xen/Kconfig | 2 +- arch/x86/xen/Makefile | 1 + arch/x86/xen/enlighten.c | 251 ++++++++++++++++----------------- arch/x86/xen/mmu.c | 21 +-- arch/x86/xen/platform-pci-unplug.c | 4 +- arch/x86/xen/setup.c | 37 +---- arch/x86/xen/smp.c | 78 ++++------ arch/x86/xen/smp.h | 8 -- arch/x86/xen/xen-head.S | 62 +------- arch/x86/xen/xen-ops.h | 1 - arch/x86/xen/xen-pvh.S | 143 +++++++++++++++++++ drivers/xen/cpu_hotplug.c | 2 +- drivers/xen/events/events_base.c | 1 - drivers/xen/grant-table.c | 8 +- include/xen/interface/elfnote.h | 12 +- include/xen/interface/hvm/hvm_vcpu.h | 143 +++++++++++++++++++ include/xen/interface/hvm/start_info.h | 98 +++++++++++++ include/xen/xen.h | 12 +- 22 files changed, 764 insertions(+), 488 deletions(-) create mode 100644 arch/x86/kernel/pgtable_32.S create mode 100644 arch/x86/xen/xen-pvh.S create mode 100644 include/xen/interface/hvm/hvm_vcpu.h create mode 100644 include/xen/interface/hvm/start_info.h -- 1.8.3.1