Re: [PATCH v6 14/23] irqchip/gic-v4.1: Add VSGI allocation/teardown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Marc,

On 2020/3/21 2:23, Marc Zyngier wrote:
Allocate per-VPE SGIs when initializing the GIC-specific part of the
VPE data structure.

Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Reviewed-by: Zenghui Yu <yuzenghui@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20200304203330.4967-15-maz@xxxxxxxxxx
---
  drivers/irqchip/irq-gic-v3-its.c   |  2 +-
  drivers/irqchip/irq-gic-v4.c       | 68 +++++++++++++++++++++++++++++-
  include/linux/irqchip/arm-gic-v4.h |  4 +-
  3 files changed, 71 insertions(+), 3 deletions(-)

diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index 15250faa9ef7..7ad46ff5f0b9 100644
--- a/drivers/irqchip/irq-gic-v3-its.c
+++ b/drivers/irqchip/irq-gic-v3-its.c
@@ -4053,7 +4053,7 @@ static int its_sgi_set_vcpu_affinity(struct irq_data *d, void *vcpu_info)
  	struct its_cmd_info *info = vcpu_info;
switch (info->cmd_type) {
-	case PROP_UPDATE_SGI:
+	case PROP_UPDATE_VSGI:
  		vpe->sgi_config[d->hwirq].priority = info->priority;
  		vpe->sgi_config[d->hwirq].group = info->group;
  		its_configure_sgi(d, false);

[...]

@@ -103,7 +105,7 @@ enum its_vcpu_info_cmd_type {
  	SCHEDULE_VPE,
  	DESCHEDULE_VPE,
  	INVALL_VPE,
-	PROP_UPDATE_SGI,
+	PROP_UPDATE_VSGI,
  };
struct its_cmd_info {

As Eric pointed out, this belongs to patch #12.


Thanks,
Zenghui

_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux