Commit b70055f8 authored by Guangming Cao's avatar Guangming Cao
Browse files

ANDROID: iommu: Revise vendor hook param for iova free tracking



Iova is identified in the alloc vendor hook by its pfn (iova->pfn_lo)
and in free vendor hook by its address (iova->pfn_lo << iova_shift(iovad)).

Change alloc vendor hook to use address as well for consistency.

Bug: 187861158

Change-Id: I8255f3e5899008b80a9f8ed960e2ba948ba13cc2
Signed-off-by: default avatarGuangming Cao <Guangming.Cao@mediatek.com>
parent a9857018
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment