addr_is_memory
bool addr_is_memory(phys_addr_t phys);
WARN_ON(addr_is_memory(addr) &&
if (!addr_is_memory(phys))