All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marek Behún" <kabel@kernel.org>
To: nnet <nnet@fastmail.fm>
Cc: "Pali Rohár" <pali@kernel.org>,
	a.heider@gmail.com, andrew@lunn.ch, gerald@gk2.net,
	gregory.clement@bootlin.com, kostap@marvell.com,
	linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org,
	linux-kernel@vger.kernel.org, luka.perkov@sartura.hr,
	miquel.raynal@bootlin.com, mturquette@baylibre.com,
	rmk+kernel@armlinux.org.uk, sboyd@kernel.org, tmn505@gmail.com,
	vladimir.vid@sartura.hr
Subject: Re: [PATCH mvebu v2 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz
Date: Wed, 10 Feb 2021 03:12:37 +0100	[thread overview]
Message-ID: <20210210031237.6229b7ef@kernel.org> (raw)
In-Reply-To: <1cd0c2ee-aa3a-4da2-9c0c-57cc5a1dad49@www.fastmail.com>

On Tue, 09 Feb 2021 17:51:53 -0800
nnet <nnet@fastmail.fm> wrote:

> On Tue, Feb 9, 2021, at 5:31 PM, nnet wrote:
> > On Tue, Feb 9, 2021, at 3:26 PM, Marek Behún wrote:  
> > > On Tue, 09 Feb 2021 15:16:45 -0800
> > > nnet <nnet@fastmail.fm> wrote:
> > >   
> > > > I've two of these and I've just swapped them (and re-pasted the heat sinks).
> > > > 
> > > > The second one ran under load for awhile and now has frozen as well.
> > > > 
> > > > Under a moderate load `wget -O /dev/null <large.bin>` @X00Mbits they are fine.
> > > > 
> > > > Under a 1 min speed test of load ~200Mbits routed WireGuard they freeze.
> > > > 
> > > > They fine with both those workloads @1000_800.
> > > > 
> > > > Perhaps it's heat? Unfortunately I don't have any numbers on that ATM.  
> > > 
> > > Try disabling cpufreq in kernel completely, compile boot image at
> > > 1200 MHz. If it continues freezing, then I fear we can't help you with
> > > 1200 MHz :(  
> > 
> > cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies 
> > 200000 300000 600000 1200000 
> > 
> > I'm not getting any freezes with 1.2GHz fixed after 20 minutes of load:
> > 
> > echo 1200000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
> > 
> > Setting it back to min 200MHz I get a freeze within a minute:
> > 
> > echo 200000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
> >   
> > > Marek
> > >  
> 
> > +#define MIN_VOLT_MV_FOR_L0_L1_1GHZ 1108  
> 
> Based on the below at boot time might an equivalent of the above need to be 1225 for 1.2GHz?
> 
> 1200_750
> SVC REV: 5, CPU VDD voltage: 1.225V
> 
> 1000_800
> SVC REV: 5, CPU VDD voltage: 1.108V

It may be... But it is possible that the value 1.225 is computed by the
code by default.

Marek

WARNING: multiple messages have this Message-ID (diff)
From: "Marek Behún" <kabel@kernel.org>
To: nnet <nnet@fastmail.fm>
Cc: tmn505@gmail.com, andrew@lunn.ch, luka.perkov@sartura.hr,
	sboyd@kernel.org, gregory.clement@bootlin.com,
	a.heider@gmail.com, linux-kernel@vger.kernel.org,
	vladimir.vid@sartura.hr, mturquette@baylibre.com,
	rmk+kernel@armlinux.org.uk, gerald@gk2.net,
	miquel.raynal@bootlin.com, kostap@marvell.com,
	"Pali Rohár" <pali@kernel.org>,
	linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH mvebu v2 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz
Date: Wed, 10 Feb 2021 03:12:37 +0100	[thread overview]
Message-ID: <20210210031237.6229b7ef@kernel.org> (raw)
In-Reply-To: <1cd0c2ee-aa3a-4da2-9c0c-57cc5a1dad49@www.fastmail.com>

On Tue, 09 Feb 2021 17:51:53 -0800
nnet <nnet@fastmail.fm> wrote:

> On Tue, Feb 9, 2021, at 5:31 PM, nnet wrote:
> > On Tue, Feb 9, 2021, at 3:26 PM, Marek Behún wrote:  
> > > On Tue, 09 Feb 2021 15:16:45 -0800
> > > nnet <nnet@fastmail.fm> wrote:
> > >   
> > > > I've two of these and I've just swapped them (and re-pasted the heat sinks).
> > > > 
> > > > The second one ran under load for awhile and now has frozen as well.
> > > > 
> > > > Under a moderate load `wget -O /dev/null <large.bin>` @X00Mbits they are fine.
> > > > 
> > > > Under a 1 min speed test of load ~200Mbits routed WireGuard they freeze.
> > > > 
> > > > They fine with both those workloads @1000_800.
> > > > 
> > > > Perhaps it's heat? Unfortunately I don't have any numbers on that ATM.  
> > > 
> > > Try disabling cpufreq in kernel completely, compile boot image at
> > > 1200 MHz. If it continues freezing, then I fear we can't help you with
> > > 1200 MHz :(  
> > 
> > cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies 
> > 200000 300000 600000 1200000 
> > 
> > I'm not getting any freezes with 1.2GHz fixed after 20 minutes of load:
> > 
> > echo 1200000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
> > 
> > Setting it back to min 200MHz I get a freeze within a minute:
> > 
> > echo 200000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
> >   
> > > Marek
> > >  
> 
> > +#define MIN_VOLT_MV_FOR_L0_L1_1GHZ 1108  
> 
> Based on the below at boot time might an equivalent of the above need to be 1225 for 1.2GHz?
> 
> 1200_750
> SVC REV: 5, CPU VDD voltage: 1.225V
> 
> 1000_800
> SVC REV: 5, CPU VDD voltage: 1.108V

It may be... But it is possible that the value 1.225 is computed by the
code by default.

Marek

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-02-10  2:15 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-09 21:00 [PATCH mvebu v2 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz nnet
2021-02-09 21:33 ` Pali Rohár
2021-02-09 21:33   ` Pali Rohár
2021-02-09 21:45   ` nnet
2021-02-09 21:45     ` nnet
2021-02-09 22:42     ` Pali Rohár
2021-02-09 22:42       ` Pali Rohár
2021-02-09 22:52       ` nnet
2021-02-09 22:52         ` nnet
2021-02-09 22:56         ` Pali Rohár
2021-02-09 22:56           ` Pali Rohár
2021-02-09 23:16           ` nnet
2021-02-09 23:16             ` nnet
2021-02-09 23:26             ` Marek Behún
2021-02-09 23:26               ` Marek Behún
2021-02-10  1:31               ` nnet
2021-02-10  1:31                 ` nnet
2021-02-10  1:51                 ` nnet
2021-02-10  1:51                   ` nnet
2021-02-10  2:07                   ` nnet
2021-02-10  2:07                     ` nnet
2021-02-10  9:23                     ` Pali Rohár
2021-02-10  9:23                       ` Pali Rohár
2021-02-10 17:34                       ` nnet
2021-02-10 17:34                         ` nnet
2021-02-10 18:03                         ` Pali Rohár
2021-02-10 18:03                           ` Pali Rohár
2021-02-10 19:08                           ` nnet
2021-02-10 19:08                             ` nnet
2021-02-10 19:18                             ` Marek Behún
2021-02-10 19:18                               ` Marek Behún
2021-02-11 19:55                             ` Pali Rohár
2021-02-11 19:55                               ` Pali Rohár
2021-02-11 20:22                               ` nnet
2021-02-11 20:22                                 ` nnet
2021-02-11 23:44                                 ` Pali Rohár
2021-02-11 23:44                                   ` Pali Rohár
2021-02-12  0:41                                   ` nnet
2021-02-12  0:41                                     ` nnet
2021-02-13 10:01                                     ` Pali Rohár
2021-02-13 10:01                                       ` Pali Rohár
2021-02-13 18:30                                       ` nnet
2021-02-13 18:30                                         ` nnet
2021-02-14 12:33                                         ` Pali Rohár
2021-02-14 12:33                                           ` Pali Rohár
2021-02-16  5:48                                           ` nnet
2021-02-16  5:48                                             ` nnet
2021-02-16 10:41                                             ` Pali Rohár
2021-02-16 10:41                                               ` Pali Rohár
2021-02-16 16:27                                               ` nnet
2021-02-16 16:27                                                 ` nnet
2021-02-19 19:33                                                 ` Pali Rohár
2021-02-19 19:33                                                   ` Pali Rohár
2021-02-22  3:17                                                   ` nnet
2021-02-22  3:17                                                     ` nnet
2021-02-22  9:51                                                     ` Pali Rohár
2021-02-22  9:51                                                       ` Pali Rohár
2021-02-22 16:36                                                       ` nnet
2021-02-22 16:36                                                         ` nnet
2021-02-22 16:40                                                         ` Philip Soares
2021-02-22 16:40                                                           ` Philip Soares
2021-02-10  2:12                   ` Marek Behún [this message]
2021-02-10  2:12                     ` Marek Behún
  -- strict thread matches above, loose matches on Subject: below --
2021-01-14 12:40 Pali Rohár
2021-01-14 12:40 ` Pali Rohár
2021-02-01 14:35 ` Tomasz Maciej Nowak
2021-02-01 14:35   ` Tomasz Maciej Nowak
2021-02-03 19:29 ` Anders Trier Olesen
2021-02-03 19:29   ` Anders Trier Olesen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210210031237.6229b7ef@kernel.org \
    --to=kabel@kernel.org \
    --cc=a.heider@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=gerald@gk2.net \
    --cc=gregory.clement@bootlin.com \
    --cc=kostap@marvell.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luka.perkov@sartura.hr \
    --cc=miquel.raynal@bootlin.com \
    --cc=mturquette@baylibre.com \
    --cc=nnet@fastmail.fm \
    --cc=pali@kernel.org \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=sboyd@kernel.org \
    --cc=tmn505@gmail.com \
    --cc=vladimir.vid@sartura.hr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.