Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4330028rwb; Tue, 20 Sep 2022 12:10:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Abxhjjr6ZATspjZqaoAoTEYIgch6r4+Hj6FojBLP4IuKopH0E310mNDGWplb9VMRt6059 X-Received: by 2002:a05:6402:3786:b0:451:24da:f8c9 with SMTP id et6-20020a056402378600b0045124daf8c9mr21632051edb.250.1663701051762; Tue, 20 Sep 2022 12:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663701051; cv=none; d=google.com; s=arc-20160816; b=lvJLW3hxXT6WQjmwlVVuSnLxhZAtP/MtbimYeXV+QTatg9Q1H5CJXyisYxAkOW73ex HeBc2h2clCdwPlDkVhQw9z0cOyYgWN8ar300U4ASzSr+lhptf/X4TJQIovf8ARi3S5F8 /q6oz84XMYBfBPa29TEK7+U14fg9C+EOFT46SAT4qiokChjZrpa580lRe8QoP1l8xgIV GnWPPz0lgNZCMz+K37gj7mbvp+vxA37phczgA9rhNY/t9fsu8n4kLHDxIfIJ05lml0ih d6CjmivPzVSLJoZle0Xo7zFNgHqBR14f8v6lcNNxPvyfhtbO8F73gmavz1+rDIAH/u4w 0D/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=vf7KbaOc2GhWxDQBL4v/ZJBk6j+RcdxH7MMdrrBqU/g=; b=xNj1SScMqPArUEBKurlfgCNm4be2sCSIFcFr8gzNiRABX0ZrpNRo81yVR/6VYI8y6k m9u5cVMJRfKtfgRe/qy8rrzCnCIBO9VKhE4vfNa2vpFMQVvz6QO4kmtUEDVow2820hVJ 5oQLIkNYEWpOugB0RtaZANUUVl7aXiKg96uM3KDLPZZiD5J6YyIOn/br/JrkQSoH9nyM I0iPw65cGYfa4YgqZItKvNnjr1ODihJCKJC7R1VWH/6vvQwSZgTvtoWji/1tyNXtft/K 5gwtuefABSBruofKVqEgbNd9fhN9xWkkwkbtmiRAP1sO0NNKsJJWyML86pAmaXrWK0yN Oaxw== 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 w19-20020a056402269300b004543d89d630si625906edd.631.2022.09.20.12.10.26; Tue, 20 Sep 2022 12:10:51 -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 S230005AbiITSI1 (ORCPT + 99 others); Tue, 20 Sep 2022 14:08:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230112AbiITSIZ (ORCPT ); Tue, 20 Sep 2022 14:08:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9172F65279 for ; Tue, 20 Sep 2022 11:08:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2F06962BD5 for ; Tue, 20 Sep 2022 18:08:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DAA7C433C1; Tue, 20 Sep 2022 18:08:20 +0000 (UTC) Date: Tue, 20 Sep 2022 19:08:16 +0100 From: Catalin Marinas To: Mark Brown Cc: James Clark , suzuki.poulose@arm.com, coresight@lists.linaro.org, mathieu.poirier@linaro.org, mike.leach@linaro.org, leo.yan@linaro.org, Alexander Shishkin , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] coresight: Use new autogenerated sysreg definitions Message-ID: References: <20220920134827.31738-1-james.clark@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 Tue, Sep 20, 2022 at 06:56:59PM +0100, Mark Brown wrote: > On Tue, Sep 20, 2022 at 06:07:34PM +0100, Catalin Marinas wrote: > > On Tue, Sep 20, 2022 at 05:42:38PM +0100, Catalin Marinas wrote: > > > BTW, for some reason we don't have CoreSight enabled in defconfig, not > > > even as a module. Would you mind sending a patch for this and enable (as > > > modules) all the relevant drivers? We miss any test coverage here. > > > > The PMU counters are in the same camp. Enabling them breaks the kernel > > build. I wonder whether we should go for changing the default in Kconfig > > directly rather than defconfig. > > I sent a patch for the PMU counters defconfig yesterday. The defconfig patches tend to fall through the cracks. I'll try to pick some of them up. BTW, do you plan to send a patch for the arm_spe_pmu build failures (unless you did already and I missed it): linux/drivers/perf/arm_spe_pmu.c: In function 'arm_spe_pmsevfr_res0': linux/drivers/perf/arm_spe_pmu.c:677:14: error: 'ID_AA64DFR0_PMSVER_8_2' undeclared (first use in this function); did you mean 'ID_AA64DFR0_EL1_PMSVer_IMP'? 677 | case ID_AA64DFR0_PMSVER_8_2: | ^~~~~~~~~~~~~~~~~~~~~~ | ID_AA64DFR0_EL1_PMSVer_IMP linux/drivers/perf/arm_spe_pmu.c:677:14: note: each undeclared identifier is reported only once for each function it appears in linux/drivers/perf/arm_spe_pmu.c:679:14: error: 'ID_AA64DFR0_PMSVER_8_3' undeclared (first use in this function); did you mean 'ID_AA64DFR0_EL1_PMSVer_IMP'? 679 | case ID_AA64DFR0_PMSVER_8_3: | ^~~~~~~~~~~~~~~~~~~~~~ | ID_AA64DFR0_EL1_PMSVer_IMP linux/drivers/perf/arm_spe_pmu.c: In function '__arm_spe_pmu_dev_probe': linux/drivers/perf/arm_spe_pmu.c:961:52: error: 'ID_AA64DFR0_PMSVER_SHIFT' undeclared (first use in this function); did you mean 'ID_AA64DFR0_EL1_PMSVer_SHIFT'? 961 | ID_AA64DFR0_PMSVER_SHIFT); | ^~~~~~~~~~~~~~~~~~~~~~~~ | ID_AA64DFR0_EL1_PMSVer_SHIFT -- Catalin