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

Commit 30b77d44 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu/arm-smmu: fix build error with av8l_fast_clear_stale_ptes"

parents 8b72bbf9 447c309e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
 * Copyright (c) 2016-2017, 2020, The Linux Foundation. All rights reserved.
 */

#define pr_fmt(fmt)	"io-pgtable-fast: " fmt
@@ -739,7 +739,7 @@ static int __init av8l_fast_positive_testing(void)
	}

	/* sweep up TLB proving PTEs */
	av8l_fast_clear_stale_ptes(pmds, base, base, max, false);
	av8l_fast_clear_stale_ptes(ops, base, base, max, false);

	/* map the entire 4GB VA space with 8K map calls */
	for (iova = base; iova < max; iova += SZ_8K) {
@@ -760,7 +760,7 @@ static int __init av8l_fast_positive_testing(void)
	}

	/* sweep up TLB proving PTEs */
	av8l_fast_clear_stale_ptes(pmds, base, base, max, false);
	av8l_fast_clear_stale_ptes(ops, base, base, max, false);

	/* map the entire 4GB VA space with 16K map calls */
	for (iova = base; iova < max; iova += SZ_16K) {
@@ -781,7 +781,7 @@ static int __init av8l_fast_positive_testing(void)
	}

	/* sweep up TLB proving PTEs */
	av8l_fast_clear_stale_ptes(pmds, base, base, max, false);
	av8l_fast_clear_stale_ptes(ops, base, base, max, false);

	/* map the entire 4GB VA space with 64K map calls */
	for (iova = base; iova < max; iova += SZ_64K) {