All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xiao Guangrong <guangrong.xiao@linux.intel.com>
To: pbonzini@redhat.com, imammedo@redhat.com, mst@redhat.com
Cc: gleb@kernel.org, mtosatti@redhat.com, stefanha@redhat.com,
	rth@twiddle.net, ehabkost@redhat.com, dan.j.williams@intel.com,
	kvm@vger.kernel.org, qemu-devel@nongnu.org
Subject: How to reserve guest physical region for ACPI
Date: Mon, 28 Dec 2015 10:39:04 +0800	[thread overview]
Message-ID: <5680A0C8.6040505@linux.intel.com> (raw)
In-Reply-To: <1449040860-19040-1-git-send-email-guangrong.xiao@linux.intel.com>


Hi Michael, Paolo,

Now it is the time to return to the challenge that how to reserve guest
physical region internally used by ACPI.

Igor suggested that:
| An alternative place to allocate reserve from could be high memory.
| For pc we have "reserved-memory-end" which currently makes sure
| that hotpluggable memory range isn't used by firmware
(https://lists.nongnu.org/archive/html/qemu-devel/2015-11/msg00926.html)

he also innovated a way to use 64-bit address in DSDT/SSDT.rev = 1:
| when writing ASL one shall make sure that only XP supported
| features are in global scope, which is evaluated when tables
| are loaded and features of rev2 and higher are inside methods.
| That way XP doesn't crash as far as it doesn't evaluate unsupported
| opcode and one can guard those opcodes checking _REV object if neccesary.
(https://lists.nongnu.org/archive/html/qemu-devel/2015-11/msg01010.html)

Michael, Paolo, what do you think about these ideas?

Thanks!

WARNING: multiple messages have this Message-ID (diff)
From: Xiao Guangrong <guangrong.xiao@linux.intel.com>
To: pbonzini@redhat.com, imammedo@redhat.com, mst@redhat.com
Cc: ehabkost@redhat.com, kvm@vger.kernel.org, gleb@kernel.org,
	mtosatti@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com,
	dan.j.williams@intel.com, rth@twiddle.net
Subject: [Qemu-devel] How to reserve guest physical region for ACPI
Date: Mon, 28 Dec 2015 10:39:04 +0800	[thread overview]
Message-ID: <5680A0C8.6040505@linux.intel.com> (raw)
In-Reply-To: <1449040860-19040-1-git-send-email-guangrong.xiao@linux.intel.com>


Hi Michael, Paolo,

Now it is the time to return to the challenge that how to reserve guest
physical region internally used by ACPI.

Igor suggested that:
| An alternative place to allocate reserve from could be high memory.
| For pc we have "reserved-memory-end" which currently makes sure
| that hotpluggable memory range isn't used by firmware
(https://lists.nongnu.org/archive/html/qemu-devel/2015-11/msg00926.html)

he also innovated a way to use 64-bit address in DSDT/SSDT.rev = 1:
| when writing ASL one shall make sure that only XP supported
| features are in global scope, which is evaluated when tables
| are loaded and features of rev2 and higher are inside methods.
| That way XP doesn't crash as far as it doesn't evaluate unsupported
| opcode and one can guard those opcodes checking _REV object if neccesary.
(https://lists.nongnu.org/archive/html/qemu-devel/2015-11/msg01010.html)

Michael, Paolo, what do you think about these ideas?

Thanks!

  parent reply	other threads:[~2015-12-28  2:45 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02  7:20 [PATCH v9 0/5] implement vNVDIMM Xiao Guangrong
2015-12-02  7:20 ` [Qemu-devel] " Xiao Guangrong
2015-12-02  7:20 ` [PATCH v9 1/5] nvdimm: implement NVDIMM device abstract Xiao Guangrong
2015-12-02  7:20   ` [Qemu-devel] " Xiao Guangrong
2015-12-02  7:20 ` [PATCH v9 2/5] acpi: support specified oem table id for build_header Xiao Guangrong
2015-12-02  7:20   ` [Qemu-devel] " Xiao Guangrong
2015-12-02  7:20 ` [PATCH v9 3/5] nvdimm acpi: build ACPI NFIT table Xiao Guangrong
2015-12-02  7:20   ` [Qemu-devel] " Xiao Guangrong
2015-12-02  7:20 ` [PATCH v9 4/5] nvdimm acpi: build ACPI nvdimm devices Xiao Guangrong
2015-12-02  7:20   ` [Qemu-devel] " Xiao Guangrong
2015-12-02  7:21 ` [PATCH v9 5/5] nvdimm: add maintain info Xiao Guangrong
2015-12-02  7:21   ` [Qemu-devel] " Xiao Guangrong
2015-12-10  3:11 ` [PATCH v9 0/5] implement vNVDIMM Xiao Guangrong
2015-12-10  3:11   ` [Qemu-devel] " Xiao Guangrong
2015-12-21 14:13   ` Xiao Guangrong
2015-12-21 14:13     ` [Qemu-devel] " Xiao Guangrong
2015-12-28  2:39 ` Xiao Guangrong [this message]
2015-12-28  2:39   ` [Qemu-devel] How to reserve guest physical region for ACPI Xiao Guangrong
2015-12-28 12:50   ` Michael S. Tsirkin
2015-12-28 12:50     ` [Qemu-devel] " Michael S. Tsirkin
2015-12-30 15:55     ` Igor Mammedov
2015-12-30 15:55       ` [Qemu-devel] " Igor Mammedov
2015-12-30 19:52       ` Michael S. Tsirkin
2015-12-30 19:52         ` [Qemu-devel] " Michael S. Tsirkin
2016-01-04 20:17         ` Laszlo Ersek
2016-01-04 20:17           ` [Qemu-devel] " Laszlo Ersek
2016-01-05 17:08           ` Igor Mammedov
2016-01-05 17:08             ` [Qemu-devel] " Igor Mammedov
2016-01-05 17:22             ` Laszlo Ersek
2016-01-05 17:22               ` [Qemu-devel] " Laszlo Ersek
2016-01-06 13:39               ` Igor Mammedov
2016-01-06 13:39                 ` [Qemu-devel] " Igor Mammedov
2016-01-06 14:43                 ` Laszlo Ersek
2016-01-06 14:43                   ` [Qemu-devel] " Laszlo Ersek
2016-01-07 13:51           ` Igor Mammedov
2016-01-07 13:51             ` [Qemu-devel] " Igor Mammedov
2016-01-07 17:33             ` Laszlo Ersek
2016-01-07 17:33               ` [Qemu-devel] " Laszlo Ersek
2016-01-05 16:30         ` Igor Mammedov
2016-01-05 16:30           ` [Qemu-devel] " Igor Mammedov
2016-01-05 16:43           ` Michael S. Tsirkin
2016-01-05 16:43             ` [Qemu-devel] " Michael S. Tsirkin
2016-01-05 17:07             ` Laszlo Ersek
2016-01-05 17:07               ` [Qemu-devel] " Laszlo Ersek
2016-01-05 17:07             ` Xiao Guangrong
2016-01-05 17:07               ` [Qemu-devel] " Xiao Guangrong
2016-01-07  9:21               ` Igor Mammedov
2016-01-07  9:21                 ` [Qemu-devel] " Igor Mammedov
2016-01-08  4:21                 ` Xiao Guangrong
2016-01-08  4:21                   ` [Qemu-devel] " Xiao Guangrong
2016-01-08  9:42                   ` Laszlo Ersek
2016-01-08  9:42                     ` [Qemu-devel] " Laszlo Ersek
2016-01-08 15:59                   ` Igor Mammedov
2016-01-08 15:59                     ` [Qemu-devel] " Igor Mammedov
2016-01-07 10:30             ` Igor Mammedov
2016-01-07 10:54               ` Michael S. Tsirkin
2016-01-07 13:42                 ` Igor Mammedov
2016-01-07 17:11                   ` Laszlo Ersek
2016-01-07 17:08                 ` Laszlo Ersek

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=5680A0C8.6040505@linux.intel.com \
    --to=guangrong.xiao@linux.intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=ehabkost@redhat.com \
    --cc=gleb@kernel.org \
    --cc=imammedo@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=mtosatti@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=stefanha@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.