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

Re: Aw: Re: Re: [help] Xen 4.14.5 on Devuan 4.0 Chimaera, regression from Xen 4.0.1


  • To: Denis <tachyon_gun@xxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Tue, 14 Mar 2023 15:11:52 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=zHpmPTVwJFTs/I7fCEpjpwQrmKGnRT2gcVQ+o0K97bs=; b=mWySz+CDRAF6AJReZnOYB83wIEO08pEdjXC7xKYrnzi2J8he53D1TvzU0J1WkwlsZFn2ju7k9lcaPiDkF4nqalxKjt5IJzfp7EDj/5qrLHpjS5bDF9HiGMUIGRw07YGQXDGhGW3CCdaNvmDfcNjdgWhrA6jDBzhr8EKR+IZ14UkDUJuW2WROq4XhF+EOPufsmyR8aXei3kYdfyfQ8aPaFqFg0N0zef+gvOkQY8plixdULFvXxH0Mro8/BIkHSJYKTmV1F6t+LF9pGpKXTaxjfaWFT2t9n31QVOcQnXxjM/ospvKexXRJkdNH0MxDWaNGQ4zPJwSelLYBq/a2B3aUEg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=brfgLOFlKw3WCcKqstyG6HhXIGqqV0QVjkdi2yUH61lIF3qQCbqE00sOEe82V4uRNV9ro6d3atdoYOhmVJjmX4Pb+Xb7RQCHlYCxwoawDPG0ZNUZC57j3jlGEFE9Q6BujLltLbkJ4sciSdCzujX8IqfPWUdqD77Dvq00QC/Tl4JizrrNqJfRHWJfFZ/rlCtIhbzUhMuxtU9WBzFoCk8eTKPWiJMbN//tL6FvdL2pS/FN9PEo71WPyWTJ1ywo+THNiwvjOmP57B3A/KJzPnkaxEsoKSB1Psd7NaqtW69QuZODbLmBtqXecsV6ks5AdEXQHlNooA/Jtldr8HVD64c8Ww==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 14 Mar 2023 15:12:19 +0000
  • Ironport-data: A9a23:bW+O0qnuDbxOsuRqn++xvivo5gy0J0RdPkR7XQ2eYbSJt1+Wr1Gzt xIZCGmPbvyDMTH2ct1xad+x9RwEvcWGxt9rSVA9qCs1ECMWpZLJC+rCIxarNUt+DCFhoGFPt JxCN4aafKjYaleG+39B55C49SEUOZmgH+a6U6icfHgqH2eIcQ954Tp7gek1n4V0ttawBgKJq LvartbWfVSowFaYCEpNg064gE4p7aSaVA8w5ARkPqgQ5QOGzRH5MbpETU2PByqgKmVrNrbSq 9brlNmR4m7f9hExPdKp+p6TnpoiG+O60aCm0xK6aoD66vRwjnVaPpUTbZLwXXx/mTSR9+2d/ f0W3XCGpaXFCYWX8AgVe0Ew/yiTpsSq8pefSZS0mZT7I0Er7xIAahihZa07FdRwxwp5PY1B3 fASAg8yTz+Ru7ivneKad7lAouB5fMa+aevzulk4pd3YJdAPZMmaBo7tvJpf1jp2gd1SF/HDY cZfcSBocBnLfxxIPBEQFY46m+CrwHL4dlW0qnrM/fZxvzeVkVI3iee3WDbWUoXiqcF9t0CUv G/ZuU/+BQkXLoe3wjuZ6HO8wOTImEsXXapLTOXnrqA73A37Kmo7FwJKFl2c//yDkmWAXO5QB 2BX5zs2sv1nnKCsZpynN/Gim1aYtxUcSt1WJOIn7imSx6CS7wvxLmoOQyNFadcmnNQrXjFs3 ViM9/v5CDoqvLCLRHa18raPsSj0KSUTNXUFZyIPUU0C+daLnW0ophfGT9ImG6nsiNTwQGj02 2rT83J4gKgPh8kW0an95UrAnz+nupnOSEgy+xnTWWWmqAh+YeZJerCV1LQS1t4YRK7xc7VLl CZsdxS2hAzWMaywqQ==
  • Ironport-hdrordr: A9a23:W77enKsgZrJXXY8ScKIGkQfx7skCDYMji2hC6mlwRA09TyVXrb HLoB17726BtN91YhpPpTnuAsm9qAznhOFICOUqXItKPzOWyldAUrsSj7cKqgeIc0fDH4VmpM RdmsZFebjN5VMTt7eF3OHReexN/DHtmprGuQ8QpU0BcShaL5hFqyNFIkKjFEtyLTM2cKbQ1v Cnl7t6T/7LQwVlUix/bEN1L9Qr3Oe7867OUFo9Hhs67wvLpSqwgYSKaySw71MlSjZSxrVn2n TElgGR3NTej9iLjiXE0nPV7dBwkN/so+EzYvCku4wuMzDxjQTtQppnV6bqhkFNnMifrGwylc XKoVMbH+kb0QKrQkiF5SH13hXm0nIV52T8xUS+iX/uyPaJPg4SOo56nIdEdRmc1EY6ptF718 twrh+ki6Y=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 14/03/2023 2:53 pm, Denis wrote:
> On 14.03.2023 07:37; Jan Beulich wrote:
>> On 14.03.2023 02:15, Denis wrote:
>>> On 13.03.2023 10:36, Jan wrote
>>>> On 10.03.2023 21:50, Denis wrote:
>>>>> Should I test something else?
>>>> ... there was no request for any further testing here, for the moment.
>>> ah...sorry, going by "Would be nice to have this confirmed forthe system
>>> in question, i.e. without Xen underneath Linux" I thought I could test
>>> something which might help shed some light on all of this.
>> Well, yes, that Linux-without-Xen test would still be useful to have
>> results from. I didn't account for this in my earlier reply because
>> I had asked for it before already, and I did take "something else"
>> for meaning anything that might have turned up as useful from the new
>> data you had provided.
> What tests could I do or what info should I provide to help?

Can you please rebuild Xen with this patch:

diff --git a/xen/drivers/passthrough/amd/iommu_acpi.c
b/xen/drivers/passthrough/amd/iommu_acpi.c
index 2fdebd2d74c9..747eae25f56c 100644
--- a/xen/drivers/passthrough/amd/iommu_acpi.c
+++ b/xen/drivers/passthrough/amd/iommu_acpi.c
@@ -1033,7 +1033,7 @@ static int __init parse_ivrs_table(struct
acpi_table_header *table)
     const struct acpi_ivrs_header *ivrs_block;
     unsigned long length;
     unsigned int apic;
-    bool_t sb_ioapic = !iommu_intremap;
+    bool_t sb_ioapic = 1;
     int error = 0;
 
     BUG_ON(!table);

which should cause the behaviour to revert back to that of Xen 4.0.1 
(i.e. it will fully ignore the checks relating to the southbridge ioapic).

Confirm that with this, and booting Xen simply with `iommu=1` that full
DMA remapping and interrupt remapping is considered active.


Then, can you play around with passing the soundblaster through to VMs. 
Looking at the LSPCI you provided, it only supports legacy line interrupts.

Does the device work fine, or do you get a bunch of errors on `xl dmesg`
about IO page faults (which is a generic "IOMMU said no to something"
message)?

~Andrew



 


Rackspace

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