Re: [PATCH rtems-libbsd] rtemsbsd/libio: Handle invalid descriptors

2023-09-19 Thread Chris Johns
OK Thanks Chris On 20/9/2023 7:18 am, Kinsey Moore wrote: > The documentation for this function suggests that it can handle invalid > descriptors safely. This change allows negative descriptors to be > handled without a crash. > --- > rtemsbsd/include/machine/rtems-bsd-libio.h | 6 -- > 1 fi

[PATCH rtems-libbsd 0/1] Branch note

2023-09-19 Thread Kinsey Moore
Note that this patch only applies to the 6-freebsd-12 branch because the code it affects does not exist in the master branch. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH rtems-libbsd] rtemsbsd/libio: Handle invalid descriptors

2023-09-19 Thread Kinsey Moore
The documentation for this function suggests that it can handle invalid descriptors safely. This change allows negative descriptors to be handled without a crash. --- rtemsbsd/include/machine/rtems-bsd-libio.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rtemsbsd/inclu

[PATCH 2/2] bsps/xnandpsu: Ensure buffer cache sync

2023-09-19 Thread Kinsey Moore
When a buffer is modified by both hardware components such as DMA and by software components, the buffer cache state must be kept in sync so that data is not accidentally thrown away during future invalidations. --- bsps/shared/dev/nand/xnandpsu.c | 6 ++ 1 file changed, 6 insertions(+) diff

[PATCH 1/2] bsps/xnandpsu: Don't rely on usleep for polling

2023-09-19 Thread Kinsey Moore
When polling hardware registers in high performance situations, don't rely on usleep or other standard sleep functions since they will necessarily rely on kernel ticks to be woken up. This can easily cause an immense reduction in throughput. --- bsps/shared/dev/nand/xnandpsu.c | 15 +++

Re: [PATCH 1/3] cpukit/jffs2: Avoid delayed work lock inversion

2023-09-19 Thread Kinsey Moore
On Mon, Sep 11, 2023 at 11:00 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello Kinsey, > > since this patch fixes a bug, there should be a ticket. There should be > also a test case which demonstrates the problem and shows that the patch > fixes the issue. > > I'll open an i

Re: Xilinx MPSoC, CAN, CAN-FD

2023-09-19 Thread Kinsey Moore
On Tue, Sep 19, 2023 at 7:25 AM emanuel stiebler wrote: > Anybody using CAN on the xilinx MPSoC? Does CON-FD work too? > Hi Emanuel, Those drivers haven't been ported in from the embeddedsw repository yet since I haven't had a need for them. If you want to try porting them into RTEMS, the framew

Xilinx MPSoC, CAN, CAN-FD

2023-09-19 Thread emanuel stiebler
Anybody using CAN on the xilinx MPSoC? Does CON-FD work too? Thanks, Emanuel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel