Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #69845

Bug#981186: linux: Enable CMN-600 interconnect on arm64

Path csiph.com!3.eu.feeder.erje.net!feeder.erje.net!news.in-chemnitz.de!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Vincent Blut <vincent.debian@free.fr>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#981186: linux: Enable CMN-600 interconnect on arm64
Date Wed, 17 Mar 2021 22:10:01 +0100
Message-ID <BTLAt-50q-5@gated-at.bofh.it> (permalink)
References <BBSK6-4YS-7@gated-at.bofh.it> <BTESl-Gf-3@gated-at.bofh.it> <BTGKt-1V3-1@gated-at.bofh.it> <BTJp0-3xO-11@gated-at.bofh.it> <BTK1H-3ZV-1@gated-at.bofh.it> <BBSK6-4YS-7@gated-at.bofh.it> <BTK1H-3ZV-1@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Wed Mar 17 21:06:09 2021
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.5
Reply-To Vincent Blut <vincent.debian@free.fr>, 981186@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 981186
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords moreinfo patch
X-Debian-Pr-Source linux
X-Spam-Bayes score:0.0000 Tokens: new, 15; hammy, 150; neutral, 160; spammy, 0. spammytokens: hammytokens:0.000-+--sk:config_, 0.000-+--H*ct:application, 0.000-+--H*ct:protocol, 0.000-+--H*ct:micalg, 0.000-+--H*ct:signed
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1616014951; bh=4k/x8H3jaopS+S5okKnHtsxPSldqZJyxxw7w2TskENs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IT1S+81OrbPx9h9P58Ct8z+A+gOWp5x3OxQMpvoFHH1nytannWZKUjGFdbTeBTaIC vMM1ATK6CO42A17VSJuWdJFrTlQZPRPwdy/MAyPzK3cBOR75UhoDIgR+Aa/nglnc0w sp3mrmlOt9UOJ/iqBoZBNFKbrGwxNlEQNObZTH3skjacYF73g3AoPbHf/jEUxg+y1E UlT/Z9pLdEPnBn/AEHhsKCNsh51cpotug7CyTVdM1fewqWDsb3vq/kdvSholkv9eAj jwELyB3whOaRtASVkV++E8OXgQant9vgjFYUeHAJrOBQ4z2reSZr24nTY5Ndnqkpuh nxgqkcKXQ+hAQ==
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="T6eQ04NXqYgsOX8G"
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1656809
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 120
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc 981186@bugs.debian.org, Debian Bug Tracking System <submit@bugs.debian.org>
X-Original-Date Wed, 17 Mar 2021 22:02:25 +0100
X-Original-Message-ID <YFJuYVpNdyg3EMN0@lamella>
X-Original-References <161175222760.4213.15890382538881503316.reportbug@cheddar.halon.org.uk> <YFIJne2Wr1bNgHJ8@lamella> <20210317154954.GG12165@mail.wookware.org> <YFJN2/JYMAVSxYPC@lamella> <20210317192420.GH12165@mail.wookware.org> <161175222760.4213.15890382538881503316.reportbug@cheddar.halon.org.uk> <20210317192420.GH12165@mail.wookware.org>
Xref csiph.com linux.debian.bugs.dist:1052703 linux.debian.kernel:69845

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Le 2021-03-17 19:24, Wookey a écrit :
> On 2021-03-17 19:43 +0100, Vincent Blut wrote:
> > Le 2021-03-17 15:49, Wookey a écrit :
> > > On 2021-03-17 14:52 +0100, Vincent Blut wrote:
> > > > Le 2021-01-27 12:57, Wookey a écrit :
> > > > > Version: Please enable ARM CMN-600 power management on arm64
> > > > >
> > > > > This requires CONFIG_ARM_CMN=y
> > > >
> > > > Does it really have to be built-in instead of being provided as a module? Last I
> > > > checked, Fedora and Ubuntu provide it as a module.
> > > 
> > > No it should really be a module. Perf is driven from userspace so you
> > > never need to use it before modules can be loaded.
> > 
> > Agreed.
> 
> > > I see that
> > > CONFIG_THUNDERX2_PMU=y
> > > CONFIG_ARM_SMMU_V3_PMU=y
> > > are also set as builtins. That's probably wrong too.
> > 
> > It seems your arm64 kernel config deviates from the one we provide in Debian.
> > CONFIG_THUNDERX2_PMU is compiled as a module while CONFIG_ARM_SMMU_V3_PMU is
> > not set, at least in linux 5.10.19-1.
> 
> Hmm. I was looking at the (built, with CONFIG_ARM_CMN=y) sources for
> 5.10.9-1 and the (unbuilt) sources for 5.10.19-1. So yes, slightly
> different and the built version is not up to date any more.
> 
> If we already have CONFIG_THUNDERX2_PMU=m already then that's great
> (Ah yes - that's the upstream default).  Adding
> CONFIG_ARM_SMMU_V3_PMU=m would be good too. Adding it as a module
> should be pretty harmless then at least it's available? I'll set off a
> build now to check it works.

Enabling ARM_SMMU_V3_PMU as a module should be harmless, indeed.

> > > […]
> > 
> > > I also checked the state of the other perf configs with the arm kernel team
> > > and got feedback that we have all the ones that should sensibly be set set once
> > > CONFIG_ARM_CMN=m
> > > and
> > > CONFIG_THUNDERX2_PMU=m
> > > is added
> > 
> > This means updating the arm64 kernel config to only include ARM_CMN as a module.
> > To me it is acceptable for Bullseye as this seems uncontroversial, but note that
> > I can't speak for the kernel team.
> 
> Will you ask them, or should I?

I can send merge requests to enable ARM_CMN and ARM_SMMU_V3_PMU if you wish.

> It seems like prodding someone would be good as this was filed back on 27th
> jan and there have been uploads since, so I guess no-one has noticed till now.

I have been contributing for some time to help the kernel team, but I must admit
I didn't notice this one (and probably many others).

> > > Upstream enables
> > > CONFIG_FSL_IMX8_DDR_PMU=m
> > > by default too. IMX8 hardware is available so we should probably turn this on too
>
> > Contrary to Ubuntu, we do not provide support for the i.MX8M SoC family,
> > so enabling this option in the arm64 kernel config is not an option, right?
> 
> Ah OK. I didn't realise IMX8 was not enabled in the debian kernel (A
> subject for a different bug). In that case, no this is not
> appropriate.

