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)
commitb60b270b3db617811e593db5d5920ed98e67ce49
treeee747f04ce4939e0ef8ab9d4368d5d2099e6198c
parent3d86739c6343fb9c45ba7c4171ff35f526a49b5f
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