public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Vijayenthiran Subramaniam" <vijayenthiran.subramaniam@arm.com>
To: devel@edk2.groups.io, jonathan.cameron@huawei.com
Cc: Vijayenthiran Subramanian <vijayenthiran.subramaniam@arm.com>,
	leif@nuviainc.com,  ardb+tianocore@kernel.org,
	Sami Mujawar <sami.mujawar@arm.com>,
	 Thomas Abraham <thomas.abraham@arm.com>
Subject: Re: [edk2-devel] [edk2-platforms] [PATCH v1 2/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RdN1EdgeX2
Date: Mon, 1 Feb 2021 12:53:27 +0000	[thread overview]
Message-ID: <CAC0BY-eT4rgY9UaVTP+2O3=b-nnkV_kS2xhwTWfddtLjkh5hdw@mail.gmail.com> (raw)
In-Reply-To: <20210201111607.00007019@Huawei.com>

Hi Jonathan,

On Mon, Feb 1, 2021 at 11:16 AM Jonathan Cameron via groups.io
<jonathan.cameron=huawei.com@groups.io> wrote:
>
> On Fri, 29 Jan 2021 17:11:03 +0000
> Vijayenthiran Subramanian <vijayenthiran.subramaniam@arm.com> wrote:
>
> Hi Vijayenthiran,
>
> ....
>
> > > > > +  // Memory Proximity Domain
> > > > > +  {
> > > > > +    EFI_ACPI_6_3_HMAT_STRUCTURE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES_INIT (
> > > > > +      1, 0x0, 0x0),
> > > > > +    EFI_ACPI_6_3_HMAT_STRUCTURE_MEMORY_PROXIMITY_DOMAIN_ATTRIBUTES_INIT (
> > > > > +      1, 0x1, 0x1),
> > > > > +   },
> > > > > +
> > > > > +  // Latency Info
> > > > > +  EFI_ACPI_6_3_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO_INIT (
> > > > > +    0, 0, INITATOR_PROXIMITY_DOMAIN_CNT, TARGET_PROXIMITY_DOMIAIN_CNT, 100),
> > > > > +  {
> > > > > +    {0, 1}, {0, 1},
> > > > > +    {
> > > > > +      10, 20,
> > > > > +      20, 10,
> > > > > +    }
> > > > > +  },
> > >
> > > Hi,
> > >
> > > Now either you have a very odd machine in which latencies are round numbers that happen
> > > to look like the values in SLIT or ... ?
> > >
> > > HMAT has very carefully defined real world units to overcome the fact that there
> > > was no standard scaling etc for SLIT.  It is not a good idea to put tables out
> > > there which don't do this right as someone may copy this for a real system
> > > and we end up with HMAT being roughly as useless for performance prediction as
> > > SLIT is.  That is not something I would want to see.
> > >
> > > Jonathan
> >
> > This patch is for a platform that is modelled and not for an actual board. So
> > the latencies are hypothetical but ensure that the typical latency between two
> > chips is represented. These tables are not expected to be copied for another
> > platform without understanding what these values mean. Such a copy, without
> > understanding what is being copied, would be an error in judgement on the part
> > of the person doing it. The commit message of this patch (in v2) can be updated
> > to exercise caution on reusing these values.
> >
> > [1]: https://developer.arm.com/products/system-design/fixed-virtual-platforms
>
> No one reads commit messages.  So if you want to avoid people copying them put a
> comment in the actual file.  Or just make up some more plausible numbers :)
> All we really need here is to avoid giving the impression that copying numbers from
> SLIT is valid.
>
> Jonathan
>

Sure, I will add a comment in the file as well.

Regards,
Vijayenthiran

  reply	other threads:[~2021-02-01 12:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28 13:42 [edk2-platforms] [PATCH v1 0/3] Add HMAT tables for RD multi-chip platforms Vijayenthiran Subramaniam
2021-01-28 13:42 ` [edk2-platforms] [PATCH v1 1/3] Platform/ARM/SgiPkg: Add helper macros for HMAT table Vijayenthiran Subramaniam
2021-01-28 13:42 ` [edk2-platforms] [PATCH v1 2/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RdN1EdgeX2 Vijayenthiran Subramaniam
2021-01-28 15:58   ` [edk2-devel] " Jonathan Cameron
     [not found]   ` <165E70A6BEEFF3E5.24597@groups.io>
2021-01-29  9:49     ` Jonathan Cameron
2021-01-29 17:11       ` Vijayenthiran Subramaniam
2021-02-01 11:16         ` Jonathan Cameron
2021-02-01 12:53           ` Vijayenthiran Subramaniam [this message]
2021-02-12 17:28   ` Sami Mujawar
2021-01-28 13:42 ` [edk2-platforms] [PATCH v1 3/3] Platform/ARM/SgiPkg: Add HMAT ACPI table for RD-V1-MC Vijayenthiran Subramaniam

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-list 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='CAC0BY-eT4rgY9UaVTP+2O3=b-nnkV_kS2xhwTWfddtLjkh5hdw@mail.gmail.com' \
    --to=devel@edk2.groups.io \
    /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