Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0bed2866 authored by Tony Truong's avatar Tony Truong
Browse files

dmaengine: qcom: reduce vmalloc memory size



SMMU stage 1 is in passthrough mode for GPI clients.
Reduce vmalloc memory to the minimum size when
creating the iommu mapping.

CRs-Fixed: 1970703
Change-Id: I6711c11b487d954af9da10f28f99fd26ad303def
Signed-off-by: default avatarTony Truong <truong@codeaurora.org>
parent 3c704847
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2564,7 +2564,7 @@ static void gpi_setup_debug(struct gpi_dev *gpi_dev)

static int gpi_smmu_init(struct gpi_dev *gpi_dev)
{
	u64 size = U64_MAX;
	u64 size = PAGE_SIZE;
	dma_addr_t base = 0x0;
	struct dma_iommu_mapping *map;
	int attr, ret;