From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b3-smtp.messagingengine.com (fhigh-b3-smtp.messagingengine.com [202.12.124.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E44F223FD00 for ; Wed, 11 Dec 2024 13:39:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733924380; cv=none; b=T3wS6Yo5EyLHaKA4WO119oqludOmRHTsmepsvNlyMCHIMrAO9WbWbVq1z1zhAdVIGQMywZVbc2hLbulTyP4++nR9vjEnn05hadHBXxjzbW8LRb/mNhd5LHpEHovsZd5+LXf2SeiOt9Dk/NXH3dIO0Nzsd+oDolJ/wgU3SkZ92Mk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733924380; c=relaxed/simple; bh=cnu584pm+885AvMPFHq5fpzqVh5x3cKDXaoMONeSjN4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LM3f9UgaWJ9XmIANtF6XgG/npfiJQUfhKnPBmk+GwBkIff9lAhCnM8dl+isy8edYQnTVnIULBKEiaNQPAZqC0UmP85oqOIPeW6tC6Gm/iztK8sO0wrt+4zh+6LOgwvBM2T4dhDoll/FH16lDfIvoNkcbkjR8jItXJ4jylTl5eBk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=invisiblethingslab.com; spf=pass smtp.mailfrom=invisiblethingslab.com; dkim=pass (2048-bit key) header.d=invisiblethingslab.com header.i=@invisiblethingslab.com header.b=GSTLnue2; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Mt3v68gh; arc=none smtp.client-ip=202.12.124.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=invisiblethingslab.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=invisiblethingslab.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=invisiblethingslab.com header.i=@invisiblethingslab.com header.b="GSTLnue2"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Mt3v68gh" Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id 7F42A2540206; Wed, 11 Dec 2024 08:39:36 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Wed, 11 Dec 2024 08:39:36 -0500 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=fm1; t=1733924376; x=1734010776; bh=G59R63w7pp1XzMR3o2VnXf8tL/viZNZpLW1rWOzSo18=; b= GSTLnue2+Wl7lKboa0ziFMuIxJ6J4FWaAqXpX2a5BrOtcDrAMv/DMXGEhdElNhcJ 8yuhdG5CeTGhkw5skMSe1Rnriwveg1cB3W82Gm6tU+eac4Vz60xJEXaXwQm1MuMd VW1JKoB3x2pjYbqhguD+KOH51J5FtwlzLa/suYwuWO4Q8aMNPO0CwdV+SFU5FOCq QlQhgsxqN4jTbGRumoLuhmtYlUm8k4qDwnVh5AE0sv7rx6AhaVLRCZpmgXg0u3TF DtoD1Gtbex5pJjI/mLP1i+YfbMeFO2AB8xVI4fGs6C8NnnrQzXKqVBhYEKprYucs eezBbv1jGS9syw7w8UL3BQ== 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=fm1; t= 1733924376; x=1734010776; bh=G59R63w7pp1XzMR3o2VnXf8tL/viZNZpLW1 rWOzSo18=; b=Mt3v68gh2wcMs3WFmNoSVvNN+T76pQqmJrYq1XMVrvARs0vZSCH 7lkt+6Gb/PsyW5A9lxgRtFfF4AzyALIRMPD3LUd13DMo212Efp4YGHOYwva5Zp7f wx3qLZNsiHKT9nCyeYv2sQzIcTkaML+L6W+m8JiLkIZ0y+t6Kdk3aSH3t5apHOr0 vrRkFwlMk4OzpKU612yH7ezvWRwr8L39OEsJ2TF08kYACpst27z9iPfo2V1J3Hqc axr0iWSuIiDhWOtX3uFkEKxUCX4eUfUKSbW8v0F4tY5bza0bxrTBClWu4sdevQNp 0MgU42F5w+7cGewTUO57XFra1kw02HuzxgA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrkedtgdehgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttdejnecu hfhrohhmpeforghrvghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrg hrmhgrrhgvkhesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucggtffr rghtthgvrhhnpefgudelteefvefhfeehieetleeihfejhfeludevteetkeevtedtvdegue etfeejudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehmrghrmhgrrhgvkhesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmpdhnsg gprhgtphhtthhopeekpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrrhgusges khgvrhhnvghlrdhorhhgpdhrtghpthhtohepghhrvghgkhhhsehlihhnuhigfhhouhhnug grthhiohhnrdhorhhgpdhrtghpthhtohepjhhgrhhoshhssehsuhhsvgdrtghomhdprhgt phhtthhopehjrghnughrhihukhesghhmrghilhdrtghomhdprhgtphhtthhopehsshhtrg gsvghllhhinhhisehkvghrnhgvlhdrohhrghdprhgtphhtthhopeholhgvkhhsrghnughr pghthihshhgthhgvnhhkohesvghprghmrdgtohhmpdhrtghpthhtoheprhgvghhrvghssh hiohhnsheslhhishhtshdrlhhinhhugidruggvvhdprhgtphhtthhopeigvghnqdguvghv vghlsehlihhsthhsrdigvghnphhrohhjvggtthdrohhrgh X-ME-Proxy: Feedback-ID: i1568416f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 Dec 2024 08:39:34 -0500 (EST) Date: Wed, 11 Dec 2024 14:39:33 +0100 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Ard Biesheuvel Cc: Greg Kroah-Hartman , =?utf-8?B?SsO8cmdlbiBHcm/Dnw==?= , Jason Andryuk , Stefano Stabellini , Oleksandr Tyshchenko , regressions@lists.linux.dev, xen-devel Subject: Re: [REGRESSION] Linux 6.6.64 crashes when booting as PVH domU Message-ID: References: Precedence: bulk X-Mailing-List: regressions@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ixZe9eDMs4Thjeq6" Content-Disposition: inline In-Reply-To: --ixZe9eDMs4Thjeq6 Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Wed, 11 Dec 2024 14:39:33 +0100 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Ard Biesheuvel Cc: Greg Kroah-Hartman , =?utf-8?B?SsO8cmdlbiBHcm/Dnw==?= , Jason Andryuk , Stefano Stabellini , Oleksandr Tyshchenko , regressions@lists.linux.dev, xen-devel Subject: Re: [REGRESSION] Linux 6.6.64 crashes when booting as PVH domU On Wed, Dec 11, 2024 at 01:37:52PM +0100, Ard Biesheuvel wrote: > (cc Greg) >=20 > On Wed, 11 Dec 2024 at 13:30, Marek Marczykowski-G=C3=B3recki > wrote: > > > > On Wed, Dec 11, 2024 at 01:24:08PM +0100, Ard Biesheuvel wrote: > > > On Wed, 11 Dec 2024 at 12:53, J=C3=BCrgen Gro=C3=9F = wrote: > > > > > > > > Jason, Ard, > > > > > > > > I guess there are some prereq patches missing in stable 6.6.y branc= h? > > > > > > > > > > > > Juergen > > > > > > > > On 11.12.24 12:41, Marek Marczykowski-G=C3=B3recki wrote: > > > > > Hi, > > > > > > > > > > With Linux 6.6.64 I get the following crash on domU boot: > > > > > > > > > > (XEN) d5v0 Triple fault - invoking HVM shutdown action 1 > > > > > (XEN) *** Dumping Dom5 vcpu#0 state: *** > > > > > (XEN) ----[ Xen-4.19.0 x86_64 debug=3Dn Tainted: M ]---- > ... > > > > > > > > > > Linux 6.6.63 works fine. > > > > > > > > > > Looking at the changes, I suspect one of those: > > > > > > > > > > 83d123e27623 x86/pvh: Call C code via the kernel virtual map= ping > > > > > f662b4a69e1d x86/pvh: Set phys_base when calling xen_prepare= _pvh() > > > > > > > > > > > The second patch shouldn't have been backported. It is unnecessary, > > > given that in the old situation, the kernel image needs to be loaded > > > at a fixed address. And it assumes that %rbp is set to the physical > > > load offset, but those patches were not backported. > > > > It has this tag: > > > > Stable-dep-of: e8fbc0d9cab6 ("x86/pvh: Call C code via the kernel v= irtual mapping") > > >=20 > That was added by the stable maintainers - someone grabbed a patch > from the middle of an unrelated series to make e8fbc0d9cab6 apply > without lexical conflicts. >=20 > > Does it mean neither of them should be backported? > > > > But then, the e8fbc0d9cab6 has "Fixes:" tag (pointing at very old > > commit). > > >=20 > If someone thinks e8fbc0d9cab6 should be backported, they should > rebase it onto v6.6.y, not backport random other patches until > git-apply stops complaining. And ideally, someone would build and boot > the result to check whether it works. >=20 > For now, it would be better to revert both. I can confirm that reverting both commits fixes the issue. --=20 Best Regards, Marek Marczykowski-G=C3=B3recki Invisible Things Lab --ixZe9eDMs4Thjeq6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmdZlhUACgkQ24/THMrX 1yw7uQgAjf99iAKxgm+xGSQu3KZ7qFwugk8wI83J91QhOVb49AgP8xARFwT/OAqR DTg9gsbJqBlYrlYel3vcsTSLzOnSyifIKO5wlDid6Yf8MkIRbaPoIR+RAm7cN2sc R4qkljZT4dpt3Pd9mb91LjaGVo2LdNeHXNZs/ZDlkrZezYATfnJhhVc5LxWL8fo1 O6+Jmrtb9d5DccpBU58E6dCD4H6lh5iOTWOQdWLy4AlQsC8Ea9GU/S0w5VZXrSkW 6WMhsG9y9yN/S7nkfk4EBqIIsbGqsxBxyUTA+Pb4fpmBMtlwG4K9xBpOnNxgaI6S mpNisy29Un4rTXLJjkgJU5xUkKWeMQ== =+wW6 -----END PGP SIGNATURE----- --ixZe9eDMs4Thjeq6--