Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp482483rwb; Thu, 22 Sep 2022 02:18:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7hUObQ/i/cJhc1aoNThRzgyCJM2eVxneOLxxiKpVQcVxemu/iDZHSUdOx2ZtAjgkQ72jns X-Received: by 2002:a63:5915:0:b0:438:d560:c4d3 with SMTP id n21-20020a635915000000b00438d560c4d3mr2170788pgb.240.1663838307592; Thu, 22 Sep 2022 02:18:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663838307; cv=none; d=google.com; s=arc-20160816; b=xlYPDIm+DO/mvIS930G0/LM/+dsso39qBheuBHrpbv7dfhCZzrTlMhTlO/0BnH94mV bBINs3NFFRdVHsMQzQWH9nwOKZy+I6vwYVWdViV63ZrVFzEb7HsSsMdCLrRwCVz/tY2B y/ZxhJ4SqzBFT/Ebukno2C6hLgVlx96+7lJ1aJZzapbixKp17uq+4J4LjQMLbq158KqQ IllbYv76rPnalb5ZCu/ce2Y3xy7l8ukG8X50LvJli7oJNwV4xbIow6ZbqnztAGghBPNW OEugpQEIRLiGYEdni8+hr+0e1QaPHXtYNMylycS3T4XWt2NzZgwO6Kvz2QCyD8Iy71Uz Mc0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=ncggS1q+X3aK/fnaPCApIQbDskppXADdL83qTty+OU8=; b=RwB3wGF55Jw3iOiOv/7O+msYL9aQy1eu4kY/v5yKSc0Ywy74rwMBL1FlKFuQrhta40 FNbe2p1jfXP07Xn4X8U3TOKmJ7rHlZoxQ+gHnrAzo5Etf2GBe3EHythB01tNwIA/nd3b 5lhouujgWAUO7SVwTdxngqExXioW5/rXAsPh6Pz5pC7JLABsx79TY3ENvc1o3Y111zPT ngTjJobz6E+T1uqWe7PeZFXiz1K4d2D0z5Yc9dUGW4VVFfOBPJ83GgFqcxhV9sGp+GWK R/EdzbeY0l4X+bhSc0fr4tkVk/zqwX/SCuvdYhPaPjRgeCtNkDhoeh44wedY60Vcubx9 7QZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a056a0024c500b00548d480e33esi6159519pfv.75.2022.09.22.02.18.16; Thu, 22 Sep 2022 02:18:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229861AbiIVJER (ORCPT + 99 others); Thu, 22 Sep 2022 05:04:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbiIVJEP (ORCPT ); Thu, 22 Sep 2022 05:04:15 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3C967B56FA for ; Thu, 22 Sep 2022 02:04:13 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4EBF8106F; Thu, 22 Sep 2022 02:04:19 -0700 (PDT) Received: from [10.57.1.91] (unknown [10.57.1.91]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 464263F73D; Thu, 22 Sep 2022 02:04:11 -0700 (PDT) Message-ID: <07d37df2-246e-70ea-4a9f-e33354d8864d@arm.com> Date: Thu, 22 Sep 2022 10:04:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 1/1] arm64: defconfig: Add Coresight as module Content-Language: en-US To: Mathieu Poirier , Mark Brown Cc: coresight@lists.linaro.org, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com, mike.leach@linaro.org, leo.yan@linaro.org, linux-kernel@vger.kernel.org, Will Deacon References: <20220921140535.152627-1-james.clark@arm.com> <20220921140535.152627-2-james.clark@arm.com> <20220921164622.GA1124503@p14s> From: James Clark In-Reply-To: <20220921164622.GA1124503@p14s> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21/09/2022 17:46, Mathieu Poirier wrote: > On Wed, Sep 21, 2022 at 04:26:59PM +0100, Mark Brown wrote: >> On Wed, Sep 21, 2022 at 03:05:35PM +0100, James Clark wrote: >> >>> +CONFIG_CORESIGHT_CTI=m >>> +CONFIG_CORESIGHT_CTI_INTEGRATION_REGS=y >> > > I agree - integration registers should not be enabled by default. > >> Do we want this turned on by default? According to the >> description it's a bit dangerous and it's exposed via sysfs >> rather than debugfs. > > Should I disable just CONFIG_CORESIGHT_CTI_INTEGRATION_REGS or CONFIG_CORESIGHT_CTI as well? There are other writable registers exposed via sysfs outside of these two options, so I wanted to check if it's just the integration registers that are the issue.