Commit 3c1cceeb authored by Marc Zyngier's avatar Marc Zyngier

irqchip/gic-v3-its: Only send VINVALL to a single ITS

Sending VINVALL to all ITSs is completely pointless, as all
we're trying to achieve is to tell the redistributor that
the property table for this VPE should be invalidated.

Let's issue the command on the first valid ITS and be done with it.
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 2247e1bf
...@@ -2527,7 +2527,12 @@ static void its_vpe_invall(struct its_vpe *vpe) ...@@ -2527,7 +2527,12 @@ static void its_vpe_invall(struct its_vpe *vpe)
if (its_list_map && !vpe->its_vm->vlpi_count[its->list_nr]) if (its_list_map && !vpe->its_vm->vlpi_count[its->list_nr])
continue; continue;
/*
* Sending a VINVALL to a single ITS is enough, as all
* we need is to reach the redistributors.
*/
its_send_vinvall(its, vpe); its_send_vinvall(its, vpe);
return;
} }
} }
......
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