Quoting Maulik Shah (2020-06-21 23:53:25)Yes.
rpmh-rsc driver is fairly core to system and should not be removableWhat is the crash? The world falls apart because rpmh APIs start
once its probed. However it allows to unbind driver from sysfs using
below command which results into a crash on sc7180.
referencing pointers that point to freed memory?
echo 18200000.rsc > /sys/bus/platform/drivers/rpmh/unbindOk. But when the Android module brigade comes knocking they'll have to
Lets prevent unbind at runtime by setting suppress_bind_attrs flag.
revert this change and solve this problem too. Have fun!
Signed-off-by: Maulik Shah <mkshah@xxxxxxxxxxxxxx>Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
---