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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 12 Mar 2016 16:46:12 +0100
From:	Wolfram Sang <wsa@...-dreams.de>
To:	Jan Glauber <jglauber@...ium.com>
Cc:	linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org,
	David Daney <ddaney@...iumnetworks.com>,
	Peter Swain <pswain@...ium.com>
Subject: Re: [PATCH v3 05/14] i2c-octeon: Make adapter timeout tunable

On Mon, Mar 07, 2016 at 04:10:48PM +0100, Jan Glauber wrote:
> From: Peter Swain <pswain@...ium.com>
> 
> Make the i2c adapter timeout a module parameter to allow upper-level
> target device drivers to retry with their own logic before their own
> timeouts abort operations.
> 
> For example, at24 eeprom driver retries for 25ms when -EAGAIN
> indicates that an eeprom has gone unresponsive while committing
> a newly written page (5ms on typical devices).
> 
> Signed-off-by: Peter Swain <pswain@...ium.com>
> Signed-off-by: Jan Glauber <jglauber@...ium.com>

i2c-dev has IOCTLs for timeout and retries. Can't you use those?


Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