Quoting Alexander Gordeev (2023-03-10 13:42:47) > On Fri, Mar 10, 2023 at 01:34:27PM +0100, Alexander Gordeev wrote: > > > Note that several callers pass NULL as addr, this is fine since > > > virt_to_phys(0) == 0. > > Missed that. > > Are you sure? Quickly checked ppc64, x86 and arm64 - they do not > seem adhere virt_to_phys(0) == 0, nor the VR kernel (so far). I think we do, but you are right - it might change in the future, so it's better to be on the safe side. Fixed in v2, thanks.