qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 2/4] hw/arm/sbsa-ref: Force CPU generic timer to 62.5MHz


From: Marcin Juszkiewicz
Subject: Re: [PATCH v2 2/4] hw/arm/sbsa-ref: Force CPU generic timer to 62.5MHz
Date: Mon, 29 Apr 2024 08:37:54 +0200
User-agent: Mozilla Thunderbird

W dniu 26.04.2024 o 14:29, Peter Maydell pisze:
The default frequency used by the 'max' CPU is about to change, so
make the sbsa-ref board force the CPU frequency to the value which
the firmware expects.

Newer versions of TF-A will read the frequency from the CPU's
CNTFRQ_EL0 register:
  
https://github.com/ARM-software/arm-trusted-firmware/commit/4c77fac98dac0bebc63798aae9101ac865b87148
so in the longer term we could make this board use the 1GHz
frequency. We will need to make sure we update the binaries used
by our avocado test
  Aarch64SbsarefMachine.test_sbsaref_alpine_linux_max_pauth_impdef
before we can do that.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
I leave it up to the sbsa-ref maintainers exactly when they
want to shift to 1GHz (probably after a TF-A release with the fix?)

Reviewed-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>

TF-A 2.11 will be released in June. It will have several other improvements so I prefer to wait for it.

We will have EDK2 202405 stable release then too which allow us to collect all changes we did during last half year (and maybe even those in progress).

In meantime we go with 62.5 MHz frequency as it was before so no one will get "too fast wall clock" issue. Then, in a middle of June, new firmware will be built for QEMU CI and we will be able to move to 1 GHz by default and maybe add some other changes on top.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]