History

KVM: arm/arm64: vgic: Fix some comments typo

Fix various comments, including wrong function names, grammar mistakes and specification references.

Zenghui Yu committed 7 years ago

Commit bad36e41 parent 9ff624c3 files · +3 −3Browse files

Unified · Split

3 files
  1. include/kvm/arm_vgic.h +1 −1
  2. virt/kvm/arm/vgic/vgic-v3.c +1 −1
  3. virt/kvm/arm/vgic/vgic-v4.c +1 −1
include/kvm/arm_vgic.h+1−1
@@ -240,7 +240,7 @@ struct vgic_dist { · 239 unmodified lines
240240 * Contains the attributes and gpa of the LPI configuration table.
241241 * Since we report GICR_TYPER.CommonLPIAff as 0b00, we can share
242242 * 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"
244244 */
245245 u64 propbaser;
246246
virt/kvm/arm/vgic/vgic-v3.c+1−1
@@ -357,7 +357,7 @@ retry: · 356 unmodified lines
357357 }
358358
359359 /**
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
361361 * kvm lock and all vcpu lock must be held
362362 */
363363 int vgic_v3_save_pending_tables(struct kvm *kvm)
virt/kvm/arm/vgic/vgic-v4.c+1−1
@@ -281,7 +281,7 @@ int kvm_vgic_v4_set_forwarding(struct kvm *kvm, int virq, · 280 unmodified lines
281281
282282 mutex_lock(&its->its_lock);
283283
284− /* Perform then actual DevID/EventID -> LPI translation. */
284+ /* Perform the actual DevID/EventID -> LPI translation. */
285285 ret = vgic_its_resolve_lpi(kvm, its, irq_entry->msi.devid,
286286 irq_entry->msi.data, &irq);
287287 if (ret)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t