qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Igor Mammedov <imammedo@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [RFC PATCH 0/4] "pc: acpi: _CST support"
Date: Wed, 8 Aug 2018 23:20:25 +0300	[thread overview]
Message-ID: <20180808231810-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <1533741349-199141-1-git-send-email-imammedo@redhat.com>

On Wed, Aug 08, 2018 at 05:15:45PM +0200, Igor Mammedov wrote:
> It's an alternative approach to
>  1) [PATCH hack dontapply v2 0/7] Dynamic _CST generation
> which instead of dynamic AML loading uses static AML with
> dynamic values.  It allows us to keep firmware blob static and
> to avoid split firmware issue (1) in case of cross version migration.

I think there's a misunderstanding. That patch only declares a couple of
states but that is just for debugging/demonstration purposes.  A typical
real CPU has more states (e.g. some intel CPUs have ~10 levels).


> ABI in this case is confined to cpu hotplug IO registers
> (i.e. do it old school way, like we used to do so far).
> This way we don't have to add yet another ABI to keep dynamic
> AML code under control (1).
> 
> Tested  with: XPsp3 - ws2106 guests.
> 
> CC: "Michael S. Tsirkin" <mst@redhat.com>
> 
> 
> Igor Mammedov (3):
>   acpi: add aml_create_byte_field()
>   pc: acpi: add _CST support
>   acpi: add support for CST update notification
> 
> Michael S. Tsirkin (1):
>   acpi: aml: add aml_register()
> 
>  include/hw/acpi/aml-build.h     |   6 ++
>  include/hw/acpi/cpu.h           |  10 +++
>  docs/specs/acpi_cpu_hotplug.txt |  21 +++++-
>  hw/acpi/aml-build.c             |  28 +++++++
>  hw/acpi/cpu.c                   | 158 +++++++++++++++++++++++++++++++++++++++-
>  hw/acpi/piix4.c                 |   2 +
>  hw/i386/acpi-build.c            |   5 +-
>  tests/bios-tables-test.c        |   1 +
>  8 files changed, 225 insertions(+), 6 deletions(-)
> 
> -- 
> 2.7.4

  parent reply	other threads:[~2018-08-08 20:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-08 15:15 [Qemu-devel] [RFC PATCH 0/4] "pc: acpi: _CST support" Igor Mammedov
2018-08-08 15:15 ` [Qemu-devel] [RFC PATCH 1/4] acpi: aml: add aml_register() Igor Mammedov
2018-08-08 15:15 ` [Qemu-devel] [RFC PATCH 2/4] acpi: add aml_create_byte_field() Igor Mammedov
2018-08-08 15:15 ` [Qemu-devel] [RFC PATCH 3/4] pc: acpi: add _CST support Igor Mammedov
2018-08-08 20:17   ` Michael S. Tsirkin
2018-08-09 10:00     ` Igor Mammedov
2018-08-09 23:01       ` Michael S. Tsirkin
2018-08-15 13:25         ` Igor Mammedov
2018-08-15 13:25         ` [Qemu-devel] [PATCH " Igor Mammedov
2018-08-08 15:15 ` [Qemu-devel] [RFC PATCH 4/4] acpi: add support for CST update notification Igor Mammedov
2018-08-08 20:20 ` Michael S. Tsirkin [this message]
2018-08-09 10:13   ` [Qemu-devel] [RFC PATCH 0/4] "pc: acpi: _CST support" Igor Mammedov
2018-08-09 23:09     ` Michael S. Tsirkin
2018-08-15 13:21       ` 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=20180808231810-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=imammedo@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).