Christoph Hellwig ecef6a9eff libata: fix ata_pio_sector for CONFIG_HIGHMEM
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>
2021-07-09 08:28:20 -06:00
..
2021-07-07 13:30:01 -07:00
2021-06-30 15:51:09 -07:00
2021-07-05 14:08:24 -07:00
2021-07-02 12:54:34 -07:00
2021-06-17 17:37:18 -07:00
2021-06-29 10:53:48 -07:00
2021-07-05 13:51:41 -07:00
2021-07-05 12:10:34 -07:00
2021-07-08 12:28:15 -07:00
2021-07-03 11:13:22 -07:00
2021-07-02 13:22:47 -07:00
2021-07-05 14:08:24 -07:00
2021-07-05 14:08:24 -07:00
2021-07-05 13:51:41 -07:00
2021-06-30 12:12:56 -07:00
2021-07-05 13:51:41 -07:00
2021-07-05 14:08:24 -07:00
2021-07-05 14:08:24 -07:00
2021-07-05 11:21:51 -07:00
2021-07-04 11:55:13 -07:00
2021-07-02 15:14:36 -07:00
2021-07-03 10:54:08 -07:00
2021-07-08 12:06:20 -07:00
2021-07-05 13:51:41 -07:00
2021-07-05 12:10:34 -07:00
2021-07-07 10:50:03 -07:00
2021-07-05 14:08:24 -07:00
2021-07-07 10:50:03 -07:00
2021-07-05 14:08:24 -07:00
2021-07-02 15:14:36 -07:00
2021-06-28 12:14:19 -07:00
2021-07-05 14:08:24 -07:00
2021-07-03 11:49:33 -07:00
2021-07-07 12:57:46 -07:00
2021-07-07 11:07:13 -07:00
2021-06-16 08:53:58 -06:00
2021-06-29 11:21:35 -07:00