From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EAE7DECAAA1 for ; Thu, 15 Sep 2022 17:12:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbiIORMQ (ORCPT ); Thu, 15 Sep 2022 13:12:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229629AbiIORMO (ORCPT ); Thu, 15 Sep 2022 13:12:14 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40B2997ED1 for ; Thu, 15 Sep 2022 10:12:10 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id bq9so31887086wrb.4 for ; Thu, 15 Sep 2022 10:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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; bh=2l+yAhDGJcVHWRPAUd5IGqWQpdGPXrRqo+Mo7rCnu9g=; b=qYLUuKwg7TmcQaCUmiqbSOSwWPHJ7BOSf7OUqyRyJ3RDJwhbXvpzzUvwOJ2LS2xjI5 /H82/CJ4BtXEjNcjgJVECsKq+Ld49iUvTQspx5JGfaQiA/oi3e/BocD+gFhSI8btsLbU Ss7yyFQKAwTvDkeV8GbLErQaCpNuTrMsJU0jKKQS0DF2qqzAxS9A5al/VX+0ACp89cdB 2BNcfghBBQfbqvq7o5SHdTQhYFUjjxNUFFuRmL5Cc6zCH7kybyjMPUot0CyYkFWxPPfa KgaCspXXxXrNPZXRTaAKfo80+mBYKf6AE9XM+95iIAqhT5J2QaQ6e1WioRNqewpeCdsC L6Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=2l+yAhDGJcVHWRPAUd5IGqWQpdGPXrRqo+Mo7rCnu9g=; b=JtuVsG5kAVtNzu3uNUiXtOrnVJKq4hrB98NsSER/N6cdWYeGlb7cQuSj5N6MLRQvhz DVc7irsu/159CCr4Vl0hYZtiBNipL5lgJpG3YdERmv3L7ksuGABifZWSbhTaIJApBSs3 /SbR+L7cgm6haNkRh1KGfhi5cM8udQAxujvW0yiPTfMuKj8iY9T64UpcXspnbUMZKxW3 HC3TyKTBrjgj5OybJdpvrkjm4ZPBQniI+nPWe+uDpLOZmMNPC0tQz9Ta3ArIGOkVWD5C 2dxeCQDTdGCDkM1geZu8Hj5YDqRqH3RXsTWS0DWKkqIxvELqXd39MU0qZU7vlu7PfaQX KgTQ== X-Gm-Message-State: ACrzQf0Y4wd4keMdrPvLgBfOBfggVD9sOCuiuT0MzE7KAUE+8h9QdD6y 7m41aRxXJav82oxDPD6ixuS6vw== X-Google-Smtp-Source: AMsMyM70kaWkZlnA6Fn5V8cPrO3Vg61CS3ixMnGXXYV5uT8dD90iLhhDw+2OMvK97nrOmKmG8UpJsg== X-Received: by 2002:a5d:58f1:0:b0:22a:dab5:9aa0 with SMTP id f17-20020a5d58f1000000b0022adab59aa0mr459058wrd.28.1663261928744; Thu, 15 Sep 2022 10:12:08 -0700 (PDT) Received: from [192.168.2.1] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id q1-20020a056000136100b00228c2462a78sm3171395wrz.24.2022.09.15.10.12.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Sep 2022 10:12:08 -0700 (PDT) Message-ID: Date: Thu, 15 Sep 2022 19:11:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] thermal/core: Add a check before calling set_trip_temp() Content-Language: en-US To: Lad Prabhakar , "Rafael J. Wysocki" , Amit Kucheria , Zhang Rui , linux-pm@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das References: <20220908174610.7837-1-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Daniel Lezcano In-Reply-To: <20220908174610.7837-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/09/2022 19:46, Lad Prabhakar wrote: > The thermal driver [0] for Renesas RZ/G2L SoC does not implement > set_trip_temp() callback but has trips commit 9326167058e8 > ("thermal/core: Move set_trip_temp ops to the sysfs code") changed > the behaviour which causes the below panic when trying to set the > trip temperature: > [ ... ] > Fixes: 9326167058e8 ("thermal/core: Move set_trip_temp ops to the sysfs code") > Signed-off-by: Lad Prabhakar Applied, thanks for sending this fix -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog