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.5 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=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 DFE35C433E0 for ; Fri, 5 Feb 2021 19:53:29 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5973964E51 for ; Fri, 5 Feb 2021 19:53:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5973964E51 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id AE54B6B0006; Fri, 5 Feb 2021 14:53:28 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A94CD6B006C; Fri, 5 Feb 2021 14:53:28 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 95AF56B006E; Fri, 5 Feb 2021 14:53:28 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0226.hostedemail.com [216.40.44.226]) by kanga.kvack.org (Postfix) with ESMTP id 5A39E6B0006 for ; Fri, 5 Feb 2021 14:53:28 -0500 (EST) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 13CB0181AEF15 for ; Fri, 5 Feb 2021 19:53:28 +0000 (UTC) X-FDA: 77785263696.05.5F43946 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by imf09.hostedemail.com (Postfix) with ESMTP id D5F2260001A4 for ; Fri, 5 Feb 2021 19:53:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612554806; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+GBqis/XImlxAXRai9BNdloDkDFvNDVn4n6xKv4Vk5U=; b=hnlabmCQrMaI8o8uH1vIFg7mtTs5jJnmtQSKxuKTNN41YVKasOeumGubrW30D3jSL6XnAp nDYCgRAWcZ42SwER+Dg4m5nAyR+fIlADulYYliWFcl3cHiEhXdRAGCCDPfJGnDGJ2/D27q 6olD0Q0+4/7XHi23XkuHpqi4s4n+Jn4= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-214-50Gf48jIPfG3fwFps-JJjw-1; Fri, 05 Feb 2021 14:53:24 -0500 X-MC-Unique: 50Gf48jIPfG3fwFps-JJjw-1 Received: by mail-qv1-f70.google.com with SMTP id t18so5829168qva.6 for ; Fri, 05 Feb 2021 11:53:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:cc:date :in-reply-to:references:organization:user-agent:mime-version :content-transfer-encoding; bh=+GBqis/XImlxAXRai9BNdloDkDFvNDVn4n6xKv4Vk5U=; b=p8z+nBur9MHSl97f6O8/ctz/oGCxHjo4zBuqmZAuaigvYK1MK+oJxFa1GrRGCELPj3 E6Z9LYPuCE1SkVTK1q+EJrThGSKlsIprqX9WZIVJDgQLpobjCnCBcu8q2GJj4a9tyqeC dYvEFr0YXJoydqy4o86N0StLYWolkfOsegXgeWJfaQL0WTn/VnQlbAaMEna6qd7MTiwS n3DUbWqCB6SjMLsvhbWrmX5sCCSgEGynMbCtrUFCTLTqbdL1Ys50ZLEO7JWQbK//f+gg sEODAfGYzBj0/dmdp69bYt7Jh/AQCioBxl+h/BIJD2u4w/ddwbzFDZGN15toKLiuIDb0 vQ8Q== X-Gm-Message-State: AOAM532rJwUqJI1Fn1fd3aAYKzOczvd0VIvbwxBiqLwx6nLgFzhqyj4+ ff5fwF5nXPICWusMKb+TQqBG3QOZAzNmRMIWofZd/qUIeFilQyNBD08X05dk1EYzCIKOtxLkgKr FApMlrw4bmZo= X-Received: by 2002:a37:bcd:: with SMTP id 196mr6100272qkl.494.1612554803258; Fri, 05 Feb 2021 11:53:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVBQtDA9v20k1GVE2BtsR1ZHj/9Q/MIA6TfA63zf4i9dHBzKwaWnDMqaZJas0bOcLnDdMq8w== X-Received: by 2002:a37:bcd:: with SMTP id 196mr6099825qkl.494.1612554794450; Fri, 05 Feb 2021 11:53:14 -0800 (PST) Received: from Whitewolf.lyude.net (pool-108-49-102-102.bstnma.fios.verizon.net. [108.49.102.102]) by smtp.gmail.com with ESMTPSA id p75sm10524063qke.82.2021.02.05.11.53.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 11:53:13 -0800 (PST) Message-ID: Subject: Re: [drm/i915/dp] 4a8d79901d: WARNING:at_drivers/gpu/drm/i915/display/intel_display_power.c:#assert_can_disable_lcpll[i915] From: Lyude Paul Reply-To: lyude@redhat.com To: kernel test robot Cc: Jani Nikula , Vasily Khoruzhick , LKML , Linux Memory Management List , lkp@lists.01.org, lkp@intel.com, rui.zhang@intel.com, yu.c.chen@intel.com Date: Fri, 05 Feb 2021 14:53:11 -0500 In-Reply-To: <20210204090229.GH17757@xsang-OptiPlex-9020> References: <20210204090229.GH17757@xsang-OptiPlex-9020> Organization: Red Hat User-Agent: Evolution 3.38.3 (3.38.3-1.fc33) MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lyude@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: D5F2260001A4 X-Stat-Signature: skdxhc4kgmkwbk78dq8udffjnjd8zba9 Received-SPF: none (redhat.com>: No applicable sender policy available) receiver=imf09; identity=mailfrom; envelope-from=""; helo=us-smtp-delivery-124.mimecast.com; client-ip=63.128.21.124 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1612554806-7814 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Am I right in assuming this is likely a very delayed test result from bef= ore: fe7d52bccab6 ("drm/i915/dp: Don't use DPCD backlights that need PWM enable/disable") Made it into the kernel? I see that there's a PWM being left on, which wa= s the same issue we were seeing on fi-bdw-samus On Thu, 2021-02-04 at 17:02 +0800, kernel test robot wrote: >=20 > Greeting, >=20 > FYI, we noticed the following commit (built with gcc-9): >=20 > commit: 4a8d79901d5bed0812d272c372aa40282937b50f ("drm/i915/dp: Enable = Intel's > HDR backlight interface (only SDR for now)") > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git=C2=A0m= aster >=20 >=20 > in testcase: suspend-stress > version:=20 > with following parameters: >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0mode: freeze > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0iterations: 10 >=20 >=20 >=20 > on test machine: 4 threads Broadwell-Y with 8G memory >=20 > caused below changes (please refer to attached dmesg/kmsg for entire > log/backtrace): >=20 >=20 >=20 > If you fix the issue, kindly add following tag > Reported-by: kernel test robot >=20 >=20 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.137894] ------------[ cut her= e ]------------ > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.137897] CPU PWM1 enabled > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.137930] WARNING: CPU: 3 PID: = 575 at > drivers/gpu/drm/i915/display/intel_display_power.c:4902 > assert_can_disable_lcpll+0x335/0x3c0 [i915] > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138084] Modules linked in: sd= _mod t10_pi sg > x86_pkg_temp_thermal intel_powerclamp i915 hid_rmi rmi_core hid_multito= uch > coretemp intel_ra > pl_msr crct10dif_pclmul wmi_bmof crc32_pclmul intel_gtt crc32c_intel > ghash_clmulni_intel rapl drm_kms_helper intel_cstate ahci libahci serio= _raw > mei_me proces > sor_thermal_device intel_uncore processor_thermal_rfim syscopyarea sysf= illrect > intel_soc_dts_iosf sysimgblt intel_pch_thermal hid_sensor_custom fb_sys= _fops > li > bata bcma processor_thermal_mbox joydev mei drm processor_thermal_rapl > intel_rapl_common int340x_thermal_zone i2c_hid ideapad_laptop sparse_ke= ymap > wmi rfkill > video int3400_thermal acpi_thermal_rel i2c_designware_platform dw_dmac > i2c_designware_core acpi_pad ip_tables > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138148] CPU: 3 PID: 575 Comm:= kworker/u8:6 Tainted: > G=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 W I=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 5.11.0-rc2-00745-g4a8d79901d5b #1 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138153] Hardware name: LENOVO= 80HE/VIUU4, BIOS A6CN38WW > 09/30/2014 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138155] Workqueue: events_unb= ound async_run_entry_fn > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138161] RIP: 0010:assert_can_= disable_lcpll+0x335/0x3c0 > [i915] > kern=C2=A0 :info=C2=A0 : [=C2=A0=C2=A0 21.138263] ahci 0000:00:1f.2: pc= i_pm_suspend_late+0x0/0x40 > returned 0 after 0 usecs > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138296] Code: c0 75 22 e8 8d = 61 cb ff e9 f3 fd ff ff e8 > fd bc 6a c1 0f 0b e9 0c fd ff ff e8 f1 bc 6a c1 0f 0b e9 05 fe ff ff e8= e5 bc > 6a c1 <0f> 0b e9 cf fd ff ff e8 d9 bc 6a c1 0f 0b e9 a2 fd ff ff e8 cd = bc > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138300] RSP: 0018:ffffc900006= f3d58 EFLAGS: 00010282 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138304] RAX: 0000000000000000= RBX: ffff8881451002e8 RCX: > 0000000000000027 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138307] RDX: 0000000000000027= RSI: 0000000000000002 RDI: > ffff888249397cf8 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138310] RBP: ffff888145100000= R08: ffff888249397cf0 R09: > ffffc900006f3cf0 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138313] R10: 0000000000000001= R11: 3030302035313969 R12: > ffff8881451007f0 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138316] R13: ffff888145106c60= R14: 0000000000000002 R15: > 0000000000000000 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138319] FS:=C2=A0 00000000000= 00000(0000) > GS:ffff888249380000(0000) knlGS:0000000000000000 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138322] CS:=C2=A0 0010 DS: 00= 00 ES: 0000 CR0: > 0000000080050033 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138325] CR2: 0000557c22ec68a0= CR3: 0000000004c0a003 CR4: > 00000000003706e0 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138329] Call Trace: > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138334]=C2=A0 hsw_disable_lcp= ll+0x22/0x280 [i915] > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138479]=C2=A0 i915_drm_suspen= d_late+0x5e/0x100 [i915] > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138578]=C2=A0 ? pci_pm_powero= ff_late+0x40/0x40 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138582]=C2=A0 dpm_run_callbac= k+0x4c/0x140 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138590]=C2=A0 __device_suspen= d_late+0x98/0x1a0 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138596]=C2=A0 async_suspend_l= ate+0x1b/0xa0 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138602]=C2=A0 async_run_entry= _fn+0x39/0x160 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138608]=C2=A0 process_one_wor= k+0x1ed/0x3c0 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138612]=C2=A0 worker_thread+0= x50/0x3c0 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138617]=C2=A0 ? process_one_w= ork+0x3c0/0x3c0 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138620]=C2=A0 kthread+0x116/0= x160 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138626]=C2=A0 ? kthread_park+= 0xa0/0xa0 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138631]=C2=A0 ret_from_fork+0= x22/0x30 > kern=C2=A0 :warn=C2=A0 : [=C2=A0=C2=A0 21.138640] ---[ end trace a93fe4= d40a5a37bb ]--- >=20 >=20 >=20 > To reproduce: >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 git clone https://github.com= /intel/lkp-tests.git > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 cd lkp-tests > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bin/lkp install job.yaml=C2=A0= # job file is attached in this email > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bin/lkp run=C2=A0=C2=A0=C2=A0= =C2=A0 job.yaml >=20 >=20 >=20 > Thanks, > Oliver Sang >=20 --=20 Sincerely, Lyude Paul (she/her) Software Engineer at Red Hat =20 Note: I deal with a lot of emails and have a lot of bugs on my plate. If = you've asked me a question, are waiting for a review/merge on a patch, etc. and = I haven't responded in a while, please feel free to send me another email t= o check on my status. I don't bite!