From patchwork Sat Mar 25 18:23:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 9644737 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 03A28601D7 for ; Sat, 25 Mar 2017 18:25:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7E0C26490 for ; Sat, 25 Mar 2017 18:25:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC51427FAE; Sat, 25 Mar 2017 18:25:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6B74026220 for ; Sat, 25 Mar 2017 18:25:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ZZCVZWsOnJK1P9tEcfZRoO9+P1QJgBdBcDjuPHTEJV0=; b=IN7u/RxxnxCUGnAUAR/47MJaHX iw7UVIzAHMK+T1ZunyrUbzjilKpwr0nUTKzT8d28TJpCsWqBE7gjCcL15G+1OlosHFrVyYdO6pTZD GmBOtpKNtFVSYtqwR+FEhIRpXYP/jwDOrZg+P1fUrM+B6alFhmhllvo+6DWArDNzFssgBTTAl4vHa 4zf9y5dfLoRB0irqeL006+cM2tOqVPL8oK0h03ajHxETfrYNZHKgPlbx0imvfXayat5xNR7AE5JdV BVBYopnR5HjQDBDtv6udWPP3clbfTFQWvMi29ug1cD8pvfTYi0t20CL7bpz/jC975iQbwoVhyM0W9 TSyeoTZw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1crqNP-0007bB-PI; Sat, 25 Mar 2017 18:25:23 +0000 Received: from mail-wr0-x236.google.com ([2a00:1450:400c:c0c::236]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1crqMY-0005ln-04 for linux-arm-kernel@lists.infradead.org; Sat, 25 Mar 2017 18:24:32 +0000 Received: by mail-wr0-x236.google.com with SMTP id u1so11123675wra.2 for ; Sat, 25 Mar 2017 11:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xMlFBFVvemMZBuArtf+E4kfWHZeztmeOkn06OJtD6FE=; b=HeRv77l1CBrHpEIDqyp8eKrBebk5LOSSvGKFjRZEtOWfWirEnLuNa+yFATEuiw2ZD7 4DXrBKsT4ihWvQuGB2vG2i6a62JmnF7BG/uoLDFp03qKSgZs6MVMCMlEMuPt6UW4VfVq CkU5WEznqUVTlLAMe20V4kYTtmjjqQsEv+8Qs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=xMlFBFVvemMZBuArtf+E4kfWHZeztmeOkn06OJtD6FE=; b=s0mZ1eeJ811uTEmXMPBx8SFGQAGn/CFI7rW2QFHeSDxzsqc0lTNQc/wfCN/0emo0pV 0VcJdUBgEV/n7+35yiw8fr9rEEf1PlaEX3W6CZ/JVQzRDRFOpvyfYrtol7XDkoJggpYI JS7PiLswNKpzdB90gwyO0OpZ0TA9VZlvqzhBhdoaUmpDsuELObQTfR81vrLS6T9TE5fS o7Kl4OhUQMB0nYpQXVjZQqsLy5BoF093wqLz3KG5Qfw0BFEUMhKt+VJ66Pl2ZLhzzkuT ayMDrxHZ9uB9POl4i4yY3hgksjhSTbn2xhP2e79WvzSt5AC3OhwWgZSNlHQczz+eV/84 0mmQ== X-Gm-Message-State: AFeK/H3pyaes2MfmikiskAWriYlOF529N//qb/H1iA+0Zsli3Fp2rwaBOfrdo/07rirAzm8s X-Received: by 10.223.156.2 with SMTP id f2mr12989917wrc.176.1490466248174; Sat, 25 Mar 2017 11:24:08 -0700 (PDT) Received: from localhost.localdomain (li1529-187.members.linode.com. [139.162.244.187]) by smtp.gmail.com with ESMTPSA id e72sm7464075wma.5.2017.03.25.11.24.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 25 Mar 2017 11:24:06 -0700 (PDT) From: Leo Yan To: Jonathan Corbet , Rob Herring , Mark Rutland , Wei Xu , Catalin Marinas , Will Deacon , Andy Gross , David Brown , Michael Turquette , Stephen Boyd , Mathieu Poirier , Guodong Xu , John Stultz , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, mike.leach@linaro.org, Suzuki.Poulose@arm.com, sudeep.holla@arm.com Subject: [PATCH v5 2/9] doc: Add documentation for Coresight CPU debug Date: Sun, 26 Mar 2017 02:23:10 +0800 Message-Id: <1490466197-29163-3-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490466197-29163-1-git-send-email-leo.yan@linaro.org> References: <1490466197-29163-1-git-send-email-leo.yan@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170325_112430_199969_25D97B54 X-CRM114-Status: GOOD ( 11.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Yan MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Update kernel-parameters.txt to add two new parameters: - coresight_cpu_debug.enable is a knob to enable debugging at boot time. - coresight_cpu_debug.idle_constraint is used to constrain idle states to ensure Coresight CPU debug component can be accessible. Signed-off-by: Leo Yan --- Documentation/admin-guide/kernel-parameters.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 2ba45ca..6ed57d9 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -650,6 +650,27 @@ /proc//coredump_filter. See also Documentation/filesystems/proc.txt. + coresight_cpu_debug.enable + [ARM,ARM64] + Format: + Enable/disable the CPU sampling based debugging. + 0: default value, disable debugging + 1: enable debugging at boot time + + coresight_cpu_debug.idle_constraint + [ARM,ARM64] + Format: + Some platforms have designed the idle states to disable + CPU power domain and need manually set constraint so + can access coresight CPU debug component safely. Setting + this parameter for latency requirement in + microseconds, finally we can constraint all or partial + idle states to ensure the CPU power domain is enabled. + Default is -1, which means no limiation to CPU idle + states; if set to 0, this means disabling all idle + states; user can choose other platform dependent values + so can disable specific idle states for the platform. + cpuidle.off=1 [CPU_IDLE] disable the cpuidle sub-system