Re: Useless dovetail hacks

2020-09-18 Thread Philippe Gerum via Xenomai
Jan Kiszka writes: > On 12.09.20 18:40, Philippe Gerum wrote: >> Jan Kiszka writes: >> >>> On 11.09.20 18:32, Philippe Gerum wrote: Jan Kiszka via Xenomai writes: > Hi all, > > to permit sharing the work of porting Xenomai over dovetail, I finally > pushed my b

Re: [PATCH 3/4] cobalt/kernel: fix compile error for incompatible pointer type

2020-09-18 Thread Jan Kiszka via Xenomai
On 18.09.20 08:32, Fino Meng wrote: Signed-off-by: Fino Meng Signed-off-by: Mingliang Hu --- include/cobalt/kernel/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cobalt/kernel/stat.h b/include/cobalt/kernel/stat.h index b857cd19f..be529ad72 100644 --- a/

Re: [PATCH 1/4] cobalt/x86: adapt fpu code with Linux kernel upstream

2020-09-18 Thread Jan Kiszka via Xenomai
When I'm asking questions on the code, there was a need for a commit message. On 18.09.20 08:29, Fino Meng wrote: Signed-off-by: Fino Meng Signed-off-by: Mingliang Hu --- kernel/cobalt/arch/x86/thread.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/coba

[PATCH 1/4] cobalt/x86: adapt fpu code with Linux kernel upstream

2020-09-18 Thread Fino Meng via Xenomai
Signed-off-by: Fino Meng Signed-off-by: Mingliang Hu --- kernel/cobalt/arch/x86/thread.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/cobalt/arch/x86/thread.c b/kernel/cobalt/arch/x86/thread.c index ba807ac1e..c33ad832f 100644 --- a/kernel/cobalt/arch/x86/threa

[PATCH 2/4] cobalt/kernel: adapt adjtime syscall with upstream kernel

2020-09-18 Thread Fino Meng via Xenomai
compat_timex related definitions moved from compat code into normal timekeeping code. see 4d5f007e in upstream Linux kernel. Signed-off-by: Fino Meng Signed-off-by: Mingliang Hu --- include/cobalt/kernel/compat.h | 4 ++-- kernel/cobalt/posix/compat.c| 4 ++-- kernel/cobalt/posix/syscall3

[PATCH 2/4] cobalt/kernel: adapt adjtime syscall with upstream kernel

2020-09-18 Thread Fino Meng via Xenomai
compat_timex related definitions moved from compat code into normal timekeeping code. see 4d5f007e in upstream Linux kernel. Signed-off-by: Fino Meng Signed-off-by: Mingliang Hu --- include/cobalt/kernel/compat.h | 4 ++-- kernel/cobalt/posix/compat.c| 4 ++-- kernel/cobalt/posix/syscall3

[PATCH 3/4] cobalt/kernel: fix compile error for incompatible pointer type

2020-09-18 Thread Fino Meng via Xenomai
Signed-off-by: Fino Meng Signed-off-by: Mingliang Hu --- include/cobalt/kernel/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cobalt/kernel/stat.h b/include/cobalt/kernel/stat.h index b857cd19f..be529ad72 100644 --- a/include/cobalt/kernel/stat.h +++ b/include

[PATCH 4/4] scripts/prepare-kernel.sh: add $(srctree) to the include path of ccflags

2020-09-18 Thread Fino Meng via Xenomai
Out of tree build will fail after porting xenomai to Linux kernel 5.4.y, update Makefiles and scripts to fix it. Signed-off-by: Fino Meng --- kernel/cobalt/arch/arm/Makefile | 2 +- kernel/cobalt/arch/arm64/Makefile | 2 +- kernel/cobalt/arch/powerpc

[PATCH 1/4] cobalt/x86: adapt fpu code with Linux kernel upstream

