Messages in this thread | | | Subject | Re: [PATCH v17 2/6] soc: qcom: rpmh: Update dirty flag only when data changes | From | Stephen Boyd <> | Date | Mon, 13 Apr 2020 14:17:05 -0700 |
| |
Quoting Maulik Shah (2020-04-12 07:50:00) > Currently rpmh ctrlr dirty flag is set for all cases regardless of data > is really changed or not. Add changes to update dirty flag when data is > changed to newer values. Update dirty flag everytime when data in batch > cache is updated since rpmh_flush() may get invoked from any CPU instead > of only last CPU going to low power mode. > > Also move dirty flag updates to happen from within cache_lock and remove > unnecessary INIT_LIST_HEAD() call and a default case from switch. > > Fixes: 600513dfeef3 ("drivers: qcom: rpmh: cache sleep/wake state requests") > Signed-off-by: Maulik Shah <mkshah@codeaurora.org> > Reviewed-by: Srinivas Rao L <lsrao@codeaurora.org> > Reviewed-by: Evan Green <evgreen@chromium.org> > Reviewed-by: Douglas Anderson <dianders@chromium.org> > ---
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
| |