From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AbPBzyEG" 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-Google-Smtp-Source: AGHT+IH2Ee7jy/1HUKjhnM0FzWr1llSFk1mmZxb+jGS8XK1HpX8qhtkl8SiSACuchuYO1pFYaOe8YA== 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