Re: i915 dma faults on Xen

2021-02-22 Thread Jason Andryuk
On Mon, Feb 22, 2021 at 5:18 AM Roger Pau Monné wrote: > > On Fri, Feb 19, 2021 at 12:30:23PM -0500, Jason Andryuk wrote: > > On Wed, Oct 21, 2020 at 9:59 AM Jan Beulich wrote: > > > > > > On 21.10.2020 15:36, Jason Andryuk wrote: > > > > On Wed, Oct 21, 2020 at 8:53 AM Jan Beulich wrote: > > >

Re: i915 dma faults on Xen

2021-02-22 Thread Roger Pau Monné
On Fri, Feb 19, 2021 at 12:30:23PM -0500, Jason Andryuk wrote: > On Wed, Oct 21, 2020 at 9:59 AM Jan Beulich wrote: > > > > On 21.10.2020 15:36, Jason Andryuk wrote: > > > On Wed, Oct 21, 2020 at 8:53 AM Jan Beulich wrote: > > >> > > >> On 21.10.2020 14:45, Jason Andryuk wrote: > > >>> On Wed,

tboot UEFI and Xen (was Re: i915 dma faults on Xen)

2021-02-19 Thread Jason Andryuk
On Thu, Oct 15, 2020 at 1:13 PM Jason Andryuk wrote: > > On Thu, Oct 15, 2020 at 12:39 PM Tamas K Lengyel > wrote: > > > > > > Can you paste the memory map as printed by Xen when booting, and what > > > > command line are you using to boot Xen. > > > > > > So this is OpenXT, and it's booting EFI

Re: i915 dma faults on Xen

2021-02-19 Thread Jason Andryuk
On Wed, Oct 21, 2020 at 9:59 AM Jan Beulich wrote: > > On 21.10.2020 15:36, Jason Andryuk wrote: > > On Wed, Oct 21, 2020 at 8:53 AM Jan Beulich wrote: > >> > >> On 21.10.2020 14:45, Jason Andryuk wrote: > >>> On Wed, Oct 21, 2020 at 5:58 AM Roger Pau Monné > >>> wrote: > Hm, it's hard to

Re: i915 dma faults on Xen

2020-10-21 Thread Jan Beulich
On 21.10.2020 15:36, Jason Andryuk wrote: > On Wed, Oct 21, 2020 at 8:53 AM Jan Beulich wrote: >> >> On 21.10.2020 14:45, Jason Andryuk wrote: >>> On Wed, Oct 21, 2020 at 5:58 AM Roger Pau Monné >>> wrote: Hm, it's hard to tell what's going on. My limited experience with IOMMU faults

Re: i915 dma faults on Xen

2020-10-21 Thread Jason Andryuk
On Wed, Oct 21, 2020 at 8:53 AM Jan Beulich wrote: > > On 21.10.2020 14:45, Jason Andryuk wrote: > > On Wed, Oct 21, 2020 at 5:58 AM Roger Pau Monné > > wrote: > >> Hm, it's hard to tell what's going on. My limited experience with > >> IOMMU faults on broken systems there's a small range that

Re: i915 dma faults on Xen

2020-10-21 Thread Jan Beulich
On 21.10.2020 14:45, Jason Andryuk wrote: > On Wed, Oct 21, 2020 at 5:58 AM Roger Pau Monné wrote: >> Hm, it's hard to tell what's going on. My limited experience with >> IOMMU faults on broken systems there's a small range that initially >> triggers those, and then the device goes wonky and

Re: i915 dma faults on Xen

2020-10-21 Thread Jason Andryuk
On Wed, Oct 21, 2020 at 5:58 AM Roger Pau Monné wrote: > > On Fri, Oct 16, 2020 at 12:23:22PM -0400, Jason Andryuk wrote: > > > > The RMRRs are: > > (XEN) [VT-D]Host address width 39 > > (XEN) [VT-D]found ACPI_DMAR_DRHD: > > (XEN) [VT-D] dmaru->address = fed9 > > (XEN) [VT-D]drhd->address =

Re: i915 dma faults on Xen

2020-10-21 Thread Roger Pau Monné
On Wed, Oct 21, 2020 at 12:33:05PM +0200, Jan Beulich wrote: > On 21.10.2020 11:58, Roger Pau Monné wrote: > > On Fri, Oct 16, 2020 at 12:23:22PM -0400, Jason Andryuk wrote: > >> The RMRRs are: > >> (XEN) [VT-D]Host address width 39 > >> (XEN) [VT-D]found ACPI_DMAR_DRHD: > >> (XEN) [VT-D]

