[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dcd4e4db-2999-15c9-0c82-42dd8ca1e61d@gmail.com>
Date: Sun, 30 Jan 2022 13:26:47 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Akhil R <akhilrajeev@...dia.com>, devicetree@...r.kernel.org,
dmaengine@...r.kernel.org, jonathanh@...dia.com,
kyarlagadda@...dia.com, ldewangan@...dia.com,
linux-kernel@...r.kernel.org, linux-tegra@...r.kernel.org,
p.zabel@...gutronix.de, rgumasta@...dia.com, robh+dt@...nel.org,
thierry.reding@...il.com, vkoul@...nel.org
Cc: Pavan Kunapuli <pkunapuli@...dia.com>
Subject: Re: [PATCH v17 2/4] dmaengine: tegra: Add tegra gpcdma driver
30.01.2022 13:05, Dmitry Osipenko пишет:
> Still nothing prevents interrupt handler to fire during the pause.
>
> What you actually need to do is to disable/enable interrupt. This will
> prevent the interrupt racing and then pause/resume may look like this:
Although, seems this won't work, unfortunately. I see now that
device_pause() doesn't have might_sleep().
Powered by blists - more mailing lists