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).