Re: [PATCH] usb: ehci-orion: Extend DMA mask to 64 bit for AC5 platform

From: Alan Stern
Date: Thu Oct 06 2022 - 09:54:36 EST


On Thu, Oct 06, 2022 at 12:52:57PM +0300, Vadym Kochan wrote:
> From: Elad Nachman <enachman@xxxxxxxxxxx>
>
> Signed-off-by: Elad Nachman <enachman@xxxxxxxxxxx>
> Signed-off-by: Vadym Kochan <vadym.kochan@xxxxxxxxxxx>
> ---
> drivers/usb/host/ehci-orion.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c
> index a3454a3ea4e0..c6205abebbdf 100644
> --- a/drivers/usb/host/ehci-orion.c
> +++ b/drivers/usb/host/ehci-orion.c
> @@ -230,7 +230,7 @@ static int ehci_orion_drv_probe(struct platform_device *pdev)
> * set. Since shared usb code relies on it, set it here for
> * now. Once we have dma capability bindings this can go away.
> */
> - err = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
> + err = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
> if (err)
> goto err;

Apart from the fact that you didn't include a patch description, how
come the Subject: line says this applies to the AC5 platform when the
actual code change applies to all platforms? Do you know that this
change is safe for all those other platforms?

Alan Stern