Re: [PATCH 07/57] microblaze_v7: Signal support

From: Michal Simek
Date: Tue Mar 24 2009 - 07:14:35 EST


Arnd Bergmann wrote:
> On Wednesday 18 March 2009, monstr@xxxxxxxxx wrote:
>> From: Michal Simek <monstr@xxxxxxxxx>
>>
>>
>> Signed-off-by: Michal Simek <monstr@xxxxxxxxx>
>> ---
>> arch/microblaze/include/asm/signal.h | 165 +++++++++++
>> arch/microblaze/kernel/signal.c | 536 ++++++++++++++++++++++++++++++++++
>> 2 files changed, 701 insertions(+), 0 deletions(-)
>> create mode 100644 arch/microblaze/include/asm/signal.h
>> create mode 100644 arch/microblaze/kernel/signal.c
>
>> From: Michal Simek <monstr@xxxxxxxxx>
>>
>>
>> Signed-off-by: Michal Simek <monstr@xxxxxxxxx>
>> ---
>> arch/microblaze/include/asm/ipc.h | 1 +
>> arch/microblaze/include/asm/ipcbuf.h | 36 +++++
>> arch/microblaze/kernel/sys_microblaze.c | 226 +++++++++++++++++++++++++++++++
>> 3 files changed, 263 insertions(+), 0 deletions(-)
>> create mode 100644 arch/microblaze/include/asm/ipc.h
>> create mode 100644 arch/microblaze/include/asm/ipcbuf.h
>> create mode 100644 arch/microblaze/kernel/sys_microblaze.c
>
> I don't quite remember what the outcome of this discussion was the last
> time, but what is your plan for the deprecated syscalls like the
> legacy syscalls you add here?
>
> Have you tried changing uClibc and/or glibc so you don't need them?
> Are you planning to remove them soon once they are not needed any
> more?
>
> What about the syscalls that are not needed but you just get from
> common code (e.g. oldumount, time, old_readdir, ...)?

I think that my emails from yesterday don't go through.

Here are our updated results in this area.
We have noMMU and MMU microblaze version and we use almost the same syscall
table for them. That's not correct in all cases but we have it.

>From noMMU and uClibc perspective. We are still using gcc 3.4.1 and we are
working on gcc 4.1.2 with latest uClibc.
>From uClibc perspective. is almost all clear. We have latest version and when
new gcc are ready I start to work on it and of course add new syscall to uClibc
will take a time but I believe that is only work which is not so hard.

>From MMU and glibc perspective. We have and use gcc 4.1.2 with any ancient glibc
version.
Glibc version with Microblaze support is not based on any public version and we
can't easily create patches and upgrade them to latest version. We are preparing
work on it but this will be a long time project.

I am trying to add only noMMU kernel because MMU kernel is still new (only 2
month with FDT) and I do LTP test on it MMU kernel share a lot of code with
noMMU version and reviewing is easier. MMU version will come in future for
reviewing too.

That's the current state.
I don't like this situation but I have to work with it. On the base on
information which are above I have only some choices.
1. Wait till both tools are ready for syscall cleanup and then try to add
microblaze to kernel.org.
2. Update only uClibc but latest uClibc version needs newer gcc which I don't
have now.
3. Keep old syscalls and sys_ipc for example which are tested and are used for a
long time.

I hope you understand our situation. That's why I decided to have old syscalls.
Both version(noMMU and MMU) work. And we are working on new libcs. They will
need a time for testing too.
For me is better to have working stable version and in future remove old
syscalls and clean code (for example sys_ipc).

Thanks,
Michal




> Arnd <><


--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/