Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1393639pxb; Wed, 10 Feb 2021 07:27:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnfL5EyZfiOEMuuxdVKAoV29GsYpSDiGbqH+gz+nYb7hbv3awA0f6OXpersOxUQcvoZkCy X-Received: by 2002:a17:906:33d9:: with SMTP id w25mr3326007eja.489.1612970841628; Wed, 10 Feb 2021 07:27:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612970841; cv=none; d=google.com; s=arc-20160816; b=C+/WJx6/D5VlvkjbIpHIfmPYt/yY8V0qFFxedP+JnII/NsmpXa/GUCP3JOhEkAKjNa cmC6fcKtFyhJT64I88E8nY0WmlqT9KB106/oQbzVljXwsjo1rY6ASDcm3XoXlxi/kEzw /aDgIJEWQpFU8Q/rBIVlpDehQuUGapY+q0xZw8my5MuPZZWgityQj+FvO+sO3c2KlkyQ 5o5GwYqw/hB5Vbl7O58wy80H+n1QRNeU4o2YTiC1bMOsD2h39EXOebTXzOZnSZukAhkD KBjFggKQkT1b590g9c9yqAsm21BKPngo4C0baEW37UbnGJ9EyhRgp27izkAVDGpj7koP Hw6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:cc:to:from; bh=QsYR8RDb9acHWRVp936hukpKh1WxGQGI1EDoQx0zRSA=; b=ICmoiwCVGzLWXArxoKtGjBgDliuRmM2gb/oLc84nJY5vS9V/T6sw/Bf93s3UL13ncx 2Aa3HrlzidsYVnSU4vothZd8mSmwzZ0f6G0sR5sMBP7YxHjUhiTqBzQ+lOzD68z51PGn Pz/X50s0zR1dNFg3KabNsXuYUNUNJz41N6TMG2Z6amSF9XKn6o0q6NYq0n8haV1Da8ky pIy0Inf7IpKjlTJRRfDo8YFfdfwxOMkv/kItGxOdHiaFginOBenGEYhCpbf9Ncszi4wu 4GveqhXAAW+ypkcgDznsBFJaRSsyeCvQle1frrgLTHHj82EPd4LE9FOK/hwV5BvWfuYE p3lg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp6si1497077ejc.532.2021.02.10.07.26.57; Wed, 10 Feb 2021 07:27:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231659AbhBJPYx (ORCPT + 99 others); Wed, 10 Feb 2021 10:24:53 -0500 Received: from paleale.coelho.fi ([176.9.41.70]:45336 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230048AbhBJPYp (ORCPT ); Wed, 10 Feb 2021 10:24:45 -0500 Received: from 91-156-6-193.elisa-laajakaista.fi ([91.156.6.193] helo=redipa.ger.corp.intel.com) by farmhouse.coelho.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l9rLR-0049nr-5U; Wed, 10 Feb 2021 17:23:57 +0200 From: Luca Coelho To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org Date: Wed, 10 Feb 2021 17:23:48 +0200 Message-Id: X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210210152355.419776-1-luca@coelho.fi> References: <20210210152355.419776-1-luca@coelho.fi> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on farmhouse.coelho.fi X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, TVD_RCVD_IP autolearn=ham autolearn_force=no version=3.4.4 Subject: [PATCH 1/8] iwlwifi: mvm: reduce the print severity of failing getting NIC temp Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Golan Ben Ami Currently, for all devices and families, failing getting the temp from the fw is indicated in the log as ERR. This is too severe for two reasons: 1. The driver has a fall back - and schedules the next temp read immediately after failing to read temp from the fw. 2. The temp read implementation in the fw is different between HWs, and on older devices the flow is a-sync and may timeout. Reducing the print severity from ERR to WARN will allow to track the issue if it will appear many times, but not frighten users if it appears once. Signed-off-by: Golan Ben Ami Signed-off-by: Luca Coelho --- drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c index 790bc68a515a..2a7339b12b13 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/tt.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/tt.c @@ -261,7 +261,7 @@ int iwl_mvm_get_temp(struct iwl_mvm *mvm, s32 *temp) ret = iwl_wait_notification(&mvm->notif_wait, &wait_temp_notif, IWL_MVM_TEMP_NOTIF_WAIT_TIMEOUT); if (ret) - IWL_ERR(mvm, "Getting the temperature timed out\n"); + IWL_WARN(mvm, "Getting the temperature timed out\n"); return ret; } -- 2.30.0