Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes from Will Deacon: - Fix SPE probe failure when backing auxbuf with high-order pages - Fix handling of DMA allocations from outside of the vmalloc area - Fix generation of build-id ELF section for vDSO object - Disable huge I/O mappings if kernel page table dumping is enabled - A few other minor fixes (comments, kconfig etc) * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: vdso: Explicitly add build-id option arm64/mm: Inhibit huge-vmap with ptdump arm64: Print physical address of page table base in show_pte() arm64: don't trash config with compat symbol if COMPAT is disabled arm64: assembler: Update comment above cond_yield_neon() macro drivers/perf: arm_spe: Don't error on high-order pages for aux buf arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable
This commit is contained in:
@@ -855,16 +855,8 @@ static void *arm_spe_pmu_setup_aux(struct perf_event *event, void **pages,
|
||||
if (!pglist)
|
||||
goto out_free_buf;
|
||||
|
||||
for (i = 0; i < nr_pages; ++i) {
|
||||
struct page *page = virt_to_page(pages[i]);
|
||||
|
||||
if (PagePrivate(page)) {
|
||||
pr_warn("unexpected high-order page for auxbuf!");
|
||||
goto out_free_pglist;
|
||||
}
|
||||
|
||||
for (i = 0; i < nr_pages; ++i)
|
||||
pglist[i] = virt_to_page(pages[i]);
|
||||
}
|
||||
|
||||
buf->base = vmap(pglist, nr_pages, VM_MAP, PAGE_KERNEL);
|
||||
if (!buf->base)
|
||||
|
Reference in New Issue
Block a user