From mboxrd@z Thu Jan 1 00:00:00 1970 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 52F5BE77188 for ; Fri, 3 Jan 2025 18:10:53 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.864611.1275816 (Exim 4.92) (envelope-from ) id 1tTm7j-0002jc-ME; Fri, 03 Jan 2025 18:10:15 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 864611.1275816; Fri, 03 Jan 2025 18:10:15 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tTm7j-0002jV-JT; Fri, 03 Jan 2025 18:10:15 +0000 Received: by outflank-mailman (input) for mailman id 864611; Fri, 03 Jan 2025 18:10:13 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tTm7h-0002jP-PH for xen-devel@lists.xenproject.org; Fri, 03 Jan 2025 18:10:13 +0000 Received: from flow-b2-smtp.messagingengine.com (flow-b2-smtp.messagingengine.com [202.12.124.137]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id f6f54335-c9fd-11ef-99a4-01e77a169b0f; Fri, 03 Jan 2025 19:10:08 +0100 (CET) Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailflow.stl.internal (Postfix) with ESMTP id 115A61D40989; Fri, 3 Jan 2025 13:10:06 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Fri, 03 Jan 2025 13:10:07 -0500 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Jan 2025 13:09:54 -0500 (EST) 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" X-Inumbo-ID: f6f54335-c9fd-11ef-99a4-01e77a169b0f 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=1735927805; x=1735935005; bh=hJC8t2zQcYbMlocgzOTCoo+YKCbPjNASrYrXMiYm4gQ=; b= nWR4vMgAWYHOnuUE+AJAAZLXtSrvbQMw7WdfA5d1lmXvuzGrotvbi2D6WFzT51WL kDyRgLgVWqG/xDKKq24hyZSosMxxFT9fjKN6txsx69kzyJgOZg+WsycpXhkWa2EC SsiXQkhL+10tHMA0qZujbB0C/JdpeF813Ll/qnqbhzqMOVTDQv5gJ3J6NLPD4r9N z22r9QMRv4WXpcPE/P8sNOG/01eVD9m8xXrWZ8u9+pwLeqY6nyfn2dODvCZGIvax Jd65aAIBAv4CFKI+vmwBV99zunvBXT095w2r8nOzzzG1Aix80V2EdfRJAkaz6+Pb doPZUYwJMntgn0Nw4jSXYg== 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=fm2; t= 1735927805; x=1735935005; bh=hJC8t2zQcYbMlocgzOTCoo+YKCbPjNASrYr XMiYm4gQ=; b=FVX/4JQ6/hDpukqzLVB498nsl+dAQ2hqMzxVbYbfyLFf6pNmHZ0 Qm1v2Qioq7eKVnu2jU4qiUKnHjpR7PcbeC1WDiFE5Hcp/pUiWadCIFdG9rVqU17S eKT3iX8Al4xlCnx33EgxkueGOiYIvdth/mVHxr36KgBJaotUCu9CYx3Yg2nZDvsi 05o0268nkfqSf9dtIqnFru/poM8ZBsa4Fp7aXOMEGY5mqpcBJ0yAB30dWD1IJqYW cQYPzILQBy3vNCQhyOOquXf8mym8Iqqeacsi7BL/3L2AgKUAle9pmWgqOHs0Pgov CuqvCsos84/aKgqEQxq0uwx+EaFYo0x7mJg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudefgedguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttdej necuhfhrohhmpeforghrvghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoe hmrghrmhgrrhgvkhesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucgg tffrrghtthgvrhhnpedvieegfefgieejuedutefhffehjeegjeevuedtgeduteeujeetve evudevieffkeenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhkvghrnhgvlhdrohhr ghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrg hrmhgrrhgvkhesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmpdhnsggprhgt phhtthhopeegiedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprghnughrvgifrd gtohhophgvrhefsegtihhtrhhigidrtghomhdprhgtphhtthhopehjghhrohhsshesshhu shgvrdgtohhmpdhrtghpthhtohepgigvnhdquggvvhgvlheslhhishhtshdrgigvnhhprh hojhgvtghtrdhorhhgpdhrtghpthhtoheprhhpphhtsehkvghrnhgvlhdrohhrghdprhgt phhtthhopehmtghgrhhofheskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprghnughrvg grshesghgrihhslhgvrhdrtghomhdprhgtphhtthhopehluhhtoheskhgvrhhnvghlrdho rhhgpdhrtghpthhtoheprghruggssehkvghrnhgvlhdrohhrghdprhgtphhtthhopegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i1568416f:Fastmail Date: Fri, 3 Jan 2025 19:09:52 +0100 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Andrew Cooper Cc: =?utf-8?B?SsO8cmdlbiBHcm/Dnw==?= , xen-devel , Mike Rapoport , Luis Chamberlain , Andreas Larsson , Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Brian Cain , Catalin Marinas , Christophe Leroy , Christoph Hellwig , Dave Hansen , Dinh Nguyen , Geert Uytterhoeven , Guo Ren , Helge Deller , Huacai Chen , Ingo Molnar , Johannes Berg , John Paul Adrian Glaubitz , Kent Overstreet , "Liam R. Howlett" , Mark Rutland , Masami Hiramatsu , Matt Turner , Max Filippov , Michael Ellerman , Michal Simek , Oleg Nesterov , Palmer Dabbelt , Peter Zijlstra , Richard Weinberger , Russell King , Song Liu , Stafford Horne , Steven Rostedt , Suren Baghdasaryan , Thomas Bogendoerfer , Thomas Gleixner , Uladzislau Rezki , Vineet Gupta , Will Deacon , Andrew Morton Subject: Re: Linux 6.13-rc5 Xen HVM with PCI passthrough (USB controller) crash Message-ID: References: <6bb03333-74ca-4c2c-85a8-72549b85a5b4@suse.com> <08f9604b-df23-4766-a290-ef9daa506f8d@suse.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1kggHxHjQ/xzifQq" Content-Disposition: inline In-Reply-To: --1kggHxHjQ/xzifQq Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Fri, 3 Jan 2025 19:09:52 +0100 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Andrew Cooper Cc: =?utf-8?B?SsO8cmdlbiBHcm/Dnw==?= , xen-devel , Mike Rapoport , Luis Chamberlain , Andreas Larsson , Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Brian Cain , Catalin Marinas , Christophe Leroy , Christoph Hellwig , Dave Hansen , Dinh Nguyen , Geert Uytterhoeven , Guo Ren , Helge Deller , Huacai Chen , Ingo Molnar , Johannes Berg , John Paul Adrian Glaubitz , Kent Overstreet , "Liam R. Howlett" , Mark Rutland , Masami Hiramatsu , Matt Turner , Max Filippov , Michael Ellerman , Michal Simek , Oleg Nesterov , Palmer Dabbelt , Peter Zijlstra , Richard Weinberger , Russell King , Song Liu , Stafford Horne , Steven Rostedt , Suren Baghdasaryan , Thomas Bogendoerfer , Thomas Gleixner , Uladzislau Rezki , Vineet Gupta , Will Deacon , Andrew Morton Subject: Re: Linux 6.13-rc5 Xen HVM with PCI passthrough (USB controller) crash On Fri, Jan 03, 2025 at 02:00:28AM +0000, Andrew Cooper wrote: > On 03/01/2025 12:42 am, Marek Marczykowski-G=C3=B3recki wrote: > > On Fri, Jan 03, 2025 at 01:18:31AM +0100, Marek Marczykowski-G=C3=B3rec= ki wrote: > >> On Thu, Jan 02, 2025 at 08:39:16PM +0100, Marek Marczykowski-G=C3=B3re= cki wrote: > >>> On Thu, Jan 02, 2025 at 08:17:00PM +0100, J=C3=BCrgen Gro=C3=9F wrote: > >>>> On 02.01.25 19:54, Marek Marczykowski-G=C3=B3recki wrote: > >>>>> There is > >>>>> one issue (likely unrelated to this change) - sys-usb (HVM domU wit= h USB > >>>>> controllers passed through) crashes on a system with Raptor Lake CPU > >>>>> (only, others, including ADL and MTL look fine): > >> Correction, it does happen on some others too, just got the crash on t= he ADL > >> system, although looks a bit different ("Corrupted page table at ..."): > > I've collected some more of them at https://github.com/QubesOS/qubes-is= sues/issues/9681 > > > > Should I start new thread for this? On one hand, it's a different domain > > type (HVM), but on the other hand, many of the crashes are around > > loading modules too. >=20 > https://lore.kernel.org/lkml/20241227072825.1288491-1-rppt@kernel.org/T/#t > looks relevant.=C2=A0 Probably worth following up. As responded there, I don't think so, as that series is not part of 6.13-rc5. But in the meantime, I bisected it and got this commit: 5185e7f9f3bd754ab60680814afd714e2673ef88 is the first bad commit commit 5185e7f9f3bd754ab60680814afd714e2673ef88 Author: Mike Rapoport (Microsoft) Date: Wed Oct 23 19:27:11 2024 +0300 x86/module: enable ROX caches for module text on 64 bit =20 Enable execmem's cache of PMD_SIZE'ed pages mapped as ROX for module te= xt allocations on 64 bit. =20 Link: https://lkml.kernel.org/r/20241023162711.2579610-9-rppt@kernel.org Signed-off-by: Mike Rapoport (Microsoft) Reviewed-by: Luis Chamberlain Tested-by: kdevops Cc: Andreas Larsson Cc: Andy Lutomirski Cc: Ard Biesheuvel Cc: Arnd Bergmann Cc: Borislav Petkov (AMD) Cc: Brian Cain Cc: Catalin Marinas Cc: Christophe Leroy Cc: Christoph Hellwig Cc: Dave Hansen Cc: Dinh Nguyen Cc: Geert Uytterhoeven Cc: Guo Ren Cc: Helge Deller Cc: Huacai Chen Cc: Ingo Molnar Cc: Johannes Berg Cc: John Paul Adrian Glaubitz Cc: Kent Overstreet Cc: Liam R. Howlett Cc: Mark Rutland Cc: Masami Hiramatsu (Google) Cc: Matt Turner Cc: Max Filippov Cc: Michael Ellerman Cc: Michal Simek Cc: Oleg Nesterov Cc: Palmer Dabbelt Cc: Peter Zijlstra Cc: Richard Weinberger Cc: Russell King Cc: Song Liu Cc: Stafford Horne Cc: Steven Rostedt (Google) Cc: Suren Baghdasaryan Cc: Thomas Bogendoerfer Cc: Thomas Gleixner Cc: Uladzislau Rezki (Sony) Cc: Vineet Gupta Cc: Will Deacon Signed-off-by: Andrew Morton arch/x86/Kconfig | 1 + arch/x86/mm/init.c | 37 ++++++++++++++++++++++++++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) I'm extending CC... See initial quoted part for the issue description, and link to collected crash messages. --=20 Best Regards, Marek Marczykowski-G=C3=B3recki Invisible Things Lab --1kggHxHjQ/xzifQq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmd4J/AACgkQ24/THMrX 1yy8hwf/dh/cbJsxOpO9qk6DZ9yCsUt8k6TENfOX9GsohEU1usjUmLGQ2+oTrjbY uzuEzz1XEhogb/Q298CxIKqn3QD6txnFZG/ppKTBPcoS1jLHWdc+9qpzvr5+OhEO +ejbdThVXlZEOXrtqdXXGNpNX288uHnkzKDulw/itqj0zemqvZMJIg4wFU1ROYGI 5Utd1eULz1xWeuV0xaSAud0aVG5VSF+pCL+nOd77FRh2uuM5N2sitnpJX89bTCmy Elb5t8eh4PN7Dv1SWzhWWMgZq6ecD3KijinnDORKZucJIILB0/GGozyRpbMzDE/y 7YgaU2WrACxmNxsW1MIgAThYFnfeGQ== =d/90 -----END PGP SIGNATURE----- --1kggHxHjQ/xzifQq--