sbsa-gwdt cleanup and fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | sbsa-gwdt: reduce code identhw/ | +20 | 2 replies | |
| 2/6 | arm: gwdt: consolidate clear WS0 and WS1 on explicit refreshhw/ | +4 | 1 reply | |
| 3/6 | arm: gwdt: simplify WCV update conditionhw/ | +6 | 1 reply | |
| 4/6 | sbsa-gwdt: rename sbsa_gwdt_update_timer() to sbsa_gwdt_wor_update_timer()hw/ | +6 | 1 reply | |
| 5/6 | sbsa-gwdt: don't arm timer for compare values above INT64_MAXhw/ | +17 | 1 reply | |
| 6/6 | sbsa-gwdt: reschedule timer on direct WCV loadhw/ | +9 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Eric Auger | Peter Maydell |
|---|---|---|
| 1/6 | R-b | R-b |
| 2/6 | R-b | |
| 3/6 | R-b | |
| 4/6 | R-b | |
| 5/6 | R-b | |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] sbsa-gwdt cleanup and fixes
Series picks up dropped gwdt fixes from
[PATCH v3 00/17] Add watchdog support to arm/virt board
https://patchew.org/QEMU/[email protected]/
patches were basically rewritten to make changes simpler/easier to reson about.
patch 6/6 is partial fix with open question:
sbsa-gwdt currently mantains WVC in since VM start ticks, which works fine under TCG. However under KVM those system counter domains diverge and CNTPCT in guest starts to return host's value. As result WCV reads/writes got mixed up with QEMU still assuming VM timeframe while guest using host's one. Question is how should we fix it?
Igor Mammedov (6):
sbsa-gwdt: reduce code ident
arm: gwdt: consolidate clear WS0 and WS1 on explicit refresh
arm: gwdt: simplify WCV update condition
sbsa-gwdt: rename sbsa_gwdt_update_timer() to
sbsa_gwdt_wor_update_timer()
sbsa-gwdt: don't arm timer for compare values above INT64_MAX
sbsa-gwdt: reschedule timer on direct WCV load
hw/watchdog/sbsa_gwdt.c | 81 +++++++++++++++++++++++++++-------------- 1 file changed, 54 insertions(+), 27 deletions(-)
Signature · 1 line
2.52.0