Re: GPIO triggers kernel reboot

2014-01-27 Thread Geert Uytterhoeven
On Mon, Jan 27, 2014 at 9:08 AM, Arnaud Patard wrote: >>> It's certainly possible, and it's also easily done from user-space. >>> Something like this is more policy than function. It's also a potential >>> security issue. As such I'd expect it highly unlikely that the kernel >>> maintainers wo

Re: GPIO triggers kernel reboot

2014-01-27 Thread Rtp
Heiko Schocher writes: > Hello Steve, > > Thanks for your answer! > > Am 25.01.2014 20:39, schrieb Steve deRosier: >> Hi Heiko, >> >> It's certainly possible, and it's also easily done from user-space. >> Something like this is more policy than function. It's also a potential >> security issue

Re: GPIO triggers kernel reboot

2014-01-26 Thread Heiko Schocher
Hello Steve, Thanks for your answer! Am 25.01.2014 20:39, schrieb Steve deRosier: Hi Heiko, It's certainly possible, and it's also easily done from user-space. Something like this is more policy than function. It's also a potential security issue. As such I'd expect it highly unlikely that

Re: GPIO triggers kernel reboot

2014-01-26 Thread Heiko Schocher
Hello John, Am 25.01.2014 21:24, schrieb Mehaffey, John: -Original Message- From: linux-embedded-ow...@vger.kernel.org [mailto:linux-embedded-ow...@vger.kernel.org] On Behalf Of Heiko Schocher Sent: Saturday, January 25, 2014 8:03 AM To: linux-embedded@vger.kernel.org Cc: Wolfgang Denk;

Re: GPIO triggers kernel reboot

2014-01-25 Thread Florian Fainelli
Le 25/01/2014 08:02, Heiko Schocher a écrit : Hello all, is it possible to reboot current mainline kernel triggered from a GPIO in kernel space? If not, how can be done this, so that it has a chance to go into mainline? Your GPIO could (should) be bound to a gpio-keys driver which will deliv

RE: GPIO triggers kernel reboot

2014-01-25 Thread Mehaffey, John
> -Original Message- > From: linux-embedded-ow...@vger.kernel.org > [mailto:linux-embedded-ow...@vger.kernel.org] On Behalf Of Heiko > Schocher > Sent: Saturday, January 25, 2014 8:03 AM > To: linux-embedded@vger.kernel.org > Cc: Wolfgang Denk; linux-arm-ker...@lists.infradead.org > Subje

RE: GPIO triggers kernel reboot

2014-01-25 Thread Mehaffey, John
> -Original Message- > From: linux-embedded-ow...@vger.kernel.org > [mailto:linux-embedded-ow...@vger.kernel.org] On Behalf Of Heiko Schocher > Sent: Saturday, January 25, 2014 8:03 AM > To: linux-embedded@vger.kernel.org > Cc: Wolfgang Denk; linux-arm-ker...@lists.infradead.org > Subject: