Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4039715pxu; Mon, 21 Dec 2020 02:43:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/irnA3pfsaOLRAz54CRqX07Dz3/CwYrM0Kh99gsCoE0QvR3SdvncSxGrcWk5zaBZhXHL2 X-Received: by 2002:a17:906:3102:: with SMTP id 2mr14628880ejx.135.1608547396519; Mon, 21 Dec 2020 02:43:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608547396; cv=none; d=google.com; s=arc-20160816; b=dB+eGWHF2hMv41Si1+GxL3OK9PHpt9RnXIaNVXqYpFOHWkxxA3JHw/TllM7ki5oWSt dHNIQtbPfR08LPOYaRsn8Rr05gir51X9ovDdnkvoku2cwtw4II0/Vo3GF/OlkL5xVm+E wO80tbDXUTfhSgJZvPAVVo+PZdOoEA/CISxkzo8cr8MlgyuEQTtxOj5NZ/iAtOmQPakF 84bLc0nt+2XB0ga10RrwE6yBwQVB1qWKqspGnTKMnTCpANFodP0VxL0/50M2n6EI+7xp kAjrcmMXJ5w4H2GkHgJVQ0Z845QyfTT5Mrwex8JeoFxahl8pV9semDUh5vcYwkYVRxoA 4FTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=tzabDuWmM3g5ZkaOr2QySkn/9M6a1A2MD8omeBNCWbM=; b=oj6dLjPZmo0dXLM/tbqdjZ8Xgv9GEMuw7RAfZe3WsO3RADIrsIjAIUMOWLb9jgewPU fdzTLqnV9Yd0yYnAY5SyZnaHpl+XBeNaBsrRmF+q31CsdM8ngMvRNrGDHi/sv4DYTK4J IyTFj30JzhSZUs0BYG+OrqGESUq2kuo23iCGBD/MjCCM3NdEHMwC3WgZf1aHYu5xNLhk WaBUbw+sDmTLFR2JqShzN/XmtxDnEKPRraw1/MMWhuPkTZo9kCg4usfEbU0tm4gwO0r4 SnwLvhMpRXG94fbF3AB2qWQwSDmMRTWEunXU7u8d+Tg74Z+OOMYM7MNkh6vF9rxhDgId wB2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OoK9GePT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a16si9688141ejk.668.2020.12.21.02.42.53; Mon, 21 Dec 2020 02:43:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OoK9GePT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726847AbgLUKlm (ORCPT + 99 others); Mon, 21 Dec 2020 05:41:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726499AbgLUKlm (ORCPT ); Mon, 21 Dec 2020 05:41:42 -0500 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3185DC061793 for ; Mon, 21 Dec 2020 02:41:02 -0800 (PST) Received: by mail-io1-xd2f.google.com with SMTP id 81so8367538ioc.13 for ; Mon, 21 Dec 2020 02:41:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tzabDuWmM3g5ZkaOr2QySkn/9M6a1A2MD8omeBNCWbM=; b=OoK9GePTmRNbd6WWPi0aUbjvK9fwYRW49mNoUmvsgE0GRxMQ9EjdYWTRQFXzKM6VV3 TUPCQFzVNsdor9TmGl6s25zqjVR0tRyoOFGzepRpANjqRNGPpNZkR5dhZyH6qXwDgqnV hsrh7rL2/eHAijyYeXEEKiy0QDQNjCobg23N39P44MS2AxATpCtb2lejXlhWpHRDQPNL 8n4qGA7Yll74ppfXUE3eQAQ6KsiLOzCt/Wa3rudRjbJ66veA4Dv7U1d0f0WhPnQxNznf jJI3M91U1n8Sk8BIpIMytPZussgTfiEpwjgpDps3qAhEbEFkFtWGE1GnsR5KEuAShxGj 2ZIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tzabDuWmM3g5ZkaOr2QySkn/9M6a1A2MD8omeBNCWbM=; b=fdzOqc57yqVX3rDms7ziWwq+FjxFCjLsiTKD0Nbkqt5WJI10Jlv3SKcsDETOODHYas ZBSd8GcKGV9/r2dPQc4dC6cujmJVQpo2cK9Jr/AUXWPzv9oPjrJ3rvfRCkd8aa+NvXcc XzaxC8PrQaLxjUF4rp3EQjwZ17Ti5KFt2G/hgQkhDyiwPeg4s/ZzDq5uiphwBc3lv0Ow wEacaQWdNmFChuB028b3w6No/DLImZR4bg5l9gHmIcw5yB4Tf07npa9oPJRz1Bs9uQxY 6rzW/MP7oCbIjN7w2O88BcQRwUduToNpr1SV9NYyJtthkB3Rjd14i1JkjS8myb2wBLGK eZVg== X-Gm-Message-State: AOAM530qEiqBd8W+Isekt7Kek7sPX0SNwiyVZKbwjr7PM9RahF7S57UQ boTUTM+Mn11A7aeqQbuHVAM5LF6qJnGXg1KcP2FfZw== X-Received: by 2002:a05:6602:2b01:: with SMTP id p1mr13586508iov.156.1608547261441; Mon, 21 Dec 2020 02:41:01 -0800 (PST) MIME-Version: 1.0 References: <20201221095820.27192-1-stanimir.varbanov@linaro.org> In-Reply-To: <20201221095820.27192-1-stanimir.varbanov@linaro.org> From: Shawn Guo Date: Mon, 21 Dec 2020 18:40:50 +0800 Message-ID: Subject: Re: [PATCH] venus: core: Fix platform driver shutdown To: Stanimir Varbanov Cc: linux-media@vger.kernel.org, linux-arm-msm , Linux Kernel Mailing List , Bjorn Andersson , vgarodia@codeaurora.org, Mansur Alisha Shaik Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 21, 2020 at 5:58 PM Stanimir Varbanov wrote: > > With TZ system reboot cannot finish successfully. To fix that > enable core clocks by runtime pm before TZ calls and disable > clocks after that. > > Fixes: 7399139be6b2 ("media: venus: core: add shutdown callback for venus") > Signed-off-by: Stanimir Varbanov It fixes reboot on Lenovo Yoga C630 laptop for me, so: Tested-by: Shawn Guo