qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Peter Maydell <peter.maydell@linaro.org>,
	Peter Crosthwaite <crosthwaitepeter@gmail.com>
Cc: Peter Crosthwaite <crosthwaite.peter@gmail.com>,
	Alistair Francis <alistair.francis@xilinx.com>,
	"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
	Nathan Rossi <nathan@nathanrossi.com>
Subject: Re: [Qemu-devel] [PATCH v2] hw/misc/zynq_slcr: Change CPU clock rate for Linux boots
Date: Sun, 13 Sep 2015 14:51:43 -0700	[thread overview]
Message-ID: <55F5EFEF.2060201@roeck-us.net> (raw)
In-Reply-To: <CAFEAcA_7JVuKua_5XL-EGhAWnNpZV+Ao=HSfOx3ZDpenBnry3g@mail.gmail.com>

Peter,

On 09/13/2015 01:47 PM, Peter Maydell wrote:
> On 13 September 2015 at 21:22, Peter Crosthwaite
> <crosthwaitepeter@gmail.com> wrote:
>> On Sat, Sep 12, 2015 at 2:06 PM, Guenter Roeck <linux@roeck-us.net> wrote:
>>> The Linux kernel only accepts 333334 Khz and 666667 Khz clock rates, and
>>> may crash if the actual clock rate is too low. The clock rate used to be
>>> (ps-clk-frequency * 26 / 4), which resulted in a CPU frequency of
>>> 216666 Khz if ps-clk-frequency was set to 33333333 Hz. Change it to
>>> (ps-clk-frequency * 20 / 2) = 333333 Khz for to make Linux happy.
>>> Limit the change to Linux boots only.
>>>
>>> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
>>>
>>
>> Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
>>
>> Can this go via target-arm? (cc PMM).
>>
>> There may be more changes worth making on is_linux. I don't have the
>> patch with the full list of FSBL-related SLCR changes handy and can't
>> seem to find it in any modern Yocto trees. Wondering if Yocto still
>> supports booting Zynq without FSBL (Nathan/Alistair may know more)?
>
> I'd prefer us not to propagate lots of "only if Linux boot"
> changes into devices. The GIC *must* have these because the
> kernel can't configure it otherwise from non-secure mode.
> I'm not sure that applies here.
>

Not sure I understand. Is this a NACK ?

Thanks,
Guenter

  reply	other threads:[~2015-09-13 21:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-12 21:06 [Qemu-devel] [PATCH v2] hw/misc/zynq_slcr: Change CPU clock rate for Linux boots Guenter Roeck
2015-09-13 20:22 ` Peter Crosthwaite
2015-09-13 20:37   ` Guenter Roeck
2015-09-13 20:47   ` Peter Maydell
2015-09-13 21:51     ` Guenter Roeck [this message]
2015-09-13 22:42     ` Peter Crosthwaite
2015-09-14 12:07       ` Peter Maydell
2015-09-14 13:17         ` Nathan Rossi
2015-09-14 14:05           ` Guenter Roeck
2015-09-27  5:44           ` Peter Crosthwaite
2015-09-27  5:50 ` Peter Crosthwaite

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=55F5EFEF.2060201@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=alistair.francis@xilinx.com \
    --cc=crosthwaite.peter@gmail.com \
    --cc=crosthwaitepeter@gmail.com \
    --cc=nathan@nathanrossi.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).