Skip to content

i8259: cleanups and enhancements

Peter Xu qemu-devel 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/5i8259: convert DPRINTFs into tracehw/intc/i8259.c hw/intc/trace-events+18 -151 reply
2/5i8259: use DEBUG_IRQ_COUNT alwayshw/intc/i8259.c+1 -171 reply
3/5i8259: generalize statistics into common codehw/intc/i8259.c hw/intc/i8259_common.c include/hw/isa/i8259_internal.h+47 -382 replies
4/5kvm-i8259: support "info pic" and "info irq"hw/i386/kvm/i8259.c hw/intc/i8259_common.c+9 -01 reply
5/5i8259: move TYPE_INTERRUPT_STATS_PROVIDER upperhw/i386/kvm/i8259.c hw/intc/i8259.c hw/intc/i8259_common.c+7 -141 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/5R-b
2/5R-b
3/5
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] i8259: cleanups and enhancements

It's mostly a cleanup, but patch 4 allows kvm-i8259 to support "info pic" and "info irq" too.

I'm thinking whether it'll be good to move on this work to spread these commands to IOAPICs too, by removing "info ioapic" command and let "info pic" dump the things altogether (after all I think ioapic is also one type of PIC). Also, we can let ioapic to have statistics too. Let me know if anyone thinks this can be useful/cleaner and want me to continue (which won't need too much time for sure).

Please review. Thanks,

Peter Xu (5):
i8259: convert DPRINTFs into trace
i8259: use DEBUG_IRQ_COUNT always
i8259: generalize statistics into common code
kvm-i8259: support "info pic" and "info irq"
i8259: move TYPE_INTERRUPT_STATS_PROVIDER upper

 hw/i386/kvm/i8259.c             |  1 +
 hw/intc/i8259.c                 | 86 ++++++-----------------------------------
 hw/intc/i8259_common.c          | 49 +++++++++++++++++++++++
 hw/intc/trace-events            |  7 ++++
 include/hw/isa/i8259_internal.h |  7 +++-
 5 files changed, 74 insertions(+), 76 deletions(-)
Signature · 1 line
2.14.3