Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp573138rdg; Thu, 12 Oct 2023 14:16:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFWclNz0Y7f9pYHriStbALZpXaDLJ3tZwenlfUsf8voAhLvyUXjfctyJ0syaSjOC9i9fydt X-Received: by 2002:a05:6a21:7784:b0:173:318:b1ec with SMTP id bd4-20020a056a21778400b001730318b1ecmr7299915pzc.35.1697145383435; Thu, 12 Oct 2023 14:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697145383; cv=none; d=google.com; s=arc-20160816; b=Tv6vW5u/yhpEo8w2hqT7Uh2vK+D6N2YRlwXx1/4MGapge46m7uRKm286nl9XcwKv0V BKCZSZgBwpCGTYmlTA9WVA9yGBsSbwQWwQkXFWZyrKv547QCRwGZFke8XJZp0iihO6Sa n7r0MnkT8hWLLG2S0lELy5I+57uqhsUkPU5P4QqUU2mZipkj6F7CsT8XxLMzP84vewoI DNejOJj75Ss7yo05YXGEt0XATNNhIxPE8TMzsnxWtR2zh607HCTYyHB2lbB49jv5/hFP iT6DURtL2jXBfcH1W0oMzL1tAJNyJPkMuuNfHi3NUPoMDXdqDkj1+iiqflLCiPuvA3b9 jrJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=LXj2JrQj56sgWsNLBX3n0JJqicUacQ5S9A/AXrcip2E=; fh=lwSoWzxFgElz870zfiYjK9IUzI6DgmKcUjvGVkpbGwE=; b=ENeIAG70OtG+ARLYt1wUxbEFYMonp+vqwmxKOb+b3Xbpb7e9A2PhkvqyixdZGlkqCv 1CbavqwZiPrdHABRBW6cI670bVqF2QLjmOzqBfcUCHsmJ5lDniHewgwvSI2UaMI7kgzV FshA1njQyX+EsDXuJQxhE7/B2IB3HNYJujyxEj/DOhddYGdJkDqrpCBbMlWTQapb//Oj SZgjZPV83b9pUBAruJkEArgrEctC8CQ/BLLTBemUR3Jp+WlLj1hH9NT7lGpmwy9Ab/5c twryYeKvnD2gMFLeNZKJKMiI6nO44KANWOEFrreZo+wIAkqgaKh+VtvZWRlcC5aIa74t B6dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TXpzMrw+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id d8-20020a170902654800b001c9c9514db7si3058716pln.604.2023.10.12.14.16.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 14:16:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TXpzMrw+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5E52C8069346; Thu, 12 Oct 2023 14:15:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442824AbjJLVPK (ORCPT + 99 others); Thu, 12 Oct 2023 17:15:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442682AbjJLVPJ (ORCPT ); Thu, 12 Oct 2023 17:15:09 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F0489D for ; Thu, 12 Oct 2023 14:15:08 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4066692ad35so15301205e9.1 for ; Thu, 12 Oct 2023 14:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697145307; x=1697750107; 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=LXj2JrQj56sgWsNLBX3n0JJqicUacQ5S9A/AXrcip2E=; b=TXpzMrw+jjofLXYR1SeP8AWuHL2wWVhNj19yQmFhoBs6dxOBcklzh/DroXZFyMZjau X8lLBJvXulcN1o4zp9sPyr/SUoWmnyCxT/d0oA9DPtgVbDCKorxG+ZnxmjX6F631YM63 5KzZeSku0b+738/RtYBew7mI/3JiShGaHNUFJm52T4ip+32soZl6V17JAvq/vHtXmzDp ybWNQvNe1Q7tgJDUSJSAVMde7ADUs8isSCwqgdnFCm+hJaWMxSn3qM3vD9GTqHbqESLv wUGv/RZbKZ79h8/WLBFySv23c1W0uQi3VptTLx6QAuKyynVyd89srAL+hHKsJsv/SbBw fjPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697145307; x=1697750107; 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=LXj2JrQj56sgWsNLBX3n0JJqicUacQ5S9A/AXrcip2E=; b=sedCiT3krm887oMpjvHoUSdAavxrl2ZBXebHtUvekYSlHhRPscKmiDP633pkHAngqb qPP+7J4Szk5zh3RB7TLycFZDcixxmNMLn3UmDypB+D1YQSPQt6N1pCwWEMsjg9UJxp3q P4f9XA5s0/m/Tc9PfAhANytVDpGC7MrtXaKJMRL0bgu2RbfIfTYAmf/kS3M98DTB8W8i qM/y/k4nO8EgqvKm6wFxIegN2sMoE5ZxQHyEkNkviahOLnAZ8PmPFaP+EuzxSzVuN6l5 jhkGHpdmz3WE70tQ7s3ZY8J4ls/5EwtUtsvPuoidpbzjqDmT5hXTtlf4CW4xvsiNB2XL 4UKg== X-Gm-Message-State: AOJu0YxJtbTX1dg/w33Rqx/iWStmRSfC7HIRi8zymGrqm4x0svS78+IO 4n4yQGBS9jIbwhzSrddmwqNAbA== X-Received: by 2002:a05:600c:684:b0:406:8496:bd8c with SMTP id a4-20020a05600c068400b004068496bd8cmr21767568wmn.20.1697145306267; Thu, 12 Oct 2023 14:15:06 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:c49e:e1a5:3210:b8c0? ([2a05:6e02:1041:c10:c49e:e1a5:3210:b8c0]) by smtp.googlemail.com with ESMTPSA id l25-20020a7bc459000000b004054dcbf92asm779383wmi.20.2023.10.12.14.15.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Oct 2023 14:15:05 -0700 (PDT) Message-ID: <519c78b8-55b4-4774-92b2-ae3dece9bf09@linaro.org> Date: Thu, 12 Oct 2023 23:15:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/6] thermal: trip: Simplify computing trip indices Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: LKML , Srinivas Pandruvada , Zhang Rui , Lukasz Luba References: <5734364.DvuYhMxLoT@kreacher> <4882956.31r3eYUQgx@kreacher> From: Daniel Lezcano In-Reply-To: <4882956.31r3eYUQgx@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 12 Oct 2023 14:15:30 -0700 (PDT) On 12/10/2023 20:25, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > A trip index can be computed right away as a difference between the > value of a trip pointer pointing to the given trip object and the > start of the trips[] table in the given thermal zone, so change > thermal_zone_trip_id() accordingly. > > No intentional functional impact (except for some speedup). > > Signed-off-by: Rafael J. Wysocki > --- Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog