Re: [PATCH v2] IOMMU/VT-d: Fix iommu=no-igfx if the IOMMU scope contains phantom device

2023-03-23 Thread Jan Beulich
On 14.03.2023 11:24, Jan Beulich wrote: > On 14.03.2023 02:50, Tian, Kevin wrote: >>> From: Marek Marczykowski-Górecki >>> Sent: Tuesday, March 14, 2023 9:32 AM >>> >>> If the scope for IGD's IOMMU contains additional device that doesn't >>>

Re: [PATCH v2] IOMMU/VT-d: Fix iommu=no-igfx if the IOMMU scope contains phantom device

2023-03-14 Thread Jan Beulich
On 14.03.2023 02:50, Tian, Kevin wrote: >> From: Marek Marczykowski-Górecki >> Sent: Tuesday, March 14, 2023 9:32 AM >> >> If the scope for IGD's IOMMU contains additional device that doesn't >> actually exist, iommu=no-igfx would not disable that IOMMU. In this >

RE: [PATCH v2] IOMMU/VT-d: Fix iommu=no-igfx if the IOMMU scope contains phantom device

2023-03-13 Thread Tian, Kevin
> From: Marek Marczykowski-Górecki > Sent: Tuesday, March 14, 2023 9:32 AM > > If the scope for IGD's IOMMU contains additional device that doesn't > actually exist, iommu=no-igfx would not disable that IOMMU. In this > particular case (Thinkpad x230) it

[PATCH v2] IOMMU/VT-d: Fix iommu=no-igfx if the IOMMU scope contains phantom device

2023-03-13 Thread Marek Marczykowski-Górecki
If the scope for IGD's IOMMU contains additional device that doesn't actually exist, iommu=no-igfx would not disable that IOMMU. In this particular case (Thinkpad x230) it included 00:02.1, but there is no such device on this platform. Consider only existing devices for "gfx only" che

Re: [PATCH] IOMMU/VT-d: Fix iommu=no-igfx if the IOMMU scope contains phantom device

2023-02-27 Thread Jan Beulich
On 26.02.2023 01:08, Marek Marczykowski-Górecki wrote: > If the scope for IGD's IOMMU contains additional device that doesn't > actually exist, iommu=no-igfx would not disable that IOMMU. In this > particular case (Thinkpad x230) it included > 00:02.1, but there is no such device on t

[PATCH] IOMMU/VT-d: Fix iommu=no-igfx if the IOMMU scope contains phantom device

2023-02-25 Thread Marek Marczykowski-Górecki
If the scope for IGD's IOMMU contains additional device that doesn't actually exist, iommu=no-igfx would not disable that IOMMU. In this particular case (Thinkpad x230) it included 00:02.1, but there is no such device on this platform. Consider only existing devices for "gfx only" chec

RE: [PATCH 1/2] VT-d: generalize and correct "iommu=no-igfx" handling

2021-10-11 Thread Tian, Kevin
> From: Jan Beulich > Sent: Monday, October 11, 2021 4:49 PM > > Linux'es supposedly equivalent "intel_iommu=igfx_off" deals with any > graphics devices (not just Intel ones) while at the same time limiting > the effect to IOMMUs covering only graphics devices. Keying the decision > to leave

[PATCH 1/2] VT-d: generalize and correct "iommu=no-igfx" handling

2021-10-11 Thread Jan Beulich
Linux'es supposedly equivalent "intel_iommu=igfx_off" deals with any graphics devices (not just Intel ones) while at the same time limiting the effect to IOMMUs covering only graphics devices. Keying the decision to leave translation disabled for an IOMMU to merely a magic SBDF tuple was wrong in

Re: iommu=no-igfx

2020-06-01 Thread buy computer
On Thu, May 28, 2020 at 11:34 AM Tian, Kevin wrote: > You may search dma_map* in drivers/gpu/drm/i915, and then print mapped > addresses to see any match in VT-d reported faulting addresses. For > example, __setup_page_dma might be one example that you want to check. > Unfortunately, I'm not

RE: iommu=no-igfx

2020-05-28 Thread Tian, Kevin
@lists.xenproject.org Subject: Re: iommu=no-igfx On Mon, May 25, 2020 at 5:16 AM Tian, Kevin mailto:kevin.t...@intel.com>> wrote: > From: Jan Beulich mailto:jbeul...@suse.com>> > Sent: Wednesday, May 20, 2020 7:11 PM > > On 11.05.2020 19:43, buy computer wrote: > > I'v

