From nobody Tue Mar 28 22:07:12 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PmP1F356Fz42VcF for ; Tue, 28 Mar 2023 22:07:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PmP1F2566z3H8c for ; Tue, 28 Mar 2023 22:07:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680041233; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BFh2X5v7s6PCTLrMmbuZeqZYxTBN0eGcq+Wt1k1HsAg=; b=coidi1J8vX/eTTtbZCq5rsXMBy0X1TeXw6GPBr84eWViRfeoc9kP4sq9RI3pZiAHeiXc6h iXXbRq/Ksd7L/LKAxrdqIXMeFKv3wLaOX9m8vZ15HZX6jJVemcAvOlF01tn9maIVOWKXQM yK2/jMJ1OZQEfOOwNcvh9ntH5s2hevsLeACouH3HhUDIQClADfXoyvB5UDgrBARr/LFVdy Mvk+H8ZP7MvIi+Oiht/b2HuoR0lnh+HaZjZtPkhaRgN10RbspcYOW5ZqzaGoKvBXCEygiq shFCKXvU/rYp4FO7RuFcFQ7dAIEUpTJtfIOGwsYGPM7ncFaTGOCloK64hdIT8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680041233; a=rsa-sha256; cv=none; b=WcOWXmhfHJQKpltI/PFeyyOzCJeI38K430Y1FzJCO08/QqKuvG3EeOLesR8G9ShWKqINr8 wlIpkR/fgsseZ58J3uuHFwvQtKslVOqJWNxtHuCc7slmJ4sjsCAGJ9fM5G0A06QKjxx1Jv ZbF9pbpc9bMSG3fhE1xzvgi5vm9Ug0ttdrvfXAHR2Jv7Y78XyFeTr3v0gV8dSgi0IQdNWN /vk/w1zLHUhArDh1yQYbPI0M4cf+Oj81bsIZrv0aS3+5H22F8qmND/joRv3Mv+MnlpSjgs PHZe9ScCTjhVacYYiWG4weKwnQqFW52l2j44rjZhhKUi3NB43IklYAswkvEVYA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PmP1F13MPz1Kh7 for ; Tue, 28 Mar 2023 22:07:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 32SM7DBO021220 for ; Tue, 28 Mar 2023 22:07:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 32SM7DF5021219 for bugs@FreeBSD.org; Tue, 28 Mar 2023 22:07:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270489] Laptop doesn't wake from suspend anymore with 13.2-RC5 Date: Tue, 28 Mar 2023 22:07:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: henrix@camandro.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270489 --- Comment #7 from Lu=C3=ADs Henriques --- I don't really know what's happening at the low-level here in this patch, b= ut I've done some blind testing here's what I learned: the system wakes up from suspend if I comment the following lines from the patch: ... identify_cpu_ext_features(); hw_ibrs_recalculate(true); /* * hw_ssb_recalculate(true); * amd64_syscall_ret_flush_l1d_recalc(); * x86_rngds_mitg_recalculate(true); */ mca_resume(); if (vmm_resume_p !=3D NULL) vmm_resume_p(); ... If I uncomment the next line (hw_ssb_recalculate(true)) the laptop won't wakeup. But as I said, I've no idea why, this was just blind testing. --=20 You are receiving this mail because: You are the assignee for the bug.=