[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190228134029.GC1594@8bytes.org>
Date: Thu, 28 Feb 2019 14:40:29 +0100
From: Joerg Roedel <joro@...tes.org>
To: Stanislaw Gruszka <sgruszka@...hat.com>
Cc: Lorenzo Bianconi <lorenzo.bianconi@...hat.com>,
Rosen Penev <rosenp@...il.com>,
linux-wireless <linux-wireless@...r.kernel.org>,
Samuel Sieb <samuel@...b.net>,
Alexander Duyck <alexander.h.duyck@...ux.intel.com>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: MT76x2U crashes XHCI driver on AMD Ryzen system
On Thu, Feb 28, 2019 at 01:19:48PM +0100, Stanislaw Gruszka wrote:
> Nevermind, the patch is wrong, s->dma_address is initalized in sg_num_pages().
Yes, it is. In sg_num_pages() the offset into the IOMMU mapping is
stored in s->dma_address, taking also the segment boundary mask into
account. map_sg() later only adds the base-address to that.
Regards,
Joerg
Powered by blists - more mailing lists