{"id":2220756,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2220756/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260408002056.230340-2-acelan.kao@canonical.com/","project":{"id":15,"url":"http://patchwork.ozlabs.org/api/1.1/projects/15/?format=json","name":"Ubuntu Kernel","link_name":"ubuntu-kernel","list_id":"kernel-team.lists.ubuntu.com","list_email":"kernel-team@lists.ubuntu.com","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260408002056.230340-2-acelan.kao@canonical.com>","date":"2026-04-08T00:20:56","name":"[SRU,R,1/1] UBUNTU: SAUCE: drm/i915/xelpdp/tc: Convert TCSS power check WARN to a debug message","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"4a4020d74878681ba4f3113a9f345c1859081bf1","submitter":{"id":2976,"url":"http://patchwork.ozlabs.org/api/1.1/people/2976/?format=json","name":"AceLan Kao","email":"acelan.kao@canonical.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260408002056.230340-2-acelan.kao@canonical.com/mbox/","series":[{"id":499050,"url":"http://patchwork.ozlabs.org/api/1.1/series/499050/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=499050","date":"2026-04-08T00:20:56","name":"i915 WARN_ON call trace during CB/WB on MTL/ARL platforms","version":1,"mbox":"http://patchwork.ozlabs.org/series/499050/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2220756/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2220756/checks/","tags":{},"headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=EFBvC6H4;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fr3dX4dMGz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 10:21:19 +1000 (AEST)","from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1wAGfP-0002Ud-Ib; Wed, 08 Apr 2026 00:21:11 +0000","from mail-qk1-f172.google.com ([209.85.222.172])\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <acelan@gmail.com>) id 1wAGfM-0002Sk-0a\n for kernel-team@lists.ubuntu.com; Wed, 08 Apr 2026 00:21:08 +0000","by mail-qk1-f172.google.com with SMTP id\n af79cd13be357-8cd71fb9f06so362088185a.2\n for <kernel-team@lists.ubuntu.com>; Tue, 07 Apr 2026 17:21:07 -0700 (PDT)","from localhost (211-75-139-220.hinet-ip.hinet.net. [211.75.139.220])\n by smtp.gmail.com with ESMTPSA id\n af79cd13be357-8d2a8740491sm1424319785a.38.2026.04.07.17.21.04\n for <kernel-team@lists.ubuntu.com>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 07 Apr 2026 17:21:05 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775607666; x=1776212466; darn=lists.ubuntu.com;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:sender:from:to:cc:subject:date\n :message-id:reply-to;\n bh=JIdt8+XaAyxOw5qLKUSih5QZdsaxxSv5ZZgzNjNm+SU=;\n b=EFBvC6H4xkDDHj4wgDYOYV4lSHP7ODFdIFKWcLqWAAk8fQfGKVilv1TCMKplImmlhH\n qMDWRxeDcVXJBeIax0G+m5JaM4NCsi+4opvmxD9af097N3Po6IFifylcG5SslZfbpXTQ\n 4nk1g7bIO/YRJ/tZiqeCh6Hoj9HKyYdVOCZ6YEfNDZHDGoMEdfgz117N9VWHNo692H++\n 3RHA5z/Qiy8KL2ZtecJkRRAu32Q9wgnh4mfGZeervZXyc1xYSvQVIHRStpVSSpxZBzGt\n P2p2wkJNBFG/tDI2L/bRFyio2BZA5n/pgzqiwXt/CIBubp4yyNfpNtuSxRUyc6AfWnnI\n OQVQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775607666; x=1776212466;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:sender:x-gm-gg:x-gm-message-state\n :from:to:cc:subject:date:message-id:reply-to;\n bh=JIdt8+XaAyxOw5qLKUSih5QZdsaxxSv5ZZgzNjNm+SU=;\n b=mS5YBJaoDDaTmcHr+jZxz/2WWd/ySAlA1vJIn8yTLT6fQ1WS6sTKSkyDUVPDQd1DVc\n UlpZpbKxqZTaWw+BeyJdEzGJbXc5j1SOqmT0SMqpTAKWwNYknLMPK+b2D+KnrJU3+bu7\n qxgkVPWmpV7IAVm1VTuYOegftvYuKoNM/Aqw9Zkz6LtC4xGLOiipf/ilez4MJbLTW5YM\n SrpV+ll2nYnur6JXDMGf7Eh5IINUDRGe18Q23dOOENmHMHKaV6jLARB5eGTsxTJuDj2L\n +swfYpHd0uxfCKI5DMmI0ladXxdk0jRHg9Ne4B6Q0S2YBfeiQ1JB8+JacionDzzltxBd\n vZ5A==","X-Gm-Message-State":"AOJu0YyDVBkfE/JkW6t+0xT/0j+YjhCuR7qe2jX7s2MbsOJ3GgnTdEvJ\n jOr2nxubCfE61uXgrjuqpQVlzaHrhT7sN4C2hYEpi0k9OKILcLa9wxZQYxe4Sp5z","X-Gm-Gg":"AeBDiespuUVToX18jc3miMcodCqF3/YsNNk1lgc6vy8fOGFq7K2HiRwd2kyP4DXCiyD\n eOK9VhRtyvE5DToqyTtBK9bPPjkpxxHuN8hsnUO76yKZWXNPGDawkpymVKX66ND+Q+vTC3HnJue\n spxFBNNmoAfv1TsZ6MlduMZcOkvuKIBCNCTUHa/rCYe67OVZH+plsMBglG84+PKzVPjEpmZNmer\n eF8rbwFvYkAtFyQRmCLHRDjCbVH7AwI4hqcGm/I4r6cgwOVC0n9mpwwGNfqjhK/yTKUo9bCdnKs\n eKhNH8dfXy2+uqeN1lILBpx77w1vkMu7W6L91QcC+ifcmgGATlpomnJh00Irfvr09kMGvq2cxLD\n zJVUBgLUsQcf/3/u2p915YbduXwu+q9dS+fRO3C8yp0is6sze3iaU3FhCzWcYyPgERm8MjdHl/Y\n GlN7Kjltx2tW+JszqAMKIDVI+Y57wHS3Gy2urxqGgRRY/89xcX9QO9","X-Received":"by 2002:a05:620a:2256:10b0:8d5:bb98:f3f5 with SMTP id\n af79cd13be357-8d5bb98f816mr1460911785a.64.1775607666013;\n Tue, 07 Apr 2026 17:21:06 -0700 (PDT)","From":"AceLan Kao <acelan.kao@canonical.com>","To":"kernel-team@lists.ubuntu.com","Subject":"[SRU][R][PATCH 1/1] UBUNTU: SAUCE: drm/i915/xelpdp/tc: Convert TCSS\n power check WARN to a debug message","Date":"Wed,  8 Apr 2026 08:20:56 +0800","Message-ID":"<20260408002056.230340-2-acelan.kao@canonical.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260408002056.230340-1-acelan.kao@canonical.com>","References":"<20260408002056.230340-1-acelan.kao@canonical.com>","MIME-Version":"1.0","Received-SPF":"pass client-ip=209.85.222.172; envelope-from=acelan@gmail.com;\n helo=mail-qk1-f172.google.com","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"},"content":"From: \"Chia-Lin Kao (AceLan)\" <acelan.kao@canonical.com>\n\nBugLink: https://bugs.launchpad.net/bugs/2144537\n\nThe BIOS can leave the TypeC HPD live status bits set on an MTL/XeLPDP\nport indicating a connected device, while TCSS (TypeC Subsystem) power\nhas not been enabled. This is a known BIOS handoff condition observed\nduring cold/warm boot on headless Meteorlake platforms.\n\nWhen this happens, tc_phy_get_current_mode() returns TC_PORT_DP_ALT\n(from HPD live status bits) but xelpdp_tc_phy_tcss_power_is_enabled()\nreturns false because TCSS power was never enabled by BIOS/GOP. This\ncauses the drm_WARN_ON in xelpdp_tc_phy_get_hw_state() to fire during\ndriver probe, even though the driver handles this state correctly\nafterwards by calling intel_tc_port_update_mode() to reconcile the\nPHY state.\n\nConvert the drm_WARN_ON to a drm_dbg_kms() message, consistent with\nthe approach taken for the analogous AUX power check in\ncommit d7fa5754e83cd (\"drm/i915/icl+/tc: Convert AUX powered WARN to a\ndebug message\").\n\nSigned-off-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>\n(cherry picked from commit https://lore.kernel.org/lkml/20260316093001.689992-1-acelan.kao@canonical.com/T/#u)\nSigned-off-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>\n---\n drivers/gpu/drm/i915/display/intel_tc.c | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)","diff":"diff --git a/drivers/gpu/drm/i915/display/intel_tc.c b/drivers/gpu/drm/i915/display/intel_tc.c\nindex bd12148e42f70..18218e450b16c 100644\n--- a/drivers/gpu/drm/i915/display/intel_tc.c\n+++ b/drivers/gpu/drm/i915/display/intel_tc.c\n@@ -1187,9 +1187,10 @@ static void xelpdp_tc_phy_get_hw_state(struct intel_tc_port *tc)\n \t\t\ttc->max_lane_count = 4;\n \t}\n \n-\tdrm_WARN_ON(display->drm,\n-\t\t    (tc->mode == TC_PORT_DP_ALT || tc->mode == TC_PORT_LEGACY) &&\n-\t\t    !xelpdp_tc_phy_tcss_power_is_enabled(tc));\n+\tif ((tc->mode == TC_PORT_DP_ALT || tc->mode == TC_PORT_LEGACY) &&\n+\t    !xelpdp_tc_phy_tcss_power_is_enabled(tc))\n+\t\tdrm_dbg_kms(display->drm, \"Port %s: TCSS unexpectedly not powered\\n\",\n+\t\t\t    tc->port_name);\n \n \t__tc_cold_unblock(tc, domain, tc_cold_wref);\n }\n","prefixes":["SRU","R","1/1"]}