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

Commit 6988454d authored by Patrick Daly's avatar Patrick Daly
Browse files

iommu: arm-smmu: Disable bypass mode by default



Do not allow transactions which are not in the stream-id table to use
bypass mode.

Change-Id: I8c995a49954c38f57acf00dc1e19b4dec0713388
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 69c4d1d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -305,7 +305,7 @@ static int force_stage;
module_param(force_stage, int, S_IRUGO);
MODULE_PARM_DESC(force_stage,
	"Force SMMU mappings to be installed at a particular stage of translation. A value of '1' or '2' forces the corresponding stage. All other values are ignored (i.e. no stage is forced). Note that selecting a specific stage will disable support for nested translation.");
static bool disable_bypass;
static bool disable_bypass = 1;
module_param(disable_bypass, bool, S_IRUGO);
MODULE_PARM_DESC(disable_bypass,
	"Disable bypass streams such that incoming transactions from devices that are not attached to an iommu domain will report an abort back to the device and will not be allowed to pass through the SMMU.");