Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756145AbbLBV6O (ORCPT ); Wed, 2 Dec 2015 16:58:14 -0500 Received: from mail-by2on0131.outbound.protection.outlook.com ([207.46.100.131]:20203 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753918AbbLBV6M convert rfc822-to-8bit (ORCPT ); Wed, 2 Dec 2015 16:58:12 -0500 From: Jake Oshins To: Jake Oshins , "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" Subject: RE: [PATCH v6 0/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs Thread-Topic: [PATCH v6 0/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs Thread-Index: AQHRFbYh5x4V1kmk7Uubern+2d4HtZ64Y5XQ Date: Wed, 2 Dec 2015 21:23:57 +0000 Message-ID: References: <1446499996-1350-1-git-send-email-jakeo@microsoft.com> In-Reply-To: <1446499996-1350-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=jakeo@microsoft.com; x-originating-ip: [131.107.147.173] x-microsoft-exchange-diagnostics: 1;DM2PR0301MB0782;5:B5o5seVzaBH6oTYjnudcgc76P8+pyNUD/0ydbduCB+4nyEefy6JlFx52AXxB5Bi8+WmUe6Dcx/kRHp1kYWwICS8jyjgS1QxXwflIh/3m/U1YED7OHO5B0U3IrjU6u003F5K+8m8jwip0HAK8GsJFHw==;24:EuOUsP5ppJDLY2gzznu6dcBNjYq/qSRLrNta8ZJm0H61n0DPG58NBQLZfLbq2TklkJcqp22M3SGYSG2qBJecTohkwCkwprIKWdnyQVERZk0= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0782; x-o365eop-header: O365_EOP: Allow for Unauthenticated Relay x-o365ent-eop-header: Message processed by - O365_ENT: Allow from ranges (Engineering ONLY) x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(211936372134217)(108003899814671)(180628864354917); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001)(61426038)(61427038);SRVR:DM2PR0301MB0782;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0782; x-forefront-prvs: 077884B8B5 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(199003)(164054003)(13464003)(189002)(377454003)(54356999)(122556002)(77096005)(2501003)(74316001)(86612001)(5002640100001)(5008740100001)(1096002)(1220700001)(5001960100002)(101416001)(189998001)(107886002)(76576001)(76176999)(87936001)(5004730100002)(6116002)(102836003)(11100500001)(3846002)(19580405001)(97736004)(5005710100001)(50986999)(586003)(2561002)(10290500002)(66066001)(8990500004)(2421001)(10400500002)(2900100001)(106356001)(40100003)(33656002)(1511001)(92566002)(81156007)(10090500001)(2950100001)(5003600100002)(99286002)(19580395003)(105586002)(106116001)(5001770100001)(2201001)(86362001)(921003)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:DM2PR0301MB0782;H:DM2PR0301MB1232.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: 02 Dec 2015 21:23:57.4663 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0782 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3362 Lines: 84 > -----Original Message----- > From: jakeo@microsoft.com [mailto:jakeo@microsoft.com] > Sent: Monday, November 2, 2015 1:33 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@redhat.com; Haiyang > Zhang ; marc.zyngier@arm.com; > bhelgaas@google.com; linux-pci@vger.kernel.org > Cc: Jake Oshins > Subject: [PATCH v6 0/7] PCI: hv: New paravirtual PCI front-end for Hyper-V > VMs > > From: Jake Oshins > > This version of this patch series incorporates feedback from Andy > Shevchenko. > > 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 specfic 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 this into the kernel, which would pull > in a lot of other Hyper-V related code, as this IRQ domain depends on > hv_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 eposes root PCI buses in > a Hyper-V VM. These root PCI buses expose real PCIe devices, 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 | 4 + > arch/x86/include/asm/pci.h | 13 + > arch/x86/kernel/apic/msi.c | 5 +- > 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 | 2267 > ++++++++++++++++++++++++++++++++++++++++ > drivers/pci/msi.c | 4 + > drivers/pci/probe.c | 14 + > include/asm-generic/pci.h | 4 + > include/linux/hyperv.h | 14 + > kernel/irq/chip.c | 1 + > kernel/irq/irqdomain.c | 2 + > 17 files changed, 2365 insertions(+), 13 deletions(-) > create mode 100644 drivers/pci/host/hv_pcifront.c > > -- > 1.9.1 Apparently I've been using the wrong e-mail address for Thomas Gleixner. Sorry about that. Are there any more comments about this patch series? Thanks, Jake Oshins -- 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/