Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 5 years ago

Closed 5 years ago

#636 closed defect (fixed)

Do not use DCCMVAU (c11, 1) on ARM920T

Reported by: Jakub Jermář Owned by: Jiri Svoboda
Priority: major Milestone: 0.7.0
Component: helenos/kernel/arm32 Version: mainline
Keywords: ARM920T, ARMv4, gta02 Cc:
Blocker for: Depends on:
See also:


ARM920T does not implement the DCCMVAU / Clean ID cache entry operation, yet smc_coherence() and pt_coherence_m() use it:

 #define smc_coherence(a) \
 do { \
        DCCMVAU_write((uint32_t)(a));  /* Flush changed memory */\
        write_barrier();               /* Wait for completion */\
        ICIALLU_write(0);              /* Flush ICache */\
        inst_barrier();                /* Wait for Inst refetch */\
#define pt_coherence_m(pt, count) \
 do { \
        for (unsigned i = 0; i < count; ++i) \
                DCCMVAU_write((uintptr_t)(pt + i)); \
        read_barrier(); \
 } while (0)

Change History (1)

comment:1 Changed 5 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

Fix merged in mainline,2399.
A new set of cache-management macros was defined for ARMv6-.

Note: See TracTickets for help on using tickets.