From nobody Sun Feb 18 21:11:31 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 4TdJJ43GQpz5Bm6s; Sun, 18 Feb 2024 21:11:32 +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 4TdJJ41VGsz42sm; Sun, 18 Feb 2024 21:11:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708290692; 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=5NSWBt5tec7PestAMmkVnhc1qOeQyxOjrRrfhSzbcwE=; b=hM+xSfPCASC24z0wOWmSVY6XfpQ2+40WPl59FpOs5W6Ou1CMa9BQi3l2N4RC1LrOpOC9pq rznA6KNPK9QXzQKrvsoLU0zpo8D74F9uU+iTrOyZQXT/U9XFfOV/X6kZEwmfSoSskBS2jZ 6PLDUm0aIK9WnL/n2EHz/YaLj8cogjN/xshnXZhWmbO1nhOQpBpJEF2G+dsLC6gDIJN+oC KJ2MI4+PNZ2osBS3sC8z/OV39UxSJSXjtLkZJlbiEkYJL9kiM1phm47K+xfaqm9xOarwPp m28nNGzMFxFKAmG50dLz5qlJbNeD8lE9TWWhoDTr4RptnB2QVcQvlUvtmrmKNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708290692; 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=5NSWBt5tec7PestAMmkVnhc1qOeQyxOjrRrfhSzbcwE=; b=ByuajDq9RI2u0py20AfcQ+T33KHMZut5npYaW7Pznn/T0/ghjOy9YPw43cSxaUyzPJ1BQJ ivtbldYa1tppJNS/X0SCcuVvB/d1T8ysKXe3CwqVVc+lbDYSAFtnu8/wOEhgwcQAf2+GGA lB37UXwrHZtCSg5rZqw0VQSmAu49h5/XZ6NERYhIp0k/1YyLTPEU661AE2ynYRTuPdNhnj zQA+JX8fBizAPWhCcX6wYD4KiOtHb25zjS6y6NWBpCW3P4XRcmUmxKQ+FDrbJ6KzjrafRI k7PGav6Hk51j1gg84lcUsEOFiTGqYwiY1DdzkjXA8sZu31h2t+fnUW/kiuD+sA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708290692; a=rsa-sha256; cv=none; b=vi+AxRcKfA/muiyreSpIoiBs0e1YJ7jGURh10yIEyrB82a9pI4JYqRw+VVstZKhhCdASvJ L2rDCnC1gKqnGnmrqczydPPUDJI2qczZU4xxfHMsd77AEP+Jwf8TGWPp6DcaVY5Ct2OJOu HqqykxY+JraR/W8XgqgIp96PqMhGQYGL7f8SXDfqc7GCbLPQJw8b94SnjCpNzvgRw7kDl+ NDK7Z319SuGJoeQH2LMGh/tdp2RUeAFwasEsK4e/C27eUK0P/quhvG3Fq734dPmzYt3g+c Kw0NVlQC4sU4cZ9G1V8GVGusp0f+z5+dFS/zH/Yf2YkOE1JSgxjN+AJ6950YqQ== 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 4TdJJ402Dpz16HJ; Sun, 18 Feb 2024 21:11:32 +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 41ILBVFo016107; Sun, 18 Feb 2024 21:11:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41ILBVkl016104; Sun, 18 Feb 2024 21:11:31 GMT (envelope-from git) Date: Sun, 18 Feb 2024 21:11:31 GMT Message-Id: <202402182111.41ILBVkl016104@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: 3d779c9ddd1a - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 3d779c9ddd1a6a1f13f7eb673003564ecd545c47 Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=3d779c9ddd1a6a1f13f7eb673003564ecd545c47 commit 3d779c9ddd1a6a1f13f7eb673003564ecd545c47 Author: Bjoern A. Zeeb AuthorDate: 2024-02-12 16:09:12 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-18 18:31:17 +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)