# Re: \[PATCH\] libata: fix ata\_pio\_sector for CONFIG\_HIGHMEM

- From: Jens Axboe \<axboe@kernel.dk\>
- Date: 2021-07-09 14:28:52 
- List: linux-ide
- Page: https://ratatoskr.run/linux-ide/2021/07/16727723
- Thread: https://ratatoskr.run/linux-ide/2021/07/16727722/t.md

```text
On 7/9/21 7:02 AM, Christoph Hellwig wrote:
> 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.

Applied, thanks.

-- 
Jens Axboe

```
