This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
大家好、
我们在项目之一中使用 J5eco (DRA62x)。
我尝试将 PMU IRQ 线路注册为 FIQ、为此 、我将修改 INTCPS_ILR0-127 (中断优先级寄存器)、使位0变为1。
下面是负责此设置的代码片段
静态 int omap_set_NMI_routing (struct irq_data * d、unsigned int NMI)
+{
+ uint32_t ILR;
+
+ printk (Kern_alert "%s/%d:+++ NMI=%u IRQ=%u hwirq=%lu"、__function__、__line__、NMI、d->IRQ、 d->hwirq);
+
+ ILR = intc_readl (((intc_ILR0 + 0x4 * d->hwirq));
+ IF (NMI)
+ ILR |= 0x00000001;
+否则
+ ILR &=~0x00000001;
+ intc_writel (intc_ILR0 + 0x4 * d->hwirq、ILR);
+
+返回 NMI;
+}
一旦我将 INTCPS_ILR0-127位0修改为1、几秒钟后系统就会挂起(附加完整的日志)
请帮助我们支持将 PMU IRQ 配置为 FIQ、
我们之所以寻找此功能、是为了使用 FIQ 从硬锁定 CPU 获取后迹线。
另外、请告诉我们、这可以在 J5Eco 上实现、我们还需要了解启用此 feature.e2e.ti.com/.../hardlockup_5F00_logs.txt 的其他信息
谢谢、
Viswa
Viswa
我们以前没有探讨过这一点
据我所知、Linux 不支持 ARM 架构上的 FIQ 中断处理
我这边没有其他的信息
您好 Sriram、
感谢您的更新。
谢谢。
Viswa