Re: i915 dma faults on Xen

2020-10-21 Thread Jan Beulich
On 21.10.2020 11:58, Roger Pau Monné wrote: > On Fri, Oct 16, 2020 at 12:23:22PM -0400, Jason Andryuk wrote: >> The RMRRs are: >> (XEN) [VT-D]Host address width 39 >> (XEN) [VT-D]found ACPI_DMAR_DRHD: >> (XEN) [VT-D] dmaru->address = fed9 >> (XEN) [VT-D]drhd->address = fed9 iommu->reg =

Re: i915 dma faults on Xen

2020-10-21 Thread Roger Pau Monné
On Fri, Oct 16, 2020 at 12:23:22PM -0400, Jason Andryuk wrote: > On Thu, Oct 15, 2020 at 11:16 AM Jason Andryuk wrote: > > > > On Thu, Oct 15, 2020 at 7:31 AM Roger Pau Monné > > wrote: > > > > > > On Wed, Oct 14, 2020 at 08:37:06PM +0100, Andrew Cooper wrote: > > > > On 14/10/2020 20:28, Jason

Re: i915 dma faults on Xen

2020-10-16 Thread Jason Andryuk
On Thu, Oct 15, 2020 at 11:16 AM Jason Andryuk wrote: > > On Thu, Oct 15, 2020 at 7:31 AM Roger Pau Monné wrote: > > > > On Wed, Oct 14, 2020 at 08:37:06PM +0100, Andrew Cooper wrote: > > > On 14/10/2020 20:28, Jason Andryuk wrote: > > > > Hi, > > > > > > > > Bug opened at

Re: i915 dma faults on Xen

2020-10-15 Thread Jason Andryuk
On Thu, Oct 15, 2020 at 12:39 PM Tamas K Lengyel wrote: > > > > Can you paste the memory map as printed by Xen when booting, and what > > > command line are you using to boot Xen. > > > > So this is OpenXT, and it's booting EFI -> xen -> tboot -> xen > > Unrelated comment: since tboot now has a

Re: i915 dma faults on Xen

2020-10-15 Thread Tamas K Lengyel
> > Can you paste the memory map as printed by Xen when booting, and what > > command line are you using to boot Xen. > > So this is OpenXT, and it's booting EFI -> xen -> tboot -> xen Unrelated comment: since tboot now has a PE build (http://hg.code.sf.net/p/tboot/code/rev/5c68f0963a78) I think

Re: i915 dma faults on Xen

2020-10-15 Thread Jason Andryuk
On Thu, Oct 15, 2020 at 7:31 AM Roger Pau Monné wrote: > > On Wed, Oct 14, 2020 at 08:37:06PM +0100, Andrew Cooper wrote: > > On 14/10/2020 20:28, Jason Andryuk wrote: > > > Hi, > > > > > > Bug opened at https://gitlab.freedesktop.org/drm/intel/-/issues/2576 > > > > > > I'm seeing DMA faults for

Re: i915 dma faults on Xen

2020-10-15 Thread Roger Pau Monné
On Wed, Oct 14, 2020 at 08:37:06PM +0100, Andrew Cooper wrote: > On 14/10/2020 20:28, Jason Andryuk wrote: > > Hi, > > > > Bug opened at https://gitlab.freedesktop.org/drm/intel/-/issues/2576 > > > > I'm seeing DMA faults for the i915 graphics hardware on a Dell > > Latitude 5500. These were

Re: i915 dma faults on Xen

2020-10-14 Thread Andrew Cooper
On 14/10/2020 20:28, Jason Andryuk wrote: > Hi, > > Bug opened at https://gitlab.freedesktop.org/drm/intel/-/issues/2576 > > I'm seeing DMA faults for the i915 graphics hardware on a Dell > Latitude 5500. These were captured when I plugged into a Dell > Thunderbolt dock with two DisplayPort

i915 dma faults on Xen

2020-10-14 Thread Jason Andryuk
Hi, Bug opened at https://gitlab.freedesktop.org/drm/intel/-/issues/2576 I'm seeing DMA faults for the i915 graphics hardware on a Dell Latitude 5500. These were captured when I plugged into a Dell Thunderbolt dock with two DisplayPort monitors attached. Xen 4.12.4 staging and Linux 5.4.70 (and