Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp562069rwb; Thu, 22 Sep 2022 03:36:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5W/QZulFVPPwjWElJbrhf0XRct+zijxdUxK5spWWH7qn4eNQXm6SRE+EaQNIFPn1V1bxoY X-Received: by 2002:a17:906:8b81:b0:77e:cd92:9d with SMTP id nr1-20020a1709068b8100b0077ecd92009dmr2194717ejc.484.1663842978888; Thu, 22 Sep 2022 03:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663842978; cv=none; d=google.com; s=arc-20160816; b=NexawhLcH70BQ+RB5GuVGZag2oiTG+aWC5wsA8A/oYeF+aZ9O41x/5f7AlTjvVwry9 OxVQ4FwPhfryBuK1r6aWev8DucqtV32306koW+gIO+iJL+aA8ZX93KVuXrhQjMY4UAAi SLWs+GJ05CAD0VjvR4ZQ40ud4UTbL3jl+EzxObmfKA4EZKF6DzufyCwz0wZHAW5qPiA8 medUM8BNZ01YVjFVCp4KiN6Z4Y5zBqGouVGi60R1recXqbi99fVEgN8B+wIVjoEZ2mXu F6ySvqb91Mw4kljgnOtTaOe4dzI/vOoVqZlmg0yGv9a8WAKaY41oYuVxAKGgkhAqvJOr pOyQ== 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:subject:user-agent:mime-version:date:message-id; bh=o9izM8TB+fxDP6AjcEoo7cfFeTE5kRQ7TFaAY8b9j2o=; b=C/cZTJ0wLkC5hStiPQ51STo8x6Uyg0IEDYIQaPNGjqBqm9jVps7bBV9M+13hgQIdUC alrA+6vVWdquK4+KEoGYouL+ZhXgDs1NnvrStchD2tZqNBSaBvrllL6t1hifvqYWUeQw 3dbdsUbfP2weWyYKNf4hfHS1xEUO++FqT/xsCPwgFng0n0zn5I5S/k0eqgzIHGuQVtB1 ojQT1hBj7MsALekswTNyR1LV4yY8pGhsrvGBRo84tLGNRBaDcSRyN7fEr4R9DtrM4our iPhncmwwaRkVTkLjpDV20CXiUXz6veKo8HOZrJTG4Dr5mw5MAiwWwC2+1kGa/ZLtc3PV lmSw== 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 q15-20020a1709060e4f00b00780f0b45416si4208001eji.622.2022.09.22.03.35.52; Thu, 22 Sep 2022 03:36:18 -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 S230358AbiIVJ0a (ORCPT + 99 others); Thu, 22 Sep 2022 05:26:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbiIVJ03 (ORCPT ); Thu, 22 Sep 2022 05:26:29 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2799DB2745 for ; Thu, 22 Sep 2022 02:26:26 -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 D683D1595; Thu, 22 Sep 2022 02:26:32 -0700 (PDT) Received: from [10.57.33.96] (unknown [10.57.33.96]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C321C3F73D; Thu, 22 Sep 2022 02:26:24 -0700 (PDT) Message-ID: <1867fb58-cb96-5d82-2518-e7212b6849a0@arm.com> Date: Thu, 22 Sep 2022 10:26:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH 1/1] arm64: defconfig: Add Coresight as module To: James Clark , Mathieu Poirier , Mark Brown Cc: coresight@lists.linaro.org, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, 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> <07d37df2-246e-70ea-4a9f-e33354d8864d@arm.com> From: Suzuki K Poulose In-Reply-To: <07d37df2-246e-70ea-4a9f-e33354d8864d@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed 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 22/09/2022 10:04, James Clark wrote: > > > 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. It is good/fine to keep CORESIGHT_CTI. But you may remove the INTEGRATION_REGS. They are there for "verification" of the CTI integration on the SoC. We added them only for the platform bring up purposes. Suzuki