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]
Date:	Mon, 14 Mar 2011 22:02:06 -0700
From:	Dmitry Torokhov <dmitry.torokhov@...il.com>
To:	Haojian Zhuang <hzhuang1@...vell.com>
Cc:	"johnpol@....mipt.ru" <johnpol@....mipt.ru>,
	"sameo@...ux.intel.com" <sameo@...ux.intel.com>,
	"a.zummo@...ertech.it" <a.zummo@...ertech.it>,
	"lrg@...mlogic.co.uk" <lrg@...mlogic.co.uk>,
	"broonie@...nsource.wolfsonmicro.com" 
	<broonie@...nsource.wolfsonmicro.com>,
	"rpurdie@...ys.net" <rpurdie@...ys.net>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] input: touchscreen: use polling mode in 88pm860x

On Mon, Mar 14, 2011 at 05:41:35AM -0700, Haojian Zhuang wrote:
> 
> 
> >-----Original Message-----
> >From: Dmitry Torokhov [mailto:dmitry.torokhov@...il.com]
> >Sent: 2011年3月13日 2:44 PM
> >To: Haojian Zhuang
> >Cc: johnpol@....mipt.ru; sameo@...ux.intel.com; a.zummo@...ertech.it;
> >lrg@...mlogic.co.uk; broonie@...nsource.wolfsonmicro.com;
> >rpurdie@...ys.net; linux-kernel@...r.kernel.org
> >Subject: Re: [PATCH] input: touchscreen: use polling mode in 88pm860x
> >
> >On Mon, Mar 07, 2011 at 11:43:14PM +0800, Haojian Zhuang wrote:
> >> Measuring point on touchscreen with IRQ mode can only monitor pen-down
> >> event. If finger is moving on touchscreen, it can't be monitored by
> >> IRQ pen-down event. So switch to polling mode after pen-down event.
> >>
> >
> >Instead of scheduling work you could stay in the interrupt handler
> >(which is a separate thread) and poll from it. Or is it a nested
> >interrupt and it is sharing the interrupt thread?
> >
> >Thanks.
> >
> >--
> >Dmitry
> 
> I'm using a nested interrupt. Do you mean that I should keep polling in the nested interrupt handler?
> 

No, I do not believe you can poll from the nested handler since I
believe it shares the thread with other interrupts. In non-nested case
you could though.

Thanks.

-- 
Dmitry
--
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