Christoffer Dall
89b0e7de34
KVM: arm64: nv: Introduce nested virtualization VCPU feature
...
Introduce the feature bit and a primitive that checks if the feature is
set behind a static key check based on the cpus_have_const_cap check.
Checking vcpu_has_nv() on systems without nested virt enabled
should have negligible overhead.
We don't yet allow userspace to actually set this feature.
Reviewed-by: Ganapatrao Kulkarni <gankulkarni@os.amperecomputing.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230209175820.1939006-4-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
2023-02-11 09:16:11 +00:00
..
2022-09-09 12:30:08 +01:00
2022-09-09 12:27:25 +01:00
2022-06-06 08:54:33 +02:00
2021-09-23 20:39:36 +02:00
2022-11-07 15:59:14 +00:00
2020-11-09 21:49:34 +00:00
2022-03-08 13:32:48 +00:00
2022-05-15 16:38:25 +01:00
2021-10-19 10:56:20 +01:00
2022-11-18 02:18:10 +01:00
2022-07-05 11:45:46 +01:00
2022-05-19 23:46:10 +02:00
2022-06-28 12:11:47 +01:00
2021-05-26 23:31:26 +01:00
2022-06-28 12:11:47 +01:00
2022-12-06 11:33:29 +00:00
2023-01-05 15:28:15 +00:00
2023-01-05 15:28:15 +00:00
2021-05-26 13:20:49 +02:00
2022-06-23 18:34:59 +01:00
2022-01-15 08:47:31 -08:00
2020-09-07 15:00:52 +01:00
2022-09-26 10:13:14 -07:00
2022-09-09 10:59:02 +01:00
2022-07-05 13:06:31 +01:00
2021-03-15 10:57:21 +00:00
2022-01-20 09:13:48 +00:00
2022-04-26 13:35:54 -07:00
2022-04-13 12:16:00 -07:00
2022-06-23 14:19:33 +01:00
2022-06-23 18:22:44 +01:00
2022-11-15 13:46:18 +00:00
2022-06-23 14:19:33 +01:00
2023-01-05 15:25:19 +00:00
2021-05-05 18:13:58 +01:00
2022-04-29 19:26:27 +01:00
2022-12-08 18:33:34 +01:00
2022-09-16 12:38:57 +01:00
2021-08-20 12:33:06 +02:00
2023-01-03 10:01:52 +00:00
2022-11-15 13:46:17 +00:00
2020-12-02 19:49:11 +00:00
2021-11-08 22:16:26 +01:00
2022-06-24 13:08:30 +01:00
2022-11-29 15:01:56 +00:00
2022-04-22 18:51:02 +01:00
2022-11-18 13:56:41 +00:00
2021-10-21 10:45:22 +01:00
2021-10-21 10:45:22 +01:00
2020-11-23 10:31:05 +01:00
2023-01-06 17:14:55 +00:00
2022-09-16 12:38:57 +01:00
2022-11-09 17:54:53 +00:00
2021-03-19 12:01:20 +00:00
2022-01-12 08:24:29 -06:00
2021-03-31 09:16:55 +01:00
2022-02-22 21:25:48 +00:00
2022-11-15 13:07:44 +00:00
2022-08-05 10:07:23 -07:00
2021-03-29 10:41:42 +01:00
2021-03-24 20:19:30 +00:00
2021-03-24 20:19:30 +00:00
2022-11-07 15:59:14 +00:00
2021-02-26 09:41:03 -08:00
2022-05-04 15:30:28 +01:00
2022-11-08 13:59:36 +00:00
2022-07-15 12:21:16 -04:00
2021-07-08 11:48:20 -07:00
2021-09-30 21:24:06 -04:00
2023-01-03 10:01:52 +00:00
2022-11-11 17:19:35 +00:00
2023-01-03 10:01:52 +00:00
2023-02-11 09:16:11 +00:00
2022-11-11 17:19:35 +00:00
2022-11-11 17:16:25 +00:00
2021-06-22 14:08:05 +01:00
2023-02-11 09:16:11 +00:00
2022-12-05 14:37:23 +00:00
2022-11-11 17:16:24 +00:00
2020-09-15 18:39:02 +01:00
2022-04-29 19:26:27 +01:00
2022-09-26 10:13:13 -07:00
2022-11-14 14:44:14 +00:00
2022-08-05 16:32:45 -07:00
2022-04-28 23:16:13 -07:00
2022-11-25 12:17:52 +00:00
2021-12-06 08:37:03 +00:00
Merge branches 'for-next/doc', 'for-next/sve', 'for-next/sysreg', 'for-next/gettimeofday', 'for-next/stacktrace', 'for-next/atomics', 'for-next/el1-exceptions', 'for-next/a510-erratum-2658417', 'for-next/defconfig', 'for-next/tpidr2_el0' and 'for-next/ftrace', remote-tracking branch 'arm64/for-next/perf' into for-next/core
2022-09-30 09:17:57 +01:00
2022-11-09 18:06:35 +00:00
2021-08-04 16:54:36 +00:00
2022-02-15 22:53:29 +00:00
2022-05-13 07:20:07 -07:00
2022-11-29 09:26:07 +00:00
2021-01-14 15:08:55 -08:00
2020-09-11 16:33:43 +01:00
2021-10-01 14:54:45 +01:00
2022-02-23 10:58:28 +01:00
2021-03-11 16:17:52 +01:00
2021-06-11 11:19:27 +01:00
2022-07-22 17:34:57 -05:00
2022-05-13 07:20:07 -07:00
2022-03-08 11:41:03 +00:00
2021-11-16 10:12:57 +00:00
2022-11-09 18:13:18 +00:00
2022-07-17 17:14:37 -07:00
2023-01-09 15:47:25 +00:00
2021-07-28 18:33:49 +01:00
2022-02-19 11:11:09 +01:00
2020-11-23 10:59:00 +00:00
2022-12-06 11:33:29 +00:00
2022-11-07 14:19:01 +00:00
2021-08-03 10:35:03 +01:00
2022-03-09 21:56:50 +00:00
2022-11-09 18:06:35 +00:00
2022-09-09 12:30:07 +01:00
2020-11-20 11:16:34 -08:00
2022-02-15 17:40:28 +00:00
2021-07-08 11:48:20 -07:00
2022-08-23 11:02:02 +01:00
2020-11-23 18:17:39 +00:00
2021-08-20 19:49:38 +01:00
2021-07-12 13:37:34 +01:00
2021-05-26 22:45:46 +01:00
2021-04-23 14:18:21 +01:00
2022-11-15 13:46:18 +00:00
2021-12-07 15:14:12 +01:00
2021-02-11 07:59:54 -05:00
2022-11-18 02:18:10 +01:00
2022-11-18 14:36:47 +00:00
2022-10-09 02:33:49 +01:00
2022-03-07 21:57:02 +00:00
2022-11-09 09:52:25 +00:00
2021-09-14 16:06:20 +02:00
2022-12-06 11:32:25 +00:00
2022-09-16 12:17:03 +01:00
2022-04-22 18:50:58 +01:00
2021-06-23 14:52:57 +01:00
2021-08-06 13:52:03 +01:00
2022-03-10 20:21:58 +01:00
2021-10-01 13:31:01 +01:00
2022-11-15 13:46:19 +00:00
2022-09-23 14:39:20 +01:00
2022-01-15 16:30:30 +02:00
2022-04-26 13:35:45 -07:00
2023-01-05 15:26:09 +00:00
2022-09-09 12:27:25 +01:00
2022-03-18 13:48:28 +00:00
2022-07-01 15:22:51 +01:00
2022-03-24 19:06:47 -07:00
2022-03-24 19:06:47 -07:00
2021-10-21 10:45:22 +01:00
2022-02-11 20:39:39 +11:00