Paolo Bonzini
92cdeac6a4
Merge tag 'kvm-x86-svm-7.1' of https://github.com/kvm-x86/linux into HEAD
...
KVM SVM changes for 7.1
- Fix and optimize IRQ window inhibit handling for AVIC (the tracking needs to
be per-vCPU, e.g. so that KVM doesn't prematurely re-enable AVIC if multiple
vCPUs have to-be-injected IRQs).
- Fix an undefined behavior warning where a crafty userspace can read the
"avic" module param before it's fully initialized.
- Fix a (likely benign) bug in the "OS-visible workarounds" handling, where
KVM could clobber state when enabling virtualization on multiple CPUs in
parallel, and clean up and optimize the code.
- Drop a WARN in KVM_MEMORY_ENCRYPT_REG_REGION where KVM complains about a
"too large" size based purely on user input, and clean up and harden the
related pinning code.
- Disallow synchronizing a VMSA of an already-launched/encrypted vCPU, as
doing so for an SNP guest will trigger an RMP violation #PF and crash the
host.
- Protect all of sev_mem_enc_register_region() with kvm->lock to ensure
sev_guest() is stable for the entire of the function.
- Lock all vCPUs when synchronizing VMSAs for SNP guests to ensure the VMSA
page isn't actively being used.
- Overhaul KVM's APIs for detecting SEV+ guests so that VM-scoped queries are
required to hold kvm->lock (KVM has had multiple bugs due "is SEV?" checks
becoming stale), enforced by lockdep. Add and use vCPU-scoped APIs when
possible/appropriate, as all checks that originate from a vCPU are
guaranteed to be stable.
- Convert a pile of kvm->lock SEV code to guard().
2026-04-13 19:00:43 +02:00
..
2026-02-11 13:44:47 +01:00
2026-02-05 11:58:40 +01:00
2026-02-09 12:29:22 +01:00
2026-04-09 14:36:52 +02:00
2026-04-01 13:03:07 +02:00
2026-03-20 14:18:56 +01:00
2026-03-02 10:41:07 +01:00
2026-01-31 00:02:24 +01:00
2026-03-02 20:52:21 +00:00
2026-02-19 07:26:26 -07:00
2026-03-19 18:21:28 +00:00
2026-02-08 00:13:33 -08:00
2026-02-16 11:05:44 -08:00
2026-02-19 09:30:05 -08:00
2026-02-23 13:45:50 +01:00
2026-04-01 11:55:29 +02:00
2026-02-06 12:07:14 +01:00
2026-02-27 13:11:56 +02:00
2026-02-05 00:07:58 +00:00
2026-02-10 19:01:45 -08:00
2026-03-15 20:36:05 -05:00
2026-03-24 15:00:08 +00:00
2026-02-12 17:49:33 -08:00
2026-03-14 09:43:12 -07:00
2026-02-21 17:09:51 -08:00
2026-02-11 19:31:52 -08:00
2026-02-23 16:09:00 -08:00
2026-01-31 14:22:36 -08:00
2026-02-09 18:14:52 -08:00
2026-02-16 10:21:01 -07:00
2026-02-12 04:23:53 -07:00
2026-02-27 15:39:00 -08:00
2026-02-27 15:39:00 -08:00
2026-02-04 13:35:28 -08:00
2026-03-31 16:01:13 -07:00
2026-03-10 16:01:48 -07:00
2026-02-05 14:10:00 -08:00
2026-02-14 07:43:27 -07:00
2026-01-31 16:16:07 -08:00
2026-03-24 10:21:40 -10:00
2026-02-15 08:18:57 -08:00
2026-04-10 22:45:38 +02:00
2026-02-12 11:32:37 -08:00
2026-02-21 01:01:14 -08:00
2026-01-31 16:16:04 -08:00
2026-02-10 17:02:23 -08:00
2026-03-13 09:15:58 +01:00
2026-02-14 11:09:47 +01:00
2026-04-04 18:40:58 -06:00
2026-02-03 15:23:33 +01:00
2026-02-18 20:50:32 -08:00
2026-02-21 17:09:51 -08:00
2026-03-21 17:36:33 -07:00
2026-02-12 15:42:58 -08:00
2026-01-31 16:16:06 -08:00
2026-03-17 20:30:23 +01:00
2026-02-12 15:52:39 -08:00
2026-02-21 17:09:51 -08:00
2026-02-13 14:51:39 -08:00
2026-03-25 08:01:21 +01:00
2026-02-05 15:57:46 +01:00
2026-03-16 19:29:45 -07:00
2026-03-07 15:03:14 -08:00
2026-02-14 11:09:47 +01:00
2026-02-09 15:13:05 -08:00
2026-02-12 12:13:01 -08:00
2026-02-18 10:45:36 -08:00
2026-02-19 09:12:05 +01:00
2026-02-17 23:11:40 -08:00
2026-02-19 15:21:22 -05:00
2026-02-21 17:09:51 -08:00
2026-02-26 17:30:32 +01:00
2026-02-26 15:27:41 -08:00
2026-03-11 15:26:47 +01:00
2026-01-31 10:52:31 +08:00
2026-02-10 16:41:59 -08:00
2026-02-12 15:42:57 -08:00
2026-02-18 20:50:32 -08:00
2026-02-06 18:52:22 +08:00
2026-02-02 10:11:18 +01:00
2026-02-02 10:01:44 +01:00
2026-02-02 10:11:07 +01:00
2026-02-02 10:11:18 +01:00
2026-03-16 19:29:45 -07:00
2026-02-05 16:33:52 +01:00
2026-03-03 12:41:29 +01:00
2026-02-11 21:03:39 +01:00
2026-02-10 13:39:37 -08:00
2026-03-19 15:09:48 -06:00
2026-02-06 07:29:14 -07:00
2026-02-21 17:09:51 -08:00
2026-03-17 13:58:45 +01:00
2026-02-09 18:14:52 -08:00
2026-03-27 09:07:13 +01:00
2026-02-12 16:33:05 -08:00
2026-03-11 17:53:37 -07:00
2026-02-10 16:30:29 -08:00
2026-02-11 08:55:52 +01:00
2026-01-31 16:16:06 -08:00
2026-04-09 14:36:52 +02:00
2026-01-31 16:16:04 -08:00
2026-01-31 14:22:30 -08:00
2026-04-09 14:36:52 +02:00
2026-04-09 14:36:52 +02:00
2026-02-26 10:45:49 +01:00
2026-04-13 19:00:43 +02:00
2026-03-27 20:48:37 -07:00
2026-02-04 09:20:27 +00:00
2026-02-12 17:12:43 -08:00
2026-02-14 11:09:46 +01:00
2026-04-01 10:19:41 +02:00
2026-02-08 00:13:32 -08:00
2026-02-05 08:00:44 -08:00
2026-02-24 11:13:26 -08:00
2026-03-12 11:29:11 +01:00
2026-02-11 11:27:58 +01:00
2026-02-18 20:50:32 -08:00
2026-02-12 15:42:53 -08:00
2026-03-26 16:13:48 +01:00
2026-03-02 11:51:51 -05:00
2026-02-12 15:42:59 -08:00
2026-03-04 09:44:22 -08:00
2026-04-08 13:18:57 -07:00
2026-02-03 15:23:35 +01:00
2026-03-04 09:44:24 -08:00
2026-01-31 14:22:38 -08:00
2026-02-03 12:46:55 +01:00
2026-02-12 12:13:01 -08:00
2026-02-12 12:13:01 -08:00
2026-03-27 17:01:36 +01:00
2026-02-10 16:30:29 -08:00
2026-04-09 14:36:52 +02:00
2026-03-26 15:18:45 +01:00
2026-01-30 16:49:15 -05:00
2026-01-30 16:49:15 -05:00
2026-02-27 22:00:08 +01:00
2026-02-20 17:31:55 -05:00
2026-03-10 08:20:29 -07:00
2026-02-03 20:58:12 -06:00
2026-02-24 15:46:31 -08:00
2026-01-31 14:22:42 -08:00
2026-03-20 14:18:56 +01:00
2026-02-03 08:21:26 -08:00
2026-02-11 19:31:52 -08:00
2026-02-12 16:33:05 -08:00
2026-02-03 15:23:33 +01:00
2026-02-11 12:45:40 -05:00
2026-02-12 15:43:00 -08:00
2026-02-10 11:39:30 +01:00
2026-02-10 11:39:31 +01:00
2026-02-10 11:39:30 +01:00
2026-03-17 20:30:57 +01:00
2026-02-23 14:08:17 +01:00
2026-02-04 13:25:09 +01:00
2026-02-16 13:41:38 -08:00
2026-03-09 12:33:55 -04:00
2026-03-09 12:33:53 -04:00
2026-02-23 11:19:19 +01:00
2026-03-11 12:01:07 +01:00
2026-02-23 11:19:19 +01:00
2026-02-05 09:43:48 +01:00
2026-03-11 12:01:06 +01:00
2026-03-20 12:06:01 +01:00
2026-02-06 10:07:22 +01:00
2026-03-12 15:34:15 +01:00
2026-02-12 15:42:58 -08:00
2026-03-09 12:33:55 -04:00
2026-03-26 20:08:58 -07:00
2026-02-21 01:02:52 -08:00
2026-02-26 17:30:32 +01:00
2026-02-03 08:21:26 -08:00
2026-03-25 09:00:05 -07:00
2026-03-25 08:59:59 -07:00
2026-02-04 20:55:48 -08:00
2026-02-11 10:14:35 +01:00
2026-01-31 14:22:57 -08:00
2026-02-10 17:02:23 -08:00
2026-04-09 14:36:52 +02:00
2026-02-03 15:13:25 +01:00
2026-03-02 10:04:19 +01:00
2026-02-27 16:11:50 -08:00
2026-02-19 15:25:11 -05:00
2026-01-31 16:16:06 -08:00
2026-03-09 12:33:54 -04:00
2026-03-09 12:33:54 -04:00
2026-03-31 16:01:13 -07:00
2026-02-12 15:43:02 -08:00
2026-02-15 10:20:37 -08:00
2026-02-12 12:13:01 -08:00
2026-02-06 13:34:55 +01:00
2026-03-10 12:47:56 -07:00
2026-02-17 09:11:04 -08:00
2026-04-02 09:43:26 +02:00
2026-03-24 11:12:08 +01:00
2026-01-31 14:22:36 -08:00
2026-02-12 11:32:37 -08:00
2026-02-03 15:23:34 +01:00
2026-02-12 12:13:01 -08:00
2026-01-30 18:26:59 -08:00