diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-11-19 08:27:05 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-11-19 08:27:05 -0800 |
| commit | 2df79e4d729cc67395db2fd6965148fea0851898 (patch) | |
| tree | b0aa03ea3642645448ecdd5db92007f93688aeb0 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | 8b690556d8fe074b4f9835075050fba3fb180e93 (diff) | |
| parent | c42af83c59b65d01c0f7a074e450bbbb43b22f0d (diff) | |
Merge tag 'fixes-2025-11-19' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock
Pull memblock fix from Mike Rapoport:
"Fix memblock_estimated_nr_free_pages() for soft-reserved memory
The "soft-reserved" memory regions (EFI_MEMORY_SP) are added to the
memblock.reserved, but not to the memblock.memory. It causes
memblock_estimated_nr_free_pages() to return a value smaller value
than expected, or if it underflows, an extremely large value.
Calculate the number of estimated free pages using
memblock_reserved_kern_size() instead of memblock_reserved_size() to
fix the issue"
* tag 'fixes-2025-11-19' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
memblock: fix memblock_estimated_nr_free_pages() for soft-reserved memory
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
