Fix various comments, including wrong function names, grammar mistakes and specification references.
Unified · Split
| @@ -240,7 +240,7 @@ struct vgic_dist { · 239 unmodified lines | |||
| 240 | * Contains the attributes and gpa of the LPI configuration table. | 240 | * Contains the attributes and gpa of the LPI configuration table. |
| 241 | * Since we report GICR_TYPER.CommonLPIAff as 0b00, we can share | 241 | * Since we report GICR_TYPER.CommonLPIAff as 0b00, we can share |
| 242 | * one address across all redistributors. | 242 | * one address across all redistributors. |
| 243 | * GICv3 spec: 6.1.2 "LPI Configuration tables" | 243 | * GICv3 spec: IHI 0069E 6.1.1 "LPI Configuration tables" |
| 244 | */ | 244 | */ |
| 245 | u64 propbaser; | 245 | u64 propbaser; |
| 246 | 246 | ||
| @@ -357,7 +357,7 @@ retry: · 356 unmodified lines | |||
| 357 | } | 357 | } |
| 358 | 358 | ||
| 359 | /** | 359 | /** |
| 360 | * vgic_its_save_pending_tables - Save the pending tables into guest RAM | 360 | * vgic_v3_save_pending_tables - Save the pending tables into guest RAM |
| 361 | * kvm lock and all vcpu lock must be held | 361 | * kvm lock and all vcpu lock must be held |
| 362 | */ | 362 | */ |
| 363 | int vgic_v3_save_pending_tables(struct kvm *kvm) | 363 | int vgic_v3_save_pending_tables(struct kvm *kvm) |
| @@ -281,7 +281,7 @@ int kvm_vgic_v4_set_forwarding(struct kvm *kvm, int virq, · 280 unmodified lines | |||
| 281 | 281 | ||
| 282 | mutex_lock(&its->its_lock); | 282 | mutex_lock(&its->its_lock); |
| 283 | 283 | ||
| 284 | /* Perform then actual DevID/EventID -> LPI translation. */ | 284 | /* Perform the actual DevID/EventID -> LPI translation. */ |
| 285 | ret = vgic_its_resolve_lpi(kvm, its, irq_entry->msi.devid, | 285 | ret = vgic_its_resolve_lpi(kvm, its, irq_entry->msi.devid, |
| 286 | irq_entry->msi.data, &irq); | 286 | irq_entry->msi.data, &irq); |
| 287 | if (ret) | 287 | if (ret) |