On 11/29/18 9:03 AM, 梁权 via Xenomai wrote:
> hi,
> i'm work on a customed board with TI am335X; i have installed xenomai 3 on it 
> correcttly , and can run the latency test.
> On this board, an interrupt which cannot be masked and delayed will be 
> generated every millicsecond by a FPGA ; 
> to  handler this interrupt immediately, i register  the interrupt handler in 
> xenomai domain.Also there is a QT applictation running on the board;  and 
> here is the problem i encounter:
> if i open the interrupt and run the QT application simultaneously, the QT 
> application will get wrong like this after a few minutes(but the linux is 
> still running fine):
> [ 1601.496828] Unhandled fault: page domain fault (0x01b) at 0xb6fa135c

Any improvement with this patch in?

diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
index 3569b3174372..c53f51357b3c 100644
--- a/arch/arm/kernel/entry-armv.S
+++ b/arch/arm/kernel/entry-armv.S
@@ -296,6 +296,7 @@ __und_svc:
        bl      __ipipe_notify_trap             @ branch to trap handler
        cmp     r0, #0
        bne     __und_svc_finish
+       uaccess_enable ip
 #endif /* CONFIG_IPIPE */
        @
        @ call emulation code, which returns using r9 if it has emulated

-- 
Philippe.

Reply via email to