@@ -2040,6 +2040,7 @@ typedef int (*entry_fn_t)(struct vgic_its *its, u32 id, void *entry,
2040
2040
* @start_id: the ID of the first entry in the table
2041
2041
* (non zero for 2d level tables)
2042
2042
* @fn: function to apply on each entry
2043
+ * @opaque: pointer to opaque data
2043
2044
*
2044
2045
* Return: < 0 on error, 0 if last element was identified, 1 otherwise
2045
2046
* (the last element may not be found on second level tables)
@@ -2079,7 +2080,7 @@ static int scan_its_table(struct vgic_its *its, gpa_t base, int size, u32 esz,
2079
2080
return 1 ;
2080
2081
}
2081
2082
2082
- /**
2083
+ /*
2083
2084
* vgic_its_save_ite - Save an interrupt translation entry at @gpa
2084
2085
*/
2085
2086
static int vgic_its_save_ite (struct vgic_its * its , struct its_device * dev ,
@@ -2099,6 +2100,8 @@ static int vgic_its_save_ite(struct vgic_its *its, struct its_device *dev,
2099
2100
2100
2101
/**
2101
2102
* vgic_its_restore_ite - restore an interrupt translation entry
2103
+ *
2104
+ * @its: its handle
2102
2105
* @event_id: id used for indexing
2103
2106
* @ptr: pointer to the ITE entry
2104
2107
* @opaque: pointer to the its_device
@@ -2231,6 +2234,7 @@ static int vgic_its_restore_itt(struct vgic_its *its, struct its_device *dev)
2231
2234
* @its: ITS handle
2232
2235
* @dev: ITS device
2233
2236
* @ptr: GPA
2237
+ * @dte_esz: device table entry size
2234
2238
*/
2235
2239
static int vgic_its_save_dte (struct vgic_its * its , struct its_device * dev ,
2236
2240
gpa_t ptr , int dte_esz )
@@ -2313,7 +2317,7 @@ static int vgic_its_device_cmp(void *priv, const struct list_head *a,
2313
2317
return 1 ;
2314
2318
}
2315
2319
2316
- /**
2320
+ /*
2317
2321
* vgic_its_save_device_tables - Save the device table and all ITT
2318
2322
* into guest RAM
2319
2323
*
@@ -2386,7 +2390,7 @@ static int handle_l1_dte(struct vgic_its *its, u32 id, void *addr,
2386
2390
return ret ;
2387
2391
}
2388
2392
2389
- /**
2393
+ /*
2390
2394
* vgic_its_restore_device_tables - Restore the device table and all ITT
2391
2395
* from guest RAM to internal data structs
2392
2396
*/
@@ -2478,7 +2482,7 @@ static int vgic_its_restore_cte(struct vgic_its *its, gpa_t gpa, int esz)
2478
2482
return 1 ;
2479
2483
}
2480
2484
2481
- /**
2485
+ /*
2482
2486
* vgic_its_save_collection_table - Save the collection table into
2483
2487
* guest RAM
2484
2488
*/
@@ -2518,7 +2522,7 @@ static int vgic_its_save_collection_table(struct vgic_its *its)
2518
2522
return ret ;
2519
2523
}
2520
2524
2521
- /**
2525
+ /*
2522
2526
* vgic_its_restore_collection_table - reads the collection table
2523
2527
* in guest memory and restores the ITS internal state. Requires the
2524
2528
* BASER registers to be restored before.
@@ -2556,7 +2560,7 @@ static int vgic_its_restore_collection_table(struct vgic_its *its)
2556
2560
return ret ;
2557
2561
}
2558
2562
2559
- /**
2563
+ /*
2560
2564
* vgic_its_save_tables_v0 - Save the ITS tables into guest ARM
2561
2565
* according to v0 ABI
2562
2566
*/
@@ -2571,7 +2575,7 @@ static int vgic_its_save_tables_v0(struct vgic_its *its)
2571
2575
return vgic_its_save_collection_table (its );
2572
2576
}
2573
2577
2574
- /**
2578
+ /*
2575
2579
* vgic_its_restore_tables_v0 - Restore the ITS tables from guest RAM
2576
2580
* to internal data structs according to V0 ABI
2577
2581
*
0 commit comments