Change behaviour of CONFIG_TIMER_EARLY
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib: time: Change behaviour of CONFIG_TIMER_EARLYlib/ | +33 | 1 reply | |
| 2/2 | common: board_f: Fix CONFIG_TIMER_EARLY issue (EAGAIN)common/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Change behaviour of CONFIG_TIMER_EARLY
When CONFIG_TIMER_EARLY is selected and the timer driver implements timer_early_get_count() and timer_early_get_rate() this leads to an EAGAIN error one some configurations in...
common/board_f.c:initf_dm()
initf_dm() invokes dm_timer_init(), but this function returns with an EAGAIN error in, because the DM virtual root driver isn't initialized yet in...
drivers/timer/timer-class.c:dm_timer_init()
Moved error handling to...
lib/time.c
For details you can read the description in the patches.
Affected drivers:drivers/timer/andes_plmt_timer.cdrivers/timer/sifive_clint_timer.cdrivers/timer/riscv_timer.c
I don't know who maintains these base libraries and base functions, so I used the copyright holders. For the driver I added the required maintainers to CC.
---
Johannes Krottmayer (2):
lib: time: Change behaviour of CONFIG_TIMER_EARLY
common: board_f: Fix CONFIG_TIMER_EARLY issue (EAGAIN)
common/board_f.c | 6 ------ lib/time.c | 42 +++++++++++++++++++++++++++++++++--------- 2 files changed, 33 insertions(+), 15 deletions(-)
Signature · 1 line
2.34.1