diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2015-12-14 19:01:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-14 22:15:05 -0500 |
commit | af3ff643ea91ba64dd8d0b1cbed54d44512f96cd (patch) | |
tree | e48219e948d1d7d5c79b272ec09b001ac7552dbf /include/linux/hyperv.h | |
parent | ed9ba608e4851144af8c7061cbb19f751c73e998 (diff) |
Drivers: hv: vmbus: Use uuid_le type consistently
Consistently use uuid_le type in the Hyper-V driver code.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r-- | include/linux/hyperv.h | 92 |
1 files changed, 32 insertions, 60 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index c9a9eed89af2..b9f3bb25d8b4 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h | |||
@@ -997,6 +997,8 @@ u64 hv_do_hypercall(u64 control, void *input, void *output); | |||
997 | .guid = { g0, g1, g2, g3, g4, g5, g6, g7, \ | 997 | .guid = { g0, g1, g2, g3, g4, g5, g6, g7, \ |
998 | g8, g9, ga, gb, gc, gd, ge, gf }, | 998 | g8, g9, ga, gb, gc, gd, ge, gf }, |
999 | 999 | ||
1000 | |||
1001 | |||
1000 | /* | 1002 | /* |
1001 | * GUID definitions of various offer types - services offered to the guest. | 1003 | * GUID definitions of various offer types - services offered to the guest. |
1002 | */ | 1004 | */ |
@@ -1006,118 +1008,94 @@ u64 hv_do_hypercall(u64 control, void *input, void *output); | |||
1006 | * {f8615163-df3e-46c5-913f-f2d2f965ed0e} | 1008 | * {f8615163-df3e-46c5-913f-f2d2f965ed0e} |
1007 | */ | 1009 | */ |
1008 | #define HV_NIC_GUID \ | 1010 | #define HV_NIC_GUID \ |
1009 | .guid = { \ | 1011 | .guid = UUID_LE(0xf8615163, 0xdf3e, 0x46c5, 0x91, 0x3f, \ |
1010 | 0x63, 0x51, 0x61, 0xf8, 0x3e, 0xdf, 0xc5, 0x46, \ | 1012 | 0xf2, 0xd2, 0xf9, 0x65, 0xed, 0x0e) |
1011 | 0x91, 0x3f, 0xf2, 0xd2, 0xf9, 0x65, 0xed, 0x0e \ | ||
1012 | } | ||
1013 | 1013 | ||
1014 | /* | 1014 | /* |
1015 | * IDE GUID | 1015 | * IDE GUID |
1016 | * {32412632-86cb-44a2-9b5c-50d1417354f5} | 1016 | * {32412632-86cb-44a2-9b5c-50d1417354f5} |
1017 | */ | 1017 | */ |
1018 | #define HV_IDE_GUID \ | 1018 | #define HV_IDE_GUID \ |
1019 | .guid = { \ | 1019 | .guid = UUID_LE(0x32412632, 0x86cb, 0x44a2, 0x9b, 0x5c, \ |
1020 | 0x32, 0x26, 0x41, 0x32, 0xcb, 0x86, 0xa2, 0x44, \ | 1020 | 0x50, 0xd1, 0x41, 0x73, 0x54, 0xf5) |
1021 | 0x9b, 0x5c, 0x50, 0xd1, 0x41, 0x73, 0x54, 0xf5 \ | ||
1022 | } | ||
1023 | 1021 | ||
1024 | /* | 1022 | /* |
1025 | * SCSI GUID | 1023 | * SCSI GUID |
1026 | * {ba6163d9-04a1-4d29-b605-72e2ffb1dc7f} | 1024 | * {ba6163d9-04a1-4d29-b605-72e2ffb1dc7f} |
1027 | */ | 1025 | */ |
1028 | #define HV_SCSI_GUID \ | 1026 | #define HV_SCSI_GUID \ |
1029 | .guid = { \ | 1027 | .guid = UUID_LE(0xba6163d9, 0x04a1, 0x4d29, 0xb6, 0x05, \ |
1030 | 0xd9, 0x63, 0x61, 0xba, 0xa1, 0x04, 0x29, 0x4d, \ | 1028 | 0x72, 0xe2, 0xff, 0xb1, 0xdc, 0x7f) |
1031 | 0xb6, 0x05, 0x72, 0xe2, 0xff, 0xb1, 0xdc, 0x7f \ | ||
1032 | } | ||
1033 | 1029 | ||
1034 | /* | 1030 | /* |
1035 | * Shutdown GUID | 1031 | * Shutdown GUID |
1036 | * {0e0b6031-5213-4934-818b-38d90ced39db} | 1032 | * {0e0b6031-5213-4934-818b-38d90ced39db} |
1037 | */ | 1033 | */ |
1038 | #define HV_SHUTDOWN_GUID \ | 1034 | #define HV_SHUTDOWN_GUID \ |
1039 | .guid = { \ | 1035 | .guid = UUID_LE(0x0e0b6031, 0x5213, 0x4934, 0x81, 0x8b, \ |
1040 | 0x31, 0x60, 0x0b, 0x0e, 0x13, 0x52, 0x34, 0x49, \ | 1036 | 0x38, 0xd9, 0x0c, 0xed, 0x39, 0xdb) |
1041 | 0x81, 0x8b, 0x38, 0xd9, 0x0c, 0xed, 0x39, 0xdb \ | ||
1042 | } | ||
1043 | 1037 | ||
1044 | /* | 1038 | /* |
1045 | * Time Synch GUID | 1039 | * Time Synch GUID |
1046 | * {9527E630-D0AE-497b-ADCE-E80AB0175CAF} | 1040 | * {9527E630-D0AE-497b-ADCE-E80AB0175CAF} |
1047 | */ | 1041 | */ |
1048 | #define HV_TS_GUID \ | 1042 | #define HV_TS_GUID \ |
1049 | .guid = { \ | 1043 | .guid = UUID_LE(0x9527e630, 0xd0ae, 0x497b, 0xad, 0xce, \ |
1050 | 0x30, 0xe6, 0x27, 0x95, 0xae, 0xd0, 0x7b, 0x49, \ | 1044 | 0xe8, 0x0a, 0xb0, 0x17, 0x5c, 0xaf) |
1051 | 0xad, 0xce, 0xe8, 0x0a, 0xb0, 0x17, 0x5c, 0xaf \ | ||
1052 | } | ||
1053 | 1045 | ||
1054 | /* | 1046 | /* |
1055 | * Heartbeat GUID | 1047 | * Heartbeat GUID |
1056 | * {57164f39-9115-4e78-ab55-382f3bd5422d} | 1048 | * {57164f39-9115-4e78-ab55-382f3bd5422d} |
1057 | */ | 1049 | */ |
1058 | #define HV_HEART_BEAT_GUID \ | 1050 | #define HV_HEART_BEAT_GUID \ |
1059 | .guid = { \ | 1051 | .guid = UUID_LE(0x57164f39, 0x9115, 0x4e78, 0xab, 0x55, \ |
1060 | 0x39, 0x4f, 0x16, 0x57, 0x15, 0x91, 0x78, 0x4e, \ | 1052 | 0x38, 0x2f, 0x3b, 0xd5, 0x42, 0x2d) |
1061 | 0xab, 0x55, 0x38, 0x2f, 0x3b, 0xd5, 0x42, 0x2d \ | ||
1062 | } | ||
1063 | 1053 | ||
1064 | /* | 1054 | /* |
1065 | * KVP GUID | 1055 | * KVP GUID |
1066 | * {a9a0f4e7-5a45-4d96-b827-8a841e8c03e6} | 1056 | * {a9a0f4e7-5a45-4d96-b827-8a841e8c03e6} |
1067 | */ | 1057 | */ |
1068 | #define HV_KVP_GUID \ | 1058 | #define HV_KVP_GUID \ |
1069 | .guid = { \ | 1059 | .guid = UUID_LE(0xa9a0f4e7, 0x5a45, 0x4d96, 0xb8, 0x27, \ |
1070 | 0xe7, 0xf4, 0xa0, 0xa9, 0x45, 0x5a, 0x96, 0x4d, \ | 1060 | 0x8a, 0x84, 0x1e, 0x8c, 0x03, 0xe6) |
1071 | 0xb8, 0x27, 0x8a, 0x84, 0x1e, 0x8c, 0x3, 0xe6 \ | ||
1072 | } | ||
1073 | 1061 | ||
1074 | /* | 1062 | /* |
1075 | * Dynamic memory GUID | 1063 | * Dynamic memory GUID |
1076 | * {525074dc-8985-46e2-8057-a307dc18a502} | 1064 | * {525074dc-8985-46e2-8057-a307dc18a502} |
1077 | */ | 1065 | */ |
1078 | #define HV_DM_GUID \ | 1066 | #define HV_DM_GUID \ |
1079 | .guid = { \ | 1067 | .guid = UUID_LE(0x525074dc, 0x8985, 0x46e2, 0x80, 0x57, \ |
1080 | 0xdc, 0x74, 0x50, 0X52, 0x85, 0x89, 0xe2, 0x46, \ | 1068 | 0xa3, 0x07, 0xdc, 0x18, 0xa5, 0x02) |
1081 | 0x80, 0x57, 0xa3, 0x07, 0xdc, 0x18, 0xa5, 0x02 \ | ||
1082 | } | ||
1083 | 1069 | ||
1084 | /* | 1070 | /* |
1085 | * Mouse GUID | 1071 | * Mouse GUID |
1086 | * {cfa8b69e-5b4a-4cc0-b98b-8ba1a1f3f95a} | 1072 | * {cfa8b69e-5b4a-4cc0-b98b-8ba1a1f3f95a} |
1087 | */ | 1073 | */ |
1088 | #define HV_MOUSE_GUID \ | 1074 | #define HV_MOUSE_GUID \ |
1089 | .guid = { \ | 1075 | .guid = UUID_LE(0xcfa8b69e, 0x5b4a, 0x4cc0, 0xb9, 0x8b, \ |
1090 | 0x9e, 0xb6, 0xa8, 0xcf, 0x4a, 0x5b, 0xc0, 0x4c, \ | 1076 | 0x8b, 0xa1, 0xa1, 0xf3, 0xf9, 0x5a) |
1091 | 0xb9, 0x8b, 0x8b, 0xa1, 0xa1, 0xf3, 0xf9, 0x5a \ | ||
1092 | } | ||
1093 | 1077 | ||
1094 | /* | 1078 | /* |
1095 | * VSS (Backup/Restore) GUID | 1079 | * VSS (Backup/Restore) GUID |
1096 | */ | 1080 | */ |
1097 | #define HV_VSS_GUID \ | 1081 | #define HV_VSS_GUID \ |
1098 | .guid = { \ | 1082 | .guid = UUID_LE(0x35fa2e29, 0xea23, 0x4236, 0x96, 0xae, \ |
1099 | 0x29, 0x2e, 0xfa, 0x35, 0x23, 0xea, 0x36, 0x42, \ | 1083 | 0x3a, 0x6e, 0xba, 0xcb, 0xa4, 0x40) |
1100 | 0x96, 0xae, 0x3a, 0x6e, 0xba, 0xcb, 0xa4, 0x40 \ | ||
1101 | } | ||
1102 | /* | 1084 | /* |
1103 | * Synthetic Video GUID | 1085 | * Synthetic Video GUID |
1104 | * {DA0A7802-E377-4aac-8E77-0558EB1073F8} | 1086 | * {DA0A7802-E377-4aac-8E77-0558EB1073F8} |
1105 | */ | 1087 | */ |
1106 | #define HV_SYNTHVID_GUID \ | 1088 | #define HV_SYNTHVID_GUID \ |
1107 | .guid = { \ | 1089 | .guid = UUID_LE(0xda0a7802, 0xe377, 0x4aac, 0x8e, 0x77, \ |
1108 | 0x02, 0x78, 0x0a, 0xda, 0x77, 0xe3, 0xac, 0x4a, \ | 1090 | 0x05, 0x58, 0xeb, 0x10, 0x73, 0xf8) |
1109 | 0x8e, 0x77, 0x05, 0x58, 0xeb, 0x10, 0x73, 0xf8 \ | ||
1110 | } | ||
1111 | 1091 | ||
1112 | /* | 1092 | /* |
1113 | * Synthetic FC GUID | 1093 | * Synthetic FC GUID |
1114 | * {2f9bcc4a-0069-4af3-b76b-6fd0be528cda} | 1094 | * {2f9bcc4a-0069-4af3-b76b-6fd0be528cda} |
1115 | */ | 1095 | */ |
1116 | #define HV_SYNTHFC_GUID \ | 1096 | #define HV_SYNTHFC_GUID \ |
1117 | .guid = { \ | 1097 | .guid = UUID_LE(0x2f9bcc4a, 0x0069, 0x4af3, 0xb7, 0x6b, \ |
1118 | 0x4A, 0xCC, 0x9B, 0x2F, 0x69, 0x00, 0xF3, 0x4A, \ | 1098 | 0x6f, 0xd0, 0xbe, 0x52, 0x8c, 0xda) |
1119 | 0xB7, 0x6B, 0x6F, 0xD0, 0xBE, 0x52, 0x8C, 0xDA \ | ||
1120 | } | ||
1121 | 1099 | ||
1122 | /* | 1100 | /* |
1123 | * Guest File Copy Service | 1101 | * Guest File Copy Service |
@@ -1125,20 +1103,16 @@ u64 hv_do_hypercall(u64 control, void *input, void *output); | |||
1125 | */ | 1103 | */ |
1126 | 1104 | ||
1127 | #define HV_FCOPY_GUID \ | 1105 | #define HV_FCOPY_GUID \ |
1128 | .guid = { \ | 1106 | .guid = UUID_LE(0x34d14be3, 0xdee4, 0x41c8, 0x9a, 0xe7, \ |
1129 | 0xE3, 0x4B, 0xD1, 0x34, 0xE4, 0xDE, 0xC8, 0x41, \ | 1107 | 0x6b, 0x17, 0x49, 0x77, 0xc1, 0x92) |
1130 | 0x9A, 0xE7, 0x6B, 0x17, 0x49, 0x77, 0xC1, 0x92 \ | ||
1131 | } | ||
1132 | 1108 | ||
1133 | /* | 1109 | /* |
1134 | * NetworkDirect. This is the guest RDMA service. | 1110 | * NetworkDirect. This is the guest RDMA service. |
1135 | * {8c2eaf3d-32a7-4b09-ab99-bd1f1c86b501} | 1111 | * {8c2eaf3d-32a7-4b09-ab99-bd1f1c86b501} |
1136 | */ | 1112 | */ |
1137 | #define HV_ND_GUID \ | 1113 | #define HV_ND_GUID \ |
1138 | .guid = { \ | 1114 | .guid = UUID_LE(0x8c2eaf3d, 0x32a7, 0x4b09, 0xab, 0x99, \ |
1139 | 0x3d, 0xaf, 0x2e, 0x8c, 0xa7, 0x32, 0x09, 0x4b, \ | 1115 | 0xbd, 0x1f, 0x1c, 0x86, 0xb5, 0x01) |
1140 | 0xab, 0x99, 0xbd, 0x1f, 0x1c, 0x86, 0xb5, 0x01 \ | ||
1141 | } | ||
1142 | 1116 | ||
1143 | /* | 1117 | /* |
1144 | * PCI Express Pass Through | 1118 | * PCI Express Pass Through |
@@ -1146,10 +1120,8 @@ u64 hv_do_hypercall(u64 control, void *input, void *output); | |||
1146 | */ | 1120 | */ |
1147 | 1121 | ||
1148 | #define HV_PCIE_GUID \ | 1122 | #define HV_PCIE_GUID \ |
1149 | .guid = { \ | 1123 | .guid = UUID_LE(0x44c4f61d, 0x4444, 0x4400, 0x9d, 0x52, \ |
1150 | 0x1D, 0xF6, 0xC4, 0x44, 0x44, 0x44, 0x00, 0x44, \ | 1124 | 0x80, 0x2e, 0x27, 0xed, 0xe1, 0x9f) |
1151 | 0x9D, 0x52, 0x80, 0x2E, 0x27, 0xED, 0xE1, 0x9F \ | ||
1152 | } | ||
1153 | 1125 | ||
1154 | /* | 1126 | /* |
1155 | * Common header for Hyper-V ICs | 1127 | * Common header for Hyper-V ICs |