Re: [PATCH v2 1/3] hw/dma: Enhance error handling in loading description

2024-06-06 Thread Edgar E. Iglesias
On Tue, Jun 4, 2024 at 9:10 AM Fea.Wang wrote: > Loading a description from memory may cause a bus-error. In this > case, the DMA should stop working, set the error flag, and return > the failure value. > > When calling the loading a description function, it should be noticed > that the function

[PATCH v2 1/3] hw/dma: Enhance error handling in loading description

2024-06-04 Thread Fea.Wang
Loading a description from memory may cause a bus-error. In this case, the DMA should stop working, set the error flag, and return the failure value. When calling the loading a description function, it should be noticed that the function may return a failure value. Breaking the loop in this case i