All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: qemu-devel@nongnu.org
Cc: "Damien Hedde" <damien.hedde@greensocs.com>,
	"Huacai Chen" <zltjiangshi@gmail.com>,
	"Aleksandar Rikalo" <aleksandar.rikalo@syrmia.com>,
	"Luc Michel" <luc@lmichel.fr>,
	"Eduardo Habkost" <ehabkost@redhat.com>,
	"Paul Burton" <paulburton@kernel.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Hervé Poussineau" <hpoussin@reactos.org>,
	"Huacai Chen" <chenhc@lemote.com>,
	"Daniel P. Berrangé" <berrange@redhat.com>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	"Aurelien Jarno" <aurelien@aurel32.net>,
	"Richard Henderson" <rth@twiddle.net>
Subject: Re: [PATCH v4 00/21] hw/mips: Set CPU frequency
Date: Fri, 16 Oct 2020 18:45:13 +0200	[thread overview]
Message-ID: <86bde443-c6d7-ffea-8091-5a2677277778@amsat.org> (raw)
In-Reply-To: <20201012095804.3335117-1-f4bug@amsat.org>

On 10/12/20 11:57 AM, Philippe Mathieu-Daudé wrote:
> Since v3:
> - Introduced mips_cpu_create_with_clock() helper (Huacai)
> - Added R-b tags
> 
> Since v2:
> - Renamed "clk" -> "clk-in"
> - Renamed "cpuclk-out -> "cpu-refclk"
> 
> Missing review: patches 7, 10-13, 15-21
> 
> ~~~
> 
> All the MIPS cores emulated by QEMU provides the Coproc#0
> 'Count' register which can be used as a free running timer.
> 
> Since it's introduction in 2005 this timer uses a fixed
> frequency of 100 MHz (for a CPU freq of 200 MHz).
> While this is not an issue with Linux guests, it makes
> some firmwares behave incorrectly.
> 
> The Clock API allow propagating clocks. It is particularly
> useful when hardware dynamicly changes clock frequencies.
> 
> To be able to model such MIPS hardware, we need to refactor
> the MIPS hardware code to handle clocks.

Thanks, series applied to mips-next.


      parent reply	other threads:[~2020-10-16 16:47 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12  9:57 [PATCH v4 00/21] hw/mips: Set CPU frequency Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 01/21] util/cutils: Introduce freq_to_str() to display Hertz units Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 02/21] qdev-monitor: Display frequencies scaled to SI unit Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 03/21] hw/qdev-clock: Display error hint when clock is missing from device Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 04/21] hw/core/clock: add the clock_new helper function Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 05/21] target/mips: Move cpu_mips_get_random() with CP0 helpers Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 06/21] target/mips/cp0_timer: Explicit unit in variable name Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 07/21] target/mips/cp0_timer: Document TIMER_PERIOD origin Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 08/21] target/mips: Move cp0_count_ns to CPUMIPSState Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 09/21] target/mips/cpu: Calculate the CP0 timer period using the CPU frequency Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 10/21] target/mips/cpu: Make cp0_count_rate a property Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 11/21] target/mips/cpu: Allow the CPU to use dynamic frequencies Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 12/21] target/mips/cpu: Introduce mips_cpu_create_with_clock() helper Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 13/21] hw/mips/r4k: Explicit CPU frequency is 200 MHz Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 14/21] hw/mips/fuloong2e: Set CPU frequency to 533 MHz Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 15/21] hw/mips/mipssim: Correct CPU frequency Philippe Mathieu-Daudé
2020-10-12  9:57 ` [PATCH v4 16/21] hw/mips/jazz: Correct CPU frequencies Philippe Mathieu-Daudé
2020-10-12  9:58 ` [PATCH v4 17/21] hw/mips/cps: Expose input clock and connect it to CPU cores Philippe Mathieu-Daudé
2020-10-12  9:58 ` [PATCH v4 18/21] hw/mips/boston: Set CPU frequency to 1 GHz Philippe Mathieu-Daudé
2020-10-12  9:58 ` [PATCH v4 19/21] hw/mips/malta: Set CPU frequency to 320 MHz Philippe Mathieu-Daudé
2020-10-12  9:58 ` [PATCH v4 20/21] hw/mips/cps: Do not allow use without input clock Philippe Mathieu-Daudé
2020-10-12  9:58 ` [PATCH v4 21/21] target/mips/cpu: Display warning when CPU is used " Philippe Mathieu-Daudé
2020-10-16 16:45 ` Philippe Mathieu-Daudé [this message]

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=86bde443-c6d7-ffea-8091-5a2677277778@amsat.org \
    --to=f4bug@amsat.org \
    --cc=aleksandar.rikalo@syrmia.com \
    --cc=alex.bennee@linaro.org \
    --cc=aurelien@aurel32.net \
    --cc=berrange@redhat.com \
    --cc=chenhc@lemote.com \
    --cc=damien.hedde@greensocs.com \
    --cc=ehabkost@redhat.com \
    --cc=hpoussin@reactos.org \
    --cc=luc@lmichel.fr \
    --cc=paulburton@kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=zltjiangshi@gmail.com \
    /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.