Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1237142lqb; Thu, 30 May 2024 04:49:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOZ0qNbR4J0qLbxpcw1XCkDEaOEtDiqtfIQv5Km0w/Bedq9FBX+B2312icigMuCLQDwa5IhMC5htSU+ZojCaWZ7cCinBQ63IdcUQayuQ== X-Google-Smtp-Source: AGHT+IE+hst7Zs5PCfgyQvZukX2e6m3ns0fm9qdRdQ1CJfofBEbpwYXwWM+yWgaAmVX7vZZd//EK X-Received: by 2002:a17:902:ce82:b0:1e4:c8b3:dbaf with SMTP id d9443c01a7336-1f61961953bmr15559465ad.33.1717069789356; Thu, 30 May 2024 04:49:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717069789; cv=pass; d=google.com; s=arc-20160816; b=i2Y+Nuw7gUXt9SAGFuAmJvBnclcw50HFudsNUl5lDIxM4KdyzF7ckXb0udykKVfB7M cfYo8zmgmw8dWEPh3NtK1bdEgSuKtjte0uOcNEVJVFy3AkNkPdLFcDuXsLH3f3zfBh8/ +toXso/nEzY3FRajB/uVG8TWVPhjz06DNR1vvH8CZkVzcEto5I3nwthBmtJT+W/VQ0MO R0xaz70mVtsYfMIJGVv5/CeDaC6QUGfPfA++bbFzpld4BJ1k1FTzXmH+dWLkhpolfAiR fXJh2aQecYZ7CpiL0AH00nmhjaScH4S47i5H+CJMQY0q7FO2Qn3atxX3XE9bvX9OqUYm 9/Ww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=jzdInPFoiQE79oz0FAxRgBjy+bhSglkdU1VhG3eJOdY=; fh=GMbUW85Br4iVyl408hkBbL/MIgxMs+YUA7Kn28mpju8=; b=oHCKZS0lZfjtTv9JvNZ9e2Uifau67HNy66VA7N+DOA+jb19zTCKHiJi1UYdnTfeBti kiDPleQznwg4BGHNHfiL5I4z9nDXHO+ha8IsfEPD8BsRJBw9PsXcV64Mmbeiskc2Par3 agcuQ4eEpwblfsYxsb2TOYSUhUXDgEFdrLiCPQkj6b09Q11MSzaG9PALb1Tq4Lxp0gZq 5MNPV3+ynEWGUmHVNMYtss1lrJ8M0J6rquEzmqCZmb51sr3VN2bAdemvLXxJIeGbHWyM Uf4kew2JRuKO32I2nxVL+GfWvfAHG4o7v4aeUaUjFcXkXNL8NZXdK+45/U96MyEyn0Tu fE7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=Vx2R8thY; arc=pass (i=1 spf=pass spfdomain=163.com dkim=pass dkdomain=163.com dmarc=pass fromdomain=163.com); spf=pass (google.com: domain of linux-kernel+bounces-195317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195317-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6247a553dsi5891795ad.451.2024.05.30.04.49.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 04:49:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=Vx2R8thY; arc=pass (i=1 spf=pass spfdomain=163.com dkim=pass dkdomain=163.com dmarc=pass fromdomain=163.com); spf=pass (google.com: domain of linux-kernel+bounces-195317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195317-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 37783B22BB7 for ; Thu, 30 May 2024 11:49:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2699D176AAE; Thu, 30 May 2024 11:49:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="Vx2R8thY" Received: from m15.mail.163.com (m15.mail.163.com [45.254.50.220]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B05B4183964 for ; Thu, 30 May 2024 11:49:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.254.50.220 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717069778; cv=none; b=W1nmKYzsDVyhpLd4QLCYrcu+zU1j/eE1qH59IzI2J+lDoJ6khdgsicZzX+DhljfPxFq8lyQ35F0VdvxPZIVTwNc0V17nByjZP/PlL+UW+QbN9zCm5HqxpaGLzt5Sxg/pPITDGZLv4qb/8qPzC/F0RPt/+z7nqQdERtELXVxhSDg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717069778; c=relaxed/simple; bh=cTzUY6jSVP0z3DdLxZ3a8PW6ByaAklUFEgH+9kaYB0A=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hmS6pZuUcletxCg4cHkRQC2pkgt61hIeOjQgYiMznmRCK1HOFxCe9VvQoNDmRmAnvm+nCh9Ip0j70POkPo68FxWOpOzZSDw4RQnDQUvYISBJTtvtIFeKm1fPE1NgKYb+hsyrbvHOvmL8i1qpn/qL37YNDF/+8pxIx8LCTF1bFQc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com; spf=pass smtp.mailfrom=163.com; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b=Vx2R8thY; arc=none smtp.client-ip=45.254.50.220 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=jzdIn PFoiQE79oz0FAxRgBjy+bhSglkdU1VhG3eJOdY=; b=Vx2R8thYWi/C6XTLOdFmq 1yqWNS1K+XRbnxjKB7E/USXvNKfrggghRt96Ds7z8pw8NcjcuwCRbmffavTbCEVg 9Q7gfZIvEpv7Kbpc1qBK/r2PK4z084gNsgyz6JrxaHPSuvZ9E4NakhBSrOF6fAuy WVyFboqTKGz6VDTjns+wBE= Received: from localhost.localdomain (unknown [111.35.185.173]) by gzga-smtp-mta-g0-5 (Coremail) with SMTP id _____wDH72GzZ1hmcv3zGQ--.22468S4; Thu, 30 May 2024 19:49:12 +0800 (CST) From: David Wang <00107082@163.com> To: sivanich@hpe.com, kevin.tian@intel.com, baolu.lu@linux.intel.co, jroedel@suse.de Cc: linux-kernel@vger.kernel.org, 00107082@163.com Subject: [Regression] 6.10-rc1: Fail to resurrect from suspend. Date: Thu, 30 May 2024 19:49:07 +0800 Message-Id: <20240530114907.4836-1-00107082@163.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:_____wDH72GzZ1hmcv3zGQ--.22468S4 X-Coremail-Antispam: 1Uf129KBjvJXoW3Wr1UCryxJFy5tr4kCw18AFb_yoW7GFyxpr yxWFnI9r43Xry8X3Wjgw47u3ZxG3s8Ar43u3y5Kw45AF98Gr9YqFsIqrW3Wry8ZF4UGay7 Xa4DZrn0934DZaUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0pEb4SnUUUUU= X-CM-SenderInfo: qqqrilqqysqiywtou0bp/1tbiMxnuqmXAlhzFfAAAs4 Hi, My system fails to resurrect after `systemctl suspend` with 6.10-rc1, when pressing power button, the machine "sounds" starting(fans roaring), but my keyboard/mouse/monitor is not powered, and I have nothing to do but powering cycle the system. I run a bisect session, and narrows it down to following commit: commit d74169ceb0d2e32438946a2f1f9fc8c803304bd6 Author: Dimitri Sivanich Date: Wed Apr 24 15:16:29 2024 +0800 iommu/vt-d: Allocate DMAR fault interrupts locally The Intel IOMMU code currently tries to allocate all DMAR fault interrupt vectors on the boot cpu. On large systems with high DMAR counts this results in vector exhaustion, and most of the vectors are not initially allocated socket local. Instead, have a cpu on each node do the vector allocation for the DMARs on that node. The boot cpu still does the allocation for its node during its boot sequence. Signed-off-by: Dimitri Sivanich Reviewed-by: Kevin Tian Link: https://lore.kernel.org/r/Zfydpp2Hm+as16TY@hpe.com Signed-off-by: Lu Baolu Signed-off-by: Joerg Roedel And I have confirmed that reverting this commit can fix my problem. Following is my bisect logs: $ git bisect log git bisect start # status: waiting for both good and bad commits # good: [a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6] Linux 6.9 git bisect good a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6 # status: waiting for bad commit, 1 good commit known # bad: [1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0] Linux 6.10-rc1 git bisect bad 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 # good: [db5d28c0bfe566908719bec8e25443aabecbb802] Merge tag 'drm-next-2024-05-15' of https://gitlab.freedesktop.org/drm/kernel git bisect good db5d28c0bfe566908719bec8e25443aabecbb802 # good: [db5d28c0bfe566908719bec8e25443aabecbb802] Merge tag 'drm-next-2024-05-15' of https://gitlab.freedesktop.org/drm/kernel git bisect good db5d28c0bfe566908719bec8e25443aabecbb802 # bad: [a90f1cd105c6c5c246f07ca371d873d35b78c7d9] Merge tag 'turbostat-for-Linux-6.10-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux git bisect bad a90f1cd105c6c5c246f07ca371d873d35b78c7d9 # good: [8b35a3bb33b57bc2cb2694a50e49e0ea01b9ff6f] Merge tag 'pmdomain-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm git bisect good 8b35a3bb33b57bc2cb2694a50e49e0ea01b9ff6f # bad: [619b92b9c8fe5369503ae948ad4e0a9c195c2c4a] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux git bisect bad 619b92b9c8fe5369503ae948ad4e0a9c195c2c4a # good: [91b6163be404e36baea39fc978e4739fd0448ebd] Merge tag 'sysctl-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl git bisect good 91b6163be404e36baea39fc978e4739fd0448ebd # bad: [0cc6f45cecb46cefe89c17ec816dc8cd58a2229a] Merge tag 'iommu-updates-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu git bisect bad 0cc6f45cecb46cefe89c17ec816dc8cd58a2229a # good: [89721e3038d181bacbd6be54354b513fdf1b4f10] Merge tag 'net-accept-more-20240515' of git://git.kernel.dk/linux git bisect good 89721e3038d181bacbd6be54354b513fdf1b4f10 # good: [89721e3038d181bacbd6be54354b513fdf1b4f10] Merge tag 'net-accept-more-20240515' of git://git.kernel.dk/linux git bisect good 89721e3038d181bacbd6be54354b513fdf1b4f10 # good: [de111f6b4f6a3010020825d22a068f416bc29c95] iommu/amd: Enable Guest Translation after reading IOMMU feature register git bisect good de111f6b4f6a3010020825d22a068f416bc29c95 # good: [da55da5a42d4247d7a48b843fa5fcd9a4a10f4fe] iommu/arm-smmu-v3: Make the kunit into a module git bisect good da55da5a42d4247d7a48b843fa5fcd9a4a10f4fe # bad: [ba00196ca41c4f6d0b0d3c4a6748a133577abe05] iommu/vt-d: Decouple igfx_off from graphic identity mapping git bisect bad ba00196ca41c4f6d0b0d3c4a6748a133577abe05 # bad: [446a68c58d2e5b8140d474f1a74082aebeee9bb0] iommu/vt-d: Add trace events for cache tag interface git bisect bad 446a68c58d2e5b8140d474f1a74082aebeee9bb0 # bad: [cc9e49d35b4de47d6b656ac144cb22b11dc65c2e] iommu/vt-d: Remove debugfs use of private data field git bisect bad cc9e49d35b4de47d6b656ac144cb22b11dc65c2e # good: [9e7ee0f045395dc8aa55fbdc164c062484f4c88d] iommu/vt-d: Use try_cmpxchg64{,_local}() in iommu.c git bisect good 9e7ee0f045395dc8aa55fbdc164c062484f4c88d # bad: [d74169ceb0d2e32438946a2f1f9fc8c803304bd6] iommu/vt-d: Allocate DMAR fault interrupts locally git bisect bad d74169ceb0d2e32438946a2f1f9fc8c803304bd6 # first bad commit: [d74169ceb0d2e32438946a2f1f9fc8c803304bd6] iommu/vt-d: Allocate DMAR fault interrupts locally FYI David