Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1364194rbb; Mon, 26 Feb 2024 07:07:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXNnfeIG0bWtUN5ghwd2f9fsF4brFKrxlZ3AbmI7vaRXtH9Qa0KPQceq24c7zUjs3W63tGzg+iNw8jVuT4f9eR8T4DHI1EzkD5rEMV7EA== X-Google-Smtp-Source: AGHT+IH3Mtn0ob9WyxJsmMY2p1svUVLVbyxGEGLuJnI/1CH27ZwINDUj5VZ/jottgqGpAiVBh6zU X-Received: by 2002:a05:6808:169e:b0:3c1:50f6:9f93 with SMTP id bb30-20020a056808169e00b003c150f69f93mr8331695oib.11.1708960060950; Mon, 26 Feb 2024 07:07:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708960060; cv=pass; d=google.com; s=arc-20160816; b=VRvUX+7KAqlbWA/T3AsLuqYRN4O9Sh+JIG1lGByYrjJPNrZLWbhYCi9tDk45uQ+0IT 324vOkX2aMgUQAMk6vuYXrGepnDUMVGyBpUy9BkcfjgewYuv7I7V+bnVJIG7+z2cETzV LOrA5Gb7NLnummTiMgtvi4QwxHsSJQ67iKJ0N6r08Yc9J8FIpJf9gqdcOVk44SeigxPE trPWMKZBGhqMu5EfjtTO4hnflqx/+S9k2ugN8fxTsYa64ehUCzyTYmO+p2iJRMo1jUYt w0BGTet9PRFO43ID/oPk7xucproU83Uo4ZYsvVV0yrbfcZQ2NKDPETGWHXKwYIVgvTSW vCuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=D9tbNaYjJUe+G+wb/l7hVhkbXYhWJjIHDAkvy08BoSQ=; fh=7qAafJYvovpEyoNl9h8lHJJc+KR3C92qLAb5gAyLCfI=; b=h8z7SdcrEMnUTEvMDjyuAejZ2G6Uo7my5uXOCdzXaYAFK+UPYv5pQCYQsZv0SJgRFB pHuUdjLs4Jm5ic/KbCONaLknPvhOMgq3awYxPDwModuUDiPSHOGs20e1if/flG6tAfBk yBM5hLCmwYVqGf/FykV461ABSi2c0qei/4JqNPL7BetKIyWHEZ8zEiW62KuzPGRrijCq ABR8KIpttPwPwWkfUCwFiYJT7trta1O9huXjl3mIaN/bJVBws2wIERcCmzOm5SdBGGdi CnpWkPZJ3yWunlJorfZZdpzKub60Zh26MLysb3TnvrBb6K9lFHChx7kx50njnFBdrfy/ TSjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AbPBzyEG; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-81727-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81727-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ir5-20020a056130630500b007d95e9b644esi664371uab.8.2024.02.26.07.07.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 07:07:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81727-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=@linaro.org header.s=google header.b=AbPBzyEG; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-81727-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81727-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 EDF2A1C29932 for ; Mon, 26 Feb 2024 15:05:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9760612BF0C; Mon, 26 Feb 2024 14:43:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AbPBzyEG" Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 0255912BF0A for ; Mon, 26 Feb 2024 14:43:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708958587; cv=none; b=u0CQNDVcbnMv70RjzXgPbXUKyX0LwrENmUVrn2yAvHEY0HSekDgX/JfLE3eHX7QOYCPo2Sfq7t5vh55zjUXLz0D94ySKr7oGOCkUZ9Jr1CIbbvFcz3Kbs0HnuJYJ/SXJP7+vqWcOu6IURr56VmV59Ofim4bgBWYhC3uwYWcCchU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708958587; c=relaxed/simple; bh=194/ZcRx90rMT6lhPS7u93Tfa7QH/NXGR85wnsvgn5U=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=H3Md/2pdGGB4ilwQwVDwy9zYt6MzmbPGMUQ41c3NBVZYZczV+BkTGPxj7Tn4Z7RG3lXFim7AIKXa2KZv4aZom7dHPc9Y6Vd5VT1k9YitHh46io0HhLYBfwW+aN+n8Pt9qio06vLVw9MpBKWWl9GA1bYSxYAeNw9HIXFyNoNbDvc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=AbPBzyEG; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-412a8d9402eso2807005e9.0 for ; Mon, 26 Feb 2024 06:43:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708958584; x=1709563384; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=D9tbNaYjJUe+G+wb/l7hVhkbXYhWJjIHDAkvy08BoSQ=; b=AbPBzyEGQYrNJGEAKMfDv6AUSvzbGZsU3PAhyXTa4KdkMVXcOGi0pSnF5sredsxVT9 B3Iia8TFBXkZX5FCpS3QSoVq6rs/IYrKf8h0Sy0aAJpDXOYJCChK0JImZA9d3TDvmX44 SIRGEwYafdF8UlpqB2j25Z/O4mt6FL8LLzUVrXz1h2VS4TUcjX9i8VTR90QbKeXjJwaC Yqlkg7DlFv5PyqwzO4DWelZ2+MRUarfuZ5QFhiYa2sZhtdqmzvFVnroJFBz2NPNmbhwj XxPJZVJ1zGPDiUFapK6Ks0Z7BW6m4SaD7tCihnErgqP7B7ix30uXd3qQ9bX5QY798vBD 12Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708958584; x=1709563384; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=D9tbNaYjJUe+G+wb/l7hVhkbXYhWJjIHDAkvy08BoSQ=; b=BFf5PllhnQHd0Gnp+Pdq8icGN98grhjKLsR0A50fRWhjd1zKQwKTpwraB6PWhZPGnH fVCeO3N+vfD+maKgZrJ4DYn3pltjuoXaqQVP5YzONHao9JHRBfThvG16yBtJ995RUJde zAPPO3AhgI7JsgYSb3Odvi0wL3YhHbNis4NldlTxTZaSwvxijiYQG7NTauAy2hokRgp9 Yx5i3GbodozrlrTIg+hxXb6dspjV0tkb2rSdKayUoBDd07y+kMy0YxOu7CU8I/vGBRu8 3l6GJW3nflzssh8MgsOBur0osXKFEoHxxbRkavKtVEaIzI0LcSZAYCkDQRD2D4S9ALk4 WHqw== X-Forwarded-Encrypted: i=1; AJvYcCWl83W97PBowV+DYf2NvjRkded+d+VT8Sbz9i23Px/0YwrVCdBLhMGYnK2ml5hdnfqdH6DnXqpGAqc17n8Ozfzb/xybh1qbpS8a5bf4 X-Gm-Message-State: AOJu0Yw7Hj32mP3YT25L4KxyeB052dw1/jqvcP7jknGT+nsA0pK2UAfa DQDlUCwOlzn6eplyMaWAxCqjmpF9lBGKC1DvKVvsh/iVftEF+1r7cwMlqPcSWYYukgEGzjheMiF N X-Received: by 2002:a05:600c:1992:b0:412:9c2a:7622 with SMTP id t18-20020a05600c199200b004129c2a7622mr5989940wmq.8.1708958584336; Mon, 26 Feb 2024 06:43:04 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id n1-20020a05600c4f8100b004127ead18aasm8586036wmq.22.2024.02.26.06.43.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Feb 2024 06:43:04 -0800 (PST) Message-ID: <6f4a4d7f-e258-47de-ae9d-026370339641@linaro.org> Date: Mon, 26 Feb 2024 15:43:03 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V2] thermal/drivers/qoriq: fix getting tmu range Content-Language: en-US To: "Peng Fan (OSS)" , rafael@kernel.org Cc: rui.zhang@intel.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Peng Fan , Sascha Hauer References: <20240226003657.3012880-1-peng.fan@oss.nxp.com> From: Daniel Lezcano In-Reply-To: <20240226003657.3012880-1-peng.fan@oss.nxp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 26/02/2024 01:36, Peng Fan (OSS) wrote: > From: Peng Fan > > TMU Version 1 has 4 TTRCRs, while TMU Version >=2 has 16 TTRCRs. > So limit the len to 4 will report "invalid range data" for i.MX93. > > This patch drop the local array with allocated ttrcr array and > able to support larger tmu ranges. > > Fixes: f12d60c81fce ("thermal/drivers/qoriq: Support version 2.1") > Tested-by: Sascha Hauer > Signed-off-by: Peng Fan > --- Applied, thanks -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog