[PATCH-for-5.2 0/3] hw/clock: Only propagate clock changes if the clock is changed

Philippe Mathieu-Daudé posted 3 patches 3 years, 9 months ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200806123858.30058-1-f4bug@amsat.org
include/hw/clock.h | 30 ++++++++++--------------------
hw/core/clock.c    |  7 ++++++-
2 files changed, 16 insertions(+), 21 deletions(-)
[PATCH-for-5.2 0/3] hw/clock: Only propagate clock changes if the clock is changed
Posted by Philippe Mathieu-Daudé 3 years, 9 months ago
Trivial patches for the clock API:
- remove unused code
- only propagate clock update when a clock change

Philippe Mathieu-Daudé (3):
  hw/clock: Remove unused clock_init*() functions
  hw/clock: Let clock_set() return boolean value
  hw/clock: Only propagate clock changes if the clock is changed

 include/hw/clock.h | 30 ++++++++++--------------------
 hw/core/clock.c    |  7 ++++++-
 2 files changed, 16 insertions(+), 21 deletions(-)

-- 
2.21.3


Re: [PATCH-for-5.2 0/3] hw/clock: Only propagate clock changes if the clock is changed
Posted by Peter Maydell 3 years, 8 months ago
On Thu, 6 Aug 2020 at 13:39, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> Trivial patches for the clock API:
> - remove unused code
> - only propagate clock update when a clock change
>
> Philippe Mathieu-Daudé (3):
>   hw/clock: Remove unused clock_init*() functions
>   hw/clock: Let clock_set() return boolean value
>   hw/clock: Only propagate clock changes if the clock is changed
>
>  include/hw/clock.h | 30 ++++++++++--------------------
>  hw/core/clock.c    |  7 ++++++-
>  2 files changed, 16 insertions(+), 21 deletions(-)



Applied to target-arm.next, thanks.

-- PMM