On Sat, 03 Oct 2026 17:12:28 +0100,
Suzuki K Poulose [off-list ref] wrote:
On 03/10/2026 16:30, Suzuki K Poulose wrote:
quoted
On 03/10/2026 10:01, Marc Zyngier wrote:
quoted
On Thu, 01 Oct 2026 22:06:50 +0100,
Suzuki K Poulose [off-list ref] wrote:
quoted
Add VM type specific S2 MMU operation backends which can be
initialized per
VM flavor, to keep the handling cleaner.
Reviewed-by: Jonathan Cameron <redacted>
Tested-by: Gavin Shan <redacted>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
Changes since v19:
- Add a blank line in kvm_arch_flush_remote_tlbs()
quoted
quoted
struct kvm_s2_mmu {
struct kvm_vmid vmid;@@ -332,6 +345,8 @@ struct kvm_arch { */
u64 fgu[__NR_FGT_GROUP_IDS__];
+ const struct kvm_vm_s2_ops *vm_s2_ops;
+
If you're touching this patch, can you please move this pointer next
to the vcpu_ops pointer?
Sure, I will do that.
Sorry, this is only stored in kvm_arch, while the vcpu_ops are stored
in the vcpu_arch, to avoid pointer chasing vcpu->kvm->arch->.
Ah, my bad,
I could move it closer to the vm_flavor ?
Maybe. Check whether that introduces a hole or not (I'm trying to keep
this structure as packed as possible). But we can always change this
later on.
Thanks,
M.
--
Jazz isn't dead. It just smells funny.