]> git.baikalelectronics.ru Git - kernel.git/commit
swim3: support highmem
authorChristoph Hellwig <hch@lst.de>
Tue, 6 Apr 2021 06:18:39 +0000 (08:18 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 6 Apr 2021 15:30:09 +0000 (09:30 -0600)
commit0bd0ad821e30836a64def678186b59a8cbcf48d3
treeee747f04ce4939e0ef8ab9d4368d5d2099e6198c
parent38969af6538b7430792a1d452db68237b1c523d2
swim3: support highmem

swim3 only uses the virtual address of a bio to stash it into the data
transfer using virt_to_bus.  But the ppc32 virt_to_bus just uses the
physical address with an offset.  Replace virt_to_bus with a local hack
that performs the equivalent transformation and stop asking for block
layer bounce buffering.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210406061839.811588-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/swim3.c