]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iommu/arm-smmu: Make force_stage module param read-only in sysfs
authorWill Deacon <will.deacon@arm.com>
Wed, 27 May 2015 16:09:35 +0000 (17:09 +0100)
committerJoerg Roedel <jroedel@suse.de>
Fri, 29 May 2015 09:12:01 +0000 (11:12 +0200)
commite3ce0c940e02e4d9d09c1c1377f80d9e90a893a0
treef0180e9eb0c4c866180c67c581ee24c2342082bb
parent661d962f19c23df492a03f47b583ef6a540d6031
iommu/arm-smmu: Make force_stage module param read-only in sysfs

Changing force_stage dynamically isn't supported by the driver and it
also doesn't make a whole lot of sense to change it once the SMMU is up
and running.

This patch makes the sysfs entry for the parameter read-only.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm-smmu.c