Re: [PATCH] ata: libata-sff: replace kmap_atomic() with kmap_local_page()
From: Niklas Cassel
Date: Tue Sep 22 2026 - 09:16:32 EST
On Mon, 21 Sep 2026 13:24:48 -0500, Danish Khateeb wrote:
> kmap_atomic() is deprecated in favour of kmap_local_page(), as described
> in Documentation/mm/highmem.rst.
>
> ata_pio_xfer() and __atapi_pio_bytes() each map a single page, pass the
> address to ->sff_data_xfer() for one transfer and unmap it again, so the
> mapping never leaves the function that created it.
>
> [...]
Applied to libata/linux.git (for-7.4), thanks!
[1/1] ata: libata-sff: replace kmap_atomic() with kmap_local_page()
https://git.kernel.org/libata/linux/c/02178d4b
Kind regards,
Niklas