All of lore.kernel.org
 help / color / mirror / Atom feed
* Removal of arm OABI support possible?
@ 2023-08-07 13:29 Florian Bezdeka
  2023-08-08 12:30 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Bezdeka @ 2023-08-07 13:29 UTC (permalink / raw)
  To: xenomai; +Cc: Jan Kiszka, Clara Kowalsky

Hi all,

Clara is currently trying to enable compat support for arm64. That will
allow us to run arm(hf) applications on arm64 kernels like we do it for
i386 applications on x86_64 kernels.

We fixed the Xenomai arm specific register layout in a way that is
compatible to arm64. That looks promising as the testsuite (smokey) can
already be executed successfully in such a compat environment.

The changes we made affect the EABI only and we left the OABI interface
untouched and expect it to be broken right now. We can't really test it
here...

Is there still the need for OABI support in Xenomai? OABI is marked as
obsolete since gcc > 4.6.4 (~2013) and Debian stopped shipping oabi
toolchains long time ago. Would it be accepted if we simply drop the
OABI support of Xenomai?

Best regards,
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Removal of arm OABI support possible?
  2023-08-07 13:29 Removal of arm OABI support possible? Florian Bezdeka
@ 2023-08-08 12:30 ` Jan Kiszka
  2023-08-08 13:32   ` Florian Bezdeka
  2023-08-08 13:40   ` Philippe Gerum
  0 siblings, 2 replies; 4+ messages in thread
From: Jan Kiszka @ 2023-08-08 12:30 UTC (permalink / raw)
  To: Florian Bezdeka, xenomai, Philippe Gerum; +Cc: Clara Kowalsky

On 07.08.23 15:29, Florian Bezdeka wrote:
> Hi all,
> 
> Clara is currently trying to enable compat support for arm64. That will
> allow us to run arm(hf) applications on arm64 kernels like we do it for
> i386 applications on x86_64 kernels.
> 
> We fixed the Xenomai arm specific register layout in a way that is
> compatible to arm64. That looks promising as the testsuite (smokey) can
> already be executed successfully in such a compat environment.
> 
> The changes we made affect the EABI only and we left the OABI interface
> untouched and expect it to be broken right now. We can't really test it
> here...
> 
> Is there still the need for OABI support in Xenomai? OABI is marked as
> obsolete since gcc > 4.6.4 (~2013) and Debian stopped shipping oabi
> toolchains long time ago. Would it be accepted if we simply drop the
> OABI support of Xenomai?

From Xenomai 3 perspective, it would be fine to finally drop that with
the 3.3 release - patch(es) welcome.

Not sure, though, how the situation of Xenomai 4 / EVL is in this regard
- Philippe?

Jan

-- 
Siemens AG, Technology
Linux Expert Center


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Removal of arm OABI support possible?
  2023-08-08 12:30 ` Jan Kiszka
@ 2023-08-08 13:32   ` Florian Bezdeka
  2023-08-08 13:40   ` Philippe Gerum
  1 sibling, 0 replies; 4+ messages in thread
From: Florian Bezdeka @ 2023-08-08 13:32 UTC (permalink / raw)
  To: Jan Kiszka, xenomai, Philippe Gerum; +Cc: Clara Kowalsky

On Tue, 2023-08-08 at 14:30 +0200, Jan Kiszka wrote:
> On 07.08.23 15:29, Florian Bezdeka wrote:
> > Hi all,
> > 
> > Clara is currently trying to enable compat support for arm64. That will
> > allow us to run arm(hf) applications on arm64 kernels like we do it for
> > i386 applications on x86_64 kernels.
> > 
> > We fixed the Xenomai arm specific register layout in a way that is
> > compatible to arm64. That looks promising as the testsuite (smokey) can
> > already be executed successfully in such a compat environment.
> > 
> > The changes we made affect the EABI only and we left the OABI interface
> > untouched and expect it to be broken right now. We can't really test it
> > here...
> > 
> > Is there still the need for OABI support in Xenomai? OABI is marked as
> > obsolete since gcc > 4.6.4 (~2013) and Debian stopped shipping oabi
> > toolchains long time ago. Would it be accepted if we simply drop the
> > OABI support of Xenomai?
> 
> From Xenomai 3 perspective, it would be fine to finally drop that with
> the 3.3 release - patch(es) welcome.
> 
> Not sure, though, how the situation of Xenomai 4 / EVL is in this regard
> - Philippe?
> 

According to [1] evl is supporting EABI only.

[1] https://source.denx.de/Xenomai/xenomai4/libevl/-/blob/master/lib/arch/arm/include/asm/evl/syscall.h#L26

> Jan
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Removal of arm OABI support possible?
  2023-08-08 12:30 ` Jan Kiszka
  2023-08-08 13:32   ` Florian Bezdeka
@ 2023-08-08 13:40   ` Philippe Gerum
  1 sibling, 0 replies; 4+ messages in thread
From: Philippe Gerum @ 2023-08-08 13:40 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: Florian Bezdeka, xenomai, Clara Kowalsky


Jan Kiszka <jan.kiszka@siemens.com> writes:

> On 07.08.23 15:29, Florian Bezdeka wrote:
>> Hi all,
>> 
>> Clara is currently trying to enable compat support for arm64. That will
>> allow us to run arm(hf) applications on arm64 kernels like we do it for
>> i386 applications on x86_64 kernels.
>> 
>> We fixed the Xenomai arm specific register layout in a way that is
>> compatible to arm64. That looks promising as the testsuite (smokey) can
>> already be executed successfully in such a compat environment.
>> 
>> The changes we made affect the EABI only and we left the OABI interface
>> untouched and expect it to be broken right now. We can't really test it
>> here...
>> 
>> Is there still the need for OABI support in Xenomai? OABI is marked as
>> obsolete since gcc > 4.6.4 (~2013) and Debian stopped shipping oabi
>> toolchains long time ago. Would it be accepted if we simply drop the
>> OABI support of Xenomai?
>
> From Xenomai 3 perspective, it would be fine to finally drop that with
> the 3.3 release - patch(es) welcome.
>
> Not sure, though, how the situation of Xenomai 4 / EVL is in this regard
> - Philippe?
>

Having support for OABI was not even considered wrt neither EVL nor
Dovetail (would require specific syscall handling which is not there),
so it is safe to drop it entirely from any current Xenomai 3 codebase.

-- 
Philippe.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-08 13:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-07 13:29 Removal of arm OABI support possible? Florian Bezdeka
2023-08-08 12:30 ` Jan Kiszka
2023-08-08 13:32   ` Florian Bezdeka
2023-08-08 13:40   ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.