Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp184965rwl; Thu, 30 Mar 2023 14:15:20 -0700 (PDT) X-Google-Smtp-Source: AKy350a/L9okfjzP/7Bs0iahyviMH7H+wuAA39BvsZKQuV9xLg5t/5gGTZ+sohtDP4VNYmtaOO1z X-Received: by 2002:a05:6402:42c2:b0:502:ffd:74a1 with SMTP id i2-20020a05640242c200b005020ffd74a1mr25955565edc.2.1680210920076; Thu, 30 Mar 2023 14:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680210920; cv=none; d=google.com; s=arc-20160816; b=Z+pDTma8HvTshXvPrkCZruj+5ojMRzWIilf5Tdefxb4G35zmNoPCFqXZsg6cS+wyiS gjxQh3jLMbZB7HfZkri8IHFLdu/JelL+pgDNtKSdEzyGGkh9x1TxOQFrL5SbFSyIgK6n fxeBTjU0t4/r8FgCGuFkuh2EVBz5Z0cic7aHLxHvnlAUAS8qOn+tmfrpEP4wAw1LJQM5 dILsMr4R60uf4dNsbVctvis4C6koimFxcMbn2gAaT07VybuXa7G/AdwGLuHrfJzLVzC9 j/+X33v5Hb/4ZDPZEk492CQT/lF+NqzcFYeM3oEIKZRu62iVSy/uSlbeYy1GPSWpF99N masw== 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=xYJ7UCsO7F5A7GpXsRX+DRI450uHDvtid0ji5HrtybQ=; b=bDbOk5dk0bxJyR4BdTOHjZUynjOCC2Gzs4VC8HT8Wp0nOKaNlmfuupoxUycIfGmC7b q2SAL5couRD70ibtQOm0M2ND5RvZB2gB42H6XPnE/9Fm1oybDkeDsxBF8UxmfuwygkSf DFDPBEF2f5meGh5CmyAF0lcm0YrfUzMBaMIh3InLzPF4ObcLxe2OncwfsqskTDOoUQsp IQcXruQTxB11zkdiQ6qRxEyqLA2zGL/oR5/ppXB+Q67UuRNOypxUk+7ILq0t0WDGpV+/ K8eAEMLIsGgoBd8MR7PwzxGB5oMCJo3pPCdVRvVv2+bBfuHnD8fU8KL1ON3lGuhmzfiA ABgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TIOuMwmc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g21-20020aa7d1d5000000b004bd4b029f4fsi563492edp.297.2023.03.30.14.14.54; Thu, 30 Mar 2023 14:15:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TIOuMwmc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229505AbjC3VN5 (ORCPT + 99 others); Thu, 30 Mar 2023 17:13:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbjC3VNt (ORCPT ); Thu, 30 Mar 2023 17:13:49 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED6BDE1BD for ; Thu, 30 Mar 2023 14:13:47 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id m8so814660wmq.5 for ; Thu, 30 Mar 2023 14:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680210826; 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=xYJ7UCsO7F5A7GpXsRX+DRI450uHDvtid0ji5HrtybQ=; b=TIOuMwmc+8BXKmxoFMV87oMywgcK9gX6n7HKYcIRNQi1qfrrh4vWceK117IiKCBCRl /C3RSxWGKAi3MXa9Zq0Ijm8ydELmAe76IJ5Bc+7xX6iqj+yXUxbvQh5MDAo6wjVgSvmh sHjDwMm2UP/yiZcOdJekZwww5sxrrPH4jCobUFUm36ZarX3aQ7fG6HfXSr1PkrcXd1ZM tfYKHp4DmRrkytK3zstli4lpNVTtBicxQHPnEyi5fOP5UhfS4lTAv9rHOzx1aDSbxxGX 22zMxMyHp1Jtp6+NPKJKKF6Emzw89VShKFj44OeI+CqNUIb7vaOlUYZJIzYL07KOC3Wx cJMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680210826; 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=xYJ7UCsO7F5A7GpXsRX+DRI450uHDvtid0ji5HrtybQ=; b=z5BEWxmb4y3ay9yTSb7RQ0cD3/Xhy1S94PW2JvuabTzlR0KzAyYRviFJ7X9UsUYPwt MrkenWEAhBTCP2U49v8iGPdETBAhp56TEv5unrZuvknIHZFCxCd/UVGdroUdwmvUEx1B 7eHoKpLVcifHv7PI8PODt7CqljJCQsz+f7nAnxSZbtRuwrlJDd5oeU5VOy/nNaZbHHpR 191swp40edi13FuT7Ho1+DjI+1UNY+sD4177g8FJrUsHGd6OX5qFbZDw2Ue4NZCl1WOp Nn8O8LwkvP05sZhKhqwCQbXIne65KnYiD7dAKPmoqkDiWObOaE1zEEqZTqG2EboiCVBV Dr7Q== X-Gm-Message-State: AO0yUKWTCINKGUN5xFGvkUuNrjbEfF8fMnouoOaWd98lfa4hrRnyxi5F BWv27rq47RV0Bc+HSRgMs+M4kg== X-Received: by 2002:a7b:c381:0:b0:3ed:4627:ed09 with SMTP id s1-20020a7bc381000000b003ed4627ed09mr18481456wmj.28.1680210826323; Thu, 30 Mar 2023 14:13:46 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:17ff:909e:1b73:8366? ([2a05:6e02:1041:c10:17ff:909e:1b73:8366]) by smtp.googlemail.com with ESMTPSA id hg13-20020a05600c538d00b003ed793d9de0sm11413067wmb.1.2023.03.30.14.13.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Mar 2023 14:13:45 -0700 (PDT) Message-ID: <3e9154df-bae4-23a6-7c5d-d42477800b19@linaro.org> Date: Thu, 30 Mar 2023 23:13:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [RESEND] [PATCHv3 4/7] thermal: rockchip: Simplify channel id logic Content-Language: en-US To: =?UTF-8?Q?Heiko_St=c3=bcbner?= , Sebastian Reichel Cc: "Rafael J. Wysocki" , Amit Kucheria , Zhang Rui , Rob Herring , Krzysztof Kozlowski , linux-pm@vger.kernel.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com References: <20230308112253.15659-1-sebastian.reichel@collabora.com> <2066924.KlZ2vcFHjT@diego> From: Daniel Lezcano In-Reply-To: <2066924.KlZ2vcFHjT@diego> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/03/2023 19:07, Heiko Stübner wrote: > Am Donnerstag, 16. März 2023, 11:05:25 CEST schrieb Daniel Lezcano: >> >> Hi Heiko, >> >> On 08/03/2023 19:42, Sebastian Reichel wrote: >>> Hi Daniel, >>> >>> On Wed, Mar 08, 2023 at 07:13:22PM +0100, Daniel Lezcano wrote: >>>> On 08/03/2023 12:22, Sebastian Reichel wrote: >>>>> Replace the channel ID lookup table by a simple offset, since >>>>> the channel IDs are consecutive. >>>>> >>>>> Signed-off-by: Sebastian Reichel >>>> >>>> As all the other patches are reviewed by Heiko, is the tag missing here? >>> >>> Heiko was not happy with this in PATCHv2, when he reviewed most >>> of the patches: >>> >>> https://lore.kernel.org/all/3601039.e9J7NaK4W3@phil/ >>> >>> I replied, but never got a response, so I kept it as is: >>> >>> https://lore.kernel.org/all/20221206170232.xsm4kcbfwrmlrriw@mercury.elektranox.org/ >>> >>> FWIW it is essential for the series and cannot be dropped, because >>> RK3588 has more than 2 channels. >> >> Do you have a suggestion to improve the proposed change ? > > I guess it's fine after all. > > Sebastian's response makes sense and there is not really a reason to keep > infrastructure around for a hypothetical case that may never happen. > > If that really changes with some SoC in the far future we can always > re-evaluate. Thanks, I've added your tag -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog