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

Re: IGD pass-through failures since 4.10.


  • To: "Dr. Greg" <greg@xxxxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Mon, 14 Feb 2022 10:21:01 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=e93GEiZLikR/MygTaIWrH1FCGnuc38AdZzBR5cJbqN4=; b=a8OEpOJJUtuUQtpyrh15TknoTCQ24c3KAQU2zZ3Ov3V7nA9eiXTe4I26wbwZrB6uM/9dxBOpipN3iw0GwspBdmu69DqrGKh8Rg/rGzeesEFPBzEUFaIZz2t8dg4q7AFfmtXOwt8UDLHSD2SnKG7v6dqCTeYF1VwJ4qP+CHI2haYgz1/QnctKs6qqKoytQeH8iS5fj8lReBOfGytII78T4hhk+994xyNgMvgu6TlMAtOTaH+Mivmji3Toux2e+BTEcKI+ArvNLiCdMHzhpHlDtjamnXXwFkiOhq3LsID6N3h05tlz2RA5EnYuGPGZOnqKTyThdKPxUf7aHhHXJJb40g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BVb2oEWwpzSUXb5Ff6eyVSz3jZJDqlq8GyCSFlt++ZobBzVaKQ02a+pH54lS6b4AltcEafBXKNGQUZ3xot3T9/cMT28T2qjcfBAGNRgVFyPjzJGtHd1yxHAvt0DFgWzrUyk9NKXh35DWOW1Yv94swlTHgpkWRcsDzDBtfDgvm4lxEUkE4uUkyhi9ffDoSb8JpFSOElkXVG5Yu1HkZ44Lz7GhtiowosazwXJ0Fc7JZFsdB+AtBZxI/l+ooKJW3lRtYnomC3jYSDjJ4n7XrKUPDzZZupU16xqwH3j0L5VCrzUbKM6o7xi74O3+MSAuan0i52Q4XcNnSkgpoyx6CbG4sQ==
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: <xen-devel@xxxxxxxxxxxxx>
  • Delivery-date: Mon, 14 Feb 2022 09:21:16 +0000
  • Ironport-data: A9a23:ZIcwQqiAnmq+K1OeTr7bz4wuX161XBcKZh0ujC45NGQN5FlHY01je htvDGuDa/2KZWf0KNtzPYrk9UkDvZDTz9cyT1Zp/n83EXgb9cadCdqndUqhZCn6wu8v7a5EA 2fyTvGacajYm1eF/k/F3oAMKRCQ7InQLlbGILes1htZGEk0GE/NtTo5w7Rj2tQx3YDga++wk YiaT/P3aQfNNwFcagr424rbwP+4lK2v0N+wlgVWicFj5DcypVFMZH4sDfjZw0/DaptVBoaHq 9Prl9lVyI97EyAFUbtJmp6jGqEDryW70QKm0hK6UID66vROS7BbPg/W+5PwZG8O4whlkeydx /0Kv7KgVyZ0BJfJxtZDYT8AQyBZAIFvreqvzXiX6aR/zmXDenrohf5vEFs3LcsT/eMf7WNmr KJCbmpXN1ba2rzwkOnTpupE36zPKOHxO4wSoDd4xCzxBvc6W5HTBa7N4Le02R9u2pgVQq6CO aL1bxI+NxrjSjdwFmw4M4I8peD0oEXQTTth/Qf9Sa0fvDGIkV0ZPKLWGMrYfJmGSNtYmm6cp 3na5CLpDxdcM8aQoRKK6H+jruLJny7/XIMZUra/85ZXbEa7nzJJTkdMDB3i/Kf/2hXWt89jx 1I8vSAAvbYTqXaRS4fPAS+e+C6FmSMwco8FewEl0z2lxq3R6gefI2ELSD9dddAr3PMLqSwWO kyhxI2wW2E22FGBYTfEr+rP82vuUcQABTJaPUc5oR05D84PSW3ZpjbGVZ5dHaG8lbUZ8hmgk mnR/EDSa1j+5PPnNplXH3ia2VpARbCTF2bZAzk7uUr/sGtEiHaNPdDA1LQixa8owHylZ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1H8a1P 335zswNcV67H3cOkmzvBvWwgHllA0j7nfzoGXo9kfLkIjcfnYXGsBBjYVWfl/y8Ew7puxx16 pNwiawq4dXJQmoplWz2/H4EzVR0makq3srluAey1ZFV5EFVbNXpYsDuGtIDZY7Gj7g4oxPKp gjMCjl3ocWTbqmVQGYgoE2q+bcHUjbXy32D3Tqg/blnQS/xxtCvgklLM92pAZ1yHtycegA2w 3+CNUZqFh5dL5iUUtMPpZxfSKJMB2/ffvtChPlHb21LtBPB5ryw6SHkondotvaPKA18A==
  • Ironport-sdr: Gey/G3I7B7AKDqtOrXYnpGExfc5ruVYSNhH6HxkwxsZLrOFg8aT6yS46iiApK2rQW4OLKBb6/B 329iQeVszSfQyBdceDvXPmx8fiAYg3bf7x9Pi8tdnPyyB3ONYbaU/owBTms0jZbSqpBUXABT+w X3wEF4UBvQUscXzhRr4bGdBRS1WGBSnAFsf5lsKvKNXAbsgzZOaIECDcsvLRfs+/WlEsejC2Do VJ+/CQujCv8ZCQ5YUSwb/qNKC0u6syeeacTOvENpzLQ06XNE6HnAoG3xyN7YIkk4Z+BmlvqGdw W1Q/Hd2WNiBzFHNsijnpizLm
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Feb 14, 2022 at 12:00:11AM -0600, Dr. Greg wrote:
> Good morning, I hope the week is starting well for everyone.
> 
> We've made extensive use of PCI based graphics pass through for many
> years, since around Xen 4.2.  In fact, we maintained a set of patches
> for ATI cards against qemu-traditional that have seen a lot of
> downloads from our FTP site.
> 
> We ended up switching to IGD based graphics a couple of years ago and
> built a stack on top of Xen 4.10 using qemu-traditional.  That
> coincided with our transition from Windows 7 to Windows 10.
> 
> We've never enjoyed anywhere near the stability with IGD/Windows-10
> that we had with the ATI/Windows-7 desktops, ie. we see fairly
> frequent crashes, lockups, reduced performance etc.  The ATI/Windows-y
> desktops were almost astonishingly reliable, ie. hundreds of
> consecutive Windows VM boot/passthrough cycles.
> 
> In order to try and address this issue we set out to upgrade our
> workstation infrastructure.  Unfortunately we haven't found anything
> that has worked post 4.10.
> 
> To be precise, 4.11 with qemu-traditional works, but upon exit from
> the virtual machine, to which the graphics adapter and USB controller
> are passed through to, both the USB controller and the graphics
> controller cannot be re-initialized and re-attached to the Dom0
> instance.
> 
> It appears to be a problem with mapping interrupts back to dom0 given
> that we see the following:
> 
> Feb 10 08:16:05 hostname kernel: xhci_hcd 0000:00:14.0: xen map irq failed 
> -19 for 32752 domain
> 
> Feb 10 08:16:05 hostname kernel: i915 0000:00:02.0: xen map irq failed -19 
> for 32752 domain
> 
> Feb 10 08:16:12 hostname kernel: xhci_hcd 0000:00:14.0: Error while assigning 
> device slot ID

Are you testing with an hypervisor with debug enabled? If not, please
build one and see if there are any messages in Xen dmesg also as a
result of the error (uisng `xl dmesg` if you don't have a serial
attached to the box). Posting full Linux and Xen dmesgs (Xen build
with debug=y) could also help.

PHYSDEVOP_map_pirq is failing but without further information it's
impossible to limit the scope of the issue (and whether the issue is
with PHYSDEVOP_map_pirq or some previous operation).

Thanks, Roger.



 


Rackspace

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