linux/drivers/gpu/drm/nouveau
Dan Williams b7b3c01b19 mm/memremap_pages: support multiple ranges per invocation
In support of device-dax growing the ability to front physically
dis-contiguous ranges of memory, update devm_memremap_pages() to track
multiple ranges with a single reference counter and devm instance.

Convert all [devm_]memremap_pages() users to specify the number of ranges
they are mapping in their 'struct dev_pagemap' instance.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Paul Mackerras <paulus@ozlabs.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Ira Weiny <ira.weiny@intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: "Jérôme Glisse" <jglisse@redhat.co
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brice Goglin <Brice.Goglin@inria.fr>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Hulk Robot <hulkci@huawei.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jason Gunthorpe <jgg@mellanox.com>
Cc: Jason Yan <yanaijie@huawei.com>
Cc: Jeff Moyer <jmoyer@redhat.com>
Cc: "Jérôme Glisse" <jglisse@redhat.com>
Cc: Jia He <justin.he@arm.com>
Cc: Joao Martins <joao.m.martins@oracle.com>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: kernel test robot <lkp@intel.com>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Cc: Pavel Tatashin <pasha.tatashin@soleen.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Wei Yang <richard.weiyang@linux.alibaba.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lkml.kernel.org/r/159643103789.4062302.18426128170217903785.stgit@dwillia2-desk3.amr.corp.intel.com
Link: https://lkml.kernel.org/r/160106116293.30709.13350662794915396198.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-10-13 18:38:28 -07:00
..
dispnv04 drm/nouveau/kms/nv04-: no need for multiple nvsw objects 2020-07-24 18:50:57 +10:00
dispnv50 drm/nouveau/kms/nv50-gp1xx: add WAR for EVO push buffer HW bug 2020-09-03 15:32:24 +10:00
include drm/nouveau/kms/nv50-: add some whitespace before debug message 2020-09-03 15:32:23 +10:00
nvif
nvkm drm/nouveau/device: return error for unknown chipsets 2020-10-07 15:33:00 +10:00
Kbuild drm/nouveau/bo: split buffer move functions into their own source files 2020-07-24 18:50:56 +10:00
Kconfig
nouveau_abi16.c
nouveau_abi16.h
nouveau_acpi.c
nouveau_acpi.h
nouveau_backlight.c
nouveau_bios.c
nouveau_bios.h
nouveau_bo.c drm/nouveau/bo: split buffer move functions into their own source files 2020-07-24 18:50:56 +10:00
nouveau_bo.h drm/nouveau/kms/nv50-: use NVIDIA's headers for wndw ntfy_reset() 2020-07-24 18:50:59 +10:00
nouveau_bo0039.c drm/nouveau/bo: use NVIDIA's headers for move move() 2020-07-24 18:51:04 +10:00
nouveau_bo74c1.c drm/nouveau/bo: convert move move() to new push macros 2020-07-24 18:50:57 +10:00
nouveau_bo85b5.c drm/nouveau/bo: convert move move() to new push macros 2020-07-24 18:50:57 +10:00
nouveau_bo90b5.c drm/nouveau/bo: convert move move() to new push macros 2020-07-24 18:50:57 +10:00
nouveau_bo5039.c drm/nouveau/bo: use NVIDIA's headers for move move() 2020-07-24 18:51:04 +10:00
nouveau_bo9039.c drm/nouveau/bo: use NVIDIA's headers for move move() 2020-07-24 18:51:04 +10:00
nouveau_boa0b5.c drm/nouveau/bo: use NVIDIA's headers for move move() 2020-07-24 18:51:04 +10:00
nouveau_chan.c drm/nouveau/chan: convert nvsw init to new push macros 2020-07-24 18:50:58 +10:00
nouveau_chan.h drm/nouveau: interop with new push macros 2020-07-24 18:50:56 +10:00
nouveau_connector.c
nouveau_connector.h drm/nouveau/kms/nv50-: use NVIDIA's headers for core head_dither() 2020-07-24 18:51:03 +10:00
nouveau_crtc.h
nouveau_debugfs.c
nouveau_debugfs.h
nouveau_display.c drm next for 5.9-rc1 2020-08-05 19:50:06 -07:00
nouveau_display.h
nouveau_dma.c drm/nouveau/fbcon: convert imageblit() to new push macros 2020-07-24 18:50:56 +10:00
nouveau_dma.h drm/nouveau/fence: use NVIDIA's headers for sync() 2020-07-24 18:51:04 +10:00
nouveau_dmem.c mm/memremap_pages: support multiple ranges per invocation 2020-10-13 18:38:28 -07:00
nouveau_dmem.h
nouveau_dp.c
nouveau_drm.c drm/nouveau: convert nvsw init to new push macros 2020-07-24 18:50:57 +10:00
nouveau_drv.h drm/nouveau/kms/nv04-: no need for multiple nvsw objects 2020-07-24 18:50:57 +10:00
nouveau_encoder.h
nouveau_fbcon.c drm next for 5.9-rc1 2020-08-05 19:50:06 -07:00
nouveau_fbcon.h
nouveau_fence.c
nouveau_fence.h
nouveau_gem.c drm/nouveau/gem: convert indirect pushbufs to new push macros 2020-07-24 18:50:58 +10:00
nouveau_gem.h
nouveau_hwmon.c
nouveau_hwmon.h
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_led.c
nouveau_led.h
nouveau_mem.c drm/nouveau/mem: guard against NULL pointer access in mem_del 2020-10-07 15:33:09 +10:00
nouveau_mem.h
nouveau_nvif.c
nouveau_platform.c
nouveau_platform.h
nouveau_prime.c
nouveau_reg.h
nouveau_sgdma.c drm/ttm/nouveau: don't call tt destroy callback on alloc failure. 2020-07-29 10:06:38 +10:00
nouveau_svm.c drm next for 5.9-rc1 2020-08-05 19:50:06 -07:00
nouveau_svm.h nouveau/svm: use the new migration invalidation 2020-07-28 16:20:33 -03:00
nouveau_ttm.c
nouveau_ttm.h
nouveau_usif.c
nouveau_usif.h
nouveau_vga.c
nouveau_vga.h
nouveau_vmm.c
nouveau_vmm.h
nv04_fbcon.c drm/nouveau/fbcon: convert copyarea() to new push macros 2020-07-24 18:50:56 +10:00
nv04_fence.c drm/nouveau/fence: convert emit() to new push macros 2020-07-24 18:50:58 +10:00
nv10_fence.c drm/nouveau/fence: use NVIDIA's headers for read() 2020-07-24 18:51:04 +10:00
nv10_fence.h
nv17_fence.c drm/nouveau/fence: use NVIDIA's headers for sync() 2020-07-24 18:51:04 +10:00
nv50_display.h
nv50_fbcon.c drm/nouveau/fbcon/nv50-: use NVIDIA's headers for fillrect() 2020-07-24 18:51:04 +10:00
nv50_fence.c
nv84_fence.c drm/nouveau/fence: use NVIDIA's headers for sync() 2020-07-24 18:51:04 +10:00
nvc0_fbcon.c drm/nouveau/fbcon/nv50-: use NVIDIA's headers for fillrect() 2020-07-24 18:51:04 +10:00
nvc0_fence.c drm/nouveau/fence: use NVIDIA's headers for sync() 2020-07-24 18:51:04 +10:00