Skip to content

eva-kernel: align EVA DT and IOMMU handling with upstream - #5

Open
ysainiqti wants to merge 1 commit into
qualcomm-linux:eva-kernel.qclinux.0.0from
ysainiqti:eva-kernel.qclinux.0.0
Open

eva-kernel: align EVA DT and IOMMU handling with upstream#5
ysainiqti wants to merge 1 commit into
qualcomm-linux:eva-kernel.qclinux.0.0from
ysainiqti:eva-kernel.qclinux.0.0

Conversation

@ysainiqti

Copy link
Copy Markdown

Update EVA platform probing to use DT compatible matching through msm_cvp_plat_match. Move the bus notifier based IOMMU handling from iommu_buses into the EVA driver.

Reorder clock initialization, expose cvp_bus_init/cvp_bus_exit through the required header, and read the firmware name from DT.

Represent context banks using DT sub-nodes with iommus and iommu-addresses instead of dynamically creating context bank devices using a custom bus and reserving IOVA ranges through dma_iova_set_resv_region.

Update EVA platform probing to use DT compatible matching through
msm_cvp_plat_match. Move the bus notifier based IOMMU handling from
iommu_buses into the EVA driver.

Reorder clock initialization, expose cvp_bus_init/cvp_bus_exit through
the required header, and read the firmware name from DT.

Represent context banks using DT sub-nodes with iommus and
iommu-addresses instead of dynamically creating context bank devices using
a custom bus and reserving IOVA ranges through dma_iova_set_resv_region.

Signed-off-by: Yaman Saini <ysaini@qti.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant