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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6AF97C433DB for ; Thu, 11 Mar 2021 16:34:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2AEC264FF1 for ; Thu, 11 Mar 2021 16:34:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229634AbhCKQeW (ORCPT ); Thu, 11 Mar 2021 11:34:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229588AbhCKQeK (ORCPT ); Thu, 11 Mar 2021 11:34:10 -0500 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E169C061574 for ; Thu, 11 Mar 2021 08:34:10 -0800 (PST) Received: by mail-ot1-x333.google.com with SMTP id n23so2051675otq.1 for ; Thu, 11 Mar 2021 08:34:10 -0800 (PST) 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; bh=Dyv9rjgRqHM3ISb3nAs9ey94KS30FCHaoxikKXq9PFU=; b=qmxzwoDEdf6SPjz94ihJ58wR3c7SGRVgwQrVYpj/wy2XoRX3njfO6Q6TrlsHp6zmCf bTZF5Odla5eCb5n1YjvyPVpq/kYKHL+l1EVLBLMIbplPhP6XE1QRIdxv0hjS1/s4WP0Z lEjuuTJixvzY5S/YgmZTIhIsaK0ojRujF5ZdTXjL9NhDidP9uC1sbiMoF9y8zLGbOGll 4VkMO4elfInBgOT5Z1VqUeoAopDNzVbJ1bCSuqh2Ikc/qcwiROpEUPdOBYwHwgIS4MIJ DnlgSTtcOuF6mYTauHJ+VClcPOi6zz8z89BNDNcCMXbox2NHMSyNffSc8NaY0znCJG/7 q6rg== 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; bh=Dyv9rjgRqHM3ISb3nAs9ey94KS30FCHaoxikKXq9PFU=; b=pNMHGLf6UFyYfYk52LgbDNMST/o55HljQQMW1/bI0Kn5zZ35dZ0AYpE1GUhKo5T34t YnrrTI6HYWmAUbY7Bp5s3U818sKkHeca1xJ9lVOQBumH/3O9/iQgB+lD/GOXvmJIrV+w CQgQb2WRXcTnL0A4lHDOOYTsPjBIskoBNYaS6eKoIq63mc72Gchpf+r2+pGC5mNCv7Z1 dsGfRS+hDYKBne+X4ByjEd6RrkeWejFkSxivoOdMx5/drrHSbfIzJxnWFhENmIhSndxB 5tkuYXHWna5gmvYW98hr7rFX/0plCdSseFUQWPyNfb5XurAaIq88u7PVn2HqFDJGajgw rRJA== X-Gm-Message-State: AOAM533VGnRq+t0xfzVaA2gmxx4ITGxK7pxQQL3kOIpm3zSDkNFCjgxm UT/aYJ+K11gvDf6nmyd3IwyzBg== X-Google-Smtp-Source: ABdhPJwr4XiNBNu/8aosTUGLxLzFAawZykgwZN4DsnCAeb9XfwjN7rWoissS0her0NE/VkFlXgrgww== X-Received: by 2002:a05:6830:1513:: with SMTP id k19mr7299144otp.51.1615480449874; Thu, 11 Mar 2021 08:34:09 -0800 (PST) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id w7sm726987ote.52.2021.03.11.08.34.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Mar 2021 08:34:09 -0800 (PST) Date: Thu, 11 Mar 2021 10:34:07 -0600 From: Bjorn Andersson To: schowdhu@codeaurora.org Cc: Rob Herring , Andy Gross , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, sibis@codeaurora.org, saiprakash.ranjan@codeaurora.org, Rajendra Nayak , vkoul@kernel.org Subject: Re: [PATCH V1 2/6] soc: qcom: dcc: Add driver support for Data Capture and Compare unit(DCC) Message-ID: References: <48556129a02c9f7cd0b31b2e8ee0f168e6d211b7.1615393454.git.schowdhu@codeaurora.org> <7c189355ca6c472b05151673d27481c3@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7c189355ca6c472b05151673d27481c3@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Thu 11 Mar 04:06 CST 2021, schowdhu@codeaurora.org wrote: > On 2021-03-11 04:49, Bjorn Andersson wrote: > > On Wed 10 Mar 10:46 CST 2021, Souradeep Chowdhury wrote: > > > > > The DCC is a DMA Engine designed to capture and store data > > > during system crash or software triggers. The DCC operates > > > based on link list entries which provides it with data and > > > addresses and the function it needs to perform. These > > > functions are read, write and loop. Added the basic driver > > > in this patch which contains a probe method which instantiates > > > the resources needed by the driver. DCC has it's own SRAM which > > > needs to be instantiated at probe time as well. > > > > > > > So to summarize, the DCC will upon a crash copy the configured region > > into the dcc-ram, where it can be retrieved either by dumping the memory > > over USB or from sysfs on the next boot? > > Replied by Sai > Thanks Souradeep and Sai, I'm definitely interested in learning more about what the hardware block can do and how we can use it. Regards, Bjorn