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
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <86y5ay6hrn.fsf@miki.keithp.com>
Date:	Tue, 28 May 2013 13:12:12 -0600
From:	Keith Packard <keithp@...thp.com>
To:	Thierry Reding <thierry.reding@...il.com>,
	Arto Merilainen <amerilainen@...dia.com>
Cc:	"airlied\@linux.ie" <airlied@...ux.ie>,
	"linux-tegra\@vger.kernel.org" <linux-tegra@...r.kernel.org>,
	Terje Bergstrom <tbergstrom@...dia.com>,
	"dri-devel\@lists.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
	"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>,
	xorg-devel@...ts.x.org
Subject: Re: [PATCH 2/6] gpu: host1x: Fix syncpoint wait return value

Thierry Reding <thierry.reding@...il.com> writes:


> That doesn't sound right. Maybe drmIoctl() needs fixing instead. Looking
> at the history, drmIoctl() was introduced to automatically loop if a
> signal was received (commit 8b9ab108ec1f2ba2b503f713769c4946849b3cb2).
> However the ioctl(3p) manpage doesn't mention that ioctl() returns
> EAGAIN in case it is interrupted by a signal.

EAGAIN is being returned when the GPU is wedged to ask the application
to re-submit the request, which will presumably be held until the  GPU
is un-wedged.

-- 
keith.packard@...el.com

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