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

Commit a728cfdc authored by Patrick Daly's avatar Patrick Daly
Browse files

Revert "iommu: arm-smmu: Disable bypass mode by default"



This reverts commit 6988454d
("iommu: arm-smmu: Disable bypass mode by default")

Disabling bypass mode requires hypervisor support for clients which
use S2 only.

Change-Id: Ie5f3f76de4cfab249fce76b4fbea07ab165740f9
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 245de31b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -292,7 +292,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 = 1;
static bool disable_bypass;
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.");