On Wed, Jan 20, 2021 at 02:52:10AM +0300, Dmitry Osipenko wrote: > Check whether memory client reset is already asserted in order to prevent > DMA-flush error on trying to re-assert an already asserted reset. > > This becomes a problem once PMC GENPD is enabled to use memory resets > since GENPD will get a error and fail to toggle power domain. PMC GENPDs > can't be toggled safely without holding memory reset on Tegra and we're > about to fix this. > > Tested-by: Peter Geis <pgwipeout@xxxxxxxxx> # Ouya T30 > Tested-by: Dmitry Osipenko <digetx@xxxxxxxxx> # A500 T20 and Nexus7 T30 Don't add your own Tested-by. Author has to test it. However this is a v1 and already three other people added tests. Where are the emails? > Tested-by: Nicolas Chauvet <kwizart@xxxxxxxxx> # PAZ00 T20 > Tested-by: Matt Merhar <mattmerhar@xxxxxxxxxxxxxx> # Ouya T30 > Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx> > --- > drivers/memory/tegra/mc.c | 7 +++++++ > 1 file changed, 7 insertions(+) > Best regards, Krzysztof