2020-09-18 Thread Fino Meng via Xenomai
Signed-off-by: Fino Meng Signed-off-by: Mingliang Hu --- kernel/cobalt/arch/x86/thread.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/cobalt/arch/x86/thread.c b/kernel/cobalt/arch/x86/thread.c index ba807ac1e..c33ad832f 100644 --- a/kernel/cobalt/arch/x86/threa

[PATCH 3/4] cobalt/kernel: fix compile error for incompatible pointer type

2020-09-18 Thread Fino Meng via Xenomai
Signed-off-by: Fino Meng Signed-off-by: Mingliang Hu --- include/cobalt/kernel/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cobalt/kernel/stat.h b/include/cobalt/kernel/stat.h index b857cd19f..be529ad72 100644 --- a/include/cobalt/kernel/stat.h +++ b/include

[PATCH 2/4] cobalt/kernel: adapt adjtime syscall with upstream kernel

2020-09-18 Thread Fino Meng via Xenomai
compat_timex related definitions moved from compat code into normal timekeeping code. see 4d5f007e in upstream Linux kernel. Signed-off-by: Fino Meng Signed-off-by: Mingliang Hu --- include/cobalt/kernel/compat.h | 4 ++-- kernel/cobalt/posix/compat.c| 4 ++-- kernel/cobalt/posix/syscall3

[PATCH 4/4] scripts/prepare-kernel.sh: add $(srctree) to the include path of ccflags

2020-09-18 Thread Fino Meng via Xenomai
Out of tree build will fail after porting xenomai to Linux kernel 5.4.y, update Makefiles and scripts to fix it. Signed-off-by: Fino Meng --- kernel/cobalt/arch/arm/Makefile | 2 +- kernel/cobalt/arch/arm64/Makefile | 2 +- kernel/cobalt/arch/powerpc

[PATCH 1/4] cobalt/x86: adapt fpu code with Linux kernel upstream

2020-09-18 Thread Fino Meng via Xenomai
Signed-off-by: Fino Meng Signed-off-by: Mingliang Hu --- kernel/cobalt/arch/x86/thread.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/cobalt/arch/x86/thread.c b/kernel/cobalt/arch/x86/thread.c index ba807ac1e..c33ad832f 100644 --- a/kernel/cobalt/arch/x86/threa

[PATCH 3/4] cobalt/kernel: fix compile error for incompatible pointer type

2020-09-18 Thread Fino Meng via Xenomai
Signed-off-by: Fino Meng --- include/cobalt/kernel/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cobalt/kernel/stat.h b/include/cobalt/kernel/stat.h index b857cd19f..be529ad72 100644 --- a/include/cobalt/kernel/stat.h +++ b/include/cobalt/kernel/stat.h @@ -58,

[PATCH 4/4] scripts/prepare-kernel.sh: add $(srctree) to the include path of ccflags

2020-09-18 Thread Fino Meng via Xenomai
Out of tree build will fail after porting xenomai to Linux kernel 5.4.y, update Makefiles and scripts to fix it. Signed-off-by: Fino Meng --- kernel/cobalt/arch/arm/Makefile | 2 +- kernel/cobalt/arch/arm64/Makefile | 2 +- kernel/cobalt/arch/powerpc

[PATCH 1/4] cobalt/x86: adapt fpu code with Linux kernel upstream

2020-09-18 Thread Fino Meng via Xenomai
Signed-off-by: Fino Meng Signed-off-by: Mingliang Hu --- kernel/cobalt/arch/x86/thread.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/cobalt/arch/x86/thread.c b/kernel/cobalt/arch/x86/thread.c index ba807ac1e..c33ad832f 100644 --- a/kernel/cobalt/arch/x86/threa

patches for review, Xenomai core porting for kernel 5.4.y

2020-09-18 Thread Meng, Fino via Xenomai
Hi all & Jan, I just sent out the 4 patches again by git send-email, I applied them on branch : next And the IPIPE part is hosting here for review: https://github.com/intel/linux-stable-xenomai/tree/review/5.4.59/stable/ipipe-x86 combine these 2 parts, build and boot is OK, latency run OK.