From patchwork Sat Sep 28 14:20:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= X-Patchwork-Id: 11165421 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EE01C912 for ; Sat, 28 Sep 2019 14:22:36 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C9D8F20815 for ; Sat, 28 Sep 2019 14:22:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="BHKcbLP7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9D8F20815 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=invisiblethingslab.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iEDaz-0003iO-SA; Sat, 28 Sep 2019 14:21:13 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iEDay-0003iD-Ef for xen-devel@lists.xenproject.org; Sat, 28 Sep 2019 14:21:12 +0000 X-Inumbo-ID: 38e1563a-e1fb-11e9-bf31-bc764e2007e4 Received: from new4-smtp.messagingengine.com (unknown [66.111.4.230]) by localhost (Halon) with ESMTPS id 38e1563a-e1fb-11e9-bf31-bc764e2007e4; Sat, 28 Sep 2019 14:21:11 +0000 (UTC) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id B5602107D; Sat, 28 Sep 2019 10:21:11 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sat, 28 Sep 2019 10:21:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=Wny+VU o+NYM3xZGAC0fNp7A3zu1SUAuz1b8egBpZFxQ=; b=BHKcbLP7S1CPB7gwY0OrDB RiiCNfHGdLIzALUFUHqgNJauKN0J4pa5R1Km0qoLn1sm+KPUMycakSLtmi7bWLTG ETNc72+pibmmlC2hz6yHdccHcs4jpM6Z/xaBVdsSAxmLvYs+1qC8A7IsImPAYZe3 Zh6nlgiNzfbQTvkStItEb7EsSrtHNIRCM/c0d3Uq62FqLnUBVRTR5BxCzq/iFAmR RxT3cgz7WEBIpCSyms4DkiFaXIxKrA+OyFZ/PYK4mVOIHd0dHLoTPwTms+iWy0Uu fj+WL5wwDMshDuRUspP+76Wu73sPc3gr9uywFJPuvK2IcEhTOp0qhrrUoS1wlQsA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrfeekgdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculddqiedmnecujfgurhephffvufffkffogggtgfesthekredtredtjeen ucfhrhhomhepofgrrhgvkhcuofgrrhgtiiihkhhofihskhhiqdfikphrvggtkhhiuceomh grrhhmrghrvghksehinhhvihhsihgslhgvthhhihhnghhslhgrsgdrtghomheqnecukfhp peeluddrieehrdefgedrfeefnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghrmhgrrh gvkhesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmnecuvehluhhsthgvrhfu ihiivgeptd X-ME-Proxy: Received: from localhost.localdomain (ip5b412221.dynamic.kabel-deutschland.de [91.65.34.33]) by mail.messagingengine.com (Postfix) with ESMTPA id 78E45D60057; Sat, 28 Sep 2019 10:21:09 -0400 (EDT) From: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Date: Sat, 28 Sep 2019 16:20:33 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH v8 0/4] Fix PCI passthrough for HVM with stubdomain X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Kevin Tian , Stefano Stabellini , Suravee Suthikulpanit , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , =?utf-8?q?Marek_Marczykowski-G?= =?utf-8?q?=C3=B3recki?= , Tim Deegan , Julien Grall , Jan Beulich , Anthony PERARD , Daniel De Graaf , Brian Woods , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" This version is rebase libxl patches on staging. Changes to "libxl: attach PCI device to qemu only after setting pciback/pcifront" are significant enough that I've dropped Wei's ack. Also, there is a new patch to fix regression introduced during async conversion. Changes in v2: - new "xen/x86: Allow stubdom access to irq created for msi" patch - applied review comments from v1 Changes is v3: - apply suggestions by Roger - add PHYSDEVOP_msi_msix_set_enable Changes in v4: - implement suggestions by Wei, Roger, Jan - plug new physdevop into XSM Changes in v5: - rebase on master - rename to PHYSDEVOP_msi_control - move granting access to IRQ into create_irq Changes in v6: - simplify granting IRQ access, record dm domid for cleanup - rename to PHYSDEVOP_interrupt_control - include INTx control in the hypercall Changes in v7: - update "xen/x86: Allow stubdom access to irq created for msi" - drop "xen/x86: add PHYSDEVOP_interrupt_control" - drop "tools/libxc: add wrapper for PHYSDEVOP_interrupt_control" Chages in v8: - drop applied "xen/x86: Allow stubdom access to irq created for msi" - new patch "libxl: fix cold plugged PCI device with stubdomain" - rebase libxl patches on staging --- Cc: Ian Jackson Cc: Wei Liu Cc: Andrew Cooper Cc: George Dunlap Cc: Jan Beulich Cc: Julien Grall Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabellini Cc: Tim Deegan Cc: Anthony PERARD Cc: "Roger Pau Monné" Cc: Suravee Suthikulpanit Cc: Brian Woods Cc: Kevin Tian Cc: Daniel De Graaf Marek Marczykowski-Górecki (4): libxl: fix cold plugged PCI device with stubdomain libxl: do not attach xen-pciback to HVM domain, if stubdomain is in use libxl: attach PCI device to qemu only after setting pciback/pcifront libxl: don't try to manipulate json config for stubdomain tools/libxl/libxl_pci.c | 96 +++++++++++++++++++++++++++++++++--------- 1 file changed, 77 insertions(+), 19 deletions(-) base-commit: 7a4e6711114905b3cbbe48e81c3222361a7f3579