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

- From: Sergei Shtylyov \<hidden\>
- Date: 2021-08-05 18:28:30 
- List: linux-ide
- Page: https://ratatoskr.run/linux-ide/2021/08/16727728
- Thread: https://ratatoskr.run/linux-ide/2021/07/16727722/t.md

```text
Hello!

On 7/9/21 4:02 PM, 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.

   Damn of git, hehe... :-)

> Reported-by: kernel test robot <redacted>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
[...]

MBR, Sergei
```
