Files
kernel_arpi/include/linux
Marc Zyngier 8e01d9a396 KVM: arm64: vgic-v4: Move the GICv4 residency flow to be driven by vcpu_load/put
When the VHE code was reworked, a lot of the vgic stuff was moved around,
but the GICv4 residency code did stay untouched, meaning that we come
in and out of residency on each flush/sync, which is obviously suboptimal.

To address this, let's move things around a bit:

- Residency entry (flush) moves to vcpu_load
- Residency exit (sync) moves to vcpu_put
- On blocking (entry to WFI), we "put"
- On unblocking (exit from WFI), we "load"

Because these can nest (load/block/put/load/unblock/put, for example),
we now have per-VPE tracking of the residency state.

Additionally, vgic_v4_put gains a "need doorbell" parameter, which only
gets set to true when blocking because of a WFI. This allows a finer
control of the doorbell, which now also gets disabled as soon as
it gets signaled.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20191027144234.8395-2-maz@kernel.org
2019-10-28 16:20:58 +00:00
..
2019-08-09 09:15:05 +02:00
2019-09-17 10:27:46 -07:00
2019-09-16 09:56:27 -07:00
2018-05-26 09:16:44 +02:00
2019-08-20 22:09:52 +02:00
2019-07-01 08:18:54 -06:00
2019-07-25 15:47:37 +02:00
2019-04-09 17:05:46 -07:00
2019-05-07 08:39:02 -06:00
2018-06-15 18:10:01 -03:00
2019-06-12 20:27:13 +02:00
2019-09-05 19:52:33 -06:00
2019-02-28 03:28:53 -05:00
2018-01-01 12:40:27 -07:00
2019-08-05 21:52:53 +02:00
2019-02-28 08:24:23 -07:00
2018-12-19 10:42:08 +01:00
2019-04-22 09:48:12 -06:00
2019-02-15 16:54:38 +01:00
2019-09-05 11:40:54 +02:00
2019-09-24 15:54:08 -07:00
2019-10-02 06:36:50 -07:00
2019-06-26 13:19:46 -07:00
2018-06-22 13:43:27 +09:00
2019-06-10 13:00:24 +02:00
2019-09-07 04:28:05 -03:00
2019-09-02 11:43:54 +01:00
2018-07-12 21:35:28 +02:00
2018-11-30 13:29:04 +00:00
2018-04-12 09:41:19 -07:00
2019-09-05 12:32:05 +02:00
2018-06-07 17:34:35 -07:00
2019-08-14 15:30:35 +02:00
2019-08-08 09:09:25 +02:00
2018-10-17 13:56:58 -07:00
2019-07-08 19:25:19 -07:00
2019-06-13 09:02:33 -04:00
2019-02-08 15:02:49 -08:00
2019-07-26 17:01:29 -06:00
2018-10-21 10:46:39 -04:00
2017-11-09 10:23:28 +01:00
2019-10-04 18:11:08 -07:00
2017-11-17 16:10:04 -08:00
2019-08-01 21:49:46 +02:00
2018-10-08 22:53:10 +11:00
2019-06-12 11:42:13 +02:00
2019-06-15 12:25:49 +02:00
2018-07-20 01:11:45 +02:00
2019-08-23 16:39:26 +01:00
2019-04-02 17:57:35 +02:00
2019-05-08 22:14:36 +02:00
2018-09-25 20:17:35 -07:00
2019-02-07 16:38:35 +01:00
2018-01-15 12:07:46 -08:00
2019-09-25 17:51:41 -07:00
2019-09-07 21:42:25 +02:00
2019-09-04 13:37:17 +02:00
2018-10-11 09:16:44 -07:00
2019-02-07 00:13:27 +01:00
2019-08-30 07:27:17 -07:00
2019-08-01 20:51:22 +02:00
2019-08-20 17:05:05 +02:00
2018-12-10 10:17:45 +01:00
2019-05-15 17:35:54 +01:00
2017-08-15 09:02:08 -07:00