qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] hw/arm/sse-timer: Add CNTFRQ reset property
@ 2023-09-14 22:42 Joe Komlodi
  2023-09-14 22:42 ` [PATCH 1/1] hw/timer/sse-timer: " Joe Komlodi
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Komlodi @ 2023-09-14 22:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: komlodi, qemu-arm, peter.maydell

Hi all,

This patch just adds an object property to initialize the reset value of
CNTFRQ.
We noticed that Linux would complain that CNTFRQ would have a mismatch
compared to an expected value, and this was because TF-A was assuming
that CNTFRQ was initialized to a different value out of reset.

Since it's valid for CNTFRQ to have a non-zero reset value, we just
added an object property so people can set it.

Thanks!
Joe

Joe Komlodi (1):
  hw/timer/sse-timer: Add CNTFRQ reset property

 hw/timer/sse-timer.c         | 4 +++-
 include/hw/timer/sse-timer.h | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

-- 
2.42.0.459.ge4e396fd5e-goog



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-15  9:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-14 22:42 [PATCH 0/1] hw/arm/sse-timer: Add CNTFRQ reset property Joe Komlodi
2023-09-14 22:42 ` [PATCH 1/1] hw/timer/sse-timer: " Joe Komlodi
2023-09-15  9:55   ` Peter Maydell

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).