[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <159281658960.62212.15968925558324290917@swboyd.mtv.corp.google.com>
Date: Mon, 22 Jun 2020 02:03:09 -0700
From: Stephen Boyd <swboyd@...omium.org>
To: Maulik Shah <mkshah@...eaurora.org>, agross@...nel.org,
bjorn.andersson@...aro.org
Cc: linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
dianders@...omium.org, rnayak@...eaurora.org, ilina@...eaurora.org,
lsrao@...eaurora.org, Maulik Shah <mkshah@...eaurora.org>,
<john.stultz@...aro.org>
Subject: Re: [PATCH] soc: qcom: rpmh-rsc: Set suppress_bind_attrs flag
Quoting Maulik Shah (2020-06-21 23:53:25)
> rpmh-rsc driver is fairly core to system and should not be removable
> once its probed. However it allows to unbind driver from sysfs using
> below command which results into a crash on sc7180.
What is the crash? The world falls apart because rpmh APIs start
referencing pointers that point to freed memory?
>
> echo 18200000.rsc > /sys/bus/platform/drivers/rpmh/unbind
>
> Lets prevent unbind at runtime by setting suppress_bind_attrs flag.
Ok. But when the Android module brigade comes knocking they'll have to
revert this change and solve this problem too. Have fun!
>
> Signed-off-by: Maulik Shah <mkshah@...eaurora.org>
> ---
Reviewed-by: Stephen Boyd <swboyd@...omium.org>
Powered by blists - more mailing lists