Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1067122lqo; Fri, 17 May 2024 09:38:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbHqzOEq9MT4KGFvtaeFQJdnUKhy4DnZVMcEt3dMvst/X4oGu2P0P2dQEHHYg4Wh9zv1iVEEmHVy4au+EEfKqIeuM0BluVbJF7glAWjw== X-Google-Smtp-Source: AGHT+IG3BMe/DqeHcvvNpym6bqaZFdCMBHAK17l5/0gH7Tks7xLMI1V8Lh77ZCIk/Hz838h9Vsx/ X-Received: by 2002:a05:6a20:12c5:b0:1a7:aabc:24ae with SMTP id adf61e73a8af0-1afde0dc410mr24153886637.18.1715963888364; Fri, 17 May 2024 09:38:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715963888; cv=pass; d=google.com; s=arc-20160816; b=LSlQjxNZ9THr4l3hFajm1ivDep4e2a7kCRuMLw8RLe+Ay6w0U/cMJoDh9oNo2T6DuY AoSB13OovGer/8yMZdCc//6Af0iwxWgVVhKDmv2aS7L14+SiI4+G8UtfBYEnadrOWi33 aYRcN2hnSqe3D4sRnohPyVrmJ2uxymkrpm1p7h1jPbggexTi9Lx3DG7KpCfWxFbL498L GIFyhBLocimPe4VE8OJSR8V8Pj2bVHlP5HHIQdNGY0B+FsxUAUd3WXXAsuhJ06psqxIJ k+wr+PcfVhjgFPLRiM9GQIssvX3MfxOlOkRZ5XEReIGVjmmS+SQUN+XGZpUmJboBqnl9 AqRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=WsjumDZ0H1yS3DBh+QfsoEZzohX5fRd4/kFrgIp3CUE=; fh=FHncI3cXYdnzf1nsV/FKTb18N/DV+uS+5VCC7cbsbTw=; b=nB1wCFQK+1EoJkh2XbdPiGpn9gTnrv5JVKzMq2t6H9oZqG+VLgPCL3/jkhB2h+Xxpc UdMYQ2IeBMNMb6RCGVfvwzrFePFwwVab90aqbksQEOjbWhGJnxmSPvQh3xjTPkqBN+iR zmQ735ZMhhQW60DqSrCVU7mHFY4YLCeXX3EnEGnA9vfhwXbxhPS3T1jBKhOm6YqF7K4T XfcTpw+jQQlfoFjNjMMhXlYK1KLmoafEvXTtZh/qBInp1mYqsTun/KolVRI3ryf2lbQa HLAHrkV/h/4MZ6fO7U+DbQQh2elY7Wfjb+gO+v7O3SKSR5u89ond9XuMKClrclMUea1T npGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ffanOiIM; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-7792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7792-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63412958d33si3428974a12.672.2024.05.17.09.38.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 09:38:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ffanOiIM; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-7792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7792-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C170E280FF7 for ; Fri, 17 May 2024 16:38:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A4ED13D89F; Fri, 17 May 2024 16:38:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ffanOiIM" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC0DA13D625; Fri, 17 May 2024 16:38:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715963882; cv=none; b=n5Za2kFPScEtAeseUyLc9uJqF2/P6ZWZ639R3ul1Haj4Sncc6crk1MVaVBf8WU6HiaoBQq3S0gS49fMN9Iq3wgOeTnd+TpJGt1T158mk0wML2hvIfJJkKVu1ZwIXp74RhLUaiSN1OwCe8puNr8TVsj3d6+WJjp6parnVtYUWbX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715963882; c=relaxed/simple; bh=VhxzfyQX6UlrAr0KfzJ1VoEGjFRM3wnRB971rxbAml0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OZGsx5K6bYax3loQS9ca9jnxvQDbDRI79NhztQh7xOoFfEKh2acwjQnkJiG2/pjI9iR5wDLKz1hwoTkamdu4XOSUEpE709tRcacG2pbDe/BwvQvotLfCoHa1JlBrT40fKU8r+Q3uRtM7gQ++EMOnQvctLq/0/QK9Vpv5plgQAgA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ffanOiIM; arc=none smtp.client-ip=209.85.219.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qv1-f51.google.com with SMTP id 6a1803df08f44-6a3652a732fso5248166d6.3; Fri, 17 May 2024 09:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715963880; x=1716568680; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WsjumDZ0H1yS3DBh+QfsoEZzohX5fRd4/kFrgIp3CUE=; b=ffanOiIM5Hw5ZI6GZ/fWfB8C2MOnpILOrpo5nmbZC1Iri9LMwE5+eCGlRmchzVcRWc naD38osAysRoN2mpjhDj3nOy4/DI5Ua0h6o0rmmWxl1LsafkYJC8c4WSRYAMCUhhpYNv zMf9Q/hqllRn6KJK/eHv8vqYvXSERUl9pZmAZTuawtu9KhGpyEnM70aFP0B/gt+QhmOa 7Oz8uxKfowpGe3Kjni7uaSQ+Mkkaxvy4Xoo54zVRZzBBAnu+w0jMKXFODaqS/20ZMVBy E9+InZpM6o5X/gL/tWfiejCY4XicDt73jwGE2VUp8Zs+3BFJYADfdP/n0vu07zVo94hg mCYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715963880; x=1716568680; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WsjumDZ0H1yS3DBh+QfsoEZzohX5fRd4/kFrgIp3CUE=; b=eZ0ZEEbA8AJKBNtRBTQN0kLw5SyBa77aixdIOjfYFb3x+BbaW1oT2naUYKdUIrsAZ8 kdkRBeTyYhtSmVms0u0fDZu98zSiBrgM5g0cnC3DmKVX6Z9dRxAuVqlmZO7c0iFOiS+0 9wQ5PutATzD7+Gp+0HZQ6j/xE6D737MEwoC4491cWTtSWJL1tnQXvF7Q3Ui/F7pUBwlX 1XzLZgnFEizdy86S4AP1LCFRlpZv26C6HF3rIKsQKLmm6VTXkz44GIsPEAgfbQxVB9w6 DjxIusFIkVL1Ktx2qEE6nDoFlU7cMxK5Ew3vvJPJXaoyQtU0kWRwDurjZwGSMn/9Rcor /KPA== X-Forwarded-Encrypted: i=1; AJvYcCVhbTPwpWXdQfXpPydfx9DZ1j8G9xNbtht/9+Uzvj+vVgDeRQBu7njvML2F8K7FRhJKJ1lCBGPTLyXzJ12QH3rNmxt/V4NTPn95tLVvxZTuDFuIEWWUoO3LCT7rndeNwR27+FMNpk0elBt4ukQ= X-Gm-Message-State: AOJu0Ywvow2HgCN4tsoGmhkGQgqC33/er5EU8LG+yt5qckgFrx6A/dIY zU2JzQj4nbCh0SFL4vby+HomJvQ1l9PLXmRWw9BQyNPOb0CM+3QKW5FIPsborbqpsjzknxLmk0O SaiO2wWPmRL3Mq64Z8JRqRY3yuMI= X-Received: by 2002:a05:6214:4497:b0:6a0:b3eb:5626 with SMTP id 6a1803df08f44-6a1681a167cmr277927426d6.39.1715963879817; Fri, 17 May 2024 09:37:59 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240517141655.2797-1-trintaeoitogc@gmail.com> <87r0e0fq1l.fsf@kernel.org> In-Reply-To: <87r0e0fq1l.fsf@kernel.org> From: =?UTF-8?Q?Guilherme_Gi=C3=A1como_Sim=C3=B5es?= Date: Fri, 17 May 2024 13:37:23 -0300 Message-ID: Subject: Re: [PATCH] thermal: adding check if the thermal firmware is running To: Kalle Valo 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 Content-Type: text/plain; charset="UTF-8" Kalle Valo writes: > > 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 Thank you for your explanation Mr. Valo. I will fix the patch and resend.