From nobody Thu Jan 11 05:34:30 2024 X-Original-To: dev-commits-src-all@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 4T9YJQ4whtz56Vmj; Thu, 11 Jan 2024 05:34:30 +0000 (UTC) (envelope-from git@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 4T9YJQ2Xsbz47th; Thu, 11 Jan 2024 05:34:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704951270; 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; bh=XPHiN71a+5mnry5zAWzYFP7teUUY54q1+qQ5HH3A7fc=; b=JcMwFbLhb0aZ5NevSzchk8R80A8/BHWF78fJRUGz8k2LI/yh5AidJSEL6ChfpWSi+NlE2g VOZ1pGp+sb4w1ddJtdTKGrUAY3SZVBkfB+1Kb7dm906eeWkmSNEfPx3Medc7rk6D000PMN m7njuP7hHDMWZTHUnxeLA6Eb6PFCiAyPkC8q+onF938LFdG4kIagd9Pm1g7Wny9/VQt+vg SiRZRGwQ1l/utSdQVOl2YukOS48EzSUrQiKwKJQy549Lys7zUtvLXDzNlrcIjVCctyEMay 7Gh2M1MibL75NELWBUWiyVE67tyXA6sBoBckIWas7QvRZtawDRog3LMU7pm3Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704951270; 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; bh=XPHiN71a+5mnry5zAWzYFP7teUUY54q1+qQ5HH3A7fc=; b=K12kCxyhcTsjWwfr7gc5n7RguHFen5ff5jcUIZ7yHC1XMHc/25JEC6zuARMVdJ/czNrPUw iYaFR7G9nl2k0Z/iQ9JEVLqfxSbbIuUyjkjZQou69e9cGXoHmFTEsF7sZoMWy3x2uHAtb3 YJ8rPFZBi93hfsTQHr3YCk3etKAnbcKCSt+n0glQF/G/P49yMTo9bJI5oG6HjcRQxTKkUg RKO8KgQLuJgT89fZ9Zm3xfyYGxLkCEjBlgP5z6hwVwrhcfKiIBvSCePYrn3DAQquK1V9Re 99RjhqkP7qcmcliy1iwPTV7iIesA5aBUnzg1SKpCUPgcth+SEjbF0XRA8ahWlQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704951270; a=rsa-sha256; cv=none; b=m1FCYqYIO3IzGxq3AbnJKWKEYNyIGCjcmNvS2RTIKwac5I/orCDMOnb+NmHQx5zA615r2C IQiyOgri+fBf2I6Usk4i4hPx+mWS4M+/yxkGGF5Cx4afNiTNR76r3xD9GXNKXdl/wEiPTm 0CQX3z43XHU9M69wNhCF0jXKWBjEqEEAyEaqmnhUc3Try1r0tcUfrMJXI36IpPUis2ZmT6 iachbM1hvIypL7iPAFdwZP+sDVaFl/jb3TWOMeoePcBzGM2QPrWsQTMA5Ct9kQkt7YRZLi 52qZmTCgRYGNsGtgguCZYimVwExnH0x8z8RI31gcbV4FdOPqa8cGb98ZMqdl1A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4T9YJQ1VNXz15QX; Thu, 11 Jan 2024 05:34:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40B5YUiN009955; Thu, 11 Jan 2024 05:34:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40B5YUA1009953; Thu, 11 Jan 2024 05:34:30 GMT (envelope-from git) Date: Thu, 11 Jan 2024 05:34:30 GMT Message-Id: <202401110534.40B5YUA1009953@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Navdeep Parhar Subject: git: b9ead2c2e71c - stable/13 - cxgbe(4): Dump the firmware log before falling back to a minimal config. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: np X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b9ead2c2e71c732e488e9f358ec36e1d4417e0d2 Auto-Submitted: auto-generated The branch stable/13 has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=b9ead2c2e71c732e488e9f358ec36e1d4417e0d2 commit b9ead2c2e71c732e488e9f358ec36e1d4417e0d2 Author: Navdeep Parhar AuthorDate: 2023-04-20 19:43:45 +0000 Commit: Navdeep Parhar CommitDate: 2024-01-11 05:06:59 +0000 cxgbe(4): Dump the firmware log before falling back to a minimal config. It might have errors that explain why the attempted configuration failed. Sponsored by: Chelsio Communications (cherry picked from commit 27913351047b2f49c49c5f3dfc3bcbe3672eea36) --- sys/dev/cxgbe/t4_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c index ebc341419946..8a4b31209501 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -5161,6 +5161,7 @@ partition_resources(struct adapter *sc) retry: rc = apply_cfg_and_initialize(sc, cfg_file, &caps_allowed); if (rc != 0 && fallback) { + dump_devlog(sc); device_printf(sc->dev, "failed (%d) to configure card with \"%s\" profile, " "will fall back to a basic configuration and retry.\n",