Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 15D9ECD342C for ; Wed, 6 May 2026 11:15:57 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1301598.1575849 (Exim 4.92) (envelope-from ) id 1wKaDy-00042E-MY; Wed, 06 May 2026 11:15:30 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1301598.1575849; Wed, 06 May 2026 11:15:30 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wKaDy-000427-Jc; Wed, 06 May 2026 11:15:30 +0000 Received: by outflank-mailman (input) for mailman id 1301598; Wed, 06 May 2026 11:15:29 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wKaDw-000421-Qs for xen-devel@lists.xenproject.org; Wed, 06 May 2026 11:15:29 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1wKaDw-008YH2-7X for xen-devel@lists.xenproject.org; Wed, 06 May 2026 13:15:28 +0200 Received: from [10.42.69.3] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 69fb22c8-5cb7-0a2a0a5109dd-0a2a4503a178-22 for ; Wed, 06 May 2026 13:15:28 +0200 Received: from [202.12.124.144] (helo=fout-b1-smtp.messagingengine.com) by tlsNG-33051d.mxtls.expurgate.net with ESMTPS (eXpurgate 4.56.1) (envelope-from ) id 69fb22ce-672d-0a2a45030019-ca0c7c90ab75-3 for ; Wed, 06 May 2026 13:15:27 +0200 Received: from phl-compute-08.internal (phl-compute-08.internal [10.202.2.48]) by mailfout.stl.internal (Postfix) with ESMTP id A82131D0006B; Wed, 6 May 2026 07:15:25 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Wed, 06 May 2026 07:15:25 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 6 May 2026 07:15:24 -0400 (EDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=fm2 header.d=invisiblethingslab.com header.i="@invisiblethingslab.com" header.h="Cc:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=fm3 header.d=messagingengine.com header.i="@messagingengine.com" header.h="Cc:Content-Type:Date:Feedback-ID:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To:X-ME-Proxy:X-ME-Sender" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1778066125; x=1778152525; bh=kp6rrEQL9W6mD3SdFOu0W9/67fVZf8A+p9FWAp0Hfyw=; b= m6Yc2fDV9t1ilZHLXe8aAAoN3ht/vuv3dDXuCiWCh6KlFql5QGiuVcW/ENPcuYdb PE102EqmmJEScSd1jb/nLyV1reyVfGPjeTnblZc+YtkBUCmoPnMo9063WMoAy3X8 PiWzvsmf6QO3FPwkXAIItzxqLij1gkcw3i9SIrmENopeOnnOP+FrAr/edhWa/QRy VgzE2Wa8GcOd1+Vfcq/3eSqbJcU2GBVszkrcmXp78L2/gQsyTCDdCjur8Y7jffnI e65N4qTrAsKcUmBioUibRtdPhWbvvY97mktzmn/LFGlI/E/sPUq7inOaJei0Rryi u1bQRAi5zIUptyKtmhVVSQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1778066125; x=1778152525; bh=kp6rrEQL9W6mD3SdFOu0W9/67fVZf8A+p9F WAp0Hfyw=; b=Jd276WukIJcp+meM3LWSbEw5JPTiFJPwIj0KVIwnqs0LpkXedZo +kG6nYNuBdZClTUiNwsoucHHMYBteqHwCjMHhLG8FDcagj3y2EreU1lII59xfUOh q53clJWBdog8+OUIx1bwoSjWYkT+sKIKQbZ9b2rkdxyelPSLic+zTSiEakIiZp4p EGgZo5sDoLfRPlnwVTjgVKSHOjac3FRNp96pZpQLQZbQhs3b5k+1c5JUO7jfp/G/ SAEbPXeqL3fP6jUdNJn938UOFebZzvQ2aaDe2OhySJgI9OooC3b+caDn1fIKWQWN jOBDbHnFYP55ITosg5zoaYD22nnBS1FOoqA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddutdeggeegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesghdtroertddtjeenucfhrhhomhepofgrrhgvkhcu ofgrrhgtiiihkhhofihskhhiqdfikphrvggtkhhiuceomhgrrhhmrghrvghksehinhhvih hsihgslhgvthhhihhnghhslhgrsgdrtghomheqnecuggftrfgrthhtvghrnhepleeutdev feffueelgfduieevuefftdekheevjeeiiefgtedttdefgfekheduteefnecuffhomhgrih hnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehmrghrmhgrrhgvkhesihhnvhhishhisghlvghthhhinhhgshhlrg gsrdgtohhmpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphht thhopehrohhgvghrrdhprghusegtihhtrhhigidrtghomhdprhgtphhtthhopehjghhroh hsshesshhushgvrdgtohhmpdhrtghpthhtohepgigvnhdquggvvhgvlheslhhishhtshdr gigvnhhprhhojhgvtghtrdhorhhg X-ME-Proxy: Feedback-ID: i1568416f:Fastmail Date: Wed, 6 May 2026 13:15:22 +0200 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Roger Pau =?utf-8?B?TW9ubsOp?= Cc: =?utf-8?B?SsO8cmdlbiBHcm/Dnw==?= , "xen-devel@lists.xenproject.org" Subject: Re: Problem with PCI-passthrough to PV guest Message-ID: References: <04c8ed4e-4e99-46ae-b83d-af9031f5b622@suse.com> <4ca0f24d-2526-4e49-a4e0-f8497aa8f4b0@suse.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BPtx1NF9RdXMA+6z" Content-Disposition: inline In-Reply-To: X-purgate-ID: tlsNG-33051d/1778066127-41B92938-64094735/0/0 X-purgate-type: clean X-purgate-size: 2720 --BPtx1NF9RdXMA+6z Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Wed, 6 May 2026 13:15:22 +0200 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Roger Pau =?utf-8?B?TW9ubsOp?= Cc: =?utf-8?B?SsO8cmdlbiBHcm/Dnw==?= , "xen-devel@lists.xenproject.org" Subject: Re: Problem with PCI-passthrough to PV guest On Wed, May 06, 2026 at 11:18:28AM +0200, Roger Pau Monn=C3=A9 wrote: > On Wed, May 06, 2026 at 10:45:49AM +0200, J=C3=BCrgen Gro=C3=9F wrote: > > On 05.05.26 20:47, Roger Pau Monn=C3=A9 wrote: > > > On Tue, May 05, 2026 at 05:53:31PM +0200, J=C3=BCrgen Gro=C3=9F wrote: > > > > SUSE QA is seeing a problem with PCI-passthrough of a SR-IOV to a P= V guest > > > > running a 6.4 based kernel, but I can reproduce the problem with up= stream > > > > kernel, too. > >=20 > > Uh, seems my tested kernel was only "nearly upstream" (it was an early > > 7.0 kernel). It was missing commit 0949c646d646, which makes the differ= ence. > >=20 > > So for now this issue will only show up for cases where a PV-guest is > > setup for PCI passthrough and it gets memory hotplugged before the PCI > > device is added to it. >=20 > Hm, yes, this is yet more fallout from the unpopulated-alloc changes. > For PV guests that have the e820 host available we could try to create > the hotplug regions over what are host RAM region in the memory map, > as then we know we won't be overlapping with MMIO areas. FWIW, my Linux testing series also(?) found a PV PCI-passthrough issue in recent Linux (linux-next from a few days ago there). While it looks to be a different issue, it would help a lot to have that series in, to at least detect regressions early. See https://lore.kernel.org/xen-devel/cover.30e6171ddf1c6a72eadf4af0a77c892d4f1= 8d811.1777898148.git-series.marmarek@invisiblethingslab.com/ --=20 Best Regards, Marek Marczykowski-G=C3=B3recki Invisible Things Lab --BPtx1NF9RdXMA+6z Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmn7IsoACgkQ24/THMrX 1yzPYAgAgL0huzKRxGal0fySxl+meBobKw0S0jiS74w24B6k4KQkl8hmw/CwNhYq zSK17H8yOFaIVTI1rZoyHn7ZYP2siwn65wkB7wo5FWzp7ArZo4l9olERLrj+m29n XZyKUdjsvakSpF7jcl66SVi6tHpVR1Gkn2+Ve+LXlmn1deUmsfdxaAZpdkxjlxpM pvIEo83m8DEdN8kjdbRXiU/IhiUT/wI8r12pItFoO7VyxSNs1gd4vWvCZHYG1aXf Z8ABTE7E54GUKyibvWXmK+ZK/vUoxpsbaz1DqMOh7N+u2J+BoSvYJdCzoWnzz2fU pajl8R+7UzBQYuETMHZ3nZx67v2nWw== =+GUB -----END PGP SIGNATURE----- --BPtx1NF9RdXMA+6z--