Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp549505pxb; Thu, 12 Nov 2020 10:03:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwuY6ZkKZOqicpEFcovz7tYLOgk+RW6uh/nxNnzhUHsRIe0Rk0T0ysTJJuaUyzD8UqJc95Z X-Received: by 2002:a17:906:2458:: with SMTP id a24mr523932ejb.20.1605204181588; Thu, 12 Nov 2020 10:03:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605204181; cv=none; d=google.com; s=arc-20160816; b=gFRDYLOCnRbg3nn0dQOaR5Ac0HS2+DtEk12e+j1PW1yWCeHv/Qri6quLLlBa2jpzDW THo/nOpLafTFvShiYn/p+6XiIcpg+za9pF8Kg+74t54EJ2O2+Rf82PZs9KS+rKehDMKU lkP+e8YXOKGzJcjg3ZdblTGKnCY2XU1t/atPGpiFjZUoWAZUPgcmCDEM24w18jf7qvni Fk7il8+0MVeGp336wkhf09xHGZIqrKNp6hzxeKuaySRzXS7y8yqXgH4PGdyLZm4T8IAS khnow+GMRDICyhcO06ncE/4llsFOtctW1p4PQa33mnP/7f8VOrbD+UQiL5XWzV1ldUnd WCRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=uNJ5eMTuI/eF0JED79RYDzkiBDvoiLGjhKrBZ4BVH/g=; b=c6s6KkYq3syAEuxMmrJ2phNet7InX4tq3+HHmzTwcB+XqvZhjR6ad41tvb3WcjDdXh xFjnb29KYvCTGu33a/uWSqq6SEsCLajsbnnJVHb9g53RTkpXq1SVVodW16gYvA1Cu9Yi mMfKDgjmfKVLpEWmLYx7K3pJ0mam5xagjw+YYOSkJsg6CnWWZy4Q6V3GZjY4tOB0iSLo WCDrrBn6EeUp+gBXKq3rY/K5V5wwO4HjXO3D3YTokdvSQK43+Ik/7nbsHj1PzIvqRW4c uCHxNwrcraw7wFDwpg1oqbFbBwlx+kiu9P+PMWUsdalUAzTtAJC/sB0s6WO3qsSIeOGq YgDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kali.org header.s=google header.b=bpKjXi1W; 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=kali.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q12si1951692edw.14.2020.11.12.10.02.37; Thu, 12 Nov 2020 10:03:01 -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=@kali.org header.s=google header.b=bpKjXi1W; 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=kali.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726878AbgKLSA3 (ORCPT + 99 others); Thu, 12 Nov 2020 13:00:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726863AbgKLSA1 (ORCPT ); Thu, 12 Nov 2020 13:00:27 -0500 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FF33C0613D6 for ; Thu, 12 Nov 2020 10:00:27 -0800 (PST) Received: by mail-oi1-x244.google.com with SMTP id w188so7369785oib.1 for ; Thu, 12 Nov 2020 10:00:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kali.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=uNJ5eMTuI/eF0JED79RYDzkiBDvoiLGjhKrBZ4BVH/g=; b=bpKjXi1W+7OBeRaFRnHuyva7vt7de03EhDO4l1KRgRfsi4PR8atG2KPUgUW0C3S+P2 4Fc3rBhV60E4AART4sG84XPoyL02q2a51kJsRXE9ay5zj7XqXvm33BgwFm1bD5mJ+jIw ML/xM/X4NqJH2p6C4rDMO+0tUliuifjXr54gXESFza2avo4Fyiw0V6VvrpThJNObWwUw nblbiFSFY1pQ6VmkB5QKgtA0J9nikuLzCAcRxhXf7zVieYUvpEcluI4AL/UpA30s5+eQ DxQYMvxZG+32e3Xkqtsf7QNfdTHCUwgttkjFYReNs+f2IUzE927yxatxZDrEhwhPQ/tt 1A5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=uNJ5eMTuI/eF0JED79RYDzkiBDvoiLGjhKrBZ4BVH/g=; b=XFZeEOqTrwH9xtkocB463TZnYDYn5GvVkPBDlDfrNdNmR5qdtQmQhjYBdl/vom4uTf fneu8yooQjAT3cPjArjZtBnEDUtZTq27AnLV33FdZghpo1vddXi+zw6w6XrUnrht12kt Df8i9JFw6ZXHVQglzzFILCIz033ZYOmzQFmexYo4o+Yp7SVNTbDSj4TqbW2rJKwEpFBN JSd1LIpbGsy1Gj9LeInAU3NALLoyya91uyKxuElBAbGouzsjRaub8vk7mMjEZfrB1hUA C+ZJCR2cdIszv7QyUpgF9V93u8JIQlNqmM/sN8AmfRwIbbFFMTbMJNM27VmwE+1XbDW9 GFVA== X-Gm-Message-State: AOAM530uwIKlUpjkRwnE7UgpSnOhJX8AMCWcC/mTUiG/UYhwElSKxdYy uDpzTSoWdUjcZQj9pv7h4UNpOAiGSA+z3L7z X-Received: by 2002:aca:6004:: with SMTP id u4mr703107oib.8.1605204026605; Thu, 12 Nov 2020 10:00:26 -0800 (PST) Received: from Steevs-MBP.hackershack.net (cpe-173-175-113-3.satx.res.rr.com. [173.175.113.3]) by smtp.gmail.com with ESMTPSA id k13sm1397131ooi.41.2020.11.12.10.00.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Nov 2020 10:00:25 -0800 (PST) Subject: Re: [PATCH v2 0/4] remoteproc: Improvement for the Qualcomm sysmon To: Bjorn Andersson , Andy Gross , Ohad Ben-Cohen , Siddharth Gupta , Sibi Sankar Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20201105045051.1365780-1-bjorn.andersson@linaro.org> From: Steev Klimaszewski Message-ID: <71bd287c-a48a-11db-354f-0aee07ba2eeb@kali.org> Date: Thu, 12 Nov 2020 12:00:25 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20201105045051.1365780-1-bjorn.andersson@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/4/20 10:50 PM, Bjorn Andersson wrote: > The core part of this series is the update to the sysmon driver to ensure that > notifications sent to the remote processor are consistent and always present > valid state transitions. > > In testing this I finally took the time to fix up the issue of the SMP2P based > graceful shutdown in the remoteproc drivers always timing out if sysmon has > already successfully shut down the remote processor. > > Bjorn Andersson (4): > remoteproc: sysmon: Ensure remote notification ordering > remoteproc: sysmon: Expose the shutdown result > remoteproc: qcom: q6v5: Query sysmon before graceful shutdown > remoteproc: sysmon: Improve error messages > > drivers/remoteproc/qcom_common.h | 6 ++ > drivers/remoteproc/qcom_q6v5.c | 8 +- > drivers/remoteproc/qcom_q6v5.h | 3 +- > drivers/remoteproc/qcom_q6v5_adsp.c | 2 +- > drivers/remoteproc/qcom_q6v5_mss.c | 2 +- > drivers/remoteproc/qcom_q6v5_pas.c | 2 +- > drivers/remoteproc/qcom_q6v5_wcss.c | 2 +- > drivers/remoteproc/qcom_sysmon.c | 121 +++++++++++++++++++++------- > 8 files changed, 109 insertions(+), 37 deletions(-) > Entire series tested on Lenovo Yoga C630 Tested-by: Steev Klimaszewski