[PATCH] cpucounter: Increase conversion accuracy

2021-01-26 Thread Sebastian Huber
The maximum frequency is UINT32_MAX. Converted to a uint64_t variable it can be shifted by 32. The addition does not overflow since bin_per_s - 1 is UINT32_MAX. --- cpukit/sapi/src/cpucounterconverter.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cpukit/sapi/src/cp

[PATCH] heap: Fix _Heap_Area_overhead()

2021-01-26 Thread Sebastian Huber
The first block must be a proper block. Account for this in _Heap_Area_overhead(). --- cpukit/include/rtems/score/heap.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cpukit/include/rtems/score/heap.h b/cpukit/include/rtems/score/heap.h index ccc2f5c0fe..62a81cbad9 1

Re: Report on failing tests with thread stack protection and their resolution.

2021-01-26 Thread Sebastian Huber
On 23/01/2021 07:27, Utkarsh Rai wrote: The issue that remains is of User extension iterators, in particular of nested iterators. My idea is to disable memory protection in places during iteration where inter-stack access takes place.  The problem is determining the region for which memory pro

Re: [PATCH] libcsupport: Add no_reg_make_node as a mount option to the mount table

2021-01-26 Thread Gedare Bloom
On Mon, Jan 25, 2021 at 9:02 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 25/01/2021 02:10, chr...@rtems.org wrote: > > > From: Chris Johns > > > > - Add the bool flag no_reg_make_mode to the mount table so a file > >system can indicate creating regular files is not don

Re: [PATCH] cpucounter: Increase conversion accuracy

2021-01-26 Thread Gedare Bloom
The reasoning about the math looks safe. I'm not competent to judge its correctness :) On Tue, Jan 26, 2021 at 8:11 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > The maximum frequency is UINT32_MAX. Converted to a uint64_t variable > it can be shifted by 32. The addition doe

Re: [PATCH] heap: Fix _Heap_Area_overhead()

2021-01-26 Thread Gedare Bloom
ok On Tue, Jan 26, 2021 at 8:11 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > The first block must be a proper block. Account for this in > _Heap_Area_overhead(). > --- > cpukit/include/rtems/score/heap.h | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > dif

Re: Report on failing tests with thread stack protection and their resolution.

2021-01-26 Thread Gedare Bloom
On Tue, Jan 26, 2021 at 8:24 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 23/01/2021 07:27, Utkarsh Rai wrote: > > > The issue that remains is of User extension iterators, in particular > > of nested iterators. My idea is to disable memory protection in places > > during it

Re: [PATCH] rtems: Add "Notes" paragraph header

2021-01-26 Thread Sebastian Huber
On 26/01/2021 16:42, Gedare Bloom wrote: Some of them don't add the @par notes, is there a rationale for when it is/isn't there? (It looks like maybe that is for doxygen of macros.) The problem is that this patch does two things: 1. It adds @par Notes. 2. It moves the notes and description t

Re: [PATCH] rtems: Add "Notes" paragraph header

2021-01-26 Thread Gedare Bloom
Thank you for the clarification. On Tue, Jan 26, 2021 at 10:04 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 26/01/2021 16:42, Gedare Bloom wrote: > > > Some of them don't add the @par notes, is there a rationale for when > > it is/isn't there? (It looks like maybe that is

Re: [PATCH] libcsupport: Add no_reg_make_node as a mount option to the mount table

2021-01-26 Thread Chris Johns
On 27/1/21 2:43 am, Gedare Bloom wrote: > On Mon, Jan 25, 2021 at 9:02 AM Sebastian Huber > > > wrote: > On 25/01/2021 02:10, chr...@rtems.org wrote: > > > From: Chris Johnsmailto:chr...@rtems.org>> > > > > - Add

Re: Report on failing tests with thread stack protection and their resolution.

2021-01-26 Thread Utkarsh Rai
On Tue, Jan 26, 2021 at 9:33 PM Gedare Bloom wrote: > > > On Tue, Jan 26, 2021 at 8:24 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> On 23/01/2021 07:27, Utkarsh Rai wrote: >> >> > The issue that remains is of User extension iterators, in particular >> > of nested iterato