Files
twx-linux/drivers
Shenming Lu 8b4355a9c1 UPSTREAM: KVM: arm64: Delay the polling of the GICR_VPENDBASER.Dirty bit
In order to reduce the impact of the VPT parsing happening on the GIC,
we can split the vcpu reseidency in two phases:

- programming GICR_VPENDBASER: this still happens in vcpu_load()
- checking for the VPT parsing to be complete: this can happen
  on vcpu entry (in kvm_vgic_flush_hwstate())

This allows the GIC and the CPU to work in parallel, rewmoving some
of the entry overhead.

Suggested-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Shenming Lu <lushenming@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201128141857.983-3-lushenming@huawei.com
(cherry picked from commit 57e3cebd02)
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I5d3b5db2db817e99780e009caf8efe0f6692e0b1
Bug: 178098380
Test: atest VirtualizationHostTestCases on an EL2-enabled device
2021-01-28 17:57:10 +00:00
..
2021-01-27 12:12:33 +01:00
2021-01-27 12:12:33 +01:00
2021-01-19 09:33:21 +01:00
2021-01-10 12:19:03 +01:00
2021-01-27 12:12:33 +01:00
2021-01-27 11:55:12 +01:00
2021-01-19 09:33:21 +01:00
2021-01-06 14:56:56 +01:00
2021-01-27 12:12:33 +01:00
2021-01-27 12:12:33 +01:00
2021-01-19 18:49:54 +01:00
2021-01-19 18:27:26 +01:00
2021-01-27 12:12:33 +01:00
2021-01-10 12:19:03 +01:00
2021-01-27 12:12:33 +01:00
2021-01-27 12:12:33 +01:00
2020-12-30 12:47:03 +01:00
2021-01-27 12:12:33 +01:00
2020-12-30 12:47:03 +01:00
2020-12-30 11:53:53 +01:00
2021-01-17 14:17:02 +01:00
2020-12-30 12:47:03 +01:00
2021-01-27 12:12:33 +01:00
2020-12-30 12:47:03 +01:00
2021-01-23 16:16:06 +01:00
2020-12-30 12:47:03 +01:00
2021-01-27 12:12:33 +01:00
2021-01-27 12:12:33 +01:00
2020-12-30 12:47:03 +01:00