|
@@ -320,6 +320,11 @@ static bool handle_mmio_sgi_clear(struct kvm_vcpu *vcpu,
|
|
}
|
|
}
|
|
|
|
|
|
static const struct vgic_io_range vgic_dist_ranges[] = {
|
|
static const struct vgic_io_range vgic_dist_ranges[] = {
|
|
|
|
+ {
|
|
|
|
+ .base = GIC_DIST_SOFTINT,
|
|
|
|
+ .len = 4,
|
|
|
|
+ .handle_mmio = handle_mmio_sgi_reg,
|
|
|
|
+ },
|
|
{
|
|
{
|
|
.base = GIC_DIST_CTRL,
|
|
.base = GIC_DIST_CTRL,
|
|
.len = 12,
|
|
.len = 12,
|
|
@@ -386,11 +391,6 @@ static const struct vgic_io_range vgic_dist_ranges[] = {
|
|
.bits_per_irq = 2,
|
|
.bits_per_irq = 2,
|
|
.handle_mmio = handle_mmio_cfg_reg,
|
|
.handle_mmio = handle_mmio_cfg_reg,
|
|
},
|
|
},
|
|
- {
|
|
|
|
- .base = GIC_DIST_SOFTINT,
|
|
|
|
- .len = 4,
|
|
|
|
- .handle_mmio = handle_mmio_sgi_reg,
|
|
|
|
- },
|
|
|
|
{
|
|
{
|
|
.base = GIC_DIST_SGI_PENDING_CLEAR,
|
|
.base = GIC_DIST_SGI_PENDING_CLEAR,
|
|
.len = VGIC_NR_SGIS,
|
|
.len = VGIC_NR_SGIS,
|