Message ID | 1386951736-929-6-git-send-email-imammedo@redhat.com |
---|---|
State | New |
Headers | show |
On Fri, Dec 13, 2013 at 05:22:10PM +0100, Igor Mammedov wrote: > it fixes IRQ storm since guest isn't able to lower SCI IRQ > after it has been handled when it clears GPE event. > > Signed-off-by: Igor Mammedov <imammedo@redhat.com> Applied, thanks. > --- > hw/acpi/ich9.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c > index dcdef7c..30f0df8 100644 > --- a/hw/acpi/ich9.c > +++ b/hw/acpi/ich9.c > @@ -61,6 +61,7 @@ static void ich9_gpe_writeb(void *opaque, hwaddr addr, uint64_t val, > { > ICH9LPCPMRegs *pm = opaque; > acpi_gpe_ioport_writeb(&pm->acpi_regs, addr, val); > + acpi_update_sci(&pm->acpi_regs, pm->irq); > } > > static const MemoryRegionOps ich9_gpe_ops = { > -- > 1.8.3.1
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index dcdef7c..30f0df8 100644 --- a/hw/acpi/ich9.c +++ b/hw/acpi/ich9.c @@ -61,6 +61,7 @@ static void ich9_gpe_writeb(void *opaque, hwaddr addr, uint64_t val, { ICH9LPCPMRegs *pm = opaque; acpi_gpe_ioport_writeb(&pm->acpi_regs, addr, val); + acpi_update_sci(&pm->acpi_regs, pm->irq); } static const MemoryRegionOps ich9_gpe_ops = {
it fixes IRQ storm since guest isn't able to lower SCI IRQ after it has been handled when it clears GPE event. Signed-off-by: Igor Mammedov <imammedo@redhat.com> --- hw/acpi/ich9.c | 1 + 1 file changed, 1 insertion(+)