On Wed, 2021-10-06 at 17:19 +0200, Jan Kiszka wrote:
> From: Jan Kiszka <[email protected]>
> 
> This caused troubles with modern gcc that starts to use those regs for
> other purposes. Seen with gcc-10 on Debian 11 e.g.
> 
> Signed-off-by: Jan Kiszka <[email protected]>
> ---
>  kernel/cobalt/arch/arm/include/asm/xenomai/uapi/fptest.h | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/kernel/cobalt/arch/arm/include/asm/xenomai/uapi/fptest.h 
> b/kernel/cobalt/arch/arm/include/asm/xenomai/uapi/fptest.h
> index b81d109933..d5c2c7515b 100644
> --- a/kernel/cobalt/arch/arm/include/asm/xenomai/uapi/fptest.h
> +++ b/kernel/cobalt/arch/arm/include/asm/xenomai/uapi/fptest.h
> @@ -32,7 +32,12 @@ static inline void fp_regs_set(int features, unsigned int 
> val)
>               /* vldm %0!, {d0-d15},
>                  AKA fldmiax %0!, {d0-d15} */
>               __asm__ __volatile__("ldc p11, cr0, [%0],#32*4":
> -                                  "=r"(i): "0"(&e[0]): "memory");
> +                                  "=r"(i)
> +                                  : "0"(&e[0])
> +                                  : "d0", "d1", "d2", "d3", "d4", "d5",
> +                                    "d6", "d7", "d8", "d9", "d10", "d11",
> +                                    "d12", "d13", "d14", "d15",
> +                                    "memory");
>       }
>  }
>  

Is that already applied to next? That should be one of the last missing
pieces for porting xenomai-images to Debian 11. 

The last unclear topic (AFAIR) is the ssh-key regeneration taking too
long for some reason on ARM and Debian 11, but that should be a Debian
specific issue and is hopefully not related to Xenomai itself.

Reply via email to