Re: iommu=no-igfx

2020-05-24 Thread buy computer
; > > trying to make the VM, I was getting IOMMU errors. I had a hard time > > > figuring out what to do about this, and finally discovered that putting > > > iommu=no-igfx in the grub stopped the errors. > > > > > > Unfortunately, without the graphics support

RE: iommu=no-igfx

2020-05-24 Thread Tian, Kevin
gt; figuring out what to do about this, and finally discovered that putting > > iommu=no-igfx in the grub stopped the errors. > > > > Unfortunately, without the graphics support the VM is understandably > slow, > > and can crash. I was also only now pointed to the page

Re: iommu=no-igfx

2020-05-20 Thread Jan Beulich
On 11.05.2020 19:43, buy computer wrote: > I've been working on a Windows 10 HVM on a Debian 10 dom0. When I was first > trying to make the VM, I was getting IOMMU errors. I had a hard time > figuring out what to do about this, and finally discovered that putting > iommu=no-igfx

iommu=no-igfx

2020-05-11 Thread buy computer
Hi! I've been working on a Windows 10 HVM on a Debian 10 dom0. When I was first trying to make the VM, I was getting IOMMU errors. I had a hard time figuring out what to do about this, and finally discovered that putting iommu=no-igfx in the grub stopped the errors. Unfortunately, without

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-19 Thread Roman Shaposhnik
On Mon, Aug 19, 2019 at 1:16 AM Roger Pau Monné wrote: > > On Sun, Aug 18, 2019 at 10:00:17PM -0700, Roman Shaposhnik wrote: > > Hi Roger! > > > > Some good news, some bad news ;-) > > > > Good news is that on the newer BIOS, your original patch seems to work fine. > > > > IOW, with newer BIOS: >

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-19 Thread Roger Pau Monné
On Sun, Aug 18, 2019 at 10:00:17PM -0700, Roman Shaposhnik wrote: > Hi Roger! > > Some good news, some bad news ;-) > > Good news is that on the newer BIOS, your original patch seems to work fine. > > IOW, with newer BIOS: > 1. without your original patch I see garbled screen > 2. with

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-18 Thread Roman Shaposhnik
Hi Roger! Some good news, some bad news ;-) Good news is that on the newer BIOS, your original patch seems to work fine. IOW, with newer BIOS: 1. without your original patch I see garbled screen 2. with your original patch everything boots normally. Bad news is that with older BIOS,

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-14 Thread Roger Pau Monné
On Tue, Aug 13, 2019 at 12:24:32PM -0700, Roman Shaposhnik wrote: > Hi Roger, > > sorry for the delay -- I hope you will understand that I actually had > a good reason. See below: No problem, just wanted to make sure this doesn't fell through the cracks. > On Mon, Aug 12, 2019 at 1:57 AM Roger

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-13 Thread Roman Shaposhnik
Hi Roger, sorry for the delay -- I hope you will understand that I actually had a good reason. See below: On Mon, Aug 12, 2019 at 1:57 AM Roger Pau Monné wrote: > > Ping? > > I know I've posted this quite recently, but have you been able to test > the two proposed patches? > > ie: the one here

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-12 Thread Roger Pau Monné
Ping? I know I've posted this quite recently, but have you been able to test the two proposed patches? ie: the one here and: https://lists.xenproject.org/archives/html/xen-devel/2019-08/msg00643.html I would like to figure out exactly what's going on and fix this properly. Thanks, Roger. On

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-07 Thread Roger Pau Monné
On Wed, Aug 07, 2019 at 10:31:40AM +0200, Jan Beulich wrote: > On 07.08.2019 09:35, Roger Pau Monné wrote: > > On Tue, Aug 06, 2019 at 02:48:51PM -0700, Roman Shaposhnik wrote: > > > On Tue, Aug 6, 2019 at 9:18 AM Roger Pau Monné > > > wrote: > > > > > > > > On Fri, Aug 02, 2019 at 10:05:40AM

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-07 Thread Jan Beulich
On 07.08.2019 11:57, Roger Pau Monné wrote: On Wed, Aug 07, 2019 at 09:08:58AM +0200, Jan Beulich wrote: On 06.08.2019 23:48, Roman Shaposhnik wrote: On Tue, Aug 6, 2019 at 9:18 AM Roger Pau Monné wrote: On Fri, Aug 02, 2019 at 10:05:40AM +0200, Roger Pau Monné wrote: On Thu, Aug 01, 2019

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-07 Thread Roger Pau Monné
On Wed, Aug 07, 2019 at 09:08:58AM +0200, Jan Beulich wrote: > On 06.08.2019 23:48, Roman Shaposhnik wrote: > > On Tue, Aug 6, 2019 at 9:18 AM Roger Pau Monné wrote: > > > > > > On Fri, Aug 02, 2019 at 10:05:40AM +0200, Roger Pau Monné wrote: > > > > On Thu, Aug 01, 2019 at 11:25:04AM -0700,

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-07 Thread Jan Beulich
On 07.08.2019 09:35, Roger Pau Monné wrote: On Tue, Aug 06, 2019 at 02:48:51PM -0700, Roman Shaposhnik wrote: On Tue, Aug 6, 2019 at 9:18 AM Roger Pau Monné wrote: On Fri, Aug 02, 2019 at 10:05:40AM +0200, Roger Pau Monné wrote: On Thu, Aug 01, 2019 at 11:25:04AM -0700, Roman Shaposhnik

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-07 Thread Roger Pau Monné
On Tue, Aug 06, 2019 at 02:48:51PM -0700, Roman Shaposhnik wrote: > On Tue, Aug 6, 2019 at 9:18 AM Roger Pau Monné wrote: > > > > On Fri, Aug 02, 2019 at 10:05:40AM +0200, Roger Pau Monné wrote: > > > On Thu, Aug 01, 2019 at 11:25:04AM -0700, Roman Shaposhnik wrote: > > > > This patch completely

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-07 Thread Jan Beulich
On 06.08.2019 23:48, Roman Shaposhnik wrote: On Tue, Aug 6, 2019 at 9:18 AM Roger Pau Monné wrote: On Fri, Aug 02, 2019 at 10:05:40AM +0200, Roger Pau Monné wrote: On Thu, Aug 01, 2019 at 11:25:04AM -0700, Roman Shaposhnik wrote: This patch completely fixes the problem for me! Thanks

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-06 Thread Roman Shaposhnik
On Tue, Aug 6, 2019 at 9:18 AM Roger Pau Monné wrote: > > On Fri, Aug 02, 2019 at 10:05:40AM +0200, Roger Pau Monné wrote: > > On Thu, Aug 01, 2019 at 11:25:04AM -0700, Roman Shaposhnik wrote: > > > This patch completely fixes the problem for me! > > > > > > Thanks Roger! I'd love to see this in

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-02 Thread Roger Pau Monné
On Thu, Aug 01, 2019 at 11:25:04AM -0700, Roman Shaposhnik wrote: > On Thu, Aug 1, 2019 at 1:16 AM Roger Pau Monné wrote: > > > > On Wed, Jul 31, 2019 at 02:03:24PM -0700, Roman Shaposhnik wrote: > > > On Wed, Jul 31, 2019 at 12:46 PM Andrew Cooper > > > wrote: > > > > > > > > On 31/07/2019

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-01 Thread Roman Shaposhnik
On Thu, Aug 1, 2019 at 1:16 AM Roger Pau Monné wrote: > > On Wed, Jul 31, 2019 at 02:03:24PM -0700, Roman Shaposhnik wrote: > > On Wed, Jul 31, 2019 at 12:46 PM Andrew Cooper > > wrote: > > > > > > On 31/07/2019 20:35, Roman Shaposhnik wrote: > > > > On Wed, Jul 31, 2019 at 1:43 AM Roger Pau

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-01 Thread Roman Shaposhnik
On Thu, Aug 1, 2019 at 1:45 AM Roger Pau Monné wrote: > > On Wed, Jul 31, 2019 at 12:30:04PM -0700, Roman Shaposhnik wrote: > > On Wed, Jul 31, 2019 at 1:36 AM Roger Pau Monné > > wrote: > > > > > > On Tue, Jul 30, 2019 at 10:55:24AM -0700, Roman Shaposhnik wrote: > > > > Sorry -- got a bit

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-01 Thread Roger Pau Monné
On Wed, Jul 31, 2019 at 12:30:04PM -0700, Roman Shaposhnik wrote: > On Wed, Jul 31, 2019 at 1:36 AM Roger Pau Monné wrote: > > > > On Tue, Jul 30, 2019 at 10:55:24AM -0700, Roman Shaposhnik wrote: > > > Sorry -- got a bit distracted yesterday. Attached is the log with only > > > your latest patch

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-01 Thread Roger Pau Monné
On Wed, Jul 31, 2019 at 02:03:24PM -0700, Roman Shaposhnik wrote: > On Wed, Jul 31, 2019 at 12:46 PM Andrew Cooper > wrote: > > > > On 31/07/2019 20:35, Roman Shaposhnik wrote: > > > On Wed, Jul 31, 2019 at 1:43 AM Roger Pau Monné > > > wrote: > > >> On Wed, Jul 31, 2019 at 10:36:31AM +0200,

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-08-01 Thread Jan Beulich
On 31.07.2019 21:46, Andrew Cooper wrote: > My bet is on the intel_iommu_lookup_page() call having side effects[1]. > If you take out the debugging in the middle of the loop in > rmrr_identity_mapping(), does the problem reproduce again? While your guess was right according to Roman's latest

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-31 Thread Roman Shaposhnik
On Wed, Jul 31, 2019 at 12:46 PM Andrew Cooper wrote: > > On 31/07/2019 20:35, Roman Shaposhnik wrote: > > On Wed, Jul 31, 2019 at 1:43 AM Roger Pau Monné > > wrote: > >> On Wed, Jul 31, 2019 at 10:36:31AM +0200, Roger Pau Monné wrote: > >>> On Tue, Jul 30, 2019 at 10:55:24AM -0700, Roman

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-31 Thread Andrew Cooper
On 31/07/2019 20:35, Roman Shaposhnik wrote: > On Wed, Jul 31, 2019 at 1:43 AM Roger Pau Monné wrote: >> On Wed, Jul 31, 2019 at 10:36:31AM +0200, Roger Pau Monné wrote: >>> On Tue, Jul 30, 2019 at 10:55:24AM -0700, Roman Shaposhnik wrote: Sorry -- got a bit distracted yesterday. Attached is

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-31 Thread Roman Shaposhnik
On Wed, Jul 31, 2019 at 2:46 AM Jan Beulich wrote: > > On 31.07.2019 10:58, Andrew Cooper wrote: > > On 31/07/2019 09:34, Jan Beulich wrote: > >> On 30.07.2019 19:56, Roman Shaposhnik wrote: > >>> On Fri, Jul 26, 2019 at 1:06 AM Jan Beulich wrote: > On 23.07.2019 20:25, Roman Shaposhnik

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-31 Thread Roman Shaposhnik
On Wed, Jul 31, 2019 at 1:43 AM Roger Pau Monné wrote: > > On Wed, Jul 31, 2019 at 10:36:31AM +0200, Roger Pau Monné wrote: > > On Tue, Jul 30, 2019 at 10:55:24AM -0700, Roman Shaposhnik wrote: > > > Sorry -- got a bit distracted yesterday. Attached is the log with only > > > your latest patch

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-31 Thread Roman Shaposhnik
On Wed, Jul 31, 2019 at 1:36 AM Roger Pau Monné wrote: > > On Tue, Jul 30, 2019 at 10:55:24AM -0700, Roman Shaposhnik wrote: > > Sorry -- got a bit distracted yesterday. Attached is the log with only > > your latest patch attached. Interestingly enough the box booted fine > > without screen

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-31 Thread Jan Beulich
On 31.07.2019 10:58, Andrew Cooper wrote: > On 31/07/2019 09:34, Jan Beulich wrote: >> On 30.07.2019 19:56, Roman Shaposhnik wrote: >>> On Fri, Jul 26, 2019 at 1:06 AM Jan Beulich wrote: On 23.07.2019 20:25, Roman Shaposhnik wrote: > Interestingly enough, adding iommu_inclusive_mapping=1

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-31 Thread Andrew Cooper
On 31/07/2019 09:34, Jan Beulich wrote: > On 30.07.2019 19:56, Roman Shaposhnik wrote: >> On Fri, Jul 26, 2019 at 1:06 AM Jan Beulich wrote: >>> On 23.07.2019 20:25, Roman Shaposhnik wrote: Interestingly enough, adding iommu_inclusive_mapping=1 AND iommu=debug booted the system just

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-31 Thread Jan Beulich
On 30.07.2019 19:56, Roman Shaposhnik wrote: > On Fri, Jul 26, 2019 at 1:06 AM Jan Beulich wrote: >> >> On 23.07.2019 20:25, Roman Shaposhnik wrote: >>> Interestingly enough, adding iommu_inclusive_mapping=1 AND iommu=debug >>> booted the system just fine. >> >> Btw (I've noticed this only now) -

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-31 Thread Jan Beulich
On 30.07.2019 19:55, Roman Shaposhnik wrote: > Sorry -- got a bit distracted yesterday. Attached is the log with only > your latest patch attached. Interestingly enough the box booted fine > without screen artifacts. So I guess we're getting closer... I'm afraid I can't make sense of this and the

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-31 Thread Roger Pau Monné
On Wed, Jul 31, 2019 at 10:36:31AM +0200, Roger Pau Monné wrote: > On Tue, Jul 30, 2019 at 10:55:24AM -0700, Roman Shaposhnik wrote: > > Sorry -- got a bit distracted yesterday. Attached is the log with only > > your latest patch attached. Interestingly enough the box booted fine > > without

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-31 Thread Roger Pau Monné
On Tue, Jul 30, 2019 at 10:55:24AM -0700, Roman Shaposhnik wrote: > Sorry -- got a bit distracted yesterday. Attached is the log with only > your latest patch attached. Interestingly enough the box booted fine > without screen artifacts. So I guess we're getting closer... > > Thanks for all the

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-30 Thread Roman Shaposhnik
On Fri, Jul 26, 2019 at 1:06 AM Jan Beulich wrote: > > On 23.07.2019 20:25, Roman Shaposhnik wrote: > > Interestingly enough, adding iommu_inclusive_mapping=1 AND iommu=debug > > booted the system just fine. > > Btw (I've noticed this only now) - are you saying without "iommu=debug" > the box

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-30 Thread Roger Pau Monné
Ping? It would be very helpful for us in order to get this sorted out if you could answer the questions below and try the new debug patch :). On Fri, Jul 26, 2019 at 11:35:45AM +0200, Roger Pau Monné wrote: > On Thu, Jul 25, 2019 at 05:47:19PM -0700, Roman Shaposhnik wrote: > > Hi Roger! > > >

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-26 Thread Roger Pau Monné
On Thu, Jul 25, 2019 at 05:47:19PM -0700, Roman Shaposhnik wrote: > Hi Roger! > > With your patch (and build as a debug build) Xen crashes on boot > (which I guess was the point of your BUG_ON statement). Yes, that's very weird, seems like entries are not added to the iommu page tables but I

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-26 Thread Jan Beulich
On 23.07.2019 20:25, Roman Shaposhnik wrote: > Interestingly enough, adding iommu_inclusive_mapping=1 AND iommu=debug > booted the system just fine. Btw (I've noticed this only now) - are you saying without "iommu=debug" the box does _not_ boot fine, despite the other option? Jan

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-25 Thread Roman Shaposhnik
On Wed, Jul 24, 2019 at 10:42 AM Rich Persaud wrote: > > On Jul 19, 2019, at 15:31, Roman Shaposhnik wrote: > > Hi! > > we're using Xen on Advantech ARK-2250 Embedded Box PC: > > https://www.elmark.com.pl/web/uploaded/karty_produktow/advantech/ark-2250l/ark-2250l_instrukcja-uzytkownika.pdf >

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-25 Thread Roman Shaposhnik
Hi Roger! With your patch (and build as a debug build) Xen crashes on boot (which I guess was the point of your BUG_ON statement). The log is attached Thanks, Roman. On Wed, Jul 24, 2019 at 7:11 AM Roger Pau Monné wrote: > > On Tue, Jul 23, 2019 at 10:32:26AM -0700, Roman Shaposhnik wrote: >

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-24 Thread Rich Persaud
> On Jul 19, 2019, at 15:31, Roman Shaposhnik wrote: > > Hi! > > we're using Xen on Advantech ARK-2250 Embedded Box PC: > > https://www.elmark.com.pl/web/uploaded/karty_produktow/advantech/ark-2250l/ark-2250l_instrukcja-uzytkownika.pdf Roman, Good to see Xen being used on fanless

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-24 Thread Roger Pau Monné
On Tue, Jul 23, 2019 at 10:32:26AM -0700, Roman Shaposhnik wrote: > Hi Roger! > > I applied your patch, removed no-igfx and I still see the original > problem. Please let me know what other logs/debugs would you need at > this point. I'm not sure why you don't get the rmrrs added to the iommu

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-24 Thread Jan Beulich
On 24.07.2019 14:00, Jan Beulich wrote: > On 23.07.2019 19:58, Roman Shaposhnik wrote: >> No worries. Take a look at the head of the log attached. > > One more thing for you to tweak to make the log even more useful: > As per > > (XEN) Xen version 4.12.0 (@) (gcc (Alpine 6.4.0) 6.4.0) debug=n

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-24 Thread Jan Beulich
On 23.07.2019 19:58, Roman Shaposhnik wrote: > No worries. Take a look at the head of the log attached. One more thing for you to tweak to make the log even more useful: As per (XEN) Xen version 4.12.0 (@) (gcc (Alpine 6.4.0) 6.4.0) debug=n Tue Jul 23 17:15:48 UTC 2019 this is a non-debug

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-24 Thread Andrew Cooper
On 24/07/2019 12:23, Andrew Cooper wrote: > On 23/07/2019 18:32, Roman Shaposhnik wrote: >> Oh, and it seems that that https://downloads.xenproject.org/ SSL >> certificate expired yesterday -- perhaps somebody can take a look at >> that. > Thanks for reporting.  It should be being taken care of.

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-24 Thread Andrew Cooper
On 23/07/2019 18:32, Roman Shaposhnik wrote: > Oh, and it seems that that https://downloads.xenproject.org/ SSL > certificate expired yesterday -- perhaps somebody can take a look at > that. Thanks for reporting.  It should be being taken care of. ~Andrew

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-23 Thread Roman Shaposhnik
On Tue, Jul 23, 2019 at 11:12 AM Andrew Cooper wrote: > > On 23/07/2019 18:58, Roman Shaposhnik wrote: > > On Tue, Jul 23, 2019 at 10:50 AM Andrew Cooper > wrote: > > On 23/07/2019 18:48, Roman Shaposhnik wrote: > > On Tue, Jul 23, 2019 at 10:35 AM Andrew Cooper > wrote: > > On 23/07/2019

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-23 Thread Andrew Cooper
On 23/07/2019 18:58, Roman Shaposhnik wrote: > On Tue, Jul 23, 2019 at 10:50 AM Andrew Cooper > wrote: >> On 23/07/2019 18:48, Roman Shaposhnik wrote: >>> On Tue, Jul 23, 2019 at 10:35 AM Andrew Cooper >>> wrote: On 23/07/2019 18:32, Roman Shaposhnik wrote: > Hi Roger! > > I

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-23 Thread Roman Shaposhnik
On Tue, Jul 23, 2019 at 10:50 AM Andrew Cooper wrote: > > On 23/07/2019 18:48, Roman Shaposhnik wrote: > > On Tue, Jul 23, 2019 at 10:35 AM Andrew Cooper > > wrote: > >> On 23/07/2019 18:32, Roman Shaposhnik wrote: > >>> Hi Roger! > >>> > >>> I applied your patch, removed no-igfx and I still see

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-23 Thread Andrew Cooper
On 23/07/2019 18:48, Roman Shaposhnik wrote: > On Tue, Jul 23, 2019 at 10:35 AM Andrew Cooper > wrote: >> On 23/07/2019 18:32, Roman Shaposhnik wrote: >>> Hi Roger! >>> >>> I applied your patch, removed no-igfx and I still see the original >>> problem. Please let me know what other logs/debugs

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-23 Thread Andrew Cooper
On 23/07/2019 18:32, Roman Shaposhnik wrote: > Hi Roger! > > I applied your patch, removed no-igfx and I still see the original > problem. Please let me know what other logs/debugs would you need at > this point. Please can you collect a full boot log with iommu=debug ~Andrew

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-23 Thread Roman Shaposhnik
Hi Roger! I applied your patch, removed no-igfx and I still see the original problem. Please let me know what other logs/debugs would you need at this point. Btw, just to make it clear what patch got applied I'm attaching it to this email. Oh, and it seems that that

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-22 Thread Andrew Cooper
On 23/07/2019 00:36, Roman Shaposhnik wrote: > Hi Everyone! > > Thanks a million for an extremely quick turnaround. I am in my lab > again next to the box in question. > > Should I go ahead and test the latest patch or wait for the official > one to be submitted? > > Thanks, > Roman. Use this

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-22 Thread Roman Shaposhnik
.@suse.com; Andrew > > > Cooper ; boris.ostrov...@oracle.com; > > > jbeul...@suse.com > > > Subject: Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx > > > diff --git a/xen/arch/x86/mm/p2m.c b/xen/arch/x86/mm/p2m.c > > > index fef97c82

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-22 Thread Roger Pau Monné
om; Andrew > > Cooper ; boris.ostrov...@oracle.com; > > jbeul...@suse.com > > Subject: Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx > > diff --git a/xen/arch/x86/mm/p2m.c b/xen/arch/x86/mm/p2m.c > > index fef97c82f6..88a2430c8c 100644 > > --- a/xe

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-22 Thread Paul Durrant
-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx > > On Mon, Jul 22, 2019 at 04:03:44PM +0200, Paul Durrant wrote: > > > -Original Message- > > [snip] > > > > > diff --git a/xen/drivers/passthrough/iommu.c > > > > > b

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-22 Thread Roger Pau Monné
On Mon, Jul 22, 2019 at 04:03:44PM +0200, Paul Durrant wrote: > > -Original Message- > [snip] > > > > diff --git a/xen/drivers/passthrough/iommu.c > > > > b/xen/drivers/passthrough/iommu.c > > > > index 79ec6719f5..9d91f0d633 100644 > > > > --- a/xen/drivers/passthrough/iommu.c > > > >

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-22 Thread Paul Durrant
> -Original Message- [snip] > > > diff --git a/xen/drivers/passthrough/iommu.c > > > b/xen/drivers/passthrough/iommu.c > > > index 79ec6719f5..9d91f0d633 100644 > > > --- a/xen/drivers/passthrough/iommu.c > > > +++ b/xen/drivers/passthrough/iommu.c > > > @@ -185,7 +185,7 @@ void

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-22 Thread Roger Pau Monné
ndrew Cooper > > ; > > boris.ostrov...@oracle.com; jbeul...@suse.com > > Subject: Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx > > > > On Mon, Jul 22, 2019 at 08:20:36AM +, Paul Durrant wrote: > > > > -Original Message- > >

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-22 Thread Paul Durrant
-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx > > On Mon, Jul 22, 2019 at 08:20:36AM +, Paul Durrant wrote: > > > -Original Message- > > [snip] > > > > (XEN) Domain heap initialised > > > > (XEN) ACPI: 32/64X FACS address mismatch in F

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-22 Thread Roger Pau Monné
On Mon, Jul 22, 2019 at 08:20:36AM +, Paul Durrant wrote: > > -Original Message- > [snip] > > > (XEN) Domain heap initialised > > > (XEN) ACPI: 32/64X FACS address mismatch in FADT - > > > 8ce8ef80/, using 32 > > > (XEN) IOAPIC[0]: apic_id 2, version 32, address

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-22 Thread Paul Durrant
> -Original Message- [snip] > > (XEN) Domain heap initialised > > (XEN) ACPI: 32/64X FACS address mismatch in FADT - > > 8ce8ef80/, using 32 > > (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec0, GSI 0-119 > > (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs > >

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-22 Thread Paul Durrant
De-htmling... - [snip] For RMRRs themselves, system firmware is well known for abiding by the spec [citation needed], but an RMRR must be honoured, because the entire purpose of them is to state "this device won't function without access to this area". An RMRR in a hole, while a violation

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-20 Thread Andrew Cooper
om 4.11.0 we now have to utilize > iommu=no-igfx > workaround as per: > https://xenbits.xen.org/docs/unstable/misc/xen-command-line.html#iommu > > Without the workaround the screen appears to be garbled with colored > static noise and the following message keeps showing up: > (XEN)

Re: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-19 Thread Roman Shaposhnik
tech/ark-2250l/ark-2250l_instrukcja-uzytkownika.pdf > > After upgrading to Xen 4.12.0 from 4.11.0 we now have to utilize > iommu=no-igfx > workaround as per: > https://xenbits.xen.org/docs/unstable/misc/xen-command-line.html#iommu > > Without the workaround the screen appears to

[Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

2019-07-19 Thread Roman Shaposhnik
Hi! we're using Xen on Advantech ARK-2250 Embedded Box PC: https://www.elmark.com.pl/web/uploaded/karty_produktow/advantech/ark-2250l/ark-2250l_instrukcja-uzytkownika.pdf After upgrading to Xen 4.12.0 from 4.11.0 we now have to utilize iommu=no-igfx workaround as per: https