Files
linux-stable-mirror/drivers
Jianxiong GaoandGreg Kroah-Hartman 2fa0387fa2 nvme-pci: set min_align_mask
commit: 3d2d861eb0

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 <jxgao@google.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Jianxiong Gao <jxgao@google.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-07 11:04:32 +02:00
..
2021-04-21 13:00:52 +02:00
2021-04-10 13:36:08 +02:00
2021-05-02 11:06:09 +02:00
2021-05-07 11:04:32 +02:00
2021-04-16 11:43:22 +02:00