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 50147C433E0 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 0C57B64FE2 for ; Thu, 11 Mar 2021 16:34:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229578AbhCKQeW (ORCPT ); Thu, 11 Mar 2021 11:34:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229786AbhCKQeK (ORCPT ); Thu, 11 Mar 2021 11:34:10 -0500 Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C293C061761 for ; Thu, 11 Mar 2021 08:34:10 -0800 (PST) Received: by mail-ot1-x336.google.com with SMTP id m1so1922467ote.10 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=pR8JG8/sbG2xUcclXtjf491jRBx9dTGzY6CSivx5LE6I32EPiKGp22xp9Le14N3GGU ULVHMWLxSp+xfW8FXO6fLz9wwYH4wfOFR0IdtzNnBelGEWpV8S/rxUic11QIaB5RJCxH dPASSOHxpFqzw0XgMTu9nY1nVXzcUQAfW0+ghaVpZhitlFwRrnkF1kKQ3UqGuIgvEWJH vVW9Mic461BUbMsEGz6bvksoOAZ3I2dDaZXpSWT0k4whTPex6MOEzw7lSDjA3VTRblOe I26Hn6foVzeGsuoDSDIcBg3g6TRS48SuACRkN6K3ORDyEaEAidLKUkcReci0UsnsAlfr 1Vow== X-Gm-Message-State: AOAM530bR1ZY96/1EBaoTaIETtPIRMPIoHGZJBfcKTS+MLprdHNlCfhS SqAFEccVAas+haSsm3yksc3MEg== 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: linux-arm-msm@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 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=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 A6B72C433DB for ; Thu, 11 Mar 2021 16:35:44 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 22C9164F9C for ; Thu, 11 Mar 2021 16:35:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 22C9164F9C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=G8KwRQupwf1+rDJV8LQbmi3PfU/ApTSahHOrA+HP+o0=; b=fHHrCCRnJpIs/vg52JTAUy7xE igb+nBzMNi5oOVAv8Ef3Sw2wSpZGlagie32SINFNUDicl49msb2q/Rv1gbCuuVJFqTfGiV/pDEgaN 8aLAn3eMq62ZkSHFieZZL021ScS8BblzAq2DACPLIFKkdhoYruTgym3sk0k9k35EsZslgkl+1vExu sq4MBwb0LOI1wK7mbojPZGY8Xm3tqytJYldqAdNi9qBlJHBKme/OPA7QnuozVQyI80hb37KSbchsr tAA7lS/WvBS536HRGXk9L3y46eaJ3VF/b9SJ2IxprDfbdkOCRv9LHBWBkh/gFyor/JfQ6etRDcTUV JGL/G1aJg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKOGP-009aEt-Cz; Thu, 11 Mar 2021 16:34:17 +0000 Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lKOGK-009aDt-ON for linux-arm-kernel@lists.infradead.org; Thu, 11 Mar 2021 16:34:14 +0000 Received: by mail-ot1-x332.google.com with SMTP id p24so2008612ota.11 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=ly2uQRmmwzNnircFCBn+N2wmkfDJ3tvrxSZWgJYLelyT2wjoQol3oryZTjOympxg57 twOah2ORwDqPl0kNJ2+kZlDtG3uUk34gB9e5oEJFCOSohxtr6xMOfLh6x0TUHRqY/GW/ lwVJWPzWYh+dnouW4IKKwhWW7oUnRUkFe6kpOCX2OBw5L5CbqHpS6ZOphUD/1NIGgLTo biGxNMpC7ru6ssEhDmAyNNyVt8Aeiz5GImgfmOy5Lz13ZCmCov3CK1kQnjLbjapjNDvt G3gSo6CtVjYO8eiGLGDsgPhpobDpBc1u1iYJFrnKYAKmjsGtnmCjY0PfO+smxpg1PL3E EtAQ== X-Gm-Message-State: AOAM530RElR9e9YpN0X3Slsazqc+arGQ/DG5nZsZtugPWTdw7qk1hC6v 6/z+DGX2t87FX/uMfAxKbDiTew== 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-Disposition: inline In-Reply-To: <7c189355ca6c472b05151673d27481c3@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210311_163412_917555_9317F8D8 X-CRM114-Status: GOOD ( 19.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel