[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/6] intc: change 'info irq' and 'info pic' to b
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 0/6] intc: change 'info irq' and 'info pic' to be target-agnostic |
Date: |
Mon, 26 Sep 2016 09:13:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 25/09/2016 20:36, Hervé Poussineau wrote:
>
> This patchset aims at genericizing the 'info irq' and 'info pic' HMP
> commands, so
> that it is available on all machines and can display details about more than
> one
> interrupt controller per machine.
>
> Patch 1 adds a new interface IntCtrl, which is used to:
> - gather statistics for the 'info irq' command
> - print some text when 'info pic' is called
>
> Patches 2 to 4 implement IntCtrl interface on interrupt controllers which have
> ad-hock code to handle 'info irq'/'info pic' commands.
>
> Patch 5 removes ad-hock code, and replaces it by a generic version. You can
> get
> details about multiple interrupt controllers per machine starting here.
>
> Patch 6 makes 'info irq'/'info pic' commands available on all architectures.
> For example, Alpha clipper machine is now able to display details about the
> i8259 interrupt controller.
Nice. The only remark is that I'd change IntCtrl to something more
descriptive such as InterruptStatsProvider.
Paolo
- [Qemu-devel] [PATCH 0/6] intc: change 'info irq' and 'info pic' to be target-agnostic, Hervé Poussineau, 2016/09/25
- [Qemu-devel] [PATCH 1/6] intc: add an interface to gather statistics/informations on interrupt controllers, Hervé Poussineau, 2016/09/25
- [Qemu-devel] [PATCH 6/6] intc: make HMP 'info irq' and 'info pic' commands available on all targets, Hervé Poussineau, 2016/09/25
- [Qemu-devel] [PATCH 4/6] intc/lm32_pic: implement IntCtrl interface, Hervé Poussineau, 2016/09/25
- [Qemu-devel] [PATCH 2/6] intc/i8259: implement IntCtrl interface, Hervé Poussineau, 2016/09/25
- [Qemu-devel] [PATCH 5/6] intc: make HMP 'info irq' and 'info pic' commands use IntCtrl interface instead of ad-hock code, Hervé Poussineau, 2016/09/25
- [Qemu-devel] [PATCH 3/6] intc/slavio_intctl: implement IntCtrl interface, Hervé Poussineau, 2016/09/25
- Re: [Qemu-devel] [PATCH 0/6] intc: change 'info irq' and 'info pic' to be target-agnostic,
Paolo Bonzini <=