Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1402133pxb; Wed, 10 Feb 2021 07:37:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzMn3jzg9wUG7FJd2AE3NiSxAT68Y0O3xL2JbiqbhyvoNTLq1G7Ky/6WU64ibYxM/+YwXDv X-Received: by 2002:a05:6402:1589:: with SMTP id c9mr3772312edv.282.1612971435684; Wed, 10 Feb 2021 07:37:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612971435; cv=none; d=google.com; s=arc-20160816; b=iLTNuQCFSvom/fI5aIVGEu1KEzTpm42gWpZSJkVTiy9G5gMijt6wa5K1Km+MaYvp4y l5STu+DSw0e2c4yyt53jGxdxh+uXbLnHLMU5JVaQ3tVLzZlDJLBTUhlc5RUGn2GxUfUB qx0Y1aM9uce1esKZo839aavglJ9d5V81jJFTjMueNRclZaLf639URS4WT9WsjkF1hM5C 358ElcCroz+evBkUh6cCwwPgZKRtJNhbWtk29x9CUB4k0jDwQrGSUIX64vgM+4f5xV4b NM72GhyM45TsnDDtH2Po3MtMzMUEcIoOeO7pm/o/2iyG8oIfG1WlanvKnuPQVIS1fM7G ldtg== 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:dmarc-filter:sender:dkim-signature; bh=gYDWp2DBmUwEH+WiGYQHXHVYycuwNIh7HiMRKaFXJXs=; b=ua8y5LbyXpJ65Fug7MZ6x6Bi3Q+evr1FT6JiIci+4M08SrZRPvT/RBQPsMTonGWKXn k+3v0unG3NTxMvRX1csuLBqPwKIQ3i6fruM+Jozk5oOk5hbLSa8CJHNEQYN+DkKqpanJ 49KQ/HaFBfKTC89SFpiIjiGkuCXUO4FIbxrS0VPM5LIpDuTZdm5wPkcinFr2sZDtjZ5N BjX0kbNNxhk8fxrXPb1cuo3sBaRiunsUFOhHjTnpR9F6YSbytxW1iD8sxEntTvVhjoX/ 9p7RuVwzOPZ5aHxqTwnNyt98dBzjKfqUesIe0JnHtgx2Mz8rjqLn9VqA7ommnhN7rJjS JQwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="X/xh3EHL"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b20si1525808edw.412.2021.02.10.07.36.52; Wed, 10 Feb 2021 07:37:15 -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=@mg.codeaurora.org header.s=smtp header.b="X/xh3EHL"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229888AbhBJPe6 (ORCPT + 99 others); Wed, 10 Feb 2021 10:34:58 -0500 Received: from mail29.static.mailgun.info ([104.130.122.29]:30532 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230171AbhBJPef (ORCPT ); Wed, 10 Feb 2021 10:34:35 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1612971252; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=gYDWp2DBmUwEH+WiGYQHXHVYycuwNIh7HiMRKaFXJXs=; b=X/xh3EHLEDx5MPvNd8gIod5iaL+82R4+UF5OI0oOact/GpK5MIkrqJWDPDchkuJ/FpoNitKD zmNFM1dWjQWOYnX0rx/vKSnliTjeLFRueE3NoeGfoDJIjJWeZOryq5t8tD9pAMc3K+oWkRkC zIr7ziPLDxw3ii1n62vZc9Sxi2k= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-west-2.postgun.com with SMTP id 6023fcd634db06ef79374eb6 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 10 Feb 2021 15:33:42 GMT Sender: mojha=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 8A403C433CA; Wed, 10 Feb 2021 15:33:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=2.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.29.2] (unknown [49.37.87.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mojha) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7273EC433C6; Wed, 10 Feb 2021 15:33:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7273EC433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=mojha@codeaurora.org Subject: Re: Pstore : Query on using ramoops driver for DDR To: "Luck, Tony" , lkml Cc: "keescook@chromium.org" , Anton Vorontsov , "ccross@android.com" References: From: Mukesh Ojha Message-ID: <9a653cf1-ab22-15c1-d021-a7cfe2b78276@codeaurora.org> Date: Wed, 10 Feb 2021 21:03:20 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/10/2021 2:32 AM, Luck, Tony wrote: >> Can we use existing backend pstore ram driver (fs/pstore/ram.c) for DDR >> instead of SRAM ? > The expectation for pstore is that the system will go through a reset when it > crashes. Most systems do not preserve DDR contents across reset. > > to support DDR, If we have a mechanism to copy stored data from DDR to > external device after the crash. >> Was the current driver written only to support persistant RAM like SRAM >> or it can accept further change > Linux is in a constant state of change :-) > > See above about DDR contents. But if you have a platform that does preserve > DDR contents until your "mechanism" can copy the pstore buffer, then post > a patch. Thanks for the reply I have posted the patch. https://lore.kernel.org/patchwork/patch/1378949/ -Mukesh > > -Tony