[Libre-soc-dev] daily kan-ban update 25may2021

Tobias Platen libre-soc at platen-software.de
Tue May 25 18:51:39 BST 2021


To: 
Subject: 

today: investigating why some units tests sometimes hang

I have only tested using test_radixmiss_mmu() which sometimes does not
do any page table lookups. I this case wait_ldok waits for data which
is never returned.

I guess that the underlaying hardware is incorrect.

wrong:

LenExpand 4 8 unsigned(64)
llen 64
busy False 0
addrok 1
ldok 0 exception 0 count 0
ldok 0 exception 0 count 1
ldok 0 exception 0 count 2
ldok 0 exception 0 count 3
ldok 0 exception 0 count 4
ldok 0 exception 0 count 5
ldok 0 exception 0 count 6
ldok 0 exception 0 count 7
ldok 0 exception 0 count 8
ldok 0 exception 0 count 9
ldok 0 exception 0 count 10
ldok 0 exception 0 count 11
....

correct:

LenExpand 4 8 unsigned(64)
llen 64
busy False 0
addrok 1
ldok 0 exception 0 count 0
ldok 0 exception 0 count 1
ldok 0 exception 0 count 2
ldok 0 exception 0 count 3
ldok 0 exception 0 count 4
ldok 0 exception 0 count 5
    WB LOOKUP NO entry @ 0, returning zero
    DCACHE get 0 data 0
ldok 0 exception 0 count 6
ldok 0 exception 0 count 7
    WB LOOKUP NO entry @ 8, returning zero
    DCACHE get 8 data 0
ldok 0 exception 1 count 8
radixmiss ld data 0x0




More information about the Libre-soc-dev mailing list