All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Babu Moger <babu.moger@amd.com>
Cc: ehabkost@redhat.com, mst@redhat.com, qemu-devel@nongnu.org,
	pbonzini@redhat.com, rth@twiddle.net
Subject: Re: [PATCH v6 01/13] hw/i386: Introduce X86CPUTopoInfo to contain topology info
Date: Wed, 11 Mar 2020 12:39:55 +0100	[thread overview]
Message-ID: <20200311123955.29a4c0d1@redhat.com> (raw)
In-Reply-To: <158389400579.22020.10755767480575663831.stgit@naples-babu.amd.com>

On Tue, 10 Mar 2020 21:33:25 -0500
Babu Moger <babu.moger@amd.com> wrote:

> This is an effort to re-arrange few data structure for better readability.
> 
> 1. Add X86CPUTopoInfo which will have all the topology informations
>    required to build the cpu topology. There is no functional changes.
> 
> 2. Introduce init_topo_info to initialize X86CPUTopoInfo members from
>    X86MachineState.
> 
> 3. Update x86 unit tests for new calling convention with parameter X86CPUTopoInfo
> 
> There is no functional changes.

patch doesn't apply to current master, so I can't really test it
> 
> Signed-off-by: Babu Moger <babu.moger@amd.com>
> ---
>  hw/i386/pc.c               |   12 ++++++------
>  hw/i386/x86.c              |   32 ++++++++++++++++++++++++--------
>  include/hw/i386/topology.h |   38 ++++++++++++++++++++++++--------------
>  include/hw/i386/x86.h      |    3 +++
>  tests/test-x86-cpuid.c     |   43 ++++++++++++++++++++++++-------------------
>  5 files changed, 81 insertions(+), 47 deletions(-)
> 
[...]
> diff --git a/hw/i386/x86.c b/hw/i386/x86.c
> index 322fb6abbc..03b8962c98 100644
> --- a/hw/i386/x86.c
> +++ b/hw/i386/x86.c
> @@ -57,6 +57,16 @@
>  /* Physical Address of PVH entry point read from kernel ELF NOTE */
>  static size_t pvh_start_addr;
>  
> +inline void init_topo_info(X86CPUTopoInfo *topo_info,
> +                                  const X86MachineState *x86ms)

not aligned properly

[...]



  reply	other threads:[~2020-03-11 11:41 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-11  2:33 [PATCH v6 00/13] APIC ID fixes for AMD EPYC CPU model Babu Moger
2020-03-11  2:33 ` [PATCH v6 01/13] hw/i386: Introduce X86CPUTopoInfo to contain topology info Babu Moger
2020-03-11 11:39   ` Igor Mammedov [this message]
2020-03-11 14:02     ` Babu Moger
2020-03-11  2:33 ` [PATCH v6 02/13] hw/i386: Consolidate topology functions Babu Moger
2020-03-11  2:33 ` [PATCH v6 03/13] machine: Add SMP Sockets in CpuTopology Babu Moger
2020-03-11  2:33 ` [PATCH v6 04/13] hw/i386: Remove unnecessary initialization in x86_cpu_new Babu Moger
2020-03-11  2:33 ` [PATCH v6 05/13] hw/i386: Update structures to save the number of nodes per package Babu Moger
2020-03-11  2:33 ` [PATCH v6 06/13] hw/i386: Rename apicid_from_topo_ids to x86_apicid_from_topo_ids Babu Moger
2020-03-11 11:44   ` Igor Mammedov
2020-03-11  2:34 ` [PATCH v6 07/13] hw/386: Add EPYC mode topology decoding functions Babu Moger
2020-03-11  2:34 ` [PATCH v6 08/13] target/i386: Cleanup and use the EPYC mode topology functions Babu Moger
2020-03-11 11:49   ` Igor Mammedov
2020-03-11  2:34 ` [PATCH v6 09/13] hw/i386: Introduce apicid functions inside X86MachineState Babu Moger
2020-03-11  2:34 ` [PATCH v6 10/13] i386: Check for apic id encoding Babu Moger
2020-03-11 12:17   ` Igor Mammedov
2020-03-11 14:50     ` Babu Moger
2020-03-11  2:34 ` [PATCH v6 11/13] target/i386: Enable new apic id encoding for EPYC based cpus models Babu Moger
2020-03-11 12:18   ` Igor Mammedov
2020-03-11  2:34 ` [PATCH v6 12/13] hw/i386: Move arch_id decode inside x86_cpus_init Babu Moger
2020-03-11 12:29   ` Igor Mammedov
2020-03-11 14:52     ` Babu Moger
2020-03-11  2:34 ` [PATCH v6 13/13] i386: Fix pkg_id offset for EPYC cpu models Babu Moger

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=20200311123955.29a4c0d1@redhat.com \
    --to=imammedo@redhat.com \
    --cc=babu.moger@amd.com \
    --cc=ehabkost@redhat.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.