summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorNikita Yushchenko <nikita.yoush@cogentembedded.com>2017-01-11 21:56:31 +0300
committerSasha Levin <alexander.levin@verizon.com>2017-07-31 13:37:51 -0400
commit318c1207565009f2bc94d5ff28383b5390079c12 (patch)
treec43a71541ea1876b6d66b0958193c78492dd4beb /arch/s390
parentc83f147d84835966faadb9caab0845427fdce3dc (diff)
swiotlb: ensure that page-sized mappings are page-aligned
[ Upstream commit 602d9858f07c72eab64f5f00e2fae55f9902cfbe ] Some drivers do depend on page mappings to be page aligned. Swiotlb already enforces such alignment for mappings greater than page, extend that to page-sized mappings as well. Without this fix, nvme hits BUG() in nvme_setup_prps(), because that routine assumes page-aligned mappings. Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions