Received: by 10.223.185.116 with SMTP id b49csp5831368wrg; Tue, 27 Feb 2018 22:36:57 -0800 (PST) X-Google-Smtp-Source: AH8x224STRFC29HSbYgmCGdMMhStDB7OLYWVRyfjluRHMjDaY856iKuIbQplRVJfiMTsGA71eHA+ X-Received: by 10.99.5.197 with SMTP id 188mr13347852pgf.196.1519799817355; Tue, 27 Feb 2018 22:36:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519799817; cv=none; d=google.com; s=arc-20160816; b=TVV9GSpl8uH6O6WR+eLARmgcdF4fengsq5Qi4Cq/kVTapSiw2lWeZBkU0o1NM9xqR5 N7b0+L4X2/oVh17o/nxw22YkkkfDTJDaK4we0wGZxuXaxPCbYymSMtl1Fe1fzQfoE5Co biaysscY3lUS35bGMhX3bAtUvc7Zact01ZKjUT6fnJgblauwQILA8Min4W5sDG06X2rY 6KaqoK4EPj41yDcx82Nz+YQSXfNjGKkW4mnjzimhvvP/VOWZM8VeoESu3ZSxMis52gcK KVJz7vxvBc6DCX0qb7L1JFvIpihr0Q4ps18QerTMUHZlBYmd+qOcR4UC8DD+RDHuUJPz 8VnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=OHSiiEWug76Pf9WaoH9f7jfyHPr259eVFEe6Du01sTE=; b=LF9ZnxhOY6udakj/LPDJoMMU65qktULwDkGx//nl+tg7ooplk/PRz72vZiCzsp35+9 zcIxIaWd7NdGEo+P1KWaOk3KZXzrUr2EXbGbNVmnISWaZa9v9txhGBvdVobRSa9BxD8V cUOFvmKqmRWiPSVg2tZziHk8BKC5nPdE9EXFp5/Y3XJpc455Y3WOrLZmNROZu7fcrhO9 PLHFQ2DMeFOupnN+GNiY4f7rcjo4fXan6+WTlzGGqWLoxg28aT552M0++ciVeLAtF73r vAXBA/YO8bpoEVs5IUqE9/8Raa8OemFjONUUx1jpGQqCLb0JRPDEZcruhxGp/vhKxkOw AcTg== 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 y11si611407pgv.816.2018.02.27.22.36.42; Tue, 27 Feb 2018 22:36:57 -0800 (PST) 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 S1752035AbeB1GfU (ORCPT + 99 others); Wed, 28 Feb 2018 01:35:20 -0500 Received: from goliath.siemens.de ([192.35.17.28]:35123 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751646AbeB1GfR (ORCPT ); Wed, 28 Feb 2018 01:35:17 -0500 Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w1S6YtlJ027913 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Feb 2018 07:34:55 +0100 Received: from md1f2u6c.ww002.siemens.net ([167.87.77.211]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w1S6Yqu2013249; Wed, 28 Feb 2018 07:34:52 +0100 From: Jan Kiszka To: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Bjorn Helgaas Cc: x86@kernel.org, Linux Kernel Mailing List , jailhouse-dev@googlegroups.com, linux-pci@vger.kernel.org, virtualization@lists.linux-foundation.org, Benedikt Spranger , Mark Rutland , Otavio Pontes , Rob Herring Subject: [PATCH v2 0/6] jailhouse: Enhance secondary Jailhouse guest support /wrt PCI Date: Wed, 28 Feb 2018 07:34:45 +0100 Message-Id: X-Mailer: git-send-email 2.13.6 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Basic x86 support [1] for running Linux as secondary Jailhouse [2] guest is currently pending in the tip tree. This builds on top and enhances the PCI support for x86 and also ARM guests (ARM[64] does not require platform patches and works already). Key elements of this series are: - detection of Jailhouse via device tree hypervisor node - function-level PCI scan if Jailhouse is detected - MMCONFIG support for x86 guests As most changes affect x86, I would suggest to route the series also via tip after the necessary acks are collected. Changes in v2: - adjusted commit log and include ordering in patch 2 - rebased over Linus master Jan [1] https://lkml.org/lkml/2017/11/27/125 [2] http://jailhouse-project.org CC: Benedikt Spranger CC: Mark Rutland CC: Otavio Pontes CC: Rob Herring Jan Kiszka (5): jailhouse: Provide detection for non-x86 systems PCI: Scan all functions when running over Jailhouse x86: Consolidate PCI_MMCONFIG configs x86/jailhouse: Allow to use PCI_MMCONFIG without ACPI MAINTAINERS: Add entry for Jailhouse Otavio Pontes (1): x86/jailhouse: Enable PCI mmconfig access in inmates Documentation/devicetree/bindings/jailhouse.txt | 8 ++++++++ MAINTAINERS | 7 +++++++ arch/x86/Kconfig | 11 ++++++----- arch/x86/include/asm/jailhouse_para.h | 2 +- arch/x86/include/asm/pci_x86.h | 2 ++ arch/x86/kernel/Makefile | 2 +- arch/x86/kernel/cpu/amd.c | 2 +- arch/x86/kernel/jailhouse.c | 7 +++++++ arch/x86/pci/legacy.c | 4 +++- arch/x86/pci/mmconfig-shared.c | 4 ++-- drivers/pci/probe.c | 4 +++- include/linux/hypervisor.h | 17 +++++++++++++++-- 12 files changed, 56 insertions(+), 14 deletions(-) create mode 100644 Documentation/devicetree/bindings/jailhouse.txt -- 2.13.6