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

Re: Ranconfig failure between VT-d and HVM


  • To: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 21 Apr 2022 10:32:49 +0200
  • 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wJPNkTbujZUJw7XP1mTklYVLa7q+376OQFRedGA2RnM=; b=aKZH21+Q1Tx46g19++qJtc3YXOUWF6DIBexWMiA6dca23dijyXDdjVDQt3W6SusheNdu5gWDHI6ski3U9Sjd+38T2LkE3LBhWA10XYnb3KJKeWQteG9ubw6Zav0wU8FA+JgXlGcRwLx865dr/62I2XmnvMskVrXcZtmhVBw3+TPrxwZstQbH13j6XK9T182mj5G0RaTTbqbV+j04KLKBIktlGwyBP8D8r0ZR101XFr1E6ASgqtD64/Vq5f0eAFg1HosnFeTaAUotSEd0BFRTtPSJrUizcu+sfaq46/gEZHQ9FypcbzsRyw4i1y5F+4aU1zcSXT0oIblLkVCFv3DUrQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A6Yz4Ahj/xULAU3xYkvR5LjlrwHIsP6pbcdQZsShsGF8R5y9JtfJbFbdB48T80HdtD1MGl6BNflcSbEZBZxc03bOxzTdOtIttw4U52vcRNdOGKbW4ra88/nQvwYEqt5AGZLGSSQ5HQrynW3VJ73IRPyDnMi91Pkeiz0McSa1A9lJbBO5syI49r3oZZOg/TzVafG0WGdJ5k19ZQWZOmmenyFkmBf0bCahBwBcaG8vq0TGQl329KAoRniFub1Pi+TmedaBtAABNcHEoRHUW7zUxqjyEexdeTQ4QJAV/LQL0YBGCOu5IEu09t262/DFKstuPnlmoITs+bKuSJnoVKCybg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 21 Apr 2022 08:33:06 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 20.04.2022 20:01, Andrew Cooper wrote:
> 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.

I'm afraid it can't be this simple, as I've been routinely doing !HVM
build for quite some time. There must be some further interaction,
albeit potentially with not-yet-committed further changes of mine. I'll
investigate.

Jan




 


Rackspace

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