[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roman Shaposhnik <roman@xxxxxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Wed, 31 Jul 2019 09:30:50 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=suse.com;dmarc=pass action=none header.from=suse.com;dkim=pass header.d=suse.com;arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aCiFNgdGUjCIkVMxHJ+vosTGrmQ/JoAwuqDOhDRywvU=; b=X9wbwJNq06HC++v5VQni9/a7ltS51bF3HlKmoBaSv49kglpL5f7PqTSr9bmaVWEcAq9nTJsm0uVOaA08edRW/GXq2oDjiDdqGAYBjudRpmYk0rjdxb9SqyyabYnU+X15eUGbLeto1zjt0yiiOA8Od3KT57a8DBQIyJdf9qIBdmNZkxNCtsV4BbCvNbh3zxGFx/fAPOiV7GZoJ/gUUo+2IUPQ9VPJmq4U1gpWgaGHq8Pc7oXZm5JkkIpcFTA2RcXaVjJ50Uba2dsm4WXF4Z8vh4/a1snPe/LDWcZvjnvJJ0er8n6SzaCKUvsuf0XqFIwY5tTw6lu5Kxpt9D2ywNYx+Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L/XA1Pvo6JCxiT4xdtOgIzpcClw+bPyp2DBAsbSDx6KlnpwHxSAadWB4+t3jnWPbS219fbrAJ4LFkvzOcyIay71WSMjihul9N2nuvU6/5SaJKyQrD3UUY6i0KLflj8ClpX8DtISYT5Jw4H7pA6qzS5fiElEON3exQN729+v6MjgMG3HTBfHsggW3dMMS55a/MXdclVHd2FGUMCsKWiGizg+9MOdar4uXZtI7aopIcnTcY4meT9vhRTQR6U/9FJpLPcDhAKGZgUWX0kzsUDrUjX8aDguuc2h+5B23DNff7TnkFPRESYKfpaGgEf+yujNwg9To6vYQeXaR4GEvbec9dw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: Juergen Gross <JGross@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "boris.ostrovsky@xxxxxxxxxx" <boris.ostrovsky@xxxxxxxxxx>, Paul Durrant <Paul.Durrant@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Wed, 31 Jul 2019 09:46:37 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVQGZoAIAkO6cfhESDQvB+1ma7GabWTmUwgAAaH4CAACIW8P///zuAgAAjM0D//+s8gIAAJkZwgAADUt6AAIoGGoAAAwRXgAEppbWAAADYpIAABBtqgAACZwCAAAP3BYAAA38agAQHi4CABvFPpYAA9HeAgAAG9myAAAjUAA==
  • Thread-topic: [Xen-devel] [BUG] After upgrade to Xen 4.12.0 iommu=no-igfx

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 <JBeulich@xxxxxxxx> 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 does _not_ boot fine, despite the other option?
>>> Yes. But it made sense to me since iommu=debug (as per your
>>> explanation) overwhelms the CPU and I guess adding
>>> iommu_inclusive_mapping=1 avoids the code path that does it?
>> I'm afraid I don't follow: My question was whether
>> "iommu_inclusive_mapping=1" alone would not allow the box to boot.
>> Without "iommu=debug" there's no excessive logging afaict, no
>> matter what other IOMMU options you use.
> 
> Without inclusive mappings, the system boots but the screen is junk and
> there are DMA faults all over the place.  With inclusive mappings, it
> all "works" fine.
> 
> With debug enabled, the DMA faults are spat out to the console for a
> short while, until an APIC error occurs and the system wedges completely.

Right - the verbosity _with_ "iommu=debug" may be a problem. Hence me
wondering whether the system indeed wouldn't boot _without_ that option.

Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.