BACKPORT: FROMLIST: KVM: arm64: smmu-v3: Add attach_dev
Add attach_dev HVC code which handles both stage-1 and stage-2. Link: https://lore.kernel.org/all/20241212180423.1578358-36-smostafa@google.com/ Bug: 357781595 Bug: 384432312 Change-Id: I3f45b6baf0a2dceca786543190b1ee5fc83f3534 Signed-off-by: Mostafa Saleh <smostafa@google.com>
This commit is contained in:
@@ -25,6 +25,10 @@ struct hyp_arm_smmu_v3_device {
|
||||
size_t cmdq_log2size;
|
||||
/* strtab_cfg.l2.l2ptrs is not used, instead computed from L1 */
|
||||
struct arm_smmu_strtab_cfg strtab_cfg;
|
||||
size_t oas;
|
||||
size_t ias;
|
||||
size_t pgsize_bitmap;
|
||||
size_t ssid_bits;
|
||||
};
|
||||
|
||||
extern size_t kvm_nvhe_sym(kvm_hyp_arm_smmu_v3_count);
|
||||
|
||||
Reference in New Issue
Block a user