qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: qemu devel list <qemu-devel@nongnu.org>
Cc: Kevin O'Connor <kevin@koconnor.net>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Gerd Hoffmann <kraxel@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: [Qemu-devel] [PATCH v3 for-2.9 0/3] q35: add negotiable broadcast SMI
Date: Fri, 18 Nov 2016 11:36:56 +0100	[thread overview]
Message-ID: <20161118103659.10448-1-lersek@redhat.com> (raw)

This is v3 of the series, with updates based on the v2 discussion:
<http://lists.nongnu.org/archive/html/qemu-devel/2016-11/msg02687.html>.

I've added feature negotiation via the APM_STS ("scratchpad") register.
A new spec file called "docs/specs/q35-apm-sts.txt" is included.

Tested with new OVMF patches (about to send out those as well).
Regression tested with SeaBIOS (beyond simple functional tests with
maximum SeaBIOS logging enabled, I used gdb to step through the new
ich9_apm_status_changed() callback to see if it was behaving compatibly
with SeaBIOS).

The series was developed and tested on top of v2.7.0, because v2.8.0-rc0
crashes very quickly for me when running OVMF:

  kvm_io_ioeventfd_add: error adding ioeventfd: File exists

It is my understanding that there are patches on the list for this:

  [Qemu-devel] [PATCH v2 for-2.8 0/3] virtio fixes

Anyway, the series rebases to v2.8.0-rc0 without as much as context
differences.

Cc: "Kevin O'Connor" <kevin@koconnor.net>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>

Thanks
Laszlo

Laszlo Ersek (3):
  hw/isa/apm: introduce callback for APM_STS_IOPORT writes
  hw/isa/lpc_ich9: add SMI feature negotiation via APM_STS
  hw/isa/lpc_ich9: ICH9_APM_STS_F_BROADCAST_SMI: inject SMI on all VCPUs

 docs/specs/q35-apm-sts.txt | 80 ++++++++++++++++++++++++++++++++++++++++++++++
 include/hw/i386/ich9.h     |  9 ++++++
 include/hw/isa/apm.h       |  9 +++---
 hw/acpi/piix4.c            |  2 +-
 hw/isa/apm.c               | 15 ++++++---
 hw/isa/lpc_ich9.c          | 64 +++++++++++++++++++++++++++++++++++--
 hw/isa/vt82c686.c          |  2 +-
 7 files changed, 168 insertions(+), 13 deletions(-)
 create mode 100644 docs/specs/q35-apm-sts.txt

-- 
2.9.2

             reply	other threads:[~2016-11-18 10:37 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18 10:36 Laszlo Ersek [this message]
2016-11-18 10:36 ` [Qemu-devel] [PATCH v3 for-2.9 1/3] hw/isa/apm: introduce callback for APM_STS_IOPORT writes Laszlo Ersek
2016-11-18 10:36 ` [Qemu-devel] [PATCH v3 for-2.9 2/3] hw/isa/lpc_ich9: add SMI feature negotiation via APM_STS Laszlo Ersek
2016-11-18 10:36 ` [Qemu-devel] [PATCH v3 for-2.9 3/3] hw/isa/lpc_ich9: ICH9_APM_STS_F_BROADCAST_SMI: inject SMI on all VCPUs Laszlo Ersek
2016-11-18 14:10 ` [Qemu-devel] [PATCH v3 for-2.9 0/3] q35: add negotiable broadcast SMI Michael S. Tsirkin
2016-11-23 15:48   ` Laszlo Ersek
2016-11-23 22:35 ` Paolo Bonzini
2016-11-24  0:01   ` Laszlo Ersek
2016-11-24  0:31     ` Laszlo Ersek
2016-11-24  0:38     ` Kevin O'Connor
2016-11-24  4:29       ` Michael S. Tsirkin
2016-11-24  8:37         ` Laszlo Ersek
2016-11-25  4:00           ` Michael S. Tsirkin
2016-11-25 12:31             ` Laszlo Ersek
2016-11-25 12:40               ` Laszlo Ersek
2016-11-28  9:01                 ` Gerd Hoffmann
2016-11-28 10:22                   ` Laszlo Ersek
2016-11-28 11:53                     ` Paolo Bonzini
2016-11-25 14:22               ` Igor Mammedov
2016-11-24 14:55     ` Igor Mammedov
2016-11-24 17:05       ` Paolo Bonzini
2016-11-24 18:02         ` Igor Mammedov
2016-11-25  8:55           ` Paolo Bonzini
2016-11-25 14:10             ` Igor Mammedov
2016-11-28  9:41               ` Paolo Bonzini
2016-11-28 11:24                 ` Igor Mammedov
2016-11-28 11:51                   ` 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=20161118103659.10448-1-lersek@redhat.com \
    --to=lersek@redhat.com \
    --cc=kevin@koconnor.net \
    --cc=kraxel@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).