diff options
author | 2025-04-08 13:53:50 -0300 | |
---|---|---|
committer | 2025-04-17 16:22:32 +0200 | |
commit | a96969a9157650c4cb345bd7323a8f9a3df232f4 (patch) | |
tree | e6e79855551323925eab5a68869bb876b3e3754c /lib/mpi/mpi-sub-ui.c | |
parent | iommu/terga: Do not use struct page as the handle for as->pd memory (diff) | |
download | wireguard-linux-a96969a9157650c4cb345bd7323a8f9a3df232f4.tar.xz wireguard-linux-a96969a9157650c4cb345bd7323a8f9a3df232f4.zip |
iommu/tegra: Do not use struct page as the handle for pts
Instead use the virtual address and dma_map_single() like as->pd
uses. Introduce a small struct tegra_pt instead of void * to have some
clarity what is using this API and add compile safety during the
conversion.
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/2-v4-c8663abbb606+3f7-iommu_pages_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions