Re: [PATCH] drivers: staging: Add driver for Amplicon PCIe215

2017-09-01 Thread Piotr Gregor
On Fri, Sep 01, 2017 at 08:57:50AM +0200, Greg Kroah-Hartman wrote: > On Thu, Aug 31, 2017 at 05:54:58PM +0100, Piotr Gregor wrote: > > This is a small and simple driver for handling of external > > interrupt signal asserted on pins of Amplicon's PCIe215 board. > > There

[PATCH] drivers: staging: Add driver for Amplicon PCIe215

2017-08-31 Thread Piotr Gregor
exity at the cost of being generic. In some cases the simpler, more compact solution may be preferred. The purpose of this driver is therefore to handle interrupt feature of the PCIe215, while being small, simple and reliable. Signed-off-by: Piotr Gregor --- drivers/staging/Kc

Re: [PATCH] staging: comedi: comedi_fops: do not call blocking ops when !TASK_RUNNING

2017-08-01 Thread Piotr Gregor
t_fault()` checks when enabled. Fix it by setting the current task > state back to `TASK_RUNNING` a bit earlier before calling these > functions. > > Reported-by: Piotr Gregor > Signed-off-by: Ian Abbott > Cc: # 4.5+ > --- > Note: stable kernel versions 4.4 and earl

Re: [PATCH] drivers: staging: comedi: Add ftrace support

2017-07-19 Thread Piotr Gregor
On Wed, Jul 19, 2017 at 2:25 PM, Dan Carpenter wrote: > Everyone please delete this confidential email. Piotr is leakier than > the Trump administration! > Sanity level of Dan's assessments is less than half the average level of Hillary's supporter! __

Re: [PATCH] drivers: staging: comedi: Add ftrace support

2017-07-19 Thread Piotr Gregor
On Wed, Jul 19, 2017 at 04:21:06PM +0200, Greg Kroah-Hartman wrote: > On Wed, Jul 19, 2017 at 02:57:28PM +0100, Piotr Gregor wrote: > > + * Id : Description > > + * 0 Enter the interrupt of amplc_dio200_common > > + * 1 Called from same ISR of amplc_dio200_com

[PATCH] drivers: staging: comedi: Add ftrace support

2017-07-19 Thread Piotr Gregor
EMPT RT Thu Jul 13 08:42:02 BST 2017 x86_64 GNU/Linux RAM: 8GB Signed-off-by: Piotr Gregor --- drivers/staging/comedi/drivers/Makefile| 2 ++ .../staging/comedi/drivers/amplc_dio200_common.c | 5 +++ drivers/staging/comedi/drivers/comedi-trace.h | 42 ++

[PATCH] drivers: staging: comedi: Add ftrace support

2017-07-19 Thread Piotr Gregor
EMPT RT Thu Jul 13 08:42:02 BST 2017 x86_64 GNU/Linux RAM: 8GB Signed-off-by: Piotr Gregor --- drivers/staging/comedi/drivers/Makefile| 2 ++ .../staging/comedi/drivers/amplc_dio200_common.c | 5 +++ drivers/staging/comedi/drivers/comedi-trace.h | 42 ++

Re: [BUG] drivers: staging: comedi: do not call blocking ops when !TASK_RUNNING; state=1

2017-07-17 Thread Piotr Gregor
rself? cheers, Piotr On Mon, Jul 17, 2017 at 05:02:45PM +0100, Ian Abbott wrote: > On 17/07/17 15:48, Piotr Gregor wrote: > >Calling blocking operations from wrong context. > >Kernel: > > > >Linux piotrpc 4.4.70-rt83 #1 SMP PREEMPT RT Thu Jul 13 08:42:

[BUG] drivers: staging: comedi: do not call blocking ops when !TASK_RUNNING; state=1

2017-07-17 Thread Piotr Gregor
Calling blocking operations from wrong context. Kernel: Linux piotrpc 4.4.70-rt83 #1 SMP PREEMPT RT Thu Jul 13 08:42:02 BST 2017 x86_64 GNU/Linux [ 80.542018] NOHZ: local_softirq_pending 80 [ 125.175471] [ cut here ] [ 125.175491] WARNING: CPU: 0 PID: 1497 at kernel/s

[PATCH] drivers: staging: comedi: fix function prototypes

2016-12-14 Thread Piotr Gregor
Add names of parameters to function prototypes in comedi PCI. Checkpatch reports now no errors. Signed-off-by: Piotr Gregor --- drivers/staging/comedi/comedi_pci.h | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/staging/comedi/comedi_pci.h b