All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Liu Jingqi <jingqi.liu@intel.com>
Cc: ehabkost@redhat.com, eblake@redhat.com, pbonzini@redhat.com,
	mst@redhat.com, marcel.apfelbaum@gmail.com, rth@twiddle.net,
	armbru@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH V1 RESEND 0/6] Build ACPI Heterogeneous Memory Attribute Table (HMAT)
Date: Mon, 16 Jul 2018 14:00:35 +0200	[thread overview]
Message-ID: <20180716140035.0345db39@redhat.com> (raw)
In-Reply-To: <1529421657-14969-1-git-send-email-jingqi.liu@intel.com>

On Tue, 19 Jun 2018 23:20:51 +0800
Liu Jingqi <jingqi.liu@intel.com> wrote:

> This series of patches will build Heterogeneous Memory Attribute Table (HMAT)
> according to the command line. The ACPI HMAT describes the memory attributes,
> such as memory side cache attributes and bandwidth and latency details,
> related to the System Physical Address (SPA) Memory Ranges.
> The software is expected to use this information as hint for optimization.
> 
> OSPM evaluates HMAT only during system initialization. Any changes to the HMAT
> state at runtime or information regarding HMAT for hot plug are communicated
> using the _HMA method.
> 
> Liu Jingqi (6):
>   hmat acpi: Build Memory Subsystem Address Range Structure(s) in ACPI
>     HMAT
you've converted this patch to build_append_int_noprefix() API as requested

>   hmat acpi: Build System Locality Latency and Bandwidth Information
>     Structure(s) in ACPI HMAT
>   hmat acpi: Build Memory Side Cache Information Structure(s) in ACPI
>     HMAT
but left out above 2 with the same issues.
So I'd repeat,
using "struct FOO {} packed" is discouraged, you should use
build_append_int_noprefix() API to build ACPI tables

>   numa: Extend the command-line to provide memory latency and bandwidth
>     information
>   numa: Extend the command-line to provide memory side cache information
>   hmat acpi: Implement _HMA method to update HMAT at runtime
> 
>  default-configs/x86_64-softmmu.mak |   1 +
>  hw/acpi/Makefile.objs              |   1 +
>  hw/acpi/hmat.c                     | 649 +++++++++++++++++++++++++++++++++++++
>  hw/acpi/hmat.h                     | 264 +++++++++++++++
>  hw/i386/acpi-build.c               | 122 ++++---
>  hw/i386/acpi-build.h               |  10 +
>  hw/i386/pc.c                       |   2 +
>  hw/i386/pc_piix.c                  |   3 +
>  hw/i386/pc_q35.c                   |   3 +
>  include/hw/i386/pc.h               |   2 +
>  include/sysemu/numa.h              |   2 +
>  numa.c                             | 202 ++++++++++++
>  qapi/misc.json                     | 160 ++++++++-
>  qemu-options.hx                    |  28 +-
>  14 files changed, 1401 insertions(+), 48 deletions(-)
>  create mode 100644 hw/acpi/hmat.c
>  create mode 100644 hw/acpi/hmat.h
> 

      parent reply	other threads:[~2018-07-16 12:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-19 15:20 [Qemu-devel] [PATCH V1 RESEND 0/6] Build ACPI Heterogeneous Memory Attribute Table (HMAT) Liu Jingqi
2018-06-19 15:20 ` [Qemu-devel] [PATCH V1 RESEND 1/6] hmat acpi: Build Memory Subsystem Address Range Structure(s) in ACPI HMAT Liu Jingqi
2018-07-16 11:54   ` Igor Mammedov
2018-09-12 14:33     ` Eric Blake
2018-09-13  7:05       ` Liu, Jingqi
2018-06-19 15:20 ` [Qemu-devel] [PATCH V1 RESEND 2/6] hmat acpi: Build System Locality Latency and Bandwidth Information " Liu Jingqi
2018-06-19 15:20 ` [Qemu-devel] [PATCH V1 RESEND 3/6] hmat acpi: Build Memory Side Cache " Liu Jingqi
2018-06-19 15:20 ` [Qemu-devel] [PATCH V1 RESEND 4/6] numa: Extend the command-line to provide memory latency and bandwidth information Liu Jingqi
2018-06-19 15:39   ` Eric Blake
2018-06-20  1:04     ` Liu, Jingqi
2018-06-19 15:20 ` [Qemu-devel] [PATCH V1 RESEND 5/6] numa: Extend the command-line to provide memory side cache information Liu Jingqi
2018-06-19 15:20 ` [Qemu-devel] [PATCH V1 RESEND 6/6] hmat acpi: Implement _HMA method to update HMAT at runtime Liu Jingqi
2018-07-16 12:28   ` Igor Mammedov
2018-09-12  1:12     ` Liu, Jingqi
2018-09-13 11:38       ` Igor Mammedov
2018-09-13 14:49         ` Liu, Jingqi
2018-06-19 17:45 ` [Qemu-devel] [PATCH V1 RESEND 0/6] Build ACPI Heterogeneous Memory Attribute Table (HMAT) no-reply
2018-06-19 18:11 ` no-reply
2018-07-16 12:00 ` Igor Mammedov [this message]

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=20180716140035.0345db39@redhat.com \
    --to=imammedo@redhat.com \
    --cc=armbru@redhat.com \
    --cc=eblake@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=jingqi.liu@intel.com \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /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.