lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 7 Jan 2020 12:39:00 +0000 From: Thierry Reding <treding@...dia.com> To: Dmitry Osipenko <digetx@...il.com> CC: Thierry Reding <thierry.reding@...il.com>, Jonathan Hunter <jonathanh@...dia.com>, Laxman Dewangan <ldewangan@...dia.com>, Mikko Perttunen <cyndis@...si.fi>, Wolfram Sang <wsa@...-dreams.de>, <linux-i2c@...r.kernel.org>, <linux-tegra@...r.kernel.org>, <linux-kernel@...r.kernel.org> Subject: Re: [PATCH v3 3/9] i2c: tegra: Prevent interrupt triggering after transfer timeout On Mon, 06 Jan 2020 04:04:17 +0300, Dmitry Osipenko wrote: > Potentially it is possible that interrupt may fire after transfer timeout. > That may not end up well for the next transfer because interrupt handling > may race with hardware resetting. > > This is very unlikely to happen in practice, but anyway let's prevent the > potential problem by enabling interrupt only at the moments when it is > actually necessary to get some interrupt event. > > Signed-off-by: Dmitry Osipenko <digetx@...il.com> > --- > drivers/i2c/busses/i2c-tegra.c | 70 +++++++++++++++++----------------- > 1 file changed, 36 insertions(+), 34 deletions(-) Tested-by: Thierry Reding <treding@...dia.com>
Powered by blists - more mailing lists