Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1903236ybi; Sat, 25 May 2019 11:18:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1CTC2fKQxYKFvh3ALjg+HqNBk98usUy6YdDq7oBoGtAQn997eu8CINa12KUdnVSdq2ixa X-Received: by 2002:a17:90a:5d09:: with SMTP id s9mr17473708pji.120.1558808288015; Sat, 25 May 2019 11:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558808288; cv=none; d=google.com; s=arc-20160816; b=boEmoBXqPCNoPU9IXVYOqujlnMB9f+MLE3d/SkZOGg/JwNIhhKrmi2ehc1vkFMMsjL RIY4dAsP9dD/Y82jcI1yGmAmzj6cAIir/EdGbjfIdGUyIA50YbH3DD3rpzlRd+F53W/R fHPLGEba+b1I2y9idPlSb+9NhOaSdRCGwcPyU41AYemHLp8hENsOoYuwot+VSgoQ+IiY w3S4PyiqcVX9/EjHZg0PhL5H9wV1lYv8RYJj7ev/XooeWrXGn19b2JGOp7tgpXh5YMEl 8lz8k3R/IsZqytLLhcJ5dz4Tw/dYxks9rtwVCoP/rcNRv3RK7SWfhchvqRwk9OUzLECQ J+VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/ii9WpqD7iEAJKDcuy2CpZ/y9+8YtSKEyLsD7jWsNAQ=; b=D8ZUbjF8SV8S1UWkcyYIWwHSs2yVG/KXsmtEA1y7zsuxyF78PcZyu7KHhpGcq9eVlH JlrRIsOpeToBI488lvdSv2tAwE44/Rdy/qLBSaEuCb2AGiU/5xFnl6bZV87mSS983D5V KERRKHpuHcKwHW+OLNrihPYJn7PlpeBErDxNhK+wpWdkN9uhue07AgNUm5HXreYRY5qG GoIS8+2P8sSjr4nlgCfcgH9Ra3RaiRAetZs0BqHOwD1HAlGWANv85V0AEORk1kZFyKnB lzzUR1QGSI3ab7W96VsrNXT07iE3yZH00C31hIVsVSP/pmKh4HBecITkXeozRy0gMOBL 2C9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E3O488YV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id x8si8571761plo.342.2019.05.25.11.17.53; Sat, 25 May 2019 11:18:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E3O488YV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727416AbfEYSQt (ORCPT + 99 others); Sat, 25 May 2019 14:16:49 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40460 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727300AbfEYSQs (ORCPT ); Sat, 25 May 2019 14:16:48 -0400 Received: by mail-pf1-f196.google.com with SMTP id u17so7205517pfn.7 for ; Sat, 25 May 2019 11:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/ii9WpqD7iEAJKDcuy2CpZ/y9+8YtSKEyLsD7jWsNAQ=; b=E3O488YVP8TgapmTW0WHrHr5ag7JIOkw2T6nXC6lEd/a1hMULi+DdyrxSINGbd5xGc sUSAbhzND1I0stBU7o+1u8mSI48Daarvhj55rAbL/1vhpivBXI190VPU+y9L/pcIWJE7 bfKWvxY68+2gtByETnQ9w6hEowzfxRrG02eW82rPQv2LvVXCXiPU7lyvE6g0LNSGY7OR kCGHOkkSESFeOZNhP6ieNVyxpo4H2sAbr6pAee6pLlSnvADsydU2iLqzalTMy1kol+f8 +yb/AaoYxpNYnw7UkoFrVGy95QbvWwZnwiPtvDT5gCN88MtAHn3HaUy3ya6MRiAyKObS errQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/ii9WpqD7iEAJKDcuy2CpZ/y9+8YtSKEyLsD7jWsNAQ=; b=cW0AXAaN6hVpX0ErqwICkYiIIyU/mSIsXITzXyjIM+C/UV0WQH5ZqBDpJVSXxM/J06 KLrsZFXLL34R4djrfeLWmg8U4NWKABNPzwxyFKq+3GRy4y/s3dNqELShCpHd1QPepTRB KXdlPGofDGykggae/5+JzOxDS0HJiQhxPYcvzDx1J8K1cZOa4hKCSt7TeqFzJQwTxp9S YU7L7dBTm8lFzf69Ra2h6ZFZOtPWylknl6pQ0/ePQZiCvN/tdcmn7bWBBYIlIQdWJxym rgjoErQxpVpYnASzmQJ1WZ3OfwAC2Stc9KPekShF5m9Qt3UMXZuBTYXo2iqn6dZ5sIR9 ILzg== X-Gm-Message-State: APjAAAVg281Cg9cuja9zPlLldIQ6Tf9Nz+s79cmXp8FBsevB4EOACG8o z/XtXapg+ecQRm5uKqqMTVeq/A== X-Received: by 2002:aa7:8dc3:: with SMTP id j3mr123366686pfr.141.1558808207644; Sat, 25 May 2019 11:16:47 -0700 (PDT) Received: from tuxbook-pro (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id i101sm6691470pje.9.2019.05.25.11.16.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 25 May 2019 11:16:46 -0700 (PDT) Date: Sat, 25 May 2019 11:17:14 -0700 From: Bjorn Andersson To: Sai Prakash Ranjan Cc: Andy Gross , David Brown , Stephen Boyd , Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 2/4] soc: qcom: Add AOSS QMP driver Message-ID: <20190525181714.GI2085@tuxbook-pro> References: <20190501043734.26706-1-bjorn.andersson@linaro.org> <20190501043734.26706-3-bjorn.andersson@linaro.org> <3d2c61ca-b91b-fdc7-7837-af6a3b71af7e@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3d2c61ca-b91b-fdc7-7837-af6a3b71af7e@codeaurora.org> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 25 May 10:53 PDT 2019, Sai Prakash Ranjan wrote: > On 5/1/2019 10:07 AM, Bjorn Andersson wrote: > > The Always On Subsystem (AOSS) Qualcomm Messaging Protocol (QMP) driver > > is used to communicate with the AOSS for certain side-channel requests, > > that are not available through the RPMh interface. > > > > The communication is a very simple synchronous mechanism of messages > > being written in message RAM and a doorbell in the AOSS is rung. As the > > AOSS has processed the message length is cleared and an interrupt is > > fired by the AOSS as acknowledgment. > > > > The driver exposes the QDSS clock as a clock and the low-power state > > associated with the remoteprocs in the system as a set of power-domains. > > > > Signed-off-by: Bjorn Andersson > > --- > > > > Changes since v6: > > - Squash the pd into the same driver as the communication, to simplify > > the interaction. > > - Representing the QDSS clocks as a clock/power domain turns out to > > cascade into a request to make all Coresight drivers have a secondary > > compatible to replace the required bus clock with a required power > > domain. So in v7 this is exposed as a clock instead. > > - Some error checking updates, as reported by Doug. > > > > Thanks for the patch Bjorn. > Tested the QDSS functionality on SDM845 based Cheza board with this > change and it works just fine. > > Tested-by: Sai Prakash Ranjan Thanks for the confirmation Sai! Regards, Bjorn