Skip to content

pit, hpet, pcspk: fixes & preparation for KVM

Jan Kiszka kvm qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest7 patches 0 repliesNew

Changes in v2 from the cover letter

- do not raise i8254 IRQ on reset
- introduce i8254.h
- pass irq output object on i8254 initialization
- convert PC speaker to qdev
- factor out pit_get_channel_info

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7i8254: Do not raise IRQ level on resethw/i8254.c+7 -10 replies
2/7hpet: Save/restore cached RTC IRQ levelhw/hpet.c+26 -00 replies
3/7i8254: Factor out interface headerhw/alpha_dp264.c hw/hpet.c hw/i8254.c +8 more+63 -250 replies
4/7i8254: Pass irq output object on initializationhw/alpha_dp264.c hw/i8254.c hw/i8254.h +6 more+10 -120 replies
5/7i8254: Rework & fix interaction with HPET in legacy modehw/hpet.c hw/hpet_emul.h hw/i8254.c +2 more+54 -470 replies
6/7pcspk: Convert to qdevarch_init.c hw/mips_jazz.c hw/pc.c +3 more+96 -160 replies
7/7i8254: Factor out pit_get_channel_infohw/i8254.c hw/i8254.h hw/pcspk.c+29 -340 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH V2 0/7] pit, hpet, pcspk: fixes & preparation for KVM

This is a preparatory series to allow the introduction of the KVM in-kernel PIT. A working and fairly clean version for that is ready. It is just waiting for the irqchip baseline and this series to be merged.

This series also fixes various bugs in the PIT and HPET code, see patches for details.

Changes in V2:
- do not raise i8254 IRQ on reset
- introduce i8254.h
- pass irq output object on i8254 initialization
- convert PC speaker to qdev
- factor out pit_get_channel_info

Jan Kiszka (7):
i8254: Do not raise IRQ level on reset
hpet: Save/restore cached RTC IRQ level
i8254: Factor out interface header
i8254: Pass irq output object on initialization
i8254: Rework & fix interaction with HPET in legacy mode
pcspk: Convert to qdev
i8254: Factor out pit_get_channel_info

 arch_init.c        |    1 +
 hw/alpha_dp264.c   |    3 +-
 hw/hpet.c          |   65 ++++++++++++++++++++++++++----------
 hw/hpet_emul.h     |    3 ++
 hw/i8254.c         |   92 ++++++++++++++++++++++-----------------------------
 hw/i8254.h         |   55 +++++++++++++++++++++++++++++++
 hw/mips_fulong2e.c |    3 +-
 hw/mips_jazz.c     |    6 ++-
 hw/mips_malta.c    |    3 +-
 hw/mips_r4k.c      |    3 +-
 hw/pc.c            |   17 +++++++--
 hw/pc.h            |   29 ----------------
 hw/pcspk.c         |   73 ++++++++++++++++++++++++++++++++--------
 hw/pcspk.h         |   45 +++++++++++++++++++++++++
 hw/ppc_prep.c      |    2 +-
 15 files changed, 275 insertions(+), 125 deletions(-)
 create mode 100644 hw/i8254.h
 create mode 100644 hw/pcspk.h
Signature · 1 line
1.7.3.4