* [PATCH] KVM: arm/arm64: vgic: Drop the kvm_vgic_register_mmio_region()
@ 2020-01-19 9:06 Zenghui Yu
2020-01-19 22:47 ` Gavin Shan
0 siblings, 1 reply; 2+ messages in thread
From: Zenghui Yu @ 2020-01-19 9:06 UTC (permalink / raw)
To: maz; +Cc: kvmarm, linux-arm-kernel, linux-kernel
kvm_vgic_register_mmio_region() was introduced in commit 4493b1c4866a
("KVM: arm/arm64: vgic-new: Add MMIO handling framework") but never
used, and even never implemented. Remove it to avoid confusing readers.
Reported-by: Haibin Wang <wanghaibin.wang@huawei.com>
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
---
virt/kvm/arm/vgic/vgic-mmio.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/virt/kvm/arm/vgic/vgic-mmio.h b/virt/kvm/arm/vgic/vgic-mmio.h
index 836f418f1ee8..5af2aefad435 100644
--- a/virt/kvm/arm/vgic/vgic-mmio.h
+++ b/virt/kvm/arm/vgic/vgic-mmio.h
@@ -98,11 +98,6 @@ extern struct kvm_io_device_ops kvm_io_gic_ops;
.uaccess_write = uwr, \
}
-int kvm_vgic_register_mmio_region(struct kvm *kvm, struct kvm_vcpu *vcpu,
- struct vgic_register_region *reg_desc,
- struct vgic_io_device *region,
- int nr_irqs, bool offset_private);
-
unsigned long vgic_data_mmio_bus_to_host(const void *val, unsigned int len);
void vgic_data_host_to_mmio_bus(void *buf, unsigned int len,
--
2.19.1
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] KVM: arm/arm64: vgic: Drop the kvm_vgic_register_mmio_region()
2020-01-19 9:06 [PATCH] KVM: arm/arm64: vgic: Drop the kvm_vgic_register_mmio_region() Zenghui Yu
@ 2020-01-19 22:47 ` Gavin Shan
0 siblings, 0 replies; 2+ messages in thread
From: Gavin Shan @ 2020-01-19 22:47 UTC (permalink / raw)
To: Zenghui Yu, maz; +Cc: kvmarm, linux-arm-kernel, linux-kernel
On 1/19/20 8:06 PM, Zenghui Yu wrote:
> kvm_vgic_register_mmio_region() was introduced in commit 4493b1c4866a
> ("KVM: arm/arm64: vgic-new: Add MMIO handling framework") but never
> used, and even never implemented. Remove it to avoid confusing readers.
>
> Reported-by: Haibin Wang <wanghaibin.wang@huawei.com>
> Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
> ---
Reviewed-by: Gavin Shan <gshan@redhat.com>
> virt/kvm/arm/vgic/vgic-mmio.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/virt/kvm/arm/vgic/vgic-mmio.h b/virt/kvm/arm/vgic/vgic-mmio.h
> index 836f418f1ee8..5af2aefad435 100644
> --- a/virt/kvm/arm/vgic/vgic-mmio.h
> +++ b/virt/kvm/arm/vgic/vgic-mmio.h
> @@ -98,11 +98,6 @@ extern struct kvm_io_device_ops kvm_io_gic_ops;
> .uaccess_write = uwr, \
> }
>
> -int kvm_vgic_register_mmio_region(struct kvm *kvm, struct kvm_vcpu *vcpu,
> - struct vgic_register_region *reg_desc,
> - struct vgic_io_device *region,
> - int nr_irqs, bool offset_private);
> -
> unsigned long vgic_data_mmio_bus_to_host(const void *val, unsigned int len);
>
> void vgic_data_host_to_mmio_bus(void *buf, unsigned int len,
>
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-20 11:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-19 9:06 [PATCH] KVM: arm/arm64: vgic: Drop the kvm_vgic_register_mmio_region() Zenghui Yu
2020-01-19 22:47 ` Gavin Shan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).