Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-29 Thread Gedare Bloom
On Thu, May 28, 2020 at 6:24 PM Utkarsh Rai wrote: > > > > > On Wed, May 27, 2020 at 8:29 PM Gedare Bloom wrote: >> >> On Tue, May 26, 2020 at 6:12 PM Utkarsh Rai wrote: >> > >> > >> > >> > On Mon, May 25, 2020 at 9:32 PM Gedare Bloom wrote: >> >> >> >> On Mon, May 25, 2020 at 5:39 AM Utkarsh

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-28 Thread Utkarsh Rai
On Wed, May 27, 2020 at 8:29 PM Gedare Bloom wrote: > On Tue, May 26, 2020 at 6:12 PM Utkarsh Rai > wrote: > > > > > > > > On Mon, May 25, 2020 at 9:32 PM Gedare Bloom wrote: > >> > >> On Mon, May 25, 2020 at 5:39 AM Utkarsh Rai > wrote: > >> > > >> > > >> > On Fri, May 22, 2020, at 10:59 AM

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-27 Thread Gedare Bloom
On Tue, May 26, 2020 at 6:12 PM Utkarsh Rai wrote: > > > > On Mon, May 25, 2020 at 9:32 PM Gedare Bloom wrote: >> >> On Mon, May 25, 2020 at 5:39 AM Utkarsh Rai wrote: >> > >> > >> > On Fri, May 22, 2020, at 10:59 AM Gedare Bloom wrote: >> >> >> >> > This means that our low-level design for

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-26 Thread Utkarsh Rai
On Mon, May 25, 2020 at 9:32 PM Gedare Bloom wrote: > On Mon, May 25, 2020 at 5:39 AM Utkarsh Rai > wrote: > > > > > > On Fri, May 22, 2020, at 10:59 AM Gedare Bloom wrote: > >> > >> > This means that our low-level design for providing thread stack > protection may look something like this:-

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-25 Thread Gedare Bloom
On Mon, May 25, 2020 at 5:39 AM Utkarsh Rai wrote: > > > On Fri, May 22, 2020, at 10:59 AM Gedare Bloom wrote: >> >> > This means that our low-level design for providing thread stack >> > protection may look something like this:- >> > >> > 1. For MPU based processors, the number of protected

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-25 Thread Utkarsh Rai
On Fri, May 22, 2020, at 10:59 AM Gedare Bloom wrote: > > This means that our low-level design for providing thread stack > protection may look something like this:- > > > > 1. For MPU based processors, the number of protected stacks will depend > on the number of protection domains i.e. for

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-21 Thread Gedare Bloom
> This means that our low-level design for providing thread stack protection > may look something like this:- > > 1. For MPU based processors, the number of protected stacks will depend on > the number of protection domains i.e. for MPUs with 8 protection domains we > can have 7 protected

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-21 Thread Utkarsh Rai
On Thu, May 21, 2020 at 5:43 AM Hesham Almatary wrote: > Yes, I completely agree with Gedare, and my reply doesn't entail > otherwise. As Gedare stated a few requirements: > > "2. The basic protection isolates the text, rodata, and rwdata from > each other. There is no notion of task-specific

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-20 Thread Hesham Almatary
Yes, I completely agree with Gedare, and my reply doesn't entail otherwise. As Gedare stated a few requirements: "2. The basic protection isolates the text, rodata, and rwdata from each other. There is no notion of task-specific protection domains, and tasks should not incur any additional

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-20 Thread Utkarsh Rai
On Wed, May 20, 2020 at 7:40 AM Hesham Almatary wrote: > On Tue, 19 May 2020 at 14:00, Utkarsh Rai wrote: > > > > > > > > On Mon, May 18, 2020 at 8:38 PM Gedare Bloom wrote: > >> > >> On Mon, May 18, 2020 at 4:31 AM Utkarsh Rai > wrote: > >> > > >> > > >> > > >> > > >> > On Sat, May 16, 2020

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-19 Thread Hesham Almatary
On Tue, 19 May 2020 at 14:00, Utkarsh Rai wrote: > > > > On Mon, May 18, 2020 at 8:38 PM Gedare Bloom wrote: >> >> On Mon, May 18, 2020 at 4:31 AM Utkarsh Rai wrote: >> > >> > >> > >> > >> > On Sat, May 16, 2020 at 9:16 PM Joel Sherrill wrote: >> >> >> >> >> >> >> >> On Sat, May 16, 2020 at

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-19 Thread Utkarsh Rai
On Mon, May 18, 2020 at 8:38 PM Gedare Bloom wrote: > On Mon, May 18, 2020 at 4:31 AM Utkarsh Rai > wrote: > > > > > > > > > > On Sat, May 16, 2020 at 9:16 PM Joel Sherrill wrote: > >> > >> > >> > >> On Sat, May 16, 2020 at 10:14 AM Gedare Bloom wrote: > >>> > >>> Utkarsh, > >>> > >>> What do

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-18 Thread Gedare Bloom
On Mon, May 18, 2020 at 4:31 AM Utkarsh Rai wrote: > > > > > On Sat, May 16, 2020 at 9:16 PM Joel Sherrill wrote: >> >> >> >> On Sat, May 16, 2020 at 10:14 AM Gedare Bloom wrote: >>> >>> Utkarsh, >>> >>> What do you mean by "This would although mean that we would have page >>> tables of 1MB."

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-18 Thread Utkarsh Rai
On Sat, May 16, 2020 at 9:16 PM Joel Sherrill wrote: > > > On Sat, May 16, 2020 at 10:14 AM Gedare Bloom wrote: > >> Utkarsh, >> >> What do you mean by "This would although mean that we would have page >> tables of 1MB." >> >> Check that you use plain text when inlining a reply, or at least

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-16 Thread Joel Sherrill
On Sat, May 16, 2020 at 10:14 AM Gedare Bloom wrote: > Utkarsh, > > What do you mean by "This would although mean that we would have page > tables of 1MB." > > Check that you use plain text when inlining a reply, or at least that you > broke the reply format. > > Gedare > > On Fri, May 15,

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-16 Thread Gedare Bloom
Utkarsh, What do you mean by "This would although mean that we would have page tables of 1MB." Check that you use plain text when inlining a reply, or at least that you broke the reply format. Gedare On Fri, May 15, 2020, 6:04 PM Utkarsh Rai wrote: > > > On Thu, May 14, 2020 at 10:23 AM

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-15 Thread Sebastian Huber
Hello Utkarsh Rai, On 13/05/2020 14:30, Utkarsh Rai wrote: Hello, My GSoC project,  providing thread stack protection support, has to be a user-configurable feature. My question is,  what would be the best way to implement this, my idea was to model it based on the existing system

Re: Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-15 Thread Utkarsh Rai
On Thu, May 14, 2020 at 10:23 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello Utkarsh Rai, > > On 13/05/2020 14:30, Utkarsh Rai wrote: > > Hello, > > My GSoC project, providing thread stack protection support, has to be > > a user-configurable feature. > > My question is,

Help on how to configure for user-defined memory protection support (GSoC 2020)

2020-05-13 Thread Utkarsh Rai
Hello, My GSoC project, providing thread stack protection support, has to be a user-configurable feature. My question is, what would be the best way to implement this, my idea was to model it based on the existing system configuration