| Date | Fri, 21 Feb 2020 16:25:15 +0100 | From | Daniel Lezcano <> | Subject | Re: [PATCH v9 10/17] arm: tegra20: cpuidle: Make abort_flag atomic |
| |
On Thu, Feb 13, 2020 at 02:51:27AM +0300, Dmitry Osipenko wrote: > Replace memory accessors with atomic API just to make code consistent > with the abort_barrier. The new variant may be even more correct now since > atomic_read() will prevent compiler from generating wrong things like > carrying abort_flag value in a register instead of re-fetching it from > memory. > > Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com> > Tested-by: Peter Geis <pgwipeout@gmail.com> > Tested-by: Jasper Korten <jja2000@gmail.com> > Tested-by: David Heidelberg <david@ixit.cz> > Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|