Skip to content

aspeed/timer: Fix slowdowns in recent Linux

Cédric Le Goater qemu-arm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5aspeed/timer: Fix behaviour running Linuxhw/timer/aspeed_timer.c+31 -280 replies
2/5aspeed/timer: Status register contains reload for stopped timerhw/timer/aspeed_timer.c+5 -10 replies
3/5aspeed/timer: Fix match calculationshw/timer/aspeed_timer.c+10 -30 replies
4/5aspeed/timer: Provide back-pressure information for short periodshw/misc/aspeed_scu.c hw/timer/aspeed_timer.c include/hw/timer/aspeed_timer.h+12 -10 replies
5/5aspeed/timer: Use signed muldiv for timer resetshw/timer/aspeed_timer.c+2 -15 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-arm] [PATCH 0/5] aspeed/timer: Fix slowdowns in recent Linux

Hello,

This series was initially sent by Andrew on the OpenBMC list :

https://lists.ozlabs.org/pipermail/openbmc/2019-January/014640.html

We had an issue with the introduction of 4451d3f59f2a ("clocksource/drivers/fttmr010: Fix set_next_event handler") in Linux where our QEMU Aspeed machine were becoming very slow.

The series' approach is to provide back-pressure and it has shown significant improvement on the initial behavior which became normal again.

Sorry for this last minute fix but I think it's worth merging for all the QEMU Aspeed machine. It's a bit late for QEMU-4.0 so that might be 4.1 material.

Thanks,

C.

Andrew Jeffery (3):
aspeed/timer: Status register contains reload for stopped timer aspeed/timer: Fix match calculations
aspeed/timer: Provide back-pressure information for short periods

Christian Svensson (1):
aspeed/timer: Use signed muldiv for timer resets

Joel Stanley (1):
aspeed/timer: Fix behaviour running Linux

 include/hw/timer/aspeed_timer.h |  1 +
 hw/misc/aspeed_scu.c            |  6 +++
 hw/timer/aspeed_timer.c         | 81 ++++++++++++++++++++-------------
 3 files changed, 57 insertions(+), 31 deletions(-)
Signature · 1 line
2.20.1