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

Commit 3a51cab0 authored by Charan Teja Reddy's avatar Charan Teja Reddy
Browse files

iommu: pass proper vmid value for secure attachments



Pass the proper VMID value during secure attach. This VMID is used by
the HYP/TZ to maintain the pagetables.

Change-Id: I3b7c27c079b044c9325bcbcb6fa4312e424f3a94
Signed-off-by: default avatarCharan Teja Reddy <charante@codeaurora.org>
parent 96f3cc94
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -758,7 +758,7 @@ static int iommu_debug_secure_profiling_show(struct seq_file *s, void *ignored)
		DOMAIN_ATTR_SECURE_VMID,
	};
	int one = 1, secure_vmid = VMID_CP_PIXEL;
	void *attr_values[] = { &one, &one, &secure_vmid };
	void *attr_values[] = { &one, &secure_vmid };

	iommu_debug_device_profiling(s, ddev->dev, attrs, attr_values,
				     ARRAY_SIZE(attrs), sizes);