From patchwork Fri Sep 11 00:01:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jake Oshins X-Patchwork-Id: 516508 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id D6CE3140785 for ; Fri, 11 Sep 2015 10:12:20 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=sendgrid.me header.i=@sendgrid.me header.b=QNDigQsN; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751347AbbIKAMT (ORCPT ); Thu, 10 Sep 2015 20:12:19 -0400 Received: from o1.f.az.sendgrid.net ([208.117.55.132]:25303 "EHLO o1.f.az.sendgrid.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751148AbbIKAJO (ORCPT ); Thu, 10 Sep 2015 20:09:14 -0400 X-Greylist: delayed 314 seconds by postgrey-1.27 at vger.kernel.org; Thu, 10 Sep 2015 20:09:13 EDT DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:cc:subject:in-reply-to:references; s=smtpapi; bh=XJPBGpfR1fDY1C/JTcHRKvBKySw=; b=QNDigQsNXxnNEcEUHB7AuNpyTVKuB Q+4J+uogd+feNxuR2oD7p7UU+YanA5pO9ftFRcAfcpHwMLneQV+Jubu1zjYEoj85 XNUd7+MxmReeNs4mYaaQ/HZUWky9UOq5AZ8Z6kyq2p0qFxq0n1NDdDpkR/ZDN7he vGNoMm9ImFKzcc= Received: by filter-177.sjc1.sendgrid.net with SMTP id filter-177.14219.55F21A9FB 2015-09-11 00:04:48.062058094 +0000 UTC Received: from jakeoshinsu2.jakeoshinsu2.d1.internal.cloudapp.net (unknown [104.210.40.47]) by ismtpd-046 (SG) with ESMTP id 14fb9b80056.502f.1adba57 Fri, 11 Sep 2015 00:04:47 +0000 (UTC) From: jakeo@microsoft.com To: gregkh@linuxfoundation.org, kys@microsoft.com, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com, linux-pci@vger.kernel.org, bhelgaas@google.com, tglx@linutronix.de Cc: Jake Oshins Subject: [PATCH v2 10/11] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through Date: Fri, 11 Sep 2015 00:01:09 +0000 Message-Id: <1441929670-10058-11-git-send-email-jakeo@microsoft.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1441929670-10058-1-git-send-email-jakeo@microsoft.com> References: <1441929670-10058-1-git-send-email-jakeo@microsoft.com> X-SG-EID: lfnueJVzSjg1mfuVqqukVH7tZvRy9mfCIcBnfbfzaMMWVgeXPdEksBJQKTtitQJWsyAmk1DmiiBz0c sc1hywrCVFXcN8ba3OUGk8lVWgsp8+4XY3ddTBbq8DqflqtZ0W8zxt4THEkjyNbD7mTYsqomYUF26S o4NUsH1dIwEw5TQ= Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org From: Jake Oshins This defines the channel type for PCI front-ends in Hyper-V VMs. Signed-off-by: Jake Oshins --- include/linux/hyperv.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 033fe59..af0f2e7 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -1140,6 +1140,17 @@ u64 do_hypercall(u64 control, void *input, void *output); } /* + * PCI Express Pass Through + * {44C4F61D-4444-4400-9D52-802E27EDE19F} + */ + +#define HV_PCIE_GUID \ + .guid = { \ + 0x1D, 0xF6, 0xC4, 0x44, 0x44, 0x44, 0x00, 0x44, \ + 0x9D, 0x52, 0x80, 0x2E, 0x27, 0xED, 0xE1, 0x9F \ + } + +/* * Common header for Hyper-V ICs */