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 X-Spam-Level: X-Spam-Status: No, score=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C34B1C636C9 for ; Thu, 15 Jul 2021 21:05:19 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D40261360 for ; Thu, 15 Jul 2021 21:05:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D40261360 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=bugzilla.kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E92646E8BB; Thu, 15 Jul 2021 21:05:18 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id 124486E8BB for ; Thu, 15 Jul 2021 21:05:17 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPS id E0A116128B for ; Thu, 15 Jul 2021 21:05:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626383116; bh=ZNlz3mnSPyL35iPOwrqlEz/Qn3+XRjOw6qY3hM7Jr1g=; h=From:To:Subject:Date:From; b=Ymoo62dkIdaJXDyokJCt+V7fz+iavtV7F0i6oK4T6F1ABAYcnwSS1OMGTYoxth65X 3jubOcKvPd8nScjepY2MQ0vpMXVMcK8DOZNcQCF9uEkK8hmb59+Fs/HAhygtEgpGUr ncUgQSDe5CVhS4G4hLLvYEJkfE64E5mvAP2NAdExqbooQyLIZDFmHs0eLuUiqKwZCT L/NHXU4DGQa3NBucaMZ196RNyPJstl6+A2rFB8nD6RT43lBrVgAXQaLUeiDz+7HeMe g41Vm7/Yz3rIf020vBst6O0FvTXLj7X61hdvgsOZgYcmMnEExsDzxg/ttAjT58q66h 9tVeUypHSgHOQ== From: bugzilla-daemon@bugzilla.kernel.org To: dri-devel@lists.freedesktop.org Subject: [Bug 213751] New: KVM virt w/ qxl fails boot at latest 5.14.0-rc1+ Date: Thu, 15 Jul 2021 21:05:16 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: AssignedTo drivers_video-dri@kernel-bugs.osdl.org X-Bugzilla-Product: Drivers X-Bugzilla-Component: Video(DRI - non Intel) X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocking X-Bugzilla-Who: jpittman@redhat.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: drivers_video-dri@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version cf_kernel_version rep_platform op_sys cf_tree bug_status bug_severity priority component assigned_to reporter cf_regression Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" https://bugzilla.kernel.org/show_bug.cgi?id=3D213751 Bug ID: 213751 Summary: KVM virt w/ qxl fails boot at latest 5.14.0-rc1+ Product: Drivers Version: 2.5 Kernel Version: 5.14.0-rc1+ Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: blocking Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: jpittman@redhat.com Regression: No KVM virt w/ qxl fails boot at latest 5.14.0-rc1+ Limited backtrace: RIP: 0010:qxl_bo_move_notify.part.1+0xc/0x40 [qxl] ttm_bo_cleanup_memtype_use+0x22/0x60 [ttm] ttm_bo_release+0x1b0/0x310 [ttm] Issue bisected to the below commit. [root@localhost linux]# git bisect bad bfa3357ef9abc9d56a2910222d2deeb9f15c91ff is the first bad commit commit bfa3357ef9abc9d56a2910222d2deeb9f15c91ff Author: Christian K=C3=B6nig Date: Thu Apr 15 09:52:58 2021 +0200 drm/ttm: allocate resource object instead of embedding it v2 To improve the handling we want the establish the resource object as ba= se class for the backend allocations. v2: add missing error handling Signed-off-by: Christian K=C3=B6nig Acked-by: Thomas Hellstr=C3=B6m Link: https://patchwork.freedesktop.org/patch/msgid/20210602100914.46246-1-christ= ian.koenig@amd.com drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 54 +++++++++---------- drivers/gpu/drm/nouveau/nouveau_bo.c | 2 +- drivers/gpu/drm/radeon/radeon_ttm.c | 2 +- drivers/gpu/drm/ttm/ttm_bo.c | 83 ++++++++++----------------= ---- drivers/gpu/drm/ttm/ttm_bo_util.c | 43 ++++++++-------- drivers/gpu/drm/ttm/ttm_resource.c | 31 ++++++++--- drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 2 +- include/drm/ttm/ttm_bo_api.h | 1 - include/drm/ttm/ttm_bo_driver.h | 10 ++-- include/drm/ttm/ttm_resource.h | 4 +- 11 files changed, 110 insertions(+), 126 deletions(-) --=20 You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.=