Re: [PATCH] v2 Staging : Add RIFFA PCIe staging driver

2018-12-04 Thread Cheng Fei Phung
> > Also, do not use a random MAJOR number that you just picked out of no > > where, that too will break working systems and needs to be fixed.  Use > > the dynamic allocation method, or better yet, just use a misc device. > > What do you exactly mean by misc device ? > Look at

Re: [PATCH] v2 Staging : Add RIFFA PCIe staging driver

2018-12-04 Thread Cheng Fei Phung
> For further details, please refer to > https://github.com/KastnerRG/riffa/pull/31 > That is not permanent, please provide the details here. This patch helps to enable bi-directional PCIe communication at PCIe gen2 speed grade Major change in this patch is the enabling of chnl_recv()

[PATCH] Staging : Add RIFFA PCIe staging driver

2018-12-03 Thread Cheng Fei Phung
/riffa/pull/31 Signed-off-by: Cheng Fei Phung --- Changes in v1: - added full-duplex capability drivers/staging/riffa/Kconfig|5 + drivers/staging/riffa/Makefile |1 + drivers/staging/riffa/TODO |7 + drivers/staging/riffa/circ_queue.c | 188 +++ drivers

[PATCH] Staging : Add RIFFA PCIe driver

2018-11-26 Thread Cheng Fei Phung
/riffa/pull/31 Signed-off-by: Cheng Fei Phung --- Changes in v1: - added full-duplex capability drivers/staging/riffa/Kconfig|5 + drivers/staging/riffa/Makefile |1 + drivers/staging/riffa/TODO |7 + drivers/staging/riffa/circ_queue.c | 188 +++ drivers

Re: [PATCH] Staging : Add RIFFA PCIe driver

2018-11-18 Thread Cheng Fei Phung
/xilinx/Makefile#L42-L43 ), what could I do in this case ? I do not understand what you exactly mean by "72 columns" ? Regards, Cheng Fei From: gre...@linuxfoundation.org Sent: Wednesday, November 7, 2018 7:59 PM To: Cheng Fei Phung Cc: de...@driverdev.osuosl.org Subject: Re: [PATCH] Sta

[PATCH] Staging : Add RIFFA PCIe driver

2018-10-21 Thread Cheng Fei Phung
This patch adds RIFFA PCIe linux driver for https://github.com/promach/riffa/tree/full_duplex/driver/linux This staging driver is modified from this upstream driver at https://github.com/KastnerRG/riffa/tree/master/driver/linux Signed-off-by: PHUNG CHENG FEI --- Changes in v1: - added

[PATCH] Add RIFFA PCIe driver to staging tree

2018-10-16 Thread Cheng Fei Phung
Patch changelog content: Add a PCIe linux driver called RIFFA to the linux staging tree. It has full duplex capability compared to the original RIFFA linux driver that you can easily find from https://github.com/KastnerRG/riffa/tree/master/driver/linux For more context, please refer to

yield() and cond_resched() do not yield to another thread

2018-09-04 Thread fei phung
Hi everyone, I am working on https://github.com/promach/riffa/tree/full_duplex While I modifying the linux driver, I faced some issue using yield(). Why riffa_driver.c yield() function https://gist.github.com/promach/7716ee8addcaa33fda140d74d1ad94d6#file-riffa_driver-c-L746 does not yield to