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=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 715C8C433E0 for ; Thu, 6 Aug 2020 12:16:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 3E6F6204FD for ; Thu, 6 Aug 2020 12:16:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VaUpuoWo"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="lf/jP4kt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3E6F6204FD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lS+aurpm0rm7/2XKUKRntX7Jz1tLa+qq5o2aPxg5CWI=; b=VaUpuoWodk32aB9Z9hfxToKMG bl/0MKoGLu+a26tu43sVJir2d6Qt/IcDo72+2yVRT0BNss9Aq88ft36CIYd5Wm1AJOxF30Fz65Kn+ zsuQ01p+f9N12nk3hDOZD23Ocb60Dy8h1mFP4om8lbSUlX3OZUcJOwkCZ3O+JZHwviGWd+bE4oCE2 Zl6FV3ImfF9vQZ9j25rgMLLP3hAx7dlT+TkywNWbrwZXuhTns+eOHD3Yi1p+nhKMn0KeeT19MXfbv 8uMEX6hjVa9kqzuxJ54+Rt2OFMEm65Hwl6djzelhEM5iCKJA4skJ8x2DoTJ1IO9bgRsIyaTmMcMRZ /0dxNW2Eg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3Zr5-00086L-RP; Thu, 06 Aug 2020 06:58:23 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3Zr2-00085B-Ep for linux-arm-kernel@lists.infradead.org; Thu, 06 Aug 2020 06:58:21 +0000 Received: by mail-wr1-x443.google.com with SMTP id a14so42928685wra.5 for ; Wed, 05 Aug 2020 23:58:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=xCaGmBCWNGDB7dAxQQZgzpGyZQ9wjq7OeFwg1BpJrQI=; b=lf/jP4ktR6Zfk8uCMRClZMwDl2J3bokUnxGdeihDymUjHy5vkSI+HfxnDh2HjDL6s0 i9du6vtjEVD/O6G1Zk3nyPnlaX+fMURQ+U1n1DfIUqL5eKQ/4VhhcElLrLH3tqJigglM Vq1UIC6804ZU5zCwW6V5mkz3ciWGEzRaVoxto= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xCaGmBCWNGDB7dAxQQZgzpGyZQ9wjq7OeFwg1BpJrQI=; b=dBVQ+qbr0I/zg1Zd1aAIIP92WOI5a9QF+1iR4OZJ07u3N1IHN7JbVh21bvBN+7VICK dqwT7Uo1Nli9dJG6m8WdMfEbNzRZ3UgoYHSe1JP1hceFAHFSicXAGCWpkVajzxgaRTLn 7JWLmGs0L5LJ9Sy4nwu7oPFUHN7UbJYeXz0KjzZ6glNRF4f0lxhCQhYT3Z/vIyzRTt74 vxcPGn48EXqhariQzxmUIKWeHdifjD7jauAHrPFdHkFEZHXXg3spZYR3cpFGgy1yURCt YrhXvtWC9Ln7BT6MTIwYmRbX/IYLhkXQdpzs2bKYKoi58uRtcUVqaTzh46trE+Njf80I uUMA== X-Gm-Message-State: AOAM531o7HUbPDNYLgT60gt3nXvkxzwaakPYVtIbakblV+0v55zdLkau WwxNnC2VHjdQbh84rmFKlyEK8A== X-Google-Smtp-Source: ABdhPJxCz4g/Sxm/GzNvA/FDHQQNSlz0xmrlOoi0foOOk8gfdgCfRtmUkmMncRjrEvMhae65wMaMbA== X-Received: by 2002:adf:bc4a:: with SMTP id a10mr5909157wrh.346.1596697077409; Wed, 05 Aug 2020 23:57:57 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id b137sm5781103wmb.9.2020.08.05.23.57.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2020 23:57:56 -0700 (PDT) Date: Thu, 6 Aug 2020 08:57:54 +0200 From: daniel@ffwll.ch To: Subject: Re: [PATCH 1/8] drm/atomic-helper: reset vblank on crtc reset Message-ID: <20200806065754.GG6419@phenom.ffwll.local> References: <20200612160056.2082681-1-daniel.vetter@ffwll.ch> <20200702112722.GA18036@pendragon.ideasonboard.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.7.0-1-amd64 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200806_025820_598021_0826D7CA X-CRM114-Status: GOOD ( 15.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , David Airlie , Daniel Vetter , Liviu Dudau , DRI Development , Thierry Reding , Laurent Pinchart , Daniel Vetter , Mihail Atanassov , Sam Ravnborg , Emil Velikov , "open list:DRM DRIVERS FOR RENESAS" , Jonathan Hunter , Ludovic Desroches , Tomi Valkeinen , "James \(Qian\) Wang" , Thierry Reding , Brian Masney , Intel Graphics Development , Maarten Lankhorst , Maxime Ripard , Sean Paul , Jyri Sarha , linux-tegra , Thomas Gleixner , Linux ARM , Boris Brezillon , Kieran Bingham , zhengbin , Rob Clark , Boris Brezillon , Thomas Zimmermann , Brian Starkey Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Aug 06, 2020 at 03:43:02PM +0900, Tetsuo Handa wrote: > As of commit 47ec5303d73ea344 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next") on linux.git , > my VMware environment cannot boot. Do I need to bisect? That sounds like a good idea, but please start a new thread (not reply to some random existing ones), with maintainers for drivers/gpu/drm/vmwgfx only. Not a massive list of random folks who have no idea what's going on here. From get_maintainers.pl $ scripts/get_maintainer.pl -f drivers/gpu/drm/vmwgfx/ VMware Graphics (supporter:DRM DRIVER FOR VMWARE VIRTUAL GPU) Roland Scheidegger (supporter:DRM DRIVER FOR VMWARE VIRTUAL GPU) David Airlie (maintainer:DRM DRIVERS) Daniel Vetter (maintainer:DRM DRIVERS) dri-devel@lists.freedesktop.org (open list:DRM DRIVER FOR VMWARE VIRTUAL GPU) linux-kernel@vger.kernel.org (open list) Cheers, Daniel > > [ 9.314496][ T1] vga16fb: mapped to 0x0000000071050562 > [ 9.467770][ T1] Console: switching to colour frame buffer device 80x30 > [ 9.632092][ T1] fb0: VGA16 VGA frame buffer device > [ 9.651768][ T1] ACPI: AC Adapter [ACAD] (on-line) > [ 9.672544][ T1] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 > [ 9.722373][ T1] ACPI: Power Button [PWRF] > [ 9.744231][ T1] ioatdma: Intel(R) QuickData Technology Driver 5.00 > [ 9.820147][ T1] N_HDLC line discipline registered with maxframe=4096 > [ 9.835649][ T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled > [ 9.852567][ T1] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A > [ 10.033372][ T1] Cyclades driver 2.6 > [ 10.049928][ T1] Initializing Nozomi driver 2.1d > [ 10.065493][ T1] RocketPort device driver module, version 2.09, 12-June-2003 > [ 10.095368][ T1] No rocketport ports found; unloading driver > [ 10.112430][ T1] Non-volatile memory driver v1.3 > [ 10.127090][ T1] Linux agpgart interface v0.103 > [ 10.144037][ T1] agpgart-intel 0000:00:00.0: Intel 440BX Chipset > [ 10.162275][ T1] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0x0 > [ 10.181130][ T1] [drm] DMA map mode: Caching DMA mappings. > [ 10.195150][ T1] [drm] Capabilities: > [ 10.208728][ T1] [drm] Rect copy. > [ 10.222772][ T1] [drm] Cursor. > [ 10.235364][ T1] [drm] Cursor bypass. > [ 10.249121][ T1] [drm] Cursor bypass 2. > [ 10.260590][ T1] [drm] 8bit emulation. > [ 10.272220][ T1] [drm] Alpha cursor. > [ 10.284670][ T1] [drm] 3D. > [ 10.295051][ T1] [drm] Extended Fifo. > [ 10.305180][ T1] [drm] Multimon. > [ 10.315506][ T1] [drm] Pitchlock. > [ 10.325167][ T1] [drm] Irq mask. > [ 10.334262][ T1] [drm] Display Topology. > [ 10.343519][ T1] [drm] GMR. > [ 10.352775][ T1] [drm] Traces. > [ 10.362166][ T1] [drm] GMR2. > [ 10.370716][ T1] [drm] Screen Object 2. > [ 10.379220][ T1] [drm] Command Buffers. > [ 10.388489][ T1] [drm] Command Buffers 2. > [ 10.396055][ T1] [drm] Guest Backed Resources. > [ 10.403290][ T1] [drm] DX Features. > [ 10.409911][ T1] [drm] HP Command Queue. > [ 10.417820][ T1] [drm] Capabilities2: > [ 10.424216][ T1] [drm] Grow oTable. > [ 10.430423][ T1] [drm] IntraSurface copy. > [ 10.436371][ T1] [drm] Max GMR ids is 64 > [ 10.442651][ T1] [drm] Max number of GMR pages is 65536 > [ 10.450317][ T1] [drm] Max dedicated hypervisor surface memory is 0 kiB > [ 10.458809][ T1] [drm] Maximum display memory size is 262144 kiB > [ 10.466330][ T1] [drm] VRAM at 0xe8000000 size is 4096 kiB > [ 10.474704][ T1] [drm] MMIO at 0xfe000000 size is 256 kiB > [ 10.484625][ T1] [TTM] Zone kernel: Available graphics memory: 4030538 KiB > [ 10.500730][ T1] [TTM] Zone dma32: Available graphics memory: 2097152 KiB > [ 10.516851][ T1] [TTM] Initializing pool allocator > [ 10.527542][ T1] [TTM] Initializing DMA pool allocator > [ 10.540197][ T1] BUG: kernel NULL pointer dereference, address: 0000000000000438 > [ 10.550087][ T1] #PF: supervisor read access in kernel mode > [ 10.550087][ T1] #PF: error_code(0x0000) - not-present page > [ 10.550087][ T1] PGD 0 P4D 0 > [ 10.550087][ T1] Oops: 0000 [#1] PREEMPT SMP > [ 10.550087][ T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.8.0+ #271 > [ 10.550087][ T1] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 02/27/2020 > [ 10.550087][ T1] RIP: 0010:drm_dev_has_vblank+0x9/0x20 > [ 10.550087][ T1] Code: 5d 41 5e 41 5f e9 e7 fa 01 ff e8 e2 fa 01 ff 45 31 e4 41 8b 5f 48 eb a7 cc cc cc cc cc cc cc cc cc 53 48 89 fb e8 c7 fa 01 ff <8b> 83 38 04 00 00 5b 85 c0 0f 95 c0 c3 66 2e 0f 1f 84 00 00 00 00 > [ 10.550087][ T1] RSP: 0000:ffffc90000027b80 EFLAGS: 00010293 > [ 10.550087][ T1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 > [ 10.550087][ T1] RDX: ffff88823544c040 RSI: ffffffff823265b9 RDI: 0000000000000000 > [ 10.550087][ T1] RBP: ffff888227238800 R08: 0000000000000001 R09: 0000000000000000 > [ 10.550087][ T1] R10: ffff888227238800 R11: 0000000000000001 R12: 0000000000000000 > [ 10.550087][ T1] R13: ffff888235103000 R14: 0000000000000000 R15: ffff888226cc6af0 > [ 10.850690][ T1] FS: 0000000000000000(0000) GS:ffff888236e00000(0000) knlGS:0000000000000000 > [ 10.850690][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 10.850690][ T1] CR2: 0000000000000438 CR3: 0000000004a89001 CR4: 00000000003706f0 > [ 10.850690][ T1] Call Trace: > [ 10.850690][ T1] __drm_atomic_helper_crtc_reset+0x28/0x50 > [ 10.850690][ T1] vmw_du_crtc_reset+0x62/0x80 > [ 10.850690][ T1] vmw_kms_stdu_init_display+0x302/0x3f0 > [ 10.850690][ T1] vmw_kms_init+0x6f/0xe0 > [ 10.850690][ T1] vmw_probe+0xd52/0x1730 > [ 10.850690][ T1] local_pci_probe+0x3a/0x90 > [ 10.850690][ T1] pci_device_probe+0x163/0x230 > [ 10.850690][ T1] ? pci_device_remove+0x100/0x100 > [ 10.850690][ T1] really_probe+0x228/0x480 > [ 10.850690][ T1] ? rdinit_setup+0x3b/0x3b > [ 10.850690][ T1] driver_probe_device+0x6c/0xe0 > [ 10.850690][ T1] device_driver_attach+0x5a/0x60 > [ 10.850690][ T1] __driver_attach+0xbd/0x100 > [ 10.850690][ T1] ? device_driver_attach+0x60/0x60 > [ 10.850690][ T1] bus_for_each_dev+0x9e/0x110 > [ 10.850690][ T1] bus_add_driver+0x1c8/0x260 > [ 10.850690][ T1] driver_register+0x96/0x160 > [ 10.850690][ T1] ? i915_global_vma_init+0x51/0x51 > [ 11.202435][ T1] vmwgfx_init+0x2e/0x4e > [ 11.202435][ T1] do_one_initcall+0x84/0x4a0 > [ 11.202435][ T1] ? rdinit_setup+0x3b/0x3b > [ 11.202435][ T1] ? rcu_read_lock_sched_held+0x4d/0x80 > [ 11.202435][ T1] ? cpumask_test_cpu.constprop.19+0x12/0x30 > [ 11.202435][ T1] ? rdinit_setup+0x3b/0x3b > [ 11.202435][ T1] kernel_init_freeable+0x298/0x30c > [ 11.202435][ T1] ? rest_init+0x2c0/0x2c0 > [ 11.202435][ T1] kernel_init+0xf/0x170 > [ 11.282173][ T1] ? _raw_spin_unlock_irq+0x3a/0x50 > [ 11.282173][ T1] ? rest_init+0x2c0/0x2c0 > [ 11.282173][ T1] ret_from_fork+0x1f/0x30 > [ 11.282173][ T1] Modules linked in: > [ 11.282173][ T1] CR2: 0000000000000438 > [ 11.282173][ T1] ---[ end trace fb560758d9d704d3 ]--- > [ 11.282173][ T1] RIP: 0010:drm_dev_has_vblank+0x9/0x20 > [ 11.282173][ T1] Code: 5d 41 5e 41 5f e9 e7 fa 01 ff e8 e2 fa 01 ff 45 31 e4 41 8b 5f 48 eb a7 cc cc cc cc cc cc cc cc cc 53 48 89 fb e8 c7 fa 01 ff <8b> 83 38 04 00 00 5b 85 c0 0f 95 c0 c3 66 2e 0f 1f 84 00 00 00 00 > [ 11.282173][ T1] RSP: 0000:ffffc90000027b80 EFLAGS: 00010293 > [ 11.282173][ T1] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 > [ 11.282173][ T1] RDX: ffff88823544c040 RSI: ffffffff823265b9 RDI: 0000000000000000 > [ 11.282173][ T1] RBP: ffff888227238800 R08: 0000000000000001 R09: 0000000000000000 > [ 11.282173][ T1] R10: ffff888227238800 R11: 0000000000000001 R12: 0000000000000000 > [ 11.282173][ T1] R13: ffff888235103000 R14: 0000000000000000 R15: ffff888226cc6af0 > [ 11.282173][ T1] FS: 0000000000000000(0000) GS:ffff888236e00000(0000) knlGS:0000000000000000 > [ 11.282173][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 11.282173][ T1] CR2: 0000000000000438 CR3: 0000000004a89001 CR4: 00000000003706f0 > [ 11.282173][ T1] Kernel panic - not syncing: Fatal exception > [ 11.282173][ T1] Kernel Offset: disabled > [ 11.282173][ T1] Rebooting in 86400 seconds.. > > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel