|
From: | Olek, Adam |
Subject: | IMX FEC model- modification in interrupts |
Date: | Wed, 10 Mar 2021 09:58:08 +0000 |
Dear QEMU Team, We have tried to up and running QNX 7.0 on QEMU 5.2.0 Sabrelite model. The QNX reach the prompt and was
responsive to user command. It seem that the hw/net/imx_fec.c is source of the problem. To fix the issue we changed the condition
in line 442 from: if (s->regs[ENET_EIR] & s->regs[ENET_EIMR] &
to: if (s->regs[ENET_EIR] & s->regs[ENET_EIMR] & ENET_INT_TS_TIMER) { Without this modification the PTP (Precise Time Protocol, 1588 IRQ) interrupt was generated each time
any of the network interrupts occurred. With this modification QEMU will generate PTP interrupt when it actually occurs. Just to cross check,
this modification does not impact the Linux performance in any way. Can anyone take a closer look at this condition and confirm that this modification make sense and it hasn’t
negative impact on anything else? Regards, |
[Prev in Thread] | Current Thread | [Next in Thread] |