Skip to contentSkip to conversation

MSI NOT pipeline-safe & Internal error

DISCUSSION Yao Yongxian 2 participants 4 messages Apr 18, 2024 – Apr 24, 2024

lore
Share & tools
lore
#0 lore raw

Hi,

Quoted 22 lines · Jan Kiszka
Quoted 12 lines · Yao,Yongxian
Quoted 7 lines

Hi,

The following exception occurred when running the kernel(Linux-5.4.180, xenomai-3.2.2) on aarch64 computer. Attachment is startup information and kernel configuration.

What caused the exception? Please give me some hints!

Maybe just something like we have in Dovetail already:

Quoted 8 lines

https://source.denx.de/Xenomai/linux-dovetail/-/commit/42f44cf859e3525eb26dc090fffa97bfc35e870c

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux

Quoted 4 lines

Have you run the ipipe on this platform before? It looks like you have an IRQ source that isn't ipipe safe, it may be causing issues when the IRQ is trying to be handled. I'm not familiar with this platform. Did you port it to ipipe?

It runs on Huawei Taishan Server(CPU: armv8 Kunpeng920). Does xenomai/ipipe/dovetail not support this CPU/server? Does the community have any plans to support it?

Thanks.

--
Yao Yongxian

#1 lore raw
Quoted 24 lines · Yao Yongxian

Hi,

Quoted 21 lines · Jan Kiszka
Quoted 20 lines · Yao,Yongxian
Quoted 7 lines

Hi,

The following exception occurred when running the kernel(Linux-5.4.180, xenomai-3.2.2) on aarch64 computer. Attachment is startup information and kernel configuration.

What caused the exception? Please give me some hints!

Maybe just something like we have in Dovetail already:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/42f44cf859e3525eb26dc090fffa97bfc35e870c

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux

Quoted 9 lines
Quoted 4 lines

Have you run the ipipe on this platform before? It looks like you have an IRQ source that isn't ipipe safe, it may be causing issues when the IRQ is trying to be handled. I'm not familiar with this platform. Did you port it to ipipe?

It runs on Huawei Taishan Server(CPU: armv8 Kunpeng920). Does xenomai/ipipe/dovetail not support this CPU/server? Does the community have any plans to support it?

I'm not aware of anyone having tried Xenomai on such a server. For some in this community, it may even be... tricky to get one even if they wanted to.

But I'm sure that any patch written to enable this support will be welcome to the dovetail tree - provided that general support is already in the upstream kernel.

Jan

Signature · 2 lines
Siemens AG, Technology
Linux Expert Center
#2 lore raw

Hi,

Quoted 36 lines

At 2024-04-24 04:55:46, "Jan Kiszka" <[email protected]> wrote:

Quoted 24 lines · Yao Yongxian

Hi,

Quoted 21 lines · Jan Kiszka
Quoted 20 lines · Yao,Yongxian
Quoted 7 lines

Hi,

The following exception occurred when running the kernel(Linux-5.4.180, xenomai-3.2.2) on aarch64 computer. Attachment is startup information and kernel configuration.

What caused the exception? Please give me some hints!

Maybe just something like we have in Dovetail already:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/42f44cf859e3525eb26dc090fffa97bfc35e870c

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux

Quoted 9 lines
Quoted 4 lines

Have you run the ipipe on this platform before? It looks like you have an IRQ source that isn't ipipe safe, it may be causing issues when the IRQ is trying to be handled. I'm not familiar with this platform. Did you port it to ipipe?

It runs on Huawei Taishan Server(CPU: armv8 Kunpeng920). Does xenomai/ipipe/dovetail not support this CPU/server? Does the community have any plans to support it?

Quoted 7 lines

I'm not aware of anyone having tried Xenomai on such a server. For some in this community, it may even be... tricky to get one even if they wanted to.

But I'm sure that any patch written to enable this support will be welcome to the dovetail tree - provided that general support is already in the upstream kernel.

The upstream kernel should already support this hardware platform.

Using the upstream kernel on this hardware platform is ok,
but applying ipipe/dovetail and xenomai patches to the upstream kernel is problematic.

Quoted 5 lines

Jan

Signature · 2 lines
Siemens AG, Technology
Linux Expert Center

--
Yao Yongxian

#3 lore raw
Quoted 43 lines · Yao Yongxian

Hi,

Quoted 40 lines

At 2024-04-24 04:55:46, "Jan Kiszka" <[email protected]> wrote:

Quoted 24 lines · Yao Yongxian

Hi,

Quoted 21 lines · Jan Kiszka
Quoted 20 lines · Yao,Yongxian
Quoted 7 lines

Hi,

The following exception occurred when running the kernel(Linux-5.4.180, xenomai-3.2.2) on aarch64 computer. Attachment is startup information and kernel configuration.

What caused the exception? Please give me some hints!

Maybe just something like we have in Dovetail already:

https://source.denx.de/Xenomai/linux-dovetail/-/commit/42f44cf859e3525eb26dc090fffa97bfc35e870c

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux

Quoted 9 lines
Quoted 4 lines

Have you run the ipipe on this platform before? It looks like you have an IRQ source that isn't ipipe safe, it may be causing issues when the IRQ is trying to be handled. I'm not familiar with this platform. Did you port it to ipipe?

It runs on Huawei Taishan Server(CPU: armv8 Kunpeng920). Does xenomai/ipipe/dovetail not support this CPU/server? Does the community have any plans to support it?

I'm not aware of anyone having tried Xenomai on such a server. For some in this community, it may even be... tricky to get one even if they wanted to.

Quoted 6 lines
Quoted 3 lines

But I'm sure that any patch written to enable this support will be welcome to the dovetail tree - provided that general support is already in the upstream kernel.

The upstream kernel should already support this hardware platform.

That is very helpful.

Quoted 3 lines

Using the upstream kernel on this hardware platform is ok,
but applying ipipe/dovetail and xenomai patches to the upstream kernel is problematic.

OK, but then it still takes someone to enable the missing bits in dovetail (ipipe is in maintenance, no longer taking features). You can have a look at
https://v4.xenomai.org/dovetail/porting/irqflow/#irqchip-fixup for further hints.

Jan

Signature · 2 lines
Siemens AG, Technology
Linux Expert Center