vma->vm_page_prot =pgprot_writecombine(vma->vm_page_prot);elsevma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);if(dma_mmap_from_dev_coherent(dev, vma, cpu_addr, size, &ret))returnret;if(off < count && user_count <= (count - off)) { ret = remap_pfn_range(vma, vma...
prot = pgprot_noncached(PAGE_KERNEL); else prot = pgprot_writecombine(PAGE_KERNEL); pages = kmalloc_array(page_count, sizeof(struct page *), GFP_KERNEL); if (!pages) { @@ -411,8 +415,11 @@ static void *persistent_ram_vmap(phys_addr_t start, size_t size) return vaddr; } stat...
它的alignof值是可通过编译开关-mno-align-double和-malign-double来控制的,其中-mno-align-double表示d...
Kernel source tree for Raspberry Pi Foundation-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://www.raspberrypi.org/forum - pstore-ram: Allow optional mapping with pgprot_noncached · cschlot