mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 11:11:26 +02:00
Merge "gunyah: secure_vm_loader: Fix the hyp inject instruction/data abort"
This commit is contained in:
commit
7a1b455714
|
|
@ -343,7 +343,7 @@ int gh_secure_vm_loader_reclaim_fw(struct gh_vm *vm)
|
|||
|
||||
ret = gh_reclaim_mem(vm, sec_vm_dev->fw_phys,
|
||||
sec_vm_dev->fw_size, sec_vm_dev->system_vm);
|
||||
if (!sec_vm_dev->is_static) {
|
||||
if (!ret && !sec_vm_dev->is_static) {
|
||||
dma_free_coherent(dev, sec_vm_dev->fw_size, sec_vm_dev->fw_virt,
|
||||
phys_to_dma(dev, sec_vm_dev->fw_phys));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user