Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp999638lqo; Fri, 17 May 2024 07:56:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQGSPNqRdPN1wH8AjicespVt855NA4IxAEza5wT/Sz/1aa5giwIlYxaySpTor0tuzS5KTYbKe6tsjV5uQYVbSeZkyyFc2GD9IuGKDs+A== X-Google-Smtp-Source: AGHT+IE746HAoZMSLjTvpzMp29lFgfyUxqU0MvbX7iFWDgVIR9wX/ot+ryOmkbB7xjMqiZOnDruA X-Received: by 2002:a05:6214:3a05:b0:6a0:c922:a8d5 with SMTP id 6a1803df08f44-6a168138c4fmr231533776d6.11.1715957795149; Fri, 17 May 2024 07:56:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715957795; cv=pass; d=google.com; s=arc-20160816; b=ZdRsgoQzA+NRIzZegbpvvJXSqOar7is8M8GJlN4K/mTM3BStsWXSpzFQXD7+8679Va df1xvRw/hbtptdLPPAA5EJHxiNN1Awg05SnIDshaoTLjaWREAxc4a92zcp1kfv8Y6rT/ siHtfjJ4boF7U+6AFuPlYFOUHRQvDcataTATT0RpspjgIaDUcaxqmqxIiX1RZ/Knmn18 NTM/mAbo/D30VgNkR63oTx8ruPtsnFJp5vHm+LtA2YobP2Eyq0fntH1BQnLNsTyT7BQw MlwjKRLINiflDf6WAbBd9c3Ax/YQCZ/DBbqVqU3+alEJX/MhxjBBJGtT80gbq4bGgy7z u+SA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=QcEV0QwqcAu5MBFzrBkH68T0Tsm08rp45OiP+TUZdDs=; fh=LEeCX5a1sJRBJilU4AOo718Q4ZKR/X0v+PTS1FCk/IE=; b=ZPpUSXOtYHkIXcOY4Ei2C6si5ENtPDIHSijrJn6+DGGmmnULiMTmPb45sRC8BxtjIP Vo46NM/KqnC1clRMVqni4gtsRy8zGzmvWWKzGMjwrpJx1gr4KfvdXYgRdlay8o6BId8K Azg5h6jNGX9aUBP8Zg1p1YOnQyEwbaLedkxvPNLISw27Tfn7bHcn1tWFsuluTFxL/Yc9 Fp/fL+xyng98pSV1U1LWR6ykht6w4QdV669gCyk3C0W+4ahIE7qHsBXcLW9fAekl7Okm vip0MDZfQLzcpQOIn7BPyxUTFvkp1eETSgujMECbyHPDG0IEGVSKVIj3k8ays5PyPdDR xOeQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e3JDhPhg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7786-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f2ee980si40424606d6.435.2024.05.17.07.56.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 07:56:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7786-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e3JDhPhg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7786-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D9E101C2174E for ; Fri, 17 May 2024 14:56:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B125778C60; Fri, 17 May 2024 14:53:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e3JDhPhg" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85A7C78B4C; Fri, 17 May 2024 14:53:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715957611; cv=none; b=WnQc4BxqyChzBPvWZGrClOvG5XDRRexClaO7Hi2QKkN5+GsY5G49W1CsKvom3UwLhILHdWCr+M6MPDZdLnkgZFSuwxyqmyjRxaN/fG+1UFhJ5kvycUJo0Gb6hMiPmAUiU2R8h/SIerZnU8tRk+YdZ+7ucgRLys9S/czsyf21yqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715957611; c=relaxed/simple; bh=FRUm+nnGWwhaBntVRjYzavVZzyBg9okBfCuWgG8mdmU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=GjMk5yQ3LXz9ZGz2mDN4lC5EFvTuvLc3qhBSJa0ga2xrw2e1i//pAjQf/0Q0TzRpwdxYX8g8uXC0mnvOdzMU++RsYGUVSf6+0DfAfsniDWM/PP+VfIZAoO3OPsWygfozcgJvqegcQfCrwMIwdSdBSGWDdOTGDlieZ3jf0TL9adI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e3JDhPhg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D863C4AF07; Fri, 17 May 2024 14:53:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715957610; bh=FRUm+nnGWwhaBntVRjYzavVZzyBg9okBfCuWgG8mdmU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=e3JDhPhgctSs7rzeTm0fZ3m8cwveFPez3JSxQJJFoQXScGVfhzdI0cW3p/gEPAFx9 iDjy79SK0HKIpd5eUTAP/DD++j1c0jI0SikVH4bVKJt1mm9/iSb80ZBAWlzVMg6mNX iZixPOpUFEEDZnoZ9sMkYFIYMw+CMcwEaTVsn09+mEjMm4TukNGca4C/nZDmYW0Hzm FsWMj74RIJ9fNxRHEDAGRyZKZY+ImtX5HdHVlcxFUtMXDYArbpsySJ50S9u0ghQGlz o2NKmAhSDPIA6mkcjudOTZly3EcF5tdiyOozUtR9nuFpJj4adEH9Hqwrmd1ZSzXbPg +d0q+WofhB1JA== From: Kalle Valo To: Guilherme Giacomo Simoes Cc: miriam.rachel.korenblit@intel.com, rafael.j.wysocki@intel.com, daniel.lezcano@linaro.org, johannes.berg@intel.com, dmantipov@yandex.ru, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] thermal: adding check if the thermal firmware is running References: <20240517141655.2797-1-trintaeoitogc@gmail.com> Date: Fri, 17 May 2024 17:53:26 +0300 In-Reply-To: <20240517141655.2797-1-trintaeoitogc@gmail.com> (Guilherme Giacomo Simoes's message of "Fri, 17 May 2024 11:16:50 -0300") Message-ID: <87r0e0fq1l.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Guilherme Giacomo Simoes writes: > In the dmesg is showing the message "failed to read out thermal zone" > as if the temperature read is failed by don't find the thermal zone. > > After researching and debugging, I see that this specific error is > occurrenced because the thermal try read the temperature when is started, > but the firmware is not running yet. > > For more legibiliti i change the tt.c for return EAGAIN when this was occurrence. > After this change, in my computer I compile and install kernel in /boot > and in my dmesg the message "failed to read out thermal zone" is not show > any more. > > I would like to thanks for Rafael Wysocki for > your suggestions in mu first patch that results in this another patch. > --- > drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) Please read the wiki link below how to submit wireless patches. For example, the title is wrong and you haven't signed the patch. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches