Commit 013cc4c6 authored by Jason Wang's avatar Jason Wang Committed by Marc Zyngier

KVM: arm64: Fix comments related to GICv2 PMR reporting

Remove the repeated word 'the' from two comments.
Signed-off-by: default avatarJason Wang <wangborong@cdjrlc.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210728130623.12017-1-wangborong@cdjrlc.com
parent 38f70366
...@@ -282,7 +282,7 @@ static unsigned long vgic_mmio_read_vcpuif(struct kvm_vcpu *vcpu, ...@@ -282,7 +282,7 @@ static unsigned long vgic_mmio_read_vcpuif(struct kvm_vcpu *vcpu,
case GIC_CPU_PRIMASK: case GIC_CPU_PRIMASK:
/* /*
* Our KVM_DEV_TYPE_ARM_VGIC_V2 device ABI exports the * Our KVM_DEV_TYPE_ARM_VGIC_V2 device ABI exports the
* the PMR field as GICH_VMCR.VMPriMask rather than * PMR field as GICH_VMCR.VMPriMask rather than
* GICC_PMR.Priority, so we expose the upper five bits of * GICC_PMR.Priority, so we expose the upper five bits of
* priority mask to userspace using the lower bits in the * priority mask to userspace using the lower bits in the
* unsigned long. * unsigned long.
...@@ -329,7 +329,7 @@ static void vgic_mmio_write_vcpuif(struct kvm_vcpu *vcpu, ...@@ -329,7 +329,7 @@ static void vgic_mmio_write_vcpuif(struct kvm_vcpu *vcpu,
case GIC_CPU_PRIMASK: case GIC_CPU_PRIMASK:
/* /*
* Our KVM_DEV_TYPE_ARM_VGIC_V2 device ABI exports the * Our KVM_DEV_TYPE_ARM_VGIC_V2 device ABI exports the
* the PMR field as GICH_VMCR.VMPriMask rather than * PMR field as GICH_VMCR.VMPriMask rather than
* GICC_PMR.Priority, so we expose the upper five bits of * GICC_PMR.Priority, so we expose the upper five bits of
* priority mask to userspace using the lower bits in the * priority mask to userspace using the lower bits in the
* unsigned long. * unsigned long.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment