Hello Tadeusz,
Sorry for the delay in response.
The "ERR 39: ODMA0_AXI_DECERR" is a Decode Error relating to destination.
Please note that, the PTDMA DMA controller is intended to be used with
AMD Non-Transparent Bridge devices and not for general purpose
peripheral DMA use cases. PTDMA engine can not talk to anything other
than NTB device.
Thanks,
Raju
On 2/2/2024 10:27 PM, Tadeusz Struk wrote:
Hello,
I'm trying to use the AMD PTDMA engine for generic data transfers,
but I can't get it to work.
It fails for me with "ptdma 0000:52:00.2: PTDMA error: (null) (0x27)"
which, I'm guessing, translates to "ERR 39: ODMA0_AXI_DECERR"
After some research I've found a note in drivers/dma/ptdma/Kconfig,
which says that "...this DMA controller is intended to be used with
AMD Non-Transparent Bridge devices and not for general purpose
peripheral DMA."
My question is, what is the "ERR 39: ODMA0_AXI_DECERR", and is it even
possible to use the PTDMA engine to talk to anything else other than
AMD NTB?
Thanks,
Tadeusz