[PATCH v1 1/9] alpha: Convert mapping routine to rely on physical address

Magnus Lindholm linmag7 at gmail.com
Mon Sep 29 03:35:43 AEST 2025


On Sun, Sep 28, 2025 at 5:02 PM Leon Romanovsky <leon at kernel.org> wrote:
>
> From: Leon Romanovsky <leonro at nvidia.com>
>
> Alpha doesn't need struct *page and can perform mapping based on
> physical addresses. So convert it to implement new .map_phys callback.
>
> As part of this change, remove useless BUG_ON() as DMA mapping layer
> ensures that right direction is provided.

After the changes in v1 this runs fine on Alpha. I've tested this on an
ES40 Alphaserver during load (build kernel and unpack tar files).
The v1 patch fixes the errors seen in the first revision of this patch.

Tested-by: Magnus Lindholm <linmag7 at gmail.com>


More information about the Linuxppc-dev mailing list