diff options
| author | Jianxiong Gao <[email protected]> | 2021-02-01 18:30:17 +0000 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <[email protected]> | 2021-02-26 15:52:50 +0000 |
| commit | 3d2d861eb03e8ee96dc430a54361c900cbe28afd (patch) | |
| tree | 71a546f83c0ddde280afb48d37c3f91e2890794a /fs/proc/array.c | |
| parent | swiotlb: respect min_align_mask (diff) | |
| download | kernel-3d2d861eb03e8ee96dc430a54361c900cbe28afd.tar.gz kernel-3d2d861eb03e8ee96dc430a54361c900cbe28afd.zip | |
nvme-pci: set min_align_mask
The PRP addressing scheme requires all PRP entries except for the
first one to have a zero offset into the NVMe controller pages (which
can be different from the Linux PAGE_SIZE). Use the min_align_mask
device parameter to ensure that swiotlb does not change the address
of the buffer modulo the device page size to ensure that the PRPs
won't be malformed.
Signed-off-by: Jianxiong Gao <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Jianxiong Gao <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
