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

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


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Denis <tachyon_gun@xxxxxx>
  • Date: Sun, 19 Mar 2023 20:38:58 +0100
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 19 Mar 2023 19:39:22 +0000
  • Importance: normal
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Sensitivity: Normal
  • Ui-outboundreport: notjunk:1;M01:P0:lcgYRYfCrlY=;Y1ytJ4wDOXNw/zAdj43Cf6h7vzl ZvzvvNsseX4yYv/Tc9OqeUMJv8gnsXvzLeYyZ4QntZJ8AuuVZDK0EA6LfmUijJohawDt0EDMe VI61kJVIqD4fWWORq1ayDbJZjEWH8oRX+9qMMXh3lQCKhXA+pdgQxP2xoL7uUqfWLUTIjppBT h/GfCTQIHZDbXuXyvcCVO5S5/P/j5By4W+zlp57q3c9MqPwBP4sBON0m/OLWnmE23wCDXFvol w3zWDd/7HnWWTYIMFmnEojDU3xEuUFdXqJaY1zJfZUsy/1O2zlmjyeeTr5gOyRAOx12lIlyhS 0p1sZ0tdCuwuVIFDEj9iifwdtYMUeYMpV5hMwFmZnskgeFnbucsh29D2KyJ5eD8ndlzODUj6Y t4HuaorEDqU3jXf7BIzO99oyoEKA1iNic3a7zR8BWSJdDrCOBRCJOS91PGFX8TnW29/R7tNHf o1qpQaIhKn+R+Vna61CvQt6h2dXhNUtf/gyLGkPSna+21yGCbcPh7uvVYiNzJ6tHzUOcXD14X Zmrw/4Gg86vINyuL5CRTsuxPHp5dfHdQqWHM7enE4L4LQNMaxZQVZznoLXHPSi8YLzVIQLEBG yFZzJ3HA25iJ9JpPe+4un1nb3cPMDrY5y9KOIhFmjcD/bIOTXckytpll831vhe1ctNP0h07HC 4WCsWrzYCzVZpZXwUMrfdoay1fk3zBSZYmZzIt3E1D+zP1u50IKLz4c8C1sBG6vhfo0zFBSP6 0mH6Do2px9mRG6xHRR8s0FOnZ6V9G8kiv+z0okiodChOXk9j+AUawfqKNtt9zxa9xo0Hc+bI0 JZRohhzzwPrq5xJzIsbZyQW31elrSBuMSWDZvP+AIq1A4=

On 14.03.2023 16:11, Andrew Cooper wrote:
> 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)?

Sorry, it took my awhile to get it done.

The relevant things are enabled again, passthrough works (even the PCI Audigy2) 
and the devices are recognzied in the HVM domU.

As you suspected, there are a few IO page faults at the end of the boot process
(from my limited understanding it's maybe related to 
"00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller 
(rev 41)")

I'll attach the "xl dmesg" output file.


Denis



 


Rackspace

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