Received: by 10.192.165.148 with SMTP id m20csp5333889imm; Wed, 9 May 2018 03:23:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqp+ezpo6aVQZOdHJ7cvS58NpnGiNbmd6+0xcyqjMDJ7RH8Bi3+S/KR/in76PXfA8hJXLLi X-Received: by 10.98.201.135 with SMTP id l7mr42674427pfk.221.1525861412675; Wed, 09 May 2018 03:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525861412; cv=none; d=google.com; s=arc-20160816; b=tM+6Hg7xVzP9gdAhylT9XmiAsMd6JZXA4CaLCEvBgQ2Sf3Zm7QJtqq+Wx2jQQ4b5NV WJfNQm3h9EC9mTAIoqNV92f6XSNi9PMGDTlQC2txTD1x6VQAoyOgv3HAoJb9MF0SE7DC m66XUFDNx2vpkBCStrMq29DfEdVw64Xmelq4LCm62wbmVMA+EjAzLeAZwgeZ1wDQTagx a1iwPvTTCZp62ZkD/Kpg4RFTThEbntjVvA2eRlJqY1+KP+W6ADum6TZKCti9IyX3eJGU oxhkgO/7dXkj2dNQZ8PVrv1dlIDMbA+p8hwJpJiyU081wDdMDxQxhnYJyKE7CFk/z283 onJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=m6Vdp8qill3DN/JLUTet/Y4EJySTtsJbiQlqiRkqz/g=; b=V3C8s4M38PT5lR/vw7vIQtH2Vl4uNonyJvLIZzziqfeel+YC1Y6Tyiq8CKPMBnh7nH YdvgzN13Ybf788RMrLktqWCbyPH0qx9Yc0/D7J5K/xSpwg/W0HmRhMEn2loIwnyuFAmY JQAfbHFkRoCozaYS2XQnxIR2+biSvg/uNHvy5RE8ahTNehAh5sTEzxOTmYunM3jTMleb B0wPMgz2GZcQ5n+pI4iitOYnjraYiQUiyKIA3cmqBzxFetyDanfieE7A6IiwPfKsk4kn ctA86VgG19VmpY5EI/FYhQpstalD/XlzehRwpixEH6Laq9xkeYIIoGoBDwXmRb5Zxt5b 0grg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12si26577750pfd.199.2018.05.09.03.23.18; Wed, 09 May 2018 03:23:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934254AbeEIKVp (ORCPT + 99 others); Wed, 9 May 2018 06:21:45 -0400 Received: from smtp03.citrix.com ([162.221.156.55]:16799 "EHLO SMTP03.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934038AbeEIKVo (ORCPT ); Wed, 9 May 2018 06:21:44 -0400 X-IronPort-AV: E=Sophos;i="5.49,381,1520899200"; d="scan'208";a="54081116" From: Roger Pau Monne To: CC: Roger Pau Monne Subject: [PATCH v2 0/3] xen/pvh: Dom0 support Date: Wed, 9 May 2018 11:21:26 +0100 Message-ID: <20180509102129.14832-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, The following patches enable booting a PVH Dom0. So far I've only tested them in my test box, so I expect more issues will show up as this gets further testing. In any case, this is the bare minimum to get a PVH Dom0 working. In order to test them Xen 4.11 RC or plain master/staging should be used. Compile a Linux kernel with this patches and PVH support and add dom0=pvh to the Xen command line. The following message will be displayed during Dom0 boot by the Linux kernel if PVH mode is used: "Booting paravirtualized kernel on Xen PVH" Thanks, Roger. Roger Pau Monne (3): xen/pvh: enable and set default MTRR type xen/store: do not store local values in xen_start_info xen: share start flags between PV and PVH arch/arm/xen/enlighten.c | 7 ++++--- arch/x86/xen/enlighten.c | 7 +++++++ arch/x86/xen/enlighten_pv.c | 1 + arch/x86/xen/enlighten_pvh.c | 4 ++++ drivers/xen/xenbus/xenbus_probe.c | 5 ++--- include/xen/xen.h | 4 +++- 6 files changed, 21 insertions(+), 7 deletions(-) -- 2.17.0