Re: [Qemu-devel] [PATCH v3] x86: ioapic: add support for explicit EOI

2016-08-01 Thread Peter Xu
On Mon, Aug 01, 2016 at 04:43:26PM +0200, Igor Mammedov wrote: > > One thing to mention: this patch only applies to emulated IOAPIC. It > > does not affect kernel IOAPIC behavior. > ^^^ which is ? What I wanted to express is that this property will not taking e

Re: [Qemu-devel] [PATCH v3] x86: ioapic: add support for explicit EOI

2016-08-01 Thread Paolo Bonzini
On 01/08/2016 15:59, Peter Xu wrote: > Some old Linux kernels (upstream before v4.0), or any released RHEL > kernels has problem in sending APIC EOI when IR is enabled. Meanwhile, > many of them only support explicit EOI for IOAPIC, which is only > introduced in IOAPIC version 0x20. This patch pr

Re: [Qemu-devel] [PATCH v3] x86: ioapic: add support for explicit EOI

2016-08-01 Thread Paolo Bonzini
On 01/08/2016 16:43, Igor Mammedov wrote: > > To be compatible with old systems, 0x11 will still be the default IOAPIC > > version. Here 0x11 and 0x20 are the only versions to be supported. > > Is there a reason not to default to 0x20 for new machine types and > set 2.6 and older machine types t

Re: [Qemu-devel] [PATCH v3] x86: ioapic: add support for explicit EOI

2016-08-01 Thread Igor Mammedov
On Mon, 1 Aug 2016 21:59:19 +0800 Peter Xu wrote: > Some old Linux kernels (upstream before v4.0), or any released RHEL > kernels has problem in sending APIC EOI when IR is enabled. Meanwhile, > many of them only support explicit EOI for IOAPIC, which is only > introduced in IOAPIC version 0x20.

[Qemu-devel] [PATCH v3] x86: ioapic: add support for explicit EOI

2016-08-01 Thread Peter Xu
Some old Linux kernels (upstream before v4.0), or any released RHEL kernels has problem in sending APIC EOI when IR is enabled. Meanwhile, many of them only support explicit EOI for IOAPIC, which is only introduced in IOAPIC version 0x20. This patch provide a way to boost QEMU IOAPIC to version 0x2