• Evan Lojewski's avatar
    fsi: Fix a race condition resulting in some FSI accesses being lost. · ab3bb080
    Evan Lojewski authored
    Previously, back to back FSI transactions could happen before teh FSI state machine was complete.
    This ensures that the FSI master does not ahve an active transaction before starting a new one.
    
    This could result in logs such as:
    access_fsi_mem(): address 0x002820, data: 0x00000000 sta: 0x41000001
    access_fsi_mem(): address 0x002804, data: 0x00000000 sta: 0x12000000
    vs
    access_fsi_mem(): address 0x002820, data: 0x00000000 sta: 0x41000001
    access_fsi_mem(): address 0x002804, data: 0x04c04000 sta: 0x41000001
    
    As a result, the CPU often failed to start.
    ab3bb080
fsi.c 11.5 KB