diff options
| author | Dan Williams <[email protected]> | 2022-03-10 03:49:21 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2022-03-11 23:53:12 +0000 |
| commit | d9d290d7e659e9db3e4518040cc18b97f5535f4a (patch) | |
| tree | b7c12e13408391f9199e5fa288cd4b0750a9fe65 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | docs: ABI: sysfs-bus-nvdimm: Document sysfs event format entries for nvdimm pmu (diff) | |
| download | kernel-d9d290d7e659e9db3e4518040cc18b97f5535f4a.tar.gz kernel-d9d290d7e659e9db3e4518040cc18b97f5535f4a.zip | |
nvdimm/region: Fix default alignment for small regions
In preparation for removing BLK aperture support the NVDIMM unit tests
discovered that the default alignment can be set higher than the
capacity of the region. Fall back to PAGE_SIZE in that case.
Given this has not been seen in the wild, elide notifying -stable.
Fixes: 2522afb86a8c ("libnvdimm/region: Introduce an 'align' attribute")
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/164688416128.2879318.17890707310125575258.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
