Re: use interrupt without clearing ?

2015-10-12 Thread Ran Shalit
On Mon, Oct 12, 2015 at 5:53 AM, Michael Ellerman wrote: > On Sun, 2015-10-11 at 15:13 +0300, Ran Shalit wrote: >> Hello, >> >> Is it possible to register an interrupt (in linux), without using the >> automatic clear of interrupt. >> I need this just for testing.

use interrupt without clearing ?

2015-10-11 Thread Ran Shalit
Hello, Is it possible to register an interrupt (in linux), without using the automatic clear of interrupt. I need this just for testing. Regards, Ran ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-

floating-point

2015-09-08 Thread Ran Shalit
Hello, Is floating point should be supported by default in kernel. I see that I can't use floating point in application, although kernel is configured with CONFIG_PPC_FPU Does kernel required any additional configurations for floating-point? Regards, Ran _

Re: IRQ handler is not called with external IRQ

2015-08-17 Thread Ran Shalit
On Mon, Aug 17, 2015 at 8:24 AM, Ran Shalit wrote: > Hello, > > > I have strange behaviour with external IRQ: > The registration on external IRQ is successful, but on simulating > interrupt the interrupt handler called. > It seems that the interrupt was received according t

IRQ handler is not called with external IRQ

2015-08-16 Thread Ran Shalit
Hello, I have strange behaviour with external IRQ: The registration on external IRQ is successful, but on simulating interrupt the interrupt handler called. It seems that the interrupt was received according to SEPNR which shows that IRQ #2 interrupt is pending, but the handler was not called. T

gdb with powerpc

2015-08-11 Thread Ran Shalit
Hello, I would like to ask if anyone tried remote debugging with gdb/gdbserver on powerpc. I've tried to cross-compile gdb for powerpc, but I get into troubles. I am using the following compiler: powerpc-buildroot-linux-gnu-gcc (Buildroot 2014.11) 4.8.3 I've downloaded several version, gdb versio

Re: using general IRQs

2015-08-10 Thread Ran Shalit
On Tue, Aug 11, 2015 at 6:47 AM, Scott Wood wrote: > On Tue, 2015-08-11 at 06:45 +0300, Ran Shalit wrote: >> On Tue, Aug 11, 2015 at 5:29 AM, Scott Wood wrote: >> > On Mon, 2015-08-10 at 13:40 +0300, Ran Shalit wrote: >> > > On Mon, Aug 10, 2015 at 10:4

Re: using general IRQs

2015-08-10 Thread Ran Shalit
On Tue, Aug 11, 2015 at 5:29 AM, Scott Wood wrote: > On Mon, 2015-08-10 at 13:40 +0300, Ran Shalit wrote: >> On Mon, Aug 10, 2015 at 10:48 AM, Ran Shalit wrote: >> > Hello, >> > >> > MPC8349 has general IRQ numbered 0-7, >> > It is required to bind

Re: using general IRQs

2015-08-10 Thread Ran Shalit
On Mon, Aug 10, 2015 at 10:48 AM, Ran Shalit wrote: > Hello, > > MPC8349 has general IRQ numbered 0-7, > It is required to bind these IRQs with some routine , i.e. they are > not used with any specific driver. > > - Should they be configured as gpios in device tree so that

using general IRQs

2015-08-10 Thread Ran Shalit
Hello, MPC8349 has general IRQ numbered 0-7, It is required to bind these IRQs with some routine , i.e. they are not used with any specific driver. - Should they be configured as gpios in device tree so that we can use the gpio as irq in linux ? Is there any example ? - After configuration, can t

Re: GPMC in device tree

2015-08-09 Thread Ran Shalit
On Sun, Aug 9, 2015 at 9:27 AM, Ran Shalit wrote: > On Thu, Aug 6, 2015 at 6:07 AM, Scott Wood wrote: >> On Wed, 2015-08-05 at 17:27 +0300, Ran Shalit wrote: >>> On Wed, Aug 5, 2015 at 9:11 AM, Ran Shalit wrote: >>> > On Wed, Aug 5, 2015 at 6:56 AM, Ran Shalit

Re: GPMC in device tree

2015-08-08 Thread Ran Shalit
On Thu, Aug 6, 2015 at 6:07 AM, Scott Wood wrote: > On Wed, 2015-08-05 at 17:27 +0300, Ran Shalit wrote: >> On Wed, Aug 5, 2015 at 9:11 AM, Ran Shalit wrote: >> > On Wed, Aug 5, 2015 at 6:56 AM, Ran Shalit wrote: >> > > On Wed, Aug 5, 2015 at 12:25 AM, Scott Wood

Re: GPMC in device tree

2015-08-05 Thread Ran Shalit
On Wed, Aug 5, 2015 at 9:11 AM, Ran Shalit wrote: > On Wed, Aug 5, 2015 at 6:56 AM, Ran Shalit wrote: >> On Wed, Aug 5, 2015 at 12:25 AM, Scott Wood wrote: >>> On Wed, 2015-08-05 at 00:22 +0300, Ran Shalit wrote: >>>> On Tue, Aug 4, 2015 at 11:31 PM, Scott Wood &

Re: GPMC in device tree

2015-08-04 Thread Ran Shalit
On Wed, Aug 5, 2015 at 6:56 AM, Ran Shalit wrote: > On Wed, Aug 5, 2015 at 12:25 AM, Scott Wood wrote: >> On Wed, 2015-08-05 at 00:22 +0300, Ran Shalit wrote: >>> On Tue, Aug 4, 2015 at 11:31 PM, Scott Wood wrote: >>> > On Tue, 2015-08-04 at 23:26 +0300, Ran Shali

Re: GPMC in device tree

2015-08-04 Thread Ran Shalit
On Wed, Aug 5, 2015 at 12:25 AM, Scott Wood wrote: > On Wed, 2015-08-05 at 00:22 +0300, Ran Shalit wrote: >> On Tue, Aug 4, 2015 at 11:31 PM, Scott Wood wrote: >> > On Tue, 2015-08-04 at 23:26 +0300, Ran Shalit wrote: >> > > On Tue, Aug 4, 2015 at 9:54 PM, Scott W

Re: GPMC in device tree

2015-08-04 Thread Ran Shalit
On Tue, Aug 4, 2015 at 11:31 PM, Scott Wood wrote: > On Tue, 2015-08-04 at 23:26 +0300, Ran Shalit wrote: >> On Tue, Aug 4, 2015 at 9:54 PM, Scott Wood wrote: >> > On Tue, 2015-08-04 at 18:29 +0300, Ran Shalit wrote: >> > > Hello, >> > > >> > &

Re: GPMC in device tree

2015-08-04 Thread Ran Shalit
On Tue, Aug 4, 2015 at 9:54 PM, Scott Wood wrote: > On Tue, 2015-08-04 at 18:29 +0300, Ran Shalit wrote: >> Hello, >> >> I would please like to ask if describing flash nor used with GPMC, >> whould be done as described in: >> https://www.kernel.org/doc/Documenta

GPMC in device tree

2015-08-04 Thread Ran Shalit
Hello, I would please like to ask if describing flash nor used with GPMC, whould be done as described in: https://www.kernel.org/doc/Documentation/devicetree/bindings/mtd/gpmc-nor.txt It is described in the above link as "TI's GPMC", so I'm not sure if it is relevent for powerpc too. Thank you, R