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=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 68C59C4726D for ; Thu, 6 Aug 2020 11:04:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5B673221E2 for ; Thu, 6 Aug 2020 11:04:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="lf/jP4kt" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728305AbgHFG6V (ORCPT ); Thu, 6 Aug 2020 02:58:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728279AbgHFG6U (ORCPT ); Thu, 6 Aug 2020 02:58:20 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44C30C061574 for ; Wed, 5 Aug 2020 23:58:20 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id l2so32352846wrc.7 for ; Wed, 05 Aug 2020 23:58:20 -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=t3IPxq8435aAugZhKVT0NRdfBSgeakWxA4TSeZm5XyGW6PoR8swezC7v+BsULqGVfl VaWZX/dm2aHVK4JY0ElwuQIk2hPl0Dyp7q2yAn6xMXeWjPpUr9dSipoj7FWGSQ92G/Hf U18bfLtI9FuoPA1TBk25BycUenPXXq3R3DJTtQCYqDaA6x5aJ4F1FHZHjVa4brCEYjxC TYh0AZokrwjagN+IZ2Soqv3hSmscknhWMl6qj4CsgoZFyTJPhseNViM/ovQbGxT13C4z 4tKWRdIiy/lWI3pGVDuoHP0ha0Bh7+WJH1N5DS8EDu3nyPqy2wZRJNAJ2IU/6LXwfGbE IzoA== X-Gm-Message-State: AOAM532/LIB/RtAsYtA+rX7v+VBYcnqNSYyoDp6hj5us6yT4PiP93Dhq 91u/VRDpDEUJSxU9GEciGOjogzF8ojY= 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 Cc: Daniel Vetter , Laurent Pinchart , DRI Development , Intel Graphics Development , Boris Brezillon , Liviu Dudau , Thierry Reding , "James (Qian) Wang" , Mihail Atanassov , Brian Starkey , Sam Ravnborg , Boris Brezillon , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Thierry Reding , Jonathan Hunter , Jyri Sarha , Tomi Valkeinen , Rob Clark , Sean Paul , Brian Masney , Emil Velikov , zhengbin , Thomas Gleixner , linux-tegra , Kieran Bingham , Linux ARM , "open list:DRM DRIVERS FOR RENESAS" , Daniel Vetter 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.7.0-1-amd64 To: unlisted-recipients:; (no To-header on input) Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.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