Skip to contentSkip to conversation

Porting questiong about mips

DISCUSSION duanwujie 2 participants 2 messages Dec 20, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

duanwujie

author
#1 lore raw

Hi, Phi and Jan:

        The correct handler is handle_percpu_irq !

Quoted 18 lines

Hi, Phi and Jan:

        I try to port the ipipe to mips arch  according the https://gitlab.denx.de/Xenomai/xenomai/wikis/Porting_Xenomai_To_A_New_Arm_SOC#terminology

        Now it worked on the single cpu,but SMP failed. I consider the interrupt controller's problem. The flow handler is handle_irq_event_percpu. But the article haven't port information about this handler.

        Is there any clue for it.

duan.

Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
Signature · 5 lines
*Linx Software Corportaion Sichuan Branch
Name:wujie duan
Tel:028-65182023-6202
E-mail: [email protected]
*
#2 lore raw
Quoted 14 lines · duanwujie

Hi, Phi and Jan:

        The correct handler is handle_percpu_irq !

Quoted 9 lines

Hi, Phi and Jan:

        I try to port the ipipe to mips arch  according the https://gitlab.denx.de/Xenomai/xenomai/wikis/Porting_Xenomai_To_A_New_Arm_SOC#terminology

        Now it worked on the single cpu,but SMP failed. I consider the interrupt controller's problem. The flow handler is handle_irq_event_percpu. But the article haven't port information about this handler.

        Is there any clue for it.

First question is how your port fails on SMP: Does it no longer get interrupts so that you believe the it's interrupt controller related?

I do not know the MIPS arch and how it compares to ARM (which that other document covers). Does it have something comparable to the per-CPU interrupts (SGI, PPI) of ARM?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux