1. 19 10月, 2017 2 次提交
    • M
      irqchip/gic-v3-its: Limit scope of VPE mapping to be per ITS · 2247e1bf
      Marc Zyngier 提交于
      So far, we map all VPEs on all ITSs. While this is not wrong,
      this is quite a big hammer, as moving a VPE around requires
      all ITSs to be synchronized. Needles to say, this is an
      expensive proposition.
      
      Instead, let's switch to a mode where we issue VMAPP commands
      only on ITSs that are actually involved in reporting interrupts
      to the given VM.
      
      For that purpose, we refcount the number of interrupts are are
      mapped for this VM on each ITS, performing the map/unmap
      operations as required. It then allows us to use this refcount
      to only issue VMOVP to the ITSs that need to know about this
      VM.
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      2247e1bf
    • M
      irqchip/gic-v3-its: Make GICv4_ITS_LIST_MAX globally available · ab60491e
      Marc Zyngier 提交于
      As we're about to make use of the maximum number of ITSs in
      a GICv4 system, let's make this value global (and rename it to
      GICv4_ITS_LIST_MAX).
      Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
      ab60491e
  2. 31 8月, 2017 6 次提交