Commit 21d4c44
committed
net/mlx5: Add init and destruction functions for a single HW clock
jira LE-3615
Rebuild_History Non-Buildable kernel-5.14.0-570.28.1.el9_6
commit-author Jianbo Liu <[email protected]>
commit ccb717a
Move hardware clock initialization and destruction to the functions,
which will be used for dynamically allocated clock. Such clock is
shared by all the devices if the queried clock identities are same.
The out_work is for PPS out event, which can't be triggered when clock
is shared, so INIT_WORK is not moved to the initialization function.
Besides, we still need to register notifier for each device.
Signed-off-by: Jianbo Liu <[email protected]>
Reviewed-by: Carolina Jubran <[email protected]>
Reviewed-by: Dragos Tatulea <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
(cherry picked from commit ccb717a)
Signed-off-by: Jonathan Maple <[email protected]>1 parent e4a8c79 commit 21d4c44
1 file changed
+31
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
1156 | | - | |
| 1156 | + | |
1157 | 1157 | | |
1158 | 1158 | | |
1159 | 1159 | | |
1160 | | - | |
1161 | | - | |
1162 | | - | |
1163 | | - | |
1164 | | - | |
1165 | 1160 | | |
1166 | | - | |
1167 | 1161 | | |
1168 | 1162 | | |
1169 | 1163 | | |
| |||
1179 | 1173 | | |
1180 | 1174 | | |
1181 | 1175 | | |
1182 | | - | |
1183 | | - | |
1184 | | - | |
1185 | 1176 | | |
1186 | 1177 | | |
1187 | 1178 | | |
1188 | 1179 | | |
1189 | | - | |
| 1180 | + | |
1190 | 1181 | | |
1191 | 1182 | | |
1192 | 1183 | | |
1193 | | - | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | 1184 | | |
1198 | 1185 | | |
1199 | 1186 | | |
1200 | 1187 | | |
1201 | 1188 | | |
1202 | | - | |
1203 | | - | |
1204 | 1189 | | |
1205 | 1190 | | |
1206 | 1191 | | |
1207 | 1192 | | |
1208 | 1193 | | |
1209 | 1194 | | |
1210 | 1195 | | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
0 commit comments