Hi, I've committed the attached patch which adds some checks to make sure cache lines are valid before they are returned as a hit or flushed. The patch also move a call to 'addr_to_tag' past a possible return point to the place where the result is first needed. Dave