Re: [PATCH v5] MIPS: Loongson: Add DMA support for LS7A

From: Tiezhu Yang
Date: Wed Apr 29 2020 - 05:25:56 EST


Sorry, I can not receive email today due to some unknown reason,
so I use the "mailto: link" in the Linux-MIPS Archive to reply.

> Please use alpha-betical order here, which means put ls7a things
> before rs780 things.

OK, thanks. I will modify it and send v6.

> Why use a hardcoded 37? LS7A's node-id bits are configurable in BIOS.

Oh, the platform dependent implementation of __phys_to_dma()
and __dma_to_phys() are deleted, and ls7a_dma_config() is an
empty function, the hardware can translate address of node id
automatically for LS7A.