linux_dsm_epyc7002/drivers/gpu/drm/nouveau
Ralph Campbell ed710a6ed7 drm/nouveau/nouveau: fix page fault on device private memory
If system memory is migrated to device private memory and no GPU MMU
page table entry exists, the GPU will fault and call hmm_range_fault()
to get the PFN for the page. Since the .dev_private_owner pointer in
struct hmm_range is not set, hmm_range_fault returns an error which
results in the GPU program stopping with a fatal fault.
Fix this by setting .dev_private_owner appropriately.

Fixes: 08ddddda66 ("mm/hmm: check the device private page owner in hmm_range_fault()")
Cc: stable@vger.kernel.org
Signed-off-by: Ralph Campbell <rcampbell@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2020-07-08 13:30:42 +10:00
..
dispnv04 drm/nouveau/kms: Remove field nvbo from struct nouveau_framebuffer 2020-05-22 11:11:14 +10:00
dispnv50 drm/nouveau/kms/nv50-: bail from nv50_audio_disable() early if audio not enabled 2020-07-08 13:30:41 +10:00
include drm/nouveau/disp: provide hint to OR allocation about HDA requirements 2020-06-04 14:23:20 +10:00
nvif drm/nouveau/nvif: protect waits against GPU falling off the bus 2020-04-07 14:37:50 +10:00
nvkm drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout 2020-07-08 13:30:41 +10:00
Kbuild drm/nouveau: fix out-of-tree module build 2020-05-22 11:11:14 +10:00
Kconfig drm/nouveau: Add HD-audio component notifier support 2020-01-29 15:49:46 +10:00
nouveau_abi16.c
nouveau_abi16.h
nouveau_acpi.c drm/nouveau: Use generic helper to check _PR3 presence 2020-05-22 11:13:50 +10:00
nouveau_acpi.h drm/nouveau/bios: move ACPI _ROM handling 2020-05-22 11:13:49 +10:00
nouveau_backlight.c
nouveau_bios.c
nouveau_bios.h
nouveau_bo.c drm/nouveau/ttm: evict other IO mappings when running out of BAR1 space 2020-04-07 14:37:49 +10:00
nouveau_bo.h
nouveau_chan.c drm/nouveau: signal pending fences when channel has been killed 2020-01-29 15:49:47 +10:00
nouveau_chan.h
nouveau_connector.c drm/nouveau/kms/nv50-: Share DP SST mode_valid() handling with MST 2020-05-22 11:13:52 +10:00
nouveau_connector.h drm/nouveau/kms/nv50-: Share DP SST mode_valid() handling with MST 2020-05-22 11:13:52 +10:00
nouveau_crtc.h
nouveau_debugfs.c drm/nouveau/debugfs: fix runtime pm imbalance on error 2020-05-22 11:13:52 +10:00
nouveau_debugfs.h drm: convert .debugfs_init() hook to return void. 2020-03-18 17:53:28 +01:00
nouveau_display.c drm/nouveau/kms: Support NVIDIA format modifiers 2020-05-22 11:11:16 +10:00
nouveau_display.h drm/nouveau/kms: Support NVIDIA format modifiers 2020-05-22 11:11:16 +10:00
nouveau_dma.c
nouveau_dma.h
nouveau_dmem.c drm/nouveau/svm: fix migrate page regression 2020-07-08 13:30:42 +10:00
nouveau_dmem.h drm pull for 5.8-rc1 2020-06-02 15:04:15 -07:00
nouveau_dp.c drm/nouveau/kms/nv50-: Share DP SST mode_valid() handling with MST 2020-05-22 11:13:52 +10:00
nouveau_drm.c drm/nouveau: use correct conflicting framebuffer API 2020-05-26 14:41:03 +10:00
nouveau_drv.h drm/nouveau: workaround runpm fail by disabling PCI power management on certain intel bridges 2020-04-07 14:37:50 +10:00
nouveau_encoder.h drm/nouveau/kms/gt215-: fix race with audio driver runpm 2020-06-01 17:28:42 +10:00
nouveau_fbcon.c drm/nouveau/kms: Remove struct nouveau_framebuffer 2020-05-22 11:11:15 +10:00
nouveau_fbcon.h drm/nouveau/kms: Move struct nouveau_framebuffer.vma to struct nouveau_fbdev 2020-05-22 11:11:14 +10:00
nouveau_fence.c drm/nouveau: signal pending fences when channel has been killed 2020-01-29 15:49:47 +10:00
nouveau_fence.h drm/nouveau: signal pending fences when channel has been killed 2020-01-29 15:49:47 +10:00
nouveau_gem.c drm/nouveau: fix runtime pm imbalance on error 2020-05-22 11:13:52 +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
nouveau_mem.h
nouveau_nvif.c
nouveau_platform.c drm/nouveau/gr/gk20a: move MODULE_FIRMWARE firmware definitions 2020-05-22 11:13:49 +10:00
nouveau_platform.h
nouveau_prime.c
nouveau_reg.h
nouveau_sgdma.c
nouveau_svm.c drm/nouveau/nouveau: fix page fault on device private memory 2020-07-08 13:30:42 +10:00
nouveau_svm.h drm/nouveau/svm: map pages after migration 2020-05-22 11:13:49 +10:00
nouveau_ttm.c
nouveau_ttm.h
nouveau_usif.c
nouveau_usif.h
nouveau_vga.c drm: Avoid drm_global_mutex for simple inc/dec of dev->open_count 2020-01-24 17:41:34 +00:00
nouveau_vga.h
nouveau_vmm.c drm/nouveau: zero vma pointer even if we only unreference it rather than free 2020-01-29 15:49:46 +10:00
nouveau_vmm.h
nv04_fbcon.c
nv04_fence.c
nv10_fence.c
nv10_fence.h
nv17_fence.c
nv50_display.h
nv50_fbcon.c drm/nouveau/kms: Move struct nouveau_framebuffer.vma to struct nouveau_fbdev 2020-05-22 11:11:14 +10:00
nv50_fence.c
nv84_fence.c
nvc0_fbcon.c drm/nouveau/kms: Move struct nouveau_framebuffer.vma to struct nouveau_fbdev 2020-05-22 11:11:14 +10:00
nvc0_fence.c