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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A770C25B08 for ; Wed, 17 Aug 2022 06:50:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238598AbiHQGuJ (ORCPT ); Wed, 17 Aug 2022 02:50:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238575AbiHQGuH (ORCPT ); Wed, 17 Aug 2022 02:50:07 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C04D25F12E for ; Tue, 16 Aug 2022 23:50:06 -0700 (PDT) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1oOCsO-00059W-SL; Wed, 17 Aug 2022 08:50:04 +0200 Message-ID: <6ca707ac-d9f0-0c39-49c9-d514baf1e9a9@leemhuis.info> Date: Wed, 17 Aug 2022 08:50:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.0 Subject: Re: Xorg SEGV in Xen PV dom0 after updating from 5.16.18 to 5.17.5 #forregzbot Content-Language: en-US From: Thorsten Leemhuis Cc: intel-gfx , LKML References: To: regressions@lists.linux.dev In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1660719006;2f58dd1d; X-HE-SMSGID: 1oOCsO-00059W-SL Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org TWIMC: this mail is primarily send for documentation purposes and for regzbot, my Linux kernel regression tracking bot. These mails usually contain '#forregzbot' in the subject, to make them easy to spot and filter. On 04.05.22 07:46, Thorsten Leemhuis wrote: > On 04.05.22 02:37, Marek Marczykowski-Górecki wrote: >> >> After updating from 5.16.18 to 5.17.5 in Xen PV dom0, my Xorg started >> crashing when displaying any window mapped from a guest (domU) system. >> This is 100% reproducible. >> The system is Qubes OS, and it uses a trick that maps windows content >> from other guests using Xen grant tables, wrapped as "shared memory" >> from Xorg point of view (so, the memory that Xorg mmaps is not just from >> another process, but from another VM). That's the ShmPutImage you can >> see on the stack trace below. >> [...] >> I don't see any related kernel or Xen messages at this time. Xorg's SEGV >> handler prints also: >> >> (EE) Segmentation fault at address 0x3c010 >> >> Git bisect says it's bdd8b6c98239cad ("drm/i915: replace X86_FEATURE_PAT >> with pat_enabled()"), and indeed with this commit reverted on top of >> 5.17.5 everything works fine. >> >> I guess this part of dom0's boot dmesg may be relevant: >> >> [ 0.000949] x86/PAT: MTRRs disabled, skipping PAT initialization too. >> [ 0.000953] x86/PAT: Configuration [0-7]: WB WT UC- UC WC WP UC UC >> >> Originally reported at >> https://github.com/QubesOS/qubes-issues/issues/7479 >> >> #regzbot introduced bdd8b6c98239cad >> #regzbot monitor: https://github.com/QubesOS/qubes-issues/issues/7479 #regzbot fixed-by: 72cbc8f04fe2fa9