qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Hu Tao <hutao@cn.fujitsu.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/2] ich9: update sci on gpe write
Date: Thu, 12 Sep 2013 17:22:14 +0200	[thread overview]
Message-ID: <20130912172214.69078ed7@nial.usersys.redhat.com> (raw)
In-Reply-To: <089cbe1099eeb4defb5ff867eb2263eb902ed67d.1377075625.git.hutao@cn.fujitsu.com>

On Wed, 21 Aug 2013 17:04:27 +0800
Hu Tao <hutao@cn.fujitsu.com> wrote:

> OSPM may disable the sci by clearing GPEx_BLK EN bit, in the case
> we have to set sci level to 0 or guest will receive sci interrupts
> endlessly.

Could you make a more verbose comment, referring to relevant ACPI spec chapter
and it would be nice, if you experienced problem with linux guest, to add
symptoms here as well.

commit 633aa0ac did equivalent change to piix4 part, so it's worth to mention
it here.

> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
>  hw/acpi/ich9.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
> index 3fb443d..8717c15 100644
> --- a/hw/acpi/ich9.c
> +++ b/hw/acpi/ich9.c
> @@ -79,6 +79,8 @@ static void ich9_gpe_writeb(void *opaque, hwaddr addr, uint64_t val,
>  {
>      ICH9LPCPMRegs *pm = opaque;
>      acpi_gpe_ioport_writeb(&pm->acpi_regs, addr, val);
> +
> +    pm_update_sci(pm);
>  }
>  
>  static const MemoryRegionOps ich9_gpe_ops = {

  reply	other threads:[~2013-09-12 15:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21  9:04 [Qemu-devel] [PATCH] q35: fix GPE method for cpu hotplug Hu Tao
2013-08-21  9:04 ` [Qemu-devel] [PATCH 1/2] ich9: update sci on gpe write Hu Tao
2013-09-12 15:22   ` Igor Mammedov [this message]
2013-09-23 11:20     ` Hu Tao
2013-08-21  9:04 ` [Qemu-devel] [PATCH 2/2] q35: add cpu hotplug support Hu Tao
2013-08-21  9:10   ` Hu Tao
2013-08-21 11:01   ` Gerd Hoffmann
2013-08-21 11:27     ` Paolo Bonzini
2013-08-21 11:36       ` Gerd Hoffmann
2013-10-04 13:20     ` Igor Mammedov
2013-10-07  7:54       ` Gerd Hoffmann
2013-08-21 11:40   ` Andreas Färber
2013-09-12 15:29   ` Igor Mammedov
2013-08-21 11:05 ` [Qemu-devel] [SeaBIOS] [PATCH] q35: fix GPE method for cpu hotplug Gerd Hoffmann
2013-09-10 12:34   ` Igor Mammedov

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=20130912172214.69078ed7@nial.usersys.redhat.com \
    --to=imammedo@redhat.com \
    --cc=hutao@cn.fujitsu.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).