Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933626AbbLORgV (ORCPT ); Tue, 15 Dec 2015 12:36:21 -0500 Received: from mail-bl2on0129.outbound.protection.outlook.com ([65.55.169.129]:30336 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933492AbbLORgQ convert rfc822-to-8bit (ORCPT ); Tue, 15 Dec 2015 12:36:16 -0500 From: KY Srinivasan To: Jake Oshins , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" , "olaf@aepfle.de" , "apw@canonical.com" , "vkuznets@redhat.com" , "tglx@linutronix.de" , "Haiyang Zhang" , "marc.zyngier@arm.com" , "bhelgaas@google.com" , "linux-pci@vger.kernel.org" CC: Jake Oshins Subject: RE: [PATCH v9 0/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs Thread-Topic: [PATCH v9 0/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs Thread-Index: AQHRMtSzdS/ZkLI7cUqTrqj9KPAPfp7MU6zQ Date: Tue, 15 Dec 2015 17:36:12 +0000 Message-ID: References: <1449701697-6366-1-git-send-email-jakeo@microsoft.com> In-Reply-To: <1449701697-6366-1-git-send-email-jakeo@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=kys@microsoft.com; x-originating-ip: [2601:600:8c01:121d:d45:921c:e3e4:a7dc] x-microsoft-exchange-diagnostics: 1;BY2PR0301MB0773;5:e/ScNu1sNB5pHgFlR6Fww1najOobiMqnjdO3QqBzAGhXPp8cwQ/RKv2rPORhw3fj9AH5rJVcroViSo0PxI8Acjr6K5N7gwvuzkaxJMpT7796gFyC1riJK9OXYks2KRLLRbkDTQtsViVRydRalvi0pw==;24:m10OxFnYW40nmPJDxP2tUBKg5qjOBzTcaJRAZaloO4fNj9ETsfrOxKH8ooo+Ds9VAADczvkZnFqAR3slJ7HH2HVd8waLwQSzwjZwcUf7WcA= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB0773; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(180628864354917); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(601004)(2401047)(8121501046)(5005006)(520078)(10201501046)(3002001)(61426038)(61427038);SRVR:BY2PR0301MB0773;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB0773; x-forefront-prvs: 07915F544A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(199003)(13464003)(189002)(377454003)(2900100001)(11100500001)(76576001)(2950100001)(2501003)(2421001)(586003)(8990500004)(92566002)(1220700001)(1096002)(6116002)(10090500001)(102836003)(122556002)(10400500002)(10290500002)(40100003)(5005710100001)(5004730100002)(5008740100001)(77096005)(4001430100002)(1511001)(105586002)(87936001)(2201001)(99286002)(189998001)(106116001)(5001960100002)(107886002)(106356001)(54356999)(19580405001)(19580395003)(50986999)(5003600100002)(76176999)(33656002)(2561002)(5002640100001)(86362001)(86612001)(5001770100001)(74316001)(101416001)(81156007)(97736004)(921003)(3826002)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR0301MB0773;H:BY2PR0301MB1654.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Dec 2015 17:36:12.5140 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB0773 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3379 Lines: 87 > -----Original Message----- > From: jakeo@microsoft.com [mailto:jakeo@microsoft.com] > Sent: Wednesday, December 9, 2015 2:55 PM > To: gregkh@linuxfoundation.org; KY Srinivasan ; linux- > kernel@vger.kernel.org; devel@linuxdriverproject.org; olaf@aepfle.de; > apw@canonical.com; vkuznets@redhat.com; tglx@linutronix.de; Haiyang > Zhang ; marc.zyngier@arm.com; > bhelgaas@google.com; linux-pci@vger.kernel.org > Cc: Jake Oshins > Subject: [PATCH v9 0/7] PCI: hv: New paravirtual PCI front-end for Hyper-V > VMs > > From: Jake Oshins > > This version of the patch series removes warning when compiling x86 > 32-bit. > > First, export functions that allow correlating Hyper-V virtual processors > and Linux cpus, along with the means for invoking a hypercall that targets > interrupts at chosen vectors on specific cpus. > > Second, mark various parts of IRQ domain related code as exported, so that > this PCI front-end can implement an IRQ domain as part of a module. (The > alternative would be to pull all tyhis into the kernel, which would pull > in a lot of other Hyper-V related code, as this IRQ domain depends on > vmbus.ko.) > > Third, modify PCI so that new root PCI buses can be marked with an > associated > fwnode_handle, and so that root PCI buses can look up their associated IRQ > domain by that handle. > > Fourth, introduce a new driver, hv_pcifront, which exposes root PCI buses in > a Hyper-V VM. These root PCI buses expose real PCIe device, or PCI Virtual > Functions. > > > Jake Oshins (7): > drivers:hv: Export a function that maps Linux CPU num onto Hyper-V > proc num > drivers:hv: Export hv_do_hypercall() > PCI: Make it possible to implement a PCI MSI IRQ Domain in a module. > PCI: Add fwnode_handle to pci_sysdata > PCI: irqdomain: Look up IRQ domain by fwnode_handle > drivers:hv: Define the channel type of Hyper-V PCI Express > pass-through > PCI: hv: New paravirtual PCI front-end for Hyper-V VMs > > MAINTAINERS | 1 + > arch/x86/include/asm/msi.h | 6 + > arch/x86/include/asm/pci.h | 15 + > arch/x86/kernel/apic/msi.c | 8 +- > arch/x86/kernel/apic/vector.c | 2 + > drivers/hv/hv.c | 20 +- > drivers/hv/hyperv_vmbus.h | 2 +- > drivers/hv/vmbus_drv.c | 17 + > drivers/pci/Kconfig | 7 + > drivers/pci/host/Makefile | 1 + > drivers/pci/host/hv_pcifront.c | 2250 > ++++++++++++++++++++++++++++++++++++++++ > drivers/pci/msi.c | 4 + > drivers/pci/probe.c | 15 + > include/linux/hyperv.h | 14 + > include/linux/pci.h | 4 + > kernel/irq/chip.c | 1 + > kernel/irq/irqdomain.c | 4 + > 17 files changed, 2357 insertions(+), 14 deletions(-) > create mode 100644 drivers/pci/host/hv_pcifront.c > > -- > 1.9.1 Of these 7 patches, Greg has committed all of the VMBUS related supporting patches (3 patches). Thomas, can you take the IRQ related patches through your tree. Regards, K. Y -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/