Re: [PATCH 2/3] target/arm: Refactor default generic timer frequency handling

2024-04-23 Thread Philippe Mathieu-Daudé
On 19/4/24 20:46, Peter Maydell wrote: The generic timer frequency is settable by board code via a QOM property "cntfrq", but otherwise defaults to 62.5MHz. The way this is done includes some complication resulting from how this was originally a fixed value with no QOM property. Clean it up:

Re: [PATCH 2/3] target/arm: Refactor default generic timer frequency handling

2024-04-20 Thread Richard Henderson
On 4/19/24 11:46, Peter Maydell wrote: The generic timer frequency is settable by board code via a QOM property "cntfrq", but otherwise defaults to 62.5MHz. The way this is done includes some complication resulting from how this was originally a fixed value with no QOM property. Clean it up:

[PATCH 2/3] target/arm: Refactor default generic timer frequency handling

2024-04-19 Thread Peter Maydell
The generic timer frequency is settable by board code via a QOM property "cntfrq", but otherwise defaults to 62.5MHz. The way this is done includes some complication resulting from how this was originally a fixed value with no QOM property. Clean it up: * always set cpu->gt_cntfrq_hz to some se