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

Re: Ranconfig failure between VT-d and HVM


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • Date: Wed, 20 Apr 2022 18:01:20 +0000
  • Accept-language: en-GB, en-US
  • 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=V4eKRoYraXiZ5Xl7eXfR+PhSvzcIiRTT8tSAkFum5JU=; b=d9u2DWkRH+Rf9GyEMHJi6OAqCGOlfknpGMZevhVd0OdB5VXvmtYs7BVQevmcV4vcf6yw/XfurTxuka2HJoOuHnuOX5NBrgXxabqmKqh6qfor4DGeScUOuRtkLoDZbq9LY0Ht7W2cDW8zzfeywgyxRFWOIB6chwaOa0X6TDkHnWMcs366nMDDsnCuHt/ua/WdDbFbnOqyn3clFD3NL8qu2VguWdwPPGgi0dGpUKf9Yple1lJ4nKDrm1m+EUmCN+6WCnl2Xs7fhxYJO11yL3x1nfoFjOSV2c4cQIonm2r3TyvwqLn2TsqRhdyLzzKOL/gCceMyS0mr3c+vXPoxgLr2hA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iEC/P2exux22RuAbTBTUHRrhLSViev8kS6rh+9Wv+J2YOKS21uQ2fjM7/Z90+eB32UeQufgplfMuLFPG5gPIB5DOq928MMS4Mi9km/AalraxhusTHtp/WmqhApRzU25YlkAoBPMxGfbgd4QF4EgqDvE9GCiyZWX0BbUUOjs3VxOLHMi8/k74sdAA+/xwvwt2jtSOiy/BgdXGvvKmIZfzWA4wV2gDoFbeZD49MiriwUHBbwaieC1WoCd/woEKPQeisZaadWlaaXV6LReY0eLavN67lRaN8qSAKuKN3kgLG+hs5UaGlPYbk0hQ+tSNhIAZhQmJ5KlyybT8+wEAANgFoA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 20 Apr 2022 18:01:37 +0000
  • Ironport-data: A9a23:dcm9Fq91t2wvZktDQe7RDrUD73+TJUtcMsCJ2f8bNWPcYEJGY0x3z jYaDD2DOfeNNGujKoh2bYji9hxQ75XTytI1SARvrCg8E34SpcT7XtnIdU2Y0wF+jyHgoOCLy +1EN7Es+ehtFie0Si+Fa+Sn9T8mvU2xbuKU5NTsY0idfic5DnZ54f5fs7Rh2NQw3YLhW1nlV e7a+KUzBnf0g1aYDUpMg06zgEsHUCPa4W5wUvQWPJinjXeG/5UnJMt3yZKZdhMUdrJ8DO+iL 9sv+Znilo/vE7XBPfv++lrzWhVirrc/pmFigFIOM0SpqkAqSiDfTs/XnRfTAKtao2zhojx/9 DlCnce9bD91NbTHo9UmTUBfLw9uA5Qe0qCSdBBTseTLp6HHW13F5qw0SW0TY8gf8OsxBnxS/ /sFLjxLdgqEm++93LO8TK9rm9gnK87oeogYvxmMzxmAVapgHc+FHvSMvIAGtNszrpkm8fL2T swVczdwKj/HZAVCIAw/A5Mihua4wHL4dlW0rXrL9PtruzGNnWSd1pDSK/3FK+etevxIm0zJi lKW2mDgUhoFYYn3JT2ttyjEavX0tSHxVZ8WFba43uV3m1DVzWsWYDUGWF3+rfSnh0qWX9NEN 1dS6icotbI19kGgUp/6RRLQnZKflhsVWt4VH+hk7giIk/DQ+1zAWTZCSSNdYts7ssNwXSYty lKCg9LuA3poraGRTnWesLyTqFteJBQoEIPLXgdcJSNt3jUpiNhbYs7nJjq7LJOIsw==
  • Ironport-hdrordr: A9a23:aAyrxq82DBYKUywpKkduk+DyI+orL9Y04lQ7vn2ZESYlFvBw5P re+8jztCWZtN9/YgBDpTntAsa9qBDnhOVICOsqTNKftWDd0QPCRuxfBOPZskfd8kbFl9K1oJ 0QEJSWf+eRMbEVt6jHCNXRKadc/DDNytHPuQ6X9QYVcehFUdAZ0ztE
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHYVN7zVpKNKLs79U2pM+0BQOt1bqz5F4eA
  • Thread-topic: Ranconfig failure between VT-d and HVM

On 20/04/2022 18:49, Andrew Cooper wrote:
> https://gitlab.com/xen-project/people/andyhhp/xen/-/jobs/2355562119
>
> ld: prelink.o: in function `vtd_setup':
> drivers/passthrough/vtd/iommu.c:(.init.text+0x219f6): undefined
> reference to `opt_hap_2mb'
> drivers/passthrough/vtd/iommu.c:(.init.text+0x219f6): relocation
> truncated to fit: R_X86_64_PC32 against undefined symbol `opt_hap_2mb'
> ld: drivers/passthrough/vtd/iommu.c:(.init.text+0x21a23): undefined
> reference to `opt_hap_1gb'
> drivers/passthrough/vtd/iommu.c:(.init.text+0x21a23): relocation
> truncated to fit: R_X86_64_PC32 against undefined symbol `opt_hap_1gb'
> ld: ./.xen-syms.0: hidden symbol `opt_hap_2mb' isn't defined
> ld: final link failed: bad value
> make[3]: *** [arch/x86/Makefile:137: xen-syms] Error 1
>
> It's really not clear why this has first show up now.  There has been a
> huge quantity of noise in Gitlab CI for the past 3 weeks with ARM being
> offline, but I can't see anything relevant in the large number of IOMMU
> changes in that period.
>
> Anyway, the issue is simple.  It's vtd_ept_page_compatible() in a
> !CONFIG_HVM build.

And just after sending, I realised it's not an IOMMU change.

commit c479415610f0448bb07d39185e72ef36e08ebec0
Author: Jan Beulich <jbeulich@xxxxxxxx>
Date:   Fri Apr 8 13:50:29 2022

    x86/P2M: p2m.c is HVM-only


CI disputes the claim.

~Andrew

 


Rackspace

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