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]
Message-ID: <A3F1E9CB89D548289E8FC5BE11CB67C7@hacdom.okisemi.com>
Date:	Mon, 16 May 2011 19:38:32 +0900
From:	"Tomoya MORINAGA" <tomoya-linux@....okisemi.com>
To:	"'Lars-Peter Clausen'" <lars@...afoo.de>,
	"'Grant Likely'" <grant.likely@...retlab.ca>
Cc:	<linux-kernel@...r.kernel.org>, <toshiharu-linux@....okisemi.com>
Subject: RE: Question: GPIO driver how to get irq_base

Hi,

Pch_gpio driver can become detecting falling/rising edge.
I attached the latest GPIO driver, usermode TP and the result.

However, "poll( )" of gpio_tp behavior is different than I anticipated. 
The "poll" is not blocked. (The returned value looks good)

My anticipated behavior is 
  Execute gpio_tp (blocked at poll( ))
  (Detect edge)
  Interrupt handler of pch_gpio is called
  Blocked poll( ) becomes released.

Let me know your opinion.

With Best Regards,
-----------------------------------------
Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.

View attachment "gpio_tp.c" of type "text/plain" (1139 bytes)

View attachment "pch_gpio.c" of type "text/plain" (11024 bytes)

View attachment "TP_result.txt" of type "text/plain" (374 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