ps3disk: handle highmem pages
authorChristoph Hellwig <hch@lst.de>
Wed, 9 May 2018 13:59:48 +0000 (15:59 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 May 2018 21:08:03 +0000 (15:08 -0600)
The ps3disk driver already kmaps all pages when copying from/to the
internal bounce buffer, so it can accept highmem pages just fine.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ps3disk.c

index 075662f..afe1508 100644 (file)
@@ -465,8 +465,6 @@ static int ps3disk_probe(struct ps3_system_bus_device *_dev)
        priv->queue = queue;
        queue->queuedata = dev;
 
-       blk_queue_bounce_limit(queue, BLK_BOUNCE_HIGH);
-
        blk_queue_max_hw_sectors(queue, dev->bounce_size >> 9);
        blk_queue_segment_boundary(queue, -1UL);
        blk_queue_dma_alignment(queue, dev->blk_size-1);