qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Michael S . Tsirkin" <mst@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	peterx@redhat.com
Subject: [Qemu-devel] [PATCH 0/5] i8259: cleanups and enhancements
Date: Sun, 10 Dec 2017 14:38:14 +0800	[thread overview]
Message-ID: <20171210063819.14892-1-peterx@redhat.com> (raw)

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(-)

-- 
2.14.3

             reply	other threads:[~2017-12-10  6:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-10  6:38 Peter Xu [this message]
2017-12-10  6:38 ` [Qemu-devel] [PATCH 1/5] i8259: convert DPRINTFs into trace Peter Xu
2017-12-15 11:22   ` Philippe Mathieu-Daudé
2017-12-10  6:38 ` [Qemu-devel] [PATCH 2/5] i8259: use DEBUG_IRQ_COUNT always Peter Xu
2017-12-15 11:25   ` Philippe Mathieu-Daudé
2017-12-10  6:38 ` [Qemu-devel] [PATCH 3/5] i8259: generalize statistics into common code Peter Xu
2017-12-15 11:28   ` Philippe Mathieu-Daudé
2017-12-16  3:13     ` Peter Xu
2017-12-10  6:38 ` [Qemu-devel] [PATCH 4/5] kvm-i8259: support "info pic" and "info irq" Peter Xu
2017-12-15 11:30   ` Philippe Mathieu-Daudé
2017-12-10  6:38 ` [Qemu-devel] [PATCH 5/5] i8259: move TYPE_INTERRUPT_STATS_PROVIDER upper Peter Xu
2017-12-15 11:30   ` Philippe Mathieu-Daudé
2017-12-19 13:09 ` [Qemu-devel] [PATCH 0/5] i8259: cleanups and enhancements Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171210063819.14892-1-peterx@redhat.com \
    --to=peterx@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).