diff options
author | Li Zhijian <[email protected]> | 2022-12-06 21:01:55 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2022-12-09 19:36:02 -0400 |
commit | 02ea0a511558c907bde0e01fdebcd4536924d996 (patch) | |
tree | 72674005929259bfd892f4fdde9e6d82874515b3 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | 668ce52d5eef477c0def757610768a1a3ccc9785 (diff) |
RDMA/rxe: Allow registering persistent flag for pmem MR only
Memory region could support at most 2 flush access flags:
IB_ACCESS_FLUSH_PERSISTENT and IB_ACCESS_FLUSH_GLOBAL
But we only allow user to register persistent flush flags to the pmem MR
where it has the ability of persisting data across power cycles.
So registering a persistent access flag to a non-pmem MR will be rejected.
Link: https://lore.kernel.org/r/[email protected]
CC: Dan Williams <[email protected]>
Signed-off-by: Li Zhijian <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions