Hi Alistair,

I agree that this looks like a false positive.

The newly allocated RISCVIOMMUEntry is not shared until it is
inserted into s->iot_cache under iot_lock. All its fields are
initialized before insertion, so no other thread can access the
entry during initialization.

Thanks,
Tan Chi


Reply via email to