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] [day] [month] [year] [list]
Message-ID: <45BB52C84795411599D19C7A7BA924E7@hacdom.okisemi.com>
Date:	Tue, 17 May 2011 11:06:03 +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,

Modifying parameter of poll ( ) like below, poll ( ) becomes blocked correctly.
    pfd.events = POLLPRI | POLLERR
And I can confirm when GPIO driver detects edge changing,
the blocked poll  ( ) is released correctly. 

Thanks,
-----------------------------------------
Tomoya MORINAGA
OKI SEMICONDUCTOR CO., LTD.

> -----Original Message-----
> From: linux-kernel-owner@...r.kernel.org 
> [mailto:linux-kernel-owner@...r.kernel.org] On Behalf Of 
> Tomoya MORINAGA
> Sent: Monday, May 16, 2011 7:39 PM
> To: 'Lars-Peter Clausen'; 'Grant Likely'
> 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.
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