[PATCH 1/2] add ARM FCSE support

classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH 1/2] add ARM FCSE support

Martix
Enables ARM Fast Context Switching Extension. Context switch can be
done without cache flush.

0001-add-ARM-FCSE-support.patch

Sending as attachment to prevent line wrapping.

0001-add-ARM-FCSE-support.patch (76K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Vasily Khoruzhick
В сообщении от 1 сентября 2010 17:59:19 автор Martix написал:
> Enables ARM Fast Context Switching Extension. Context switch can be
> done without cache flush.
>
> 0001-add-ARM-FCSE-support.patch
>
> Sending as attachment to prevent line wrapping.

Hi, what about sending this patch upstream? It would be nice if such a nice
work will be merged into mainline kernel.

Regards
Vasily

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Gilles Chanteperdrix
Vasily Khoruzhick wrote:

> В сообщении от 1 сентября 2010 17:59:19 автор Martix написал:
>> Enables ARM Fast Context Switching Extension. Context switch can be
>> done without cache flush.
>>
>> 0001-add-ARM-FCSE-support.patch
>>
>> Sending as attachment to prevent line wrapping.
>
> Hi, what about sending this patch upstream? It would be nice if such a nice
> work will be merged into mainline kernel.

I posted it three times on the Linux ARM kernel mailing list, never got
even an inch of an answer from rmk. Not "will look at it later", or "it
is pure crap". Nothing. So, I decided to stop posting it.

--
                                            Gilles.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Gennady Kupava
Hi Gilles!

Thanks for your work, i hope it is highly appericated.

I want to talk a bit about your patch.

First, how about version for .34? i want to benchmark it. also, i do not
undestand your versioning - is 4.1 in .29 is same to 4.0 in .32?

Second, i've got idea. Is is possible to get smaller amount of apps
(let's say 10 or 8 or 4) but with ability to address larger ram amount
(say full 128M), and keep dynamic list of most recent N apps
fast-switching beetween them?

Gennady.



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Vasily Khoruzhick
In reply to this post by Gilles Chanteperdrix
В сообщении от 1 сентября 2010 18:21:54 автор Gilles Chanteperdrix написал:

> Vasily Khoruzhick wrote:
> > В сообщении от 1 сентября 2010 17:59:19 автор Martix написал:
> >> Enables ARM Fast Context Switching Extension. Context switch can be
> >> done without cache flush.
> >>
> >> 0001-add-ARM-FCSE-support.patch
> >>
> >> Sending as attachment to prevent line wrapping.
> >
> > Hi, what about sending this patch upstream? It would be nice if such a
> > nice work will be merged into mainline kernel.
>
> I posted it three times on the Linux ARM kernel mailing list, never got
> even an inch of an answer from rmk. Not "will look at it later", or "it
> is pure crap". Nothing. So, I decided to stop posting it.
Please, try to post it again (and don't forget to add rmk to cc, your mails
from April'10 are addressed only to maillist) :) Btw, do you have version for
recent kernels? (2.6.36-rc1 or newer). I'd like to test it on my PDA (also
s3c2442 based).

Regards
Vasily

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Gilles Chanteperdrix
In reply to this post by Gennady Kupava
Gennady Kupava wrote:
> Hi Gilles!
>
> Thanks for your work, i hope it is highly appericated.
>
> I want to talk a bit about your patch.
>
> First, how about version for .34?

I am going to do it soon, but I am lacking some time. The FCSE patch is
maintained as part of the Adeos I-pipe patch, a patch which aim is to
allow running Linux with Xenomai, a real-time extension of Linux. And I
have a lot of work for Xenomai waiting on my todo list. So, it will not
be before, say 2 or 3 weeks.

> i want to benchmark it. also, i do not
> undestand your versioning - is 4.1 in .29 is same to 4.0 in .32?

4.1, 4.0 are revisions of the patch. Each branch is maintained and
versioned separately. They are maintained in the following git:

http://git.xenomai.org/ipipe-gch.git

>
> Second, i've got idea. Is is possible to get smaller amount of apps
> (let's say 10 or 8 or 4) but with ability to address larger ram amount
> (say full 128M), and keep dynamic list of most recent N apps
> fast-switching beetween them?

No. But the "best-effort" mode will allow you to mix applications with
large address spaces with applications with 32MB address-space.

--
                                            Gilles.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Gilles Chanteperdrix
In reply to this post by Vasily Khoruzhick
Vasily Khoruzhick wrote:

> В сообщении от 1 сентября 2010 18:21:54 автор Gilles Chanteperdrix написал:
>> Vasily Khoruzhick wrote:
>>> В сообщении от 1 сентября 2010 17:59:19 автор Martix написал:
>>>> Enables ARM Fast Context Switching Extension. Context switch can be
>>>> done without cache flush.
>>>>
>>>> 0001-add-ARM-FCSE-support.patch
>>>>
>>>> Sending as attachment to prevent line wrapping.
>>> Hi, what about sending this patch upstream? It would be nice if such a
>>> nice work will be merged into mainline kernel.
>> I posted it three times on the Linux ARM kernel mailing list, never got
>> even an inch of an answer from rmk. Not "will look at it later", or "it
>> is pure crap". Nothing. So, I decided to stop posting it.
>
> Please, try to post it again (and don't forget to add rmk to cc, your mails
> from April'10 are addressed only to maillist) :) Btw, do you have version for
> recent kernels? (2.6.36-rc1 or newer). I'd like to test it on my PDA (also
> s3c2442 based).

As far as I know rmk reads the linux arm kernel mailing list.
I tell you what, I will issue the patches for 2.6.34, 2.6.35, and 2.6.36
in a pair of weeks. And I will let you post the patches. Is it OK for you?

--
                                            Gilles.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Vasily Khoruzhick
В сообщении от 1 сентября 2010 18:43:30 автор Gilles Chanteperdrix написал:

> As far as I know rmk reads the linux arm kernel mailing list.
> I tell you what, I will issue the patches for 2.6.34, 2.6.35, and 2.6.36
> in a pair of weeks. And I will let you post the patches. Is it OK for you?

2.6.36 will be enough, OK, publish patches and I'll try to get them upstream.

Regards
Vasily

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Gennady Kupava
In reply to this post by Gilles Chanteperdrix
В Срд, 01/09/2010 в 17:41 +0200, Gilles Chanteperdrix пишет:

>>Second, i've got idea. Is is possible to get smaller amount of apps
>>(let's say 10 or 8 or 4) but with ability to address larger ram amount
>>(say full 128M), and keep dynamic list of most recent N apps
>>fast-switching beetween them?

> No. But the "best-effort" mode will allow you to mix applications with
> large address spaces with applications with 32MB address-space.
>

Is this hardware limitation or limitation of your implementation? ie, do
hardware allow implementation of my idea at all? assign 2 FCSE ids for 1
application is impossible?

Gennady



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Gilles Chanteperdrix
Gennady Kupava wrote:

> В Срд, 01/09/2010 в 17:41 +0200, Gilles Chanteperdrix пишет:
>
>>> Second, i've got idea. Is is possible to get smaller amount of apps
>>> (let's say 10 or 8 or 4) but with ability to address larger ram amount
>>> (say full 128M), and keep dynamic list of most recent N apps
>>> fast-switching beetween them?
>
>> No. But the "best-effort" mode will allow you to mix applications with
>> large address spaces with applications with 32MB address-space.
>>
>
> Is this hardware limitation or limitation of your implementation? ie, do
> hardware allow implementation of my idea at all? assign 2 FCSE ids for 1
> application is impossible?

It is a hardware limitation, read some documents on how the FCSE works,
and you will understand.

--
                                            Gilles.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Vasily Khoruzhick
In reply to this post by Gilles Chanteperdrix
В сообщении от 1 of September 2010 18:43:30 автор Gilles Chanteperdrix
написал:
> As far as I know rmk reads the linux arm kernel mailing list.
> I tell you what, I will issue the patches for 2.6.34, 2.6.35, and 2.6.36
> in a pair of weeks. And I will let you post the patches. Is it OK for you?

So, what about FCSE patches for 2.6.36?

Regards
Vasily

P.S. Removed shr-devel from CC as I'm not its subscriber

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Gennady Kupava
В Сбт, 18/09/2010 в 22:53 +0300, Vasily Khoruzhick пишет:
>
> So, what about FCSE patches for 2.6.36?
>

And for 2.6.34.

with respect,
Gennady ;)



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Gilles Chanteperdrix
Gennady Kupava wrote:
> В Сбт, 18/09/2010 в 22:53 +0300, Vasily Khoruzhick пишет:
>> So, what about FCSE patches for 2.6.36?
>>
>
> And for 2.6.34.

I did not work on this. Do not worry, I will notify you when it is done.

--
                                                                Gilles.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Vasily Khoruzhick
On Sunday 19 September 2010 13:52:21 Gilles Chanteperdrix wrote:
> Gennady Kupava wrote:
> > В Сбт, 18/09/2010 в 22:53 +0300, Vasily Khoruzhick пишет:
> >> So, what about FCSE patches for 2.6.36?
> >
> > And for 2.6.34.
>
> I did not work on this. Do not worry, I will notify you when it is done.

Ping?

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Gilles Chanteperdrix
Vasily Khoruzhick wrote:
> On Sunday 19 September 2010 13:52:21 Gilles Chanteperdrix wrote:
>> Gennady Kupava wrote:
>>> В Сбт, 18/09/2010 в 22:53 +0300, Vasily Khoruzhick пишет:
>>>> So, what about FCSE patches for 2.6.36?
>>> And for 2.6.34.
>> I did not work on this. Do not worry, I will notify you when it is done.
>
> Ping?

I am sorry, I have not made any move. This will probably not happen
before the end of the year.

--
                                                                Gilles.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Patryk Benderz
Dnia 2010-12-15, śro o godzinie 21:15 +0100, Gilles Chanteperdrix pisze:

> Vasily Khoruzhick wrote:
> > On Sunday 19 September 2010 13:52:21 Gilles Chanteperdrix wrote:
> >> Gennady Kupava wrote:
> >>> В Сбт, 18/09/2010 в 22:53 +0300, Vasily Khoruzhick пишет:
> >>>> So, what about FCSE patches for 2.6.36?
> >>> And for 2.6.34.
> >> I did not work on this. Do not worry, I will notify you when it is done.
> >
> > Ping?
>
> I am sorry, I have not made any move. This will probably not happen
> before the end of the year.
Do not worry, but remember what they say: Better late then never ;)
--
Patryk "LeadMan" Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Martix
In reply to this post by Gilles Chanteperdrix
Just for information, now we have Linux 2.6.37 branch* and probably
our distributions will soon switch from 2.6.34 to 2.6.37.

* http://git.openmoko.org/?p=kernel.git;a=shortlog;h=refs/heads/om-2.6.37

Regards,

Martix

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Gennady Kupava
Hi, Martix.

>Just for information, now we have Linux 2.6.37 branch* and probably
>our distributions will soon switch from 2.6.34 to 2.6.37.

Sad, but true - author has no enough time to port it to latest kernels,
probably he is too busy or lost interest to this topic. So let's stop
pinging him... and try to port patch on our own.

Gennady


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Timo Juhani Lindfors
In reply to this post by Martix
Martix <[hidden email]> writes:
> Just for information, now we have Linux 2.6.37 branch* and probably
> our distributions will soon switch from 2.6.34 to 2.6.37.

Which distribution is this?

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH 1/2] add ARM FCSE support

Martix
I meant our distributions like SHR unstable and Qt Moko.

2011/1/16 Timo Juhani Lindfors <[hidden email]>:
> Martix <[hidden email]> writes:
>> Just for information, now we have Linux 2.6.37 branch* and probably
>> our distributions will soon switch from 2.6.34 to 2.6.37.
>
> Which distribution is this?
>

12
Loading...