Will Deacon
2818b69cdf
ANDROID: KVM: arm64: Expose memory sharing hypercalls to protected guests
...
Extend our KVM "vendor" hypercalls to expose three new hypercalls to
protected guests for the purpose of opening and closing shared memory
windows with the host:
MEMINFO: Query the stage-2 page size (i.e. the minimum granule at
which memory can be shared)
MEM_SHARE: Share a page RWX with the host, faulting the page in if
necessary.
MEM_UNSHARE: Unshare a page with the host. Subsequent host accesses
to the page will result in a fault being injected by the
hypervisor.
Signed-off-by: Will Deacon <will@kernel.org >
Signed-off-by: Will Deacon <willdeacon@google.com >
Bug: 233587962
Change-Id: I80fe8af0bc0b3a40460c5065eabe26b1d9f634f2
2022-10-21 10:26:20 +01:00
..
2022-05-04 13:39:14 -07:00
2022-04-08 14:23:57 +02:00
2022-05-25 09:57:28 +02:00
2022-07-19 12:47:35 +00:00
2022-07-13 11:40:42 +02:00
2022-08-17 14:23:55 +02:00
2022-08-10 08:58:48 +01:00
2022-08-17 14:22:47 +02:00
2022-08-17 14:24:09 +02:00
2022-08-31 17:16:39 +02:00
2022-10-19 15:31:46 +00:00
2022-06-09 10:23:25 +02:00
2022-06-06 11:12:02 +02:00
2022-08-31 17:16:40 +02:00
2022-09-08 12:28:01 +02:00
2022-07-12 16:34:53 +02:00
2022-05-04 13:39:14 -07:00
2022-09-24 14:14:08 +02:00
2022-04-20 09:34:04 +02:00
2022-08-17 14:23:48 +02:00
2022-05-04 13:39:14 -07:00
2022-08-25 11:40:05 +02:00
2022-09-24 10:03:40 +02:00
2022-08-17 14:23:11 +02:00
2022-07-19 03:52:37 +00:00
2022-04-13 06:17:34 +00:00
2022-07-19 12:47:37 +00:00
2022-08-04 13:03:53 +00:00
2022-08-17 14:23:11 +02:00
2022-10-21 10:26:20 +01:00
2022-05-04 13:39:14 -07:00
2022-06-22 14:22:02 +02:00
2022-05-04 13:39:10 -07:00
2022-05-04 13:39:12 -07:00
2022-07-29 17:25:25 +02:00
2022-07-19 12:47:37 +00:00
2022-05-04 13:39:12 -07:00
2022-06-19 15:39:57 -07:00
2022-06-08 21:28:49 +00:00
2022-01-27 11:04:15 +01:00
2022-09-24 10:01:28 +02:00
2022-06-06 15:02:31 +02:00
2022-07-13 19:41:43 +02:00
2022-08-25 11:40:02 +02:00
2022-09-15 11:30:00 +02:00
2022-07-21 21:24:13 +02:00
2022-05-04 13:39:14 -07:00
2022-07-16 00:13:40 +00:00
2022-03-24 19:46:24 +00:00
2022-06-09 10:22:48 +02:00
2022-07-12 16:35:01 +02:00
2022-07-12 16:35:01 +02:00
2022-07-12 16:35:01 +02:00
2022-02-23 12:03:17 +01:00
2022-05-04 13:39:10 -07:00
2022-07-23 12:54:02 +02:00
2022-06-14 11:49:05 +02:00
2022-05-04 13:39:14 -07:00
2022-09-28 11:11:40 +02:00
2022-07-19 03:52:48 +00:00
2022-05-04 13:39:13 -07:00
2022-09-15 11:30:02 +02:00
2022-06-19 15:39:57 -07:00
2022-07-19 12:47:35 +00:00
2022-07-07 17:53:26 +02:00
2022-07-19 12:47:28 +00:00
2022-03-03 01:02:07 +00:00
2022-01-06 10:12:49 -08:00
2022-03-09 08:52:37 -08:00
2022-08-23 13:13:12 +00:00
2022-04-08 14:24:13 +02:00
2022-05-04 13:39:14 -07:00
2022-06-09 10:22:47 +02:00
2022-05-04 13:39:13 -07:00
2022-04-27 14:38:50 +02:00
2022-07-19 12:47:33 +00:00
2022-07-13 11:55:41 +02:00
2022-06-14 18:36:21 +02:00
2022-10-11 11:08:01 -07:00
2022-05-04 13:39:11 -07:00
2022-07-12 16:35:09 +02:00
2022-03-23 11:32:21 -07:00
2022-03-15 21:24:21 +00:00
2022-02-10 09:29:34 +00:00
2022-01-20 09:13:13 +01:00
2022-10-17 10:55:40 -07:00
2022-01-11 15:35:11 +01:00
2022-10-17 10:55:40 -07:00
2022-02-01 17:27:15 +01:00
2022-07-19 12:47:35 +00:00
2022-07-19 12:47:33 +00:00
2022-04-20 00:35:20 +00:00
2022-06-09 10:23:20 +02:00
2022-07-19 12:47:35 +00:00
2022-07-19 12:47:33 +00:00
2022-07-12 16:35:06 +02:00
2022-05-30 09:29:09 +02:00
2022-08-17 14:23:29 +02:00
2022-03-23 09:16:42 +01:00
2022-05-04 13:39:14 -07:00
2021-12-29 12:28:49 +01:00
2022-09-20 12:39:43 +02:00
2022-08-25 11:40:41 +02:00
2022-08-04 13:03:53 +00:00
2022-07-19 12:47:33 +00:00
2022-03-23 11:32:20 -07:00
2022-07-19 12:47:33 +00:00
2022-08-11 13:07:50 +02:00
2022-03-09 08:52:37 -08:00
2022-07-19 12:47:32 +00:00
2022-05-09 22:34:00 +00:00
2022-07-19 12:47:33 +00:00
2022-09-20 12:39:42 +02:00
2022-03-08 19:12:32 +01:00
2022-07-13 11:55:41 +02:00
2022-04-20 00:35:45 +00:00
2022-05-09 09:14:30 +02:00
2022-07-19 12:47:33 +00:00
2022-07-21 21:24:29 +02:00
2022-05-04 13:39:14 -07:00
2022-04-27 14:38:51 +02:00
2022-08-17 14:24:08 +02:00
2022-07-19 12:47:34 +00:00
2022-09-24 14:22:45 +02:00
2022-07-12 16:35:08 +02:00
2022-08-17 14:23:08 +02:00
2022-06-09 10:23:12 +02:00
2022-08-17 14:22:57 +02:00
2022-05-25 09:57:26 +02:00
2022-02-14 15:50:53 +01:00
2022-09-24 10:01:28 +02:00
2022-07-12 16:35:10 +02:00
2022-08-17 14:23:43 +02:00
2021-12-14 10:57:22 +01:00
2022-04-20 17:38:56 +00:00
2022-07-19 12:47:35 +00:00
2022-07-19 12:47:34 +00:00
2022-03-23 11:32:17 -07:00
2022-07-19 12:47:34 +00:00
2022-07-19 12:47:38 +00:00
2022-07-02 16:41:16 +02:00
2022-07-19 12:47:35 +00:00
2022-07-19 12:47:35 +00:00
2022-07-19 12:47:29 +00:00
2022-06-09 10:23:32 +02:00
2022-07-19 12:47:32 +00:00
2022-05-18 10:26:47 +02:00
2022-09-24 10:01:28 +02:00
2022-05-04 13:39:14 -07:00
2022-05-04 13:39:14 -07:00
2022-06-09 10:23:17 +02:00
2022-09-20 12:39:42 +02:00
2022-02-16 12:56:09 +01:00
2022-08-25 11:40:43 +02:00
2022-07-13 11:55:41 +02:00
2022-04-08 14:24:09 +02:00
2022-03-23 11:32:22 -07:00
2022-07-23 12:54:08 +02:00
2022-09-23 14:15:48 +02:00
2022-01-31 12:35:09 +01:00
2022-03-08 19:12:42 +01:00
2022-08-17 14:23:14 +02:00
2022-10-21 09:24:58 +00:00
2022-07-19 12:47:28 +00:00
2022-04-20 17:38:55 +00:00
2022-07-19 12:47:39 +00:00
2022-06-06 15:02:31 +02:00
2022-03-16 14:23:46 +01:00
2022-08-17 14:22:57 +02:00
2022-07-19 12:47:32 +00:00
2022-03-23 11:32:16 -07:00
2022-08-24 08:36:45 +00:00
2022-04-20 17:38:55 +00:00
2022-07-13 18:42:42 +02:00
2022-08-17 14:22:51 +02:00
2022-05-04 13:39:14 -07:00
2022-07-19 12:47:39 +00:00
2022-07-12 16:35:09 +02:00
2022-05-04 13:39:14 -07:00
2022-07-02 16:41:17 +02:00
2022-05-04 13:39:14 -07:00
2022-05-30 09:29:15 +02:00
2022-10-07 20:22:29 +00:00
2022-02-01 17:27:15 +01:00
2022-04-08 14:23:01 +02:00
2022-06-09 10:23:01 +02:00
2022-01-27 11:03:52 +01:00
2022-06-09 10:22:29 +02:00
2022-05-04 13:39:14 -07:00
2022-07-19 12:47:34 +00:00
2022-06-14 18:36:27 +02:00
2022-04-08 14:23:06 +02:00
2022-06-29 09:03:17 +02:00
2022-05-04 13:39:14 -07:00
2022-07-19 12:47:32 +00:00
2022-07-21 21:24:15 +02:00
2022-09-05 10:30:07 +02:00
2022-07-19 12:47:31 +00:00
2022-05-04 13:39:14 -07:00
2022-07-12 16:35:17 +02:00
2022-08-04 15:18:41 +02:00
2022-09-21 17:30:12 +02:00
2022-10-12 20:14:04 +02:00
2022-05-25 09:57:37 +02:00
2022-07-12 16:35:08 +02:00
2022-09-28 13:32:32 +02:00
2022-05-04 13:39:14 -07:00
2022-07-19 12:47:36 +00:00
2022-05-30 09:29:15 +02:00
2022-09-24 14:12:45 +02:00
2022-09-05 10:30:07 +02:00
2022-05-04 13:39:14 -07:00
2022-04-24 16:57:32 +02:00
2022-09-28 17:16:17 +00:00
2022-04-13 20:59:28 +02:00
2022-07-12 16:35:03 +02:00
2022-05-12 12:30:05 +02:00
2022-05-04 13:39:14 -07:00
2022-04-20 17:38:55 +00:00
2022-04-08 14:24:17 +02:00
2022-07-29 17:25:11 +02:00
2022-07-21 21:24:35 +02:00
2022-05-04 13:39:14 -07:00
2022-03-02 11:47:51 +01:00
2022-07-19 12:47:30 +00:00
2022-08-24 14:01:38 -07:00
2022-07-19 12:47:36 +00:00
2022-05-30 09:29:13 +02:00
2022-08-17 14:23:22 +02:00
2022-08-17 14:24:28 +02:00
2022-05-16 15:28:14 +00:00
2022-05-04 13:39:14 -07:00
2022-07-29 17:25:32 +02:00
2022-05-04 13:39:14 -07:00
2022-05-04 13:39:14 -07:00
2022-05-04 13:39:14 -07:00
2022-08-25 11:40:34 +02:00
2022-09-15 11:30:05 +02:00
2022-05-04 13:39:14 -07:00
2022-05-01 17:22:33 +02:00
2022-09-24 10:03:40 +02:00
2022-07-19 12:47:34 +00:00
2022-04-20 09:34:13 +02:00
2022-03-18 07:55:37 +01:00
2021-12-29 12:28:43 +01:00
2022-03-16 14:23:43 +01:00
2022-03-23 11:32:19 -07:00
2022-03-23 11:32:17 -07:00
2022-07-13 19:41:43 +02:00
2022-03-23 11:32:17 -07:00
2022-09-21 17:30:12 +02:00
2022-03-16 14:23:44 +01:00
2022-05-04 13:39:13 -07:00