From nobody Mon Feb 19 08:08:00 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 4TdZsY0XJFz5B2vR; Mon, 19 Feb 2024 08:08:01 +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 4TdZsX5r1tz4KYk; Mon, 19 Feb 2024 08:08:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708330080; 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=jh2lmKBRNKfQlGQovI3OGUk5/XDyFxrvGv14+SJsZhY=; b=Tc2+a3H2iVny0+l0TV9F47DbWf9QCTnrV3YMkV3legWlPaak1ExadynAQ09Wd9N5D6vcjn 8l6SKhF1uGScHhcCyLPnwLIEdMlQrYlOI+qAu6pQi6y4UW790Ew5B6JpxI0gURR6G1MtF5 m8b08JDPxbGrmFgH5aBroE0Pt0YUPO/9OJfQC0yp2mJj+ildQB9LyXceoWUEqFAjgwAdUc 4Wba2wti7j1Wd6kw1Pxf1isvS3cWG4knQMIpMvuMorhevdR9SKKeK/FUtrX9M9g8Xw2pQn u+mcLBNAi6NwpC5mIcF+Ggd+jt/95hJELIEpMoo6W4HyfXNhn5J9ziJ91+yZnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708330080; 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=jh2lmKBRNKfQlGQovI3OGUk5/XDyFxrvGv14+SJsZhY=; b=KYN8k4Bf8MqNvKG74GcFCg2Ay6WQRrH3Rh4c6T67oW23NugaMuis1/ojoc77Xuss9QqWd+ CjbENwWg6hl/tmM9fVjwGybD0FyMAldoKx0i/5eBqvdp5vBrVtDVPma0MOj58IW0hMupUe WWOyhyJgONgzRIMs4HAYXGZtCbU4xeu/kAwuyyeOaS+VKj/rorkKeqluwfgjHsl1kU958q soyXPO0yM02o5KF8ALNurrjxyzj//fchPKnHvM3TrvtpSMjD5KwADF2GoWV+c2kx5LxKF0 emFT8Z4hGogwzw/1gtYXe2TQyQTcxnxW22OHahz8fSNEzFemY2t93UvEVgqf9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708330080; a=rsa-sha256; cv=none; b=e2rgQx65+pUhNAgzWO876Wt9vRYTLfqwvW2KXuGZwodV5qsCnMTjn+iBxI9yJH2XpCh0f5 A/eta3fO4DnhwMR+6iu8TFM+46arIOWAZ1QkDidA9osUK9mTLVEotqGoriHsDOt+WlJTEW gBCevoGeqwM0+SIlhiNE5xBfQe8jVqhDNEHddokXinoEiO2luDr/bdXOOQuAIv0WbiBi+d PewWscstxjBhHt9C7C/Em2bTmyuspDO+9jGlyrB0EpyYPD02262xC7gDP+3UsMxvqhOgED o3Cxn60heUc4OeUuy6O+Dgjjsc68Ry5T77gBxY+S1FRbVFClX114mVt59Nyuiw== 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 4TdZsX4xcfzRW3; Mon, 19 Feb 2024 08:08:00 +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 41J880qD016340; Mon, 19 Feb 2024 08:08:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41J880lL016337; Mon, 19 Feb 2024 08:08:00 GMT (envelope-from git) Date: Mon, 19 Feb 2024 08:08:00 GMT Message-Id: <202402190808.41J880lL016337@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 6a56d8553b55 - stable/13 - iwlwifi: improve error message 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: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6a56d8553b557c61fc770ff6b1f202b2ac6180c6 Auto-Submitted: auto-generated The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=6a56d8553b557c61fc770ff6b1f202b2ac6180c6 commit 6a56d8553b557c61fc770ff6b1f202b2ac6180c6 Author: Bjoern A. Zeeb AuthorDate: 2024-02-12 16:09:12 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-19 08:02:01 +0000 iwlwifi: improve error message In case we cannot identify the firmware monitor buf_location, print the type (usually 0 = invalid) so we have an idea at least of what was set (or not). (cherry picked from commit df9d7d1e0eb6004c5f5fde78bcc7c28cc27950fb) --- sys/contrib/dev/iwlwifi/pcie/ctxt-info-gen3.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/contrib/dev/iwlwifi/pcie/ctxt-info-gen3.c b/sys/contrib/dev/iwlwifi/pcie/ctxt-info-gen3.c index fa4a14546860..5919346a059f 100644 --- a/sys/contrib/dev/iwlwifi/pcie/ctxt-info-gen3.c +++ b/sys/contrib/dev/iwlwifi/pcie/ctxt-info-gen3.c @@ -68,7 +68,11 @@ iwl_pcie_ctxt_info_dbg_enable(struct iwl_trans *trans, } break; default: +#if defined(__linux__) IWL_ERR(trans, "WRT: Invalid buffer destination\n"); +#elif defined(__FreeBSD__) + IWL_ERR(trans, "WRT: Invalid buffer destination: %d\n", le32_to_cpu(fw_mon_cfg->buf_location)); +#endif } out: if (dbg_flags)