From 30ed3cf7f226ad2ef13e601eba456b60a60dc75e Mon Sep 17 00:00:00 2001 From: Nick Meier Date: Sun, 22 Jan 2017 22:24:55 -0800 Subject: [PATCH] Define the channel type for Hyper-V PCI Express pass-through The Hyper-V PCI Driver needs a new GUID defined, this could not simply be cherry-picked because mainline has macro changes we do not need to take. Orabug: 25507635 Signed-off-by: Jack Vogel Signed-off-by: Dhaval Giani --- include/linux/hyperv.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index a12e5031f711..cbcbce9402c1 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -1156,6 +1156,17 @@ u64 hv_do_hypercall(u64 control, void *input, void *output); 0xab, 0x99, 0xbd, 0x1f, 0x1c, 0x86, 0xb5, 0x01 \ } +/* + * 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 */ -- 2.50.1