I wanted to work on this a few months ago, but sadly I was unable to obtain a
i.MX8 SBC.

> Wookey
> -- 
> Principal hats:  Linaro, Debian, Wookware, ARM
> http://wookware.org/

Cheers,
Vincent

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#981186: linux: Enable CMN-600 interconnect on arm64 Wookey <wookey@debian.org> - 2021-01-27 14:10 +0100
  Bug#981186: linux: Enable CMN-600 interconnect on arm64 Noah Meyerhans <noahm@debian.org> - 2021-02-02 22:40 +0100
  Bug#981186: linux: Enable CMN-600 interconnect on arm64 Wookey <wookey@wookware.org> - 2021-03-17 03:30 +0100
  Processed: Re: Bug#981186: linux: Enable CMN-600 interconnect on  arm64 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-03-17 15:00 +0100
  Processed: Re: Bug#981186: linux: Enable CMN-600 interconnect on  arm64 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-03-17 15:00 +0100
  Bug#981186: linux: Enable CMN-600 interconnect on arm64 Vincent Blut <vincent.debian@free.fr> - 2021-03-17 15:00 +0100
    Bug#981186: linux: Enable CMN-600 interconnect on arm64 Wookey <wookey@wookware.org> - 2021-03-17 17:00 +0100
      Bug#981186: linux: Enable CMN-600 interconnect on arm64 Vincent Blut <vincent.debian@free.fr> - 2021-03-17 19:50 +0100
        Bug#981186: linux: Enable CMN-600 interconnect on arm64 Wookey <wookey@wookware.org> - 2021-03-17 20:30 +0100
          Bug#981186: linux: Enable CMN-600 interconnect on arm64 Vincent Blut <vincent.debian@free.fr> - 2021-03-17 22:10 +0100
            Bug#981186: linux: Enable CMN-600 interconnect on arm64 Salvatore Bonaccorso <carnil@debian.org> - 2021-03-19 10:00 +0100

csiph-web