aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/gntdev.c
AgeCommit message (Expand)AuthorFilesLines
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-2/+2
2022-10-06xen/gntdev: Accommodate VMA splittingM. Vefa Bicakci1-33/+25
2022-10-06xen/gntdev: Prevent leaking grantsM. Vefa Bicakci1-5/+17
2022-07-11xen/gntdev: Ignore failure to unmap INVALID_GRANT_HANDLEDemi Marie Obenour1-2/+4
2022-06-23xen/gntdev: Avoid blocking in unmap_grant_pages()Demi Marie Obenour1-51/+106
2022-01-06xen/gntdev: fix unmap notification orderOleksandr Andrushchenko1-3/+3
2021-09-20Xen/gntdev: don't ignore kernel unmapping errorJan Beulich1-0/+8
2021-08-30xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guestsJuergen Gross1-34/+2
2021-05-10xen/gntdev: fix gntdev_mmap() error exit pathJuergen Gross1-1/+3
2021-03-10Xen/gntdev: don't needlessly use kvcalloc()Jan Beulich1-7/+12
2021-03-10Xen/gnttab: introduce common INVALID_GRANT_{HANDLE,REF}Jan Beulich1-11/+13
2021-03-10Xen/gntdev: don't needlessly allocate k{,un}map_ops[]Jan Beulich1-9/+14
2021-02-15Xen/gntdev: correct error checking in gntdev_map_grant_pages()Jan Beulich1-8/+9
2021-02-15Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages()Jan Beulich1-11/+13
2020-10-04xen/gntdev.c: Convert get_user_pages*() to pin_user_pages*()Souptick Joarder1-8/+2
2020-10-04xen/gntdev.c: Mark pages as dirtySouptick Joarder1-5/+12
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-1/+1
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-2/+2
2020-04-07xen: Use evtchn_type_t as a type for event channelsYan Yankovskyi1-1/+1
2020-01-28xen/gntdev: Do not use mm notifiers with autotranslating guestsBoris Ostrovsky1-12/+12
2019-12-02xen/gntdev: switch from kcalloc() to kvcalloc()Juergen Gross1-15/+16
2019-12-02xen/gntdev: replace global limit of mapped pages by limit per callJuergen Gross1-17/+7
2019-12-02xen/gntdev: remove redundant non-zero check on retColin Ian King1-7/+2
2019-11-23xen/gntdev: use mmu_interval_notifier_insertJason Gunthorpe1-131/+48
2019-10-10xen: Stop abusing DT of_dma_configure APIRob Herring1-11/+2
2019-07-31xen/gntdev.c: Replace vm_map_pages() with vm_map_pages_zero()Souptick Joarder1-1/+1
2019-07-12mm/pgtable: drop pgtable_t variable from pte_fn_t functionsAnshuman Khandual1-4/+2
2019-05-14xen/gntdev.c: convert to use vm_map_pages()Souptick Joarder1-7/+4
2019-05-14mm/mmu_notifier: convert user range->blockable to helper functionJérôme Glisse1-3/+3
2019-05-14mm/gup: change GUP fast to use flags rather than a write 'bool'Ira Weiny1-1/+1
2019-02-18xen/gntdev: Do not destroy context while dma-bufs are in useOleksandr Andrushchenko1-1/+1
2018-12-28mm/mmu_notifier: use structure for invalidate_range_start/end callbackJérôme Glisse1-6/+6
2018-09-14xen/gntdev: fix up blockable calls to mn_invl_range_startMichal Hocko1-11/+15
2018-08-22mm, oom: distinguish blockable mode for mmu notifiersMichal Hocko1-9/+35
2018-07-26xen/gntdev: Add initial support for dma-buf UAPIOleksandr Andrushchenko1-0/+31
2018-07-26xen/gntdev: Make private routines/structures accessibleOleksandr Andrushchenko1-91/+43
2018-07-26xen/gntdev: Allow mappings for DMA buffersOleksandr Andrushchenko1-2/+97
2018-01-10xen/gntdev: Fix partial gntdev_mmap() cleanupRoss Lagerwall1-1/+3
2018-01-10xen/gntdev: Fix off-by-one error when unmapping with holesRoss Lagerwall1-3/+1
2017-10-25xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()Juergen Gross1-1/+1
2017-08-31xen/gntdev: update to new mmu_notifier semanticJérôme Glisse1-8/+0
2017-03-13drivers, xen: convert grant_map.users from atomic_t to refcount_tElena Reshetova1-5/+6
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2016-11-28xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancingBoris Ostrovsky1-1/+1
2016-07-06xen: use vma_pages().Muhammad Falak R Wani1-1/+1
2016-05-24xen/gntdev: reduce copy batch size to 16David Vrabel1-1/+1
2016-01-07xen/gntdev: add ioctl for grant copyDavid Vrabel1-0/+203
2015-12-21xen/gntdev: constify mmu_notifier_ops structuresJulia Lawall1-1/+1
2015-11-26xen/gntdev: Grant maps should not be subject to NUMA balancingBoris Ostrovsky1-1/+1
2015-09-10mm: mark most vm_operations_struct constKirill A. Shutemov1-1/+1
2015-06-30xen/gntdevt: Fix race condition in gntdev_release()Marek Marczykowski-Górecki1-0/+2
2015-06-17xen: Include xen/page.h rather than asm/xen/page.hJulien Grall1-1/+1
2015-04-27xen/grant: introduce func gnttab_unmap_refs_sync()Bob Liu1-25/+3
2015-01-28xen/gntdev: provide find_special_page VMA operationDavid Vrabel1-0/+11
2015-01-28xen/gntdev: mark userspace PTEs as special on x86 PV guestsDavid Vrabel1-0/+34
2015-01-28xen/gntdev: safely unmap grants in case they are still in useJennifer Herbert1-5/+31
2015-01-28xen/gntdev: convert priv->lock to a mutexDavid Vrabel1-20/+20
2015-01-28xen/grant-table: add helpers for allocating pagesDavid Vrabel1-2/+2
2015-01-28xen/grant-table: pre-populate kernel unmap ops for xen_gnttab_unmap_refs()David Vrabel1-6/+14
2014-02-03Revert "xen/grant-table: Avoid m2p_override during mapping"Konrad Rzeszutek Wilk1-8/+5
2014-01-31xen/grant-table: Avoid m2p_override during mappingZoltan Kiss1-5/+8
2014-01-06xen/pvh: Piggyback on PVHVM for grant driver (v4)Konrad Rzeszutek Wilk1-1/+1
2013-08-20xen/m2p: use GNTTABOP_unmap_and_replace to reinstate the original mappingStefano Stabellini1-9/+2
2013-06-28xen: Convert printks to pr_<level>Joe Perches1-3/+5
2013-01-15xen/gntdev: remove erronous use of copy_to_userDaniel De Graaf1-10/+3
2013-01-15xen/gntdev: correctly unmap unlinked maps in mmu notifierDaniel De Graaf1-29/+63
2013-01-15xen/gntdev: fix unsafe vma accessDaniel De Graaf1-5/+24
2012-10-30xen/gntdev: don't leak memory from IOCTL_GNTDEV_MAP_GRANT_REFDavid Vrabel1-17/+19
2012-10-09mm: kill vma flag VM_RESERVED and mm->reserved_vm counterKonstantin Khlebnikov1-1/+1
2012-10-02Merge tag 'stable/for-linus-3.7-x86-tag' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-1/+1
2012-09-12xen/m2p: do not reuse kmap_op->dev_bus_addrStefano Stabellini1-2/+3
2012-08-21xen/apic/xenbus/swiotlb/pcifront/grant/tmem: Make functions or variables static.Konrad Rzeszutek Wilk1-1/+1
2012-04-17xen/gntdev: do not set VM_PFNMAPStefano Stabellini1-1/+1
2011-12-20xen/grant-table: Support mappings required by blkbackDaniel De Graaf1-1/+2
2011-12-20Merge commit 'v3.2-rc3' into stable/for-linus-3.3Konrad Rzeszutek Wilk1-5/+5
2011-11-21xen/gnt{dev,alloc}: reserve event channels for notifyDaniel De Graaf1-1/+30
2011-11-16xen-gntdev: integer overflow in gntdev_alloc_map()Dan Carpenter1-5/+5
2011-11-06Merge branch 'stable/cleanups-3.2' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+1
2011-10-14xen/gntdev: Fix sleep-inside-spinlockDaniel De Graaf1-3/+2
2011-09-29xen: modify kernel mappings corresponding to granted pagesStefano Stabellini1-1/+31
2011-09-29xen: add an "highmem" parameter to alloc_xenballooned_pagesStefano Stabellini1-1/+1
2011-07-26Xen: fix braces coding style issue in gntdev.c and grant-table.cRuslan Pisarev1-2/+1
2011-05-19Merge branches 'stable/backend.base.v3' and 'stable/gntalloc.v7' of git://git...Linus Torvalds1-2/+14
2011-03-24xen-gntdev: unlock on error path in gntdev_mmap()Dan Carpenter1-1/+3
2011-03-24xen-gntdev: return -EFAULT on copy_to_user failureDan Carpenter1-1/+1
2011-03-16xen-gntdev: Use ballooned pages for grant mappingsDaniel De Graaf1-33/+5
2011-03-09xen/gntdev,gntalloc: Remove unneeded VM flagsDaniel De Graaf1-2/+14
2011-03-09xen: gntdev: fix build warningIan Campbell1-2/+1
2011-02-23xen-gntdev: Add cast to pointerDaniel De Graaf1-2/+2
2011-02-23xen-gntdev: Fix incorrect use of zero handleDaniel De Graaf1-7/+16
2011-02-14xen-gntdev: prevent using UNMAP_NOTIFY_CLEAR_BYTE on read-only mappingsDaniel De Graaf1-1/+9
2011-02-14xen-gntdev: Avoid double-mapping memoryDaniel De Graaf1-3/+12
2011-02-14xen-gntdev: Avoid unmapping ranges twiceDaniel De Graaf1-2/+31
2011-02-14xen-gntdev: Use map->vma for checking map validityDaniel De Graaf1-6/+2
2011-02-14xen-gntdev: Fix unmap notify on PV domainsDaniel De Graaf1-2/+7
2011-02-14xen-gntdev: Fix memory leak when mmap failsDaniel De Graaf1-6/+8
2011-02-14xen/gntalloc,gntdev: Add unmap notify ioctlDaniel De Graaf1-1/+60
2011-02-14xen-gntdev: Support mapping in HVM domainsDaniel De Graaf1-34/+83
2011-02-14xen-gntdev: Add reference counting to mapsDaniel De Graaf1-40/+27
2011-02-14xen-gntdev: Use find_vma rather than iterating our vma list manuallyDaniel De Graaf1-24/+8
2011-02-14xen-gntdev: Change page limit to be global instead of per-openDaniel De Graaf1-36/+14
2011-01-11xen gntdev: use gnttab_map_refs and gnttab_unmap_refsStefano Stabellini1-7/+30
2011-01-11xen/gntdev: Fix circular locking dependencyDaniel De Graaf1-2/+7
2011-01-11xen/gntdev: stop using "token" argumentJeremy Fitzhardinge1-2/+2
2011-01-11xen: gntdev: move use of GNTMAP_contains_pte next to the map_opIan Campbell1-3/+5
2011-01-11xen/gntdev: add VM_PFNMAP to vmaJeremy Fitzhardinge1-1/+1
2011-01-11xen/gntdev: allow usermode to map granted pagesGerd Hoffmann1-0/+635