On 2022-01-24 12:24 p.m., John David Anglin wrote:
Faulting instruction is "ldw 18(r3),r24". Address in $r3 (and $r5) seems bad. Think the sglist argument to sba_unmap_sg() is bad. Don't have a clue as to why this might be.
Maybe try interchanging operands of following && while (sg_dma_len(sglist) && nents--) { so nents is checked first. Dave -- John David Anglin dave.anglin@xxxxxxxx