Christoph Hellwig 0f05e0ffa2 libata: fix ata_pio_sector for CONFIG_HIGHMEM
[ Upstream commit ecef6a9effe49e8e2635c839020b9833b71e934c ]

Data transfers are not required to be block aligned in memory, so they
span two pages.  Fix this by splitting the call to >sff_data_xfer into
two for that case.

This has been broken since the initial libata import before the damn
of git, but was uncovered by the legacy ide driver removal.

Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210709130237.3730959-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-08-12 13:22:19 +02:00
..
2021-07-19 09:44:59 +02:00
2020-10-23 12:20:32 -06:00
2020-10-23 12:20:32 -06:00
2020-10-23 12:20:32 -06:00
2021-05-14 09:50:24 +02:00
2021-05-14 09:50:24 +02:00
2021-05-14 09:50:24 +02:00