Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1360417pxk; Fri, 18 Sep 2020 10:19:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgnOS62l6dmi4CgChmTdXWYsZUQjsZhdVjBZvgP5vlUD1+sDGgDSVyf+wj2T7vwM21WLs5 X-Received: by 2002:a17:906:c8d2:: with SMTP id gc18mr38948143ejb.467.1600449567374; Fri, 18 Sep 2020 10:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600449567; cv=none; d=google.com; s=arc-20160816; b=gPbzCzTyjXO/tbFeIIT135XzR4PUY4CzqB3XfVQ6NoXN17bq27B21oOrcnE4640Vi8 6sX0xr55/AQkaTikt4IY9s9tzZc5DR2oQ9JYe3QGtQoaNi29m1KusKTGP/6ZnoFCPYe0 00s2if9HIB5jK6qmtc7xGThonpzG8yDsDTF6xXhVjHK03w+H1VcDV+r5/B5tNua8YxgU FN9eVl7QquL3yuJoIX/3kdIjrS0euXxFINacTcloPE7diLeE5BYjIexKMR0PDMntZ94S YjccyfUonGa439R0EZy7Wtgigb54/iLsXhgWhKXjg9PV02t5/U8qDE7eFDQKRTGciM9V B1NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=yngYLv7On5M/Qyep/oUahIHqAnGroMVXpza1BfJKjZs=; b=vrxL53Hz+wqVvnEv8R7uAahoepKCpgSzWq+dTtvcVAnsJOcVdQl4457VCWNd8YpUEu d9vpsPhHRJiOT7cwzbFJzpWQgAfeN0NeFARQyj/1RtV3Ukh/Tla6dNUIUTSTL8MJEKzN Sa7e5TEtGavUuIwm9gW5vx3g5mkqijgxOLOr4L9XHal0WkBwl/sba+/Tnsd8tBxyFyov 3e8q8zZNz/k/bd7gBm+4LA7nn0bw4NAPWPj9WkvD1Mfoz0eFkltX1pJDcP4edH8lRLmc z17uatQ8aOnUIf8EU8aynDXMsQt2Qer53H1BraHeYJPux956K/Wo++naGp2fP+oAgUQZ 058A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=huFqeM5f; 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 d8si2662537ejp.711.2020.09.18.10.19.01; Fri, 18 Sep 2020 10:19:27 -0700 (PDT) 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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=huFqeM5f; 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 S1726267AbgIRRPi (ORCPT + 99 others); Fri, 18 Sep 2020 13:15:38 -0400 Received: from m42-11.mailgun.net ([69.72.42.11]:37664 "EHLO m42-11.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726205AbgIRRPi (ORCPT ); Fri, 18 Sep 2020 13:15:38 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600449337; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=yngYLv7On5M/Qyep/oUahIHqAnGroMVXpza1BfJKjZs=; b=huFqeM5fE0atukAGzMG91HtwG9GPjmtttml4XvBoAxCDr9JlVy4UJ8eA/6YPAhupyn6KykcK 8L6yL+b1ZZcX8UPaWQTbtl/7lBj+3/tpDsDkpCKWHSiyxcsAAecjQ/FOOk7fUQ4ulJJw1QqQ /bPThyMm3nuAO47dQnKM+biE/Dg= X-Mailgun-Sending-Ip: 69.72.42.11 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-n07.prod.us-west-2.postgun.com with SMTP id 5f64eb380049ea581630da9c (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 18 Sep 2020 17:15:36 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A2EA6C433CB; Fri, 18 Sep 2020 17:15:36 +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=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: rishabhb) by smtp.codeaurora.org (Postfix) with ESMTPSA id 42793C433CA; Fri, 18 Sep 2020 17:15:36 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 18 Sep 2020 10:15:36 -0700 From: rishabhb@codeaurora.org To: Randy Dunlap Cc: bjorn.andersson@linaro.org, ohad@wizery.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, tsoni@codeaurora.org, psodagud@codeaurora.org, sidgup@codeaurora.org Subject: Re: [PATCH v4 0/3] Move recovery/coredump configuration to sysfs In-Reply-To: <55d2c397-fad3-9dea-289b-6c10d31565ba@infradead.org> References: <1600368999-9461-1-git-send-email-rishabhb@codeaurora.org> <55d2c397-fad3-9dea-289b-6c10d31565ba@infradead.org> Message-ID: <500895ac9667a82f0ca65696145858f2@codeaurora.org> X-Sender: rishabhb@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-09-17 16:40, Randy Dunlap wrote: > On 9/17/20 11:56 AM, Rishabh Bhatnagar wrote: >> From Android R onwards Google has restricted access to debugfs in user >> and user-debug builds. This restricts access to most of the features >> exposed through debugfs. This patch series removes the >> recovery/coredump >> entries from debugfs and moves them to sysfs. >> 'Coredump' and 'Recovery' are critical interfaces that are required >> for remoteproc to work on Qualcomm Chipsets. Coredump configuration >> needs to be set to "inline" in debug/test build and "disabled" in >> production builds. Whereas recovery needs to be "disabled" for >> debugging purposes and "enabled" on production builds. >> >> Changelog: >> >> v4 -> v3: >> - Remove the feature flag to expose recovery/coredump >> >> v3 -> v2: >> - Remove the coredump/recovery entries from debugfs >> - Expose recovery/coredump from sysfs under a feature flag >> >> v1 -> v2: >> - Correct the contact name in the sysfs documentation. >> - Remove the redundant write documentation for coredump/recovery sysfs >> - Add a feature flag to make this interface switch configurable. >> >> Rishabh Bhatnagar (3): >> remoteproc: Expose remoteproc configuration through sysfs >> remoteproc: Add coredump configuration to sysfs >> remoteproc: Add recovery configuration to sysfs >> >> Documentation/ABI/testing/sysfs-class-remoteproc | 44 ++++++++ >> drivers/remoteproc/Kconfig | 12 +++ >> drivers/remoteproc/remoteproc_debugfs.c | 10 +- >> drivers/remoteproc/remoteproc_sysfs.c | 126 >> +++++++++++++++++++++++ >> 4 files changed, 190 insertions(+), 2 deletions(-) >> > > Hi, > > Is there a patch 3/3? > This email (reply) is patch 0/3, then I see > patch 1/2 > patch 2/2 > so I'm confused. However, the diffstat above references a Kconfig file > and neither patch 1/2 nor patch 2/2 contains any Kconfig changes. > > thanks. Hi Randy, The cover letter got messed up. There are only 2 patches now whereas in the earlier versions there were 3 patches. I'll be sending out v5 soon. Please review that.