reserve_memtype 为[start,end)地址范围分配一个struct memtype结构,插入到memtype_rbroot这棵红黑树中。 返回值: < 0 发生错误,可能是[start,end)与现有区域的memtype发生冲突,也可能是其他错误 0,没有冲突 /** req_type typically has one of the:* - _PAGE_CACHE_MODE_WB* - _PAGE_CACHE_MODE_WC* -...
then insidemkinitcpio.confedited usual line to load vfio modules at boot:MODULES=(vfio_pci vfio vfio_iommu_type1 vfio_virqfd)(i set it up so default boot state of nvidia gpu is vfio, and then after system loads i decide if it will be using vfio or nvidia modules, only way it works ...
printk(KERN_ERR "ioremap reserve_memtype failed %d\n", retval);printk(KERN_ERR "phys_addr: %#Lx, size: %#Lx\n",(u64)phys_addr, (u64)size);dump_stack();return NULL;}Seems like maybe you would want symbols or something. If so thenplease let me know how to turn that on a...